/*------------------------------
theme name: hinatanara
version: 251205
author: stu:l and yamabatosha
author uri:
------------------------------*/
@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');
/*------------------------------
reset
------------------------------*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

body {
  line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
  display:block;
}

nav ul {
  list-style:none;
}

blockquote, q {
  quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}

a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

/* change colors */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

/* change colors */
mark {
  background-color:#ff9;
  color:#000; 
  font-style:italic;
  font-weight:bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

/* settings */
hr {
  display:block;
  height:1px;
  border:0;
  border-top:1px solid #ccc;
  margin:1em 0;
  padding:0;
}

input, select, textarea {
  vertical-align:middle;
  margin:0;
  padding:0;
  border:0;
  font-size:100%;
  background:transparent;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/*------------------------------
base
------------------------------*/
html {font-size: 16px; overflow-x: hidden;}
.center {text-align: center!important;}
::selection {background: #333; color: #fff;}
* {outline: none;}
/*------------------------------
font
------------------------------*/
.bold {font-weight: 600;}
.sm {font-size: 0.813rem;}
.lg {font-size: clamp(0.813rem, 0.699rem + 0.57vw, 1.125rem);} /* 13px-18px */
.indent {padding-left: 1.1em; text-indent: -1.1em;}
.mt0 {margin-top: 0px!important;}
.pt0 {padding-top: 0px!important;}
/*------------------------------
grid system
------------------------------*/
.col-center, .col-2, .col-3, .col-4, .col-2-3 {
  display: grid;
  grid-template-columns: 100%;
  grid-gap: 40px 0;
  margin-top: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .col-center, .col-2, .col-3, .col-4, .col-2-3 {
    grid-gap: 0 80px;
    margin-top: 4rem;
  }
  .col-center {
    grid-template-columns: 900px;
    justify-content: center;
    grid-gap: 80px;
  }
  .col-2 {grid-template-columns: repeat(2, 1fr);}
  .col-3 {grid-template-columns: repeat(3, 1fr); grid-gap: 40px;}
  .col-4 {grid-template-columns: repeat(4, 1fr); grid-gap: 40px;}
  .col-2-3 {grid-template-columns: 2fr 3fr;}
  .order-1 {order: 1;}
  .order-2 {order: 2;}
}
/*------------------------------
style
------------------------------*/
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #fff;
  color: #333;
  font-size: clamp(0.813rem, 0.699rem + 0.57vw, 1.125rem); /* 13px-18px */
  font-size: clamp(0.813rem, 0.744rem + 0.34vw, 1rem); /* 13px-16px */
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 2;
  font-family: YakuHanJP, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, 'Zen Kaku Gothic New', sans-serif;
  -webkit-font-smoothing: antialiased;
  /* iphone */
  -webkit-text-size-adjust: 100%;
  word-break: break-all;
}

body {
  animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

/*------------------------------
basic
------------------------------*/
p {
  margin-top: 1em;
}

h2,
h3,
h4 {
  line-height: 1.5em;
  font-weight: 600;
  margin-top: 2rem;
}


h2 {
  /* font-size: 32px; */
  font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
}

h3 {
  /* font-size: 24px; */
  /* font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem); */
  /* font-size: 20px; */
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
}

h4 {
  /* font-size: 20px; */
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
}

div p:first-child,
div h2:first-child,
div h3:first-child,
div h4:first-child,
ol.list:first-child,
ul.list:first-child {
  margin: 0;
}

a {
  transition: .3s;
}

a,
a:hover,
a:active,
a:focus {
  color: #333;
  text-decoration: none;
}

a:hover {
  opacity: .7;
}

.link a {
  color: #333;
}

.link a:hover {
  opacity: .7;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  backface-visibility: hidden;
  transition: .3s;
}

hr {
  margin: 2.5em 0;
  width: 100%;
  border: 0;
  border-top: solid 1px #333;
}

/*------------------------------
list
------------------------------*/
ol.list,
ul.list {
  margin-top: 2em;
}

ol.list li,
ul.list li {
  position: relative;
  margin-left: 1.5em;
}

ul.list li {
  list-style: none;
}

ul.list li::after {
  display: block;
  content: '';
  position: absolute;
  top: 1em;
  left: -1em;
  width: 3px;
  height: 3px;
  background: #333;
  border-radius: 50%;
}

/*------------------------------
btn
------------------------------*/
.btn {
  display: inline-block;
  min-width: 160px;
  height: 48px;
  line-height: 46px;
  text-align: center;
  letter-spacing: .2em;
  border-radius: 4px;
  margin: 24px auto 0;
  border: solid 1px #333;
  color: #333;
  background: #fff;
  transition: all .3s;
}

.btn:hover {
  color: #fff;
  background: #333;
  opacity: 1;
}

/*------------------------------
table
------------------------------*/

table {
  width: 100%;
}

table tr {
  border-bottom: solid 1px #ddd;
}

table tr:first-child {
  border-top: solid 1px #ddd;
}

table th {
  background: #f9f9f9;
  font-weight: 400;
}

table th,
table td {
  padding: 1em;
  vertical-align: top;
}

table th:first-child,
table td:first-child {
  white-space: nowrap;
}

table td,
table tr,
table tr:first-child {
  border: none;
  padding: .5em 0;
  text-align: left;
}

/* table-sp */
@media (max-width: 768px) {  
  table th,
  table td {
    display: block;
    padding: .25em 0;
  }

  table td:nth-child(2) {
    padding-top: 1em;
  }

  table td:last-child {
    padding-bottom: 1em;
  }
}

/*------------------------------
form
------------------------------*/

table.form tr td:first-child {
  width: 5em;
  vertical-align: top;
  padding: 1em 0 0;
  line-height: 1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  background: #f9f9f9;
  width: 100%;
  padding: 1em 1.2em;
  color: #333;
  letter-spacing: .1em;
  font-family: YakuHanJP, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, 'Zen Kaku Gothic New', sans-serif;
  line-height: 1;
  border-radius: 8px;
}

textarea {
  height: 10rem;
  line-height: 1.6;
}

input[type="submit"] {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/*------------------------------
header
------------------------------*/

header {
  position: fixed;
  display: table;
  width: 100%;
  height: 80px;
  background: transparent;
  top: 0;
  left: 0;
  z-index: 1;
  transition: .5s;
}

header .container {
  margin: 0 auto;
}

header.ison {
  background: #fff;
}

/*------------------------------
nav
------------------------------*/
header h1 {
  position: absolute;
  top: 30px;
  left: 0;
  line-height: 1;
}

header h1 img {
  height: 20px;
}

header nav ul {
  position: absolute;
  line-height: 1;
}

header nav ul li {
  font-weight: 600;
}

header nav .sns {
  width: auto;
  height: 1em;
  margin: 0 8px;
}

#toggle {
  display: none;
}

/* sp */

@media (max-width: 1024px) {
  header nav {
    visibility: hidden;
    position: fixed;
    overflow: scroll;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    transition: .3s ease-in-out;
  }

  html.open {
    overflow: hidden;
  }

  .open nav {
    visibility: visible;
    opacity: 1;
  }

  header nav ul {
    top: 80px;
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
  }

  header nav ul li {
    display: block;
    font-size: 17px;
    margin: 32px 0;
    font-weight: 500;
  }

  header nav ul li h1 img {
    position: relative;
    top: 0;
    width: 240px;
  }

  /* toggle
  ------------------------------*/

  #toggle {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 25px;
    right: 0px;
    z-index: 100;
    cursor: pointer;
  }

  #toggle div {
    position: relative;
  }

  #toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    left: 0;
    transition: 0.3s ease-in-out;
  }

  #toggle span:nth-child(1) {
    top: 5px;
  }

  #toggle span:nth-child(2) {
    top: 14px;
  }

  #toggle span:nth-child(3) {
    top: 23px;
  }

  /* toggle .open */

  .open #toggle span:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
  }

  .open #toggle span:nth-child(2) {
    opacity: 0;
  }

  .open #toggle span:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
  }
}

/*------------------------------
section
------------------------------*/

section {
  margin: 0 auto;
}

/*------------------------------
front-page
------------------------------*/

#cover {
  position: relative;
}

#cover .kv {
  width: 100%;
  height: 100vh;
  max-height: 900px;
  object-fit: cover;
  object-position: bottom;
}

#cover::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #fff 0, transparent 24vw);
}

#cover .copy {
  width: 100%;
  line-height: 1;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#cover .copy img {
  width: clamp(17.5rem, 11.591rem + 29.55vw, 33.75rem);
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 1));
}

.col-3 h4 {
  margin-top: 40px;
  text-align: center;
}

.col-3 p {
  margin-top: 16px;
}

.col-3 svg {
  width: auto;
  height: 56px;
  margin: 56px auto;
  display: block;
  fill: #128c65;
}

.col-3 h4.title {
  text-align: left;
}

p.date,
.col-3 p.excerpt {
  font-size: .8em;
  margin-top: 0;
}

/*------------------------------
footer
------------------------------*/
footer {
  text-align: center;
  color: #333;
  margin-bottom: 40px;
}

/*------------------------------
wp
------------------------------*/
/* キャプション調整 */
.wp-block-image,
.wp-block-image figcaption {
  font-size: .8em;
  margin: 0;
}

/* カラムマージン調整 */
.wp-block-columns {
  margin: 0;
}

/* 引用調整 */
.wp-block-quote {
  border-left: solid 3px #333;
  padding-left: 30px;
}

.wp-block-quote cite a {
  font-style: normal;
  color: #999;
}

/* pagination
------------------------------*/
.page-link {
  text-align: center;
  margin-top: 80px;
  display: inline-block;
  width: 100%;
}

.page-link a {
  color: #333;
  font-weight: 600;
  margin: 0 20px;
}

/*------------------------------
wpcf7
------------------------------*/
span.wpcf7-not-valid-tip,
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing,
div.wpcf7-response-output,
div.wpcf7-mail-sent-ok {
  border: none !important;
  color: #f98a6a;
  font-family: YakuHanJP, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, 'Zen Kaku Gothic New', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0;
  text-align: center;
}

div.wpcf7 .ajax-loader {
  display: none;
}

div.wpcf7 .wpcf7-spinner {
  display: block;
  margin: 10px auto 0;
}

/*------------------------------
1024px
------------------------------*/
@media (min-width: 1024px) {  
  p {
    margin-top: 2em;
  }

  h2,
  h3,
  h4 {
    margin-top: 4em;
  }

  hr {
    margin: 4em 0;
  }
  
  .btn {
    min-width: 200px;
    height: 56px;
    line-height: 54px;
    margin: 40px auto 0;
  }

  /* header 1024px
  ------------------------------*/
  header {
    height: 120px;
  }

  header h1 {
    top: 48px;
  }

  header h1 img {
    height: 24px;
  }

  header nav ul {
    top: 52px;
    right: 0;
  }

  header nav ul li {
    display: inline-block;
    line-height: 1;
    margin: 0 0 0 40px;
  }

  /* hover-fx 1024px
  ------------------------------*/
  header nav ul li a {
    position: relative;
    display: inline-block;
  }

  header nav ul li a::after {
    position: absolute;
    top: 20px;
    left: -1px;
    content: '';
    width: 100%;
    height: 2px;
    background: #333;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
  }

  header nav ul li a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
  }

  header nav ul li a.current::after {
    transform-origin: center top;
    transform: scale(1, 1);
  }

  header nav ul li.icon a:hover::after {
    transform: scale(0, 1);
  }

  /* section 1025px
  ------------------------------*/
  /* section {
    margin: 120px auto 0;
  } */

  /* front-page 1025px
  ------------------------------*/
  /* #cover .kv {
    height: calc(100vh - 120px);
  } */

}

/*------------------------------
container
------------------------------*/
.container {
  position: relative;
  width: min(1200px, 85%);
  margin: 80px auto;
}

.container img {
  border-radius: 8px;
}

@media (min-width: 1025px) {
  .container {
    margin: 160px auto;
  }
}

/*------------------------------
display
------------------------------*/
@media (min-width: 1025px) {
  .sp {
    display: none !important
  }

  .sp-center {
    text-align: left;
  }

  .pc-center {
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .pc {
    display: none !important
  }

  .sp-center {
    text-align: center;
  }

  .pc-center {
    text-align: left;
  }

}
