/*------------------------------
theme name: yamanami-mc
version: 250820
author: yamabatosha
author uri: https://yamabatosha.com
------------------------------*/

@charset "utf-8";
@import url(css/reset.css);
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500&display=swap');

/*------------------------------*/
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #f9f9f7;
  color: #888;
  font-size: clamp(0.813rem, 0.744rem + 0.34vw, 1rem); /* 13px-16px */
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 2;
  font-family: 'Avenir Next', Avenir, Arial, 'Zen Kaku Gothic New', sans-serif;
  /* -webkit-font-smoothing: antialiased; */
  -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}}

.bg-color {
  background: #fefefe;
  padding: 2.5rem;
  border-radius: 1rem;
}

/*------------------------------
basic
------------------------------*/
p {
  margin-top: 2.5em;
}

h2,
h3,
h4 {
  line-height: 1.5em;
  font-weight: 400;
  margin-top: 2em;
}


h2 {
  /* font-size: 32px; */
  font-size: clamp(1rem, 0.727rem + 1.36vw, 1.75rem);
  color: #6a93b7;
}

h2.lg {
  /* font-size: 40px; */
  font-size: clamp(1rem, 0.455rem + 2.73vw, 2.5rem);
}

h3 {
  /* font-size: 24px; */
  font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
  color: #6a93b7;
}

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 img:hover {
  opacity: .7;
}

a,
a:hover,
a:active,
a:focus {
  color: #6a93b7;
  text-decoration: none;
}

.link a {
  color: #6a93b7;
  padding-bottom: .25em;
  border-bottom: 1px dashed #6a93b7;
}

.link a:hover {
  opacity: .7;
}

.link_txt {
  font-weight: 400;
  border-bottom: 1px dashed #6a93b7;
  display: inline-block;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  backface-visibility: hidden;
  transition: .3s;
}

.round img {
  border-radius: 1em;
}

hr {
  margin: 2.5em 0;
  width: 100%;
  border: 0;
  border-top: solid 1px #888;
}

.more {
  text-align: right;
  margin-top: 1em;
}

.cut-xl {
  display: block;
  width: auto;
  height: 140px;
  margin: 0 auto;
}

.cut-l {
  display: block;
  width: auto;
  height: 100px;
  margin: 0 auto;
}

.cut-m {
  display: block;
  width: auto;
  height: 80px;
  margin: 0 auto;
}

.cut-s {
  display: block;
  width: auto;
  height: 60px;
  margin: 0 auto;
}

/*------------------------------
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: #332d27;
  border-radius: 50%;
}

/*------------------------------
btn
------------------------------*/
.btn {
  display: inline-block;
  padding: 0 1em;
  min-width: 200px;
  height: 56px;
  line-height: 52px;
  border: solid 1.5px #6a93b7;
  color: #6a93b7;
  background: #fff;
  text-align: center;
  border-radius: 28px / 50%; 
  transition: .3s;
}

.btn:hover {
  color: #fff;
  background: #6a93b7;
}

/*------------------------------
news
------------------------------*/

dl.news {
  border-top: .5px dashed #332d27;
}

dl.news dt {
  float: none;
  padding: 1em 0 0;
}
dl.news dd {
  padding: 0 0 1em;
  border-bottom: .5px dashed #332d27;
}

/*------------------------------
table
------------------------------*/

table {
  margin-top: 2em;
  width: 100%;
  text-align: left;
}

table tr {
  border-bottom: .5px dashed #332d27;
}

table tr:first-child {
  border-top: .5px dashed #332d27;
}

table th {
  font-weight: 400;
  color: #6a93b7;
}

table th,
table td {
  padding: 1em 2.5em;
  vertical-align: top;
}

table th:first-child,
table td:first-child {
  white-space: nowrap;
}

table.border-none {
  width: 100%;
  margin: 2em auto 0;
}

table.border-none td,
table.border-none tr,
table.border-none tr:first-child {
  border: none;
  padding: 0 .5em;
}

table.border-none td:first-child {
  text-align: right;
}

@media (max-width: 599px) {
  table.table-sp th {
    color: #6a93b7;
    padding: 1em 0 0;
    display: block;
  }

  table.table-sp td {
    display: block;
    padding: 0 0 1em;
  }
}

table.schedule {
  width: 100%;
  max-width: 640px;
  text-align: center;
}
table.schedule tr:first-child {
  border-top: none;
}

table.schedule td {
  padding: .5em;
  vertical-align: middle;
}

/*------------------------------
form
------------------------------*/

table.form tr {
  border: none;
}
table.form tr td {
  padding: 1em;
  vertical-align: middle;
  line-height: 1;
}

table.form tr td:first-child {
  width: 7em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  background: #fff;
  width: 100%;
  padding: 1rem 1.2rem;
  color: #666;
  letter-spacing: .1em;
  font-family: 'Avenir Next', Avenir, Arial, 'Zen Kaku Gothic New', sans-serif;
  line-height: 1;
  border-radius: 1rem;
}

input[type="submit"] {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  padding: 0 1em;
  min-width: 200px;
  height: 56px;
  line-height: 52px;
  border: solid 1.5px #6a93b7;
  color: #6a93b7;
  background: #fff;
  text-align: center;
  border-radius: 28px / 50%; 
  transition: .3s;
}

textarea {
  height: 10rem;
  line-height: 1.6;
}

select {
  appearance: none;
  border-radius: none;
  cursor: pointer;
}

.sel-arrow {
  position: relative;
}

.sel-arrow::after {
  position: absolute;
  content: '';
  width: 8px;
  height: 8px;
  border-top: solid 1.5px #332d27;
  border-right: solid 1.5px #332d27;
  transform: rotate(135deg);
  top: calc(50% - 6px);
  right: 1.2rem;
}

/*------------------------------
embed
------------------------------*/

.embed {
  position: relative;
  width: 100%;
  padding-top: 400px;
}

.embed iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(0.3);
  border-radius: 1rem;
}

/*------------------------------
header
------------------------------*/

header {
  position: relative;
  display: table;
  width: 100%;
  height: 120px;
  background: transparent;
  top: 0;
  left: 0;
  z-index: 1;
  transition: .5s;
}

header .container {
  margin: 0 auto;
}

/*------------------------------
nav
------------------------------*/
header h1 img {
  position: absolute;
  top: 20px;
  left: 0;
  width: auto;
  height: 80px;
}

header nav ul {
  position: absolute;
  line-height: 1;
}

header nav ul li {
  font-weight: 400;
}

#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: #6a93b7;
    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: 18px;
    margin: 32px 0;
    line-height: 1;
  }

  header nav ul li h1 img {
    position: relative;
    top: 0;
    margin-bottom: 32px;
  }

  header nav ul li a,
  header nav ul li a:hover {
    color: #f9f9f7;
  }

  /* toggle
  ------------------------------*/

  #toggle {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 45px;
    right: 0px;
    z-index: 100;
    cursor: pointer;
  }

  #toggle div {
    position: relative;
  }

  #toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #6a93b7;
    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 {
    background: #f9f9f6;
  }
  .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;
}

/*------------------------------
top 
------------------------------*/
#cover.container {
  margin: 80px auto;
}

#cover img {
  margin: 0 auto;
  display: block;
}

.intro div,
.annai div {
  position: relative;
}

.intro div div,
.annai div div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap;
}

.intro p {
  font-weight: 400;
  color: #fff;
  line-height: 1.8;
}

.annai {
  width: 100%;
  margin: 0 auto;
}

#column .col-3 p {
  margin-top: 1rem;
}

#column .col-3.blog img {
  object-fit: cover;
  aspect-ratio: 3/2;
}

/*------------------------------
page
------------------------------*/
.map {
  display: block;
  margin: 0 auto;
  width: 400px;
  max-width: 100%;
}

.flow h4 {
  color: #6a93b7;
}

.flow .bg-color {
  position: relative; /* ::after の基準 */
}

.flow .bg-color::after {
  position: absolute;
  content: '';
  width: 16px;
  height: 16px;
  border-top: solid 2px #6a93b7;
  border-right: solid 2px #6a93b7;
  transform: rotate(135deg);
  bottom: -22px;
  left: 50%;
  margin-left: -11px;
}

.flow .bg-color:last-child:after {
  display: none;
}

/*------------------------------
single
------------------------------*/

#single h2 {
  margin: 0;
  font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
}

#single p.date {
  margin: 0;
}

#single p.date span {
  font-size: .95em;
  margin-left: .5em;
}

#single .article h2 {
  margin-top: 4em;
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
}

#single p,
#single figure {
  margin: 2.5em 0;
}

#single figure {
  margin: 5em 0;
}

#single figure img {
  border-radius: 1em;
}

/*------------------------------
footer
------------------------------*/
.icon {
  width: .9em;
  vertical-align: middle;
  margin-bottom: .25em;
}

footer {
  text-align: center;
  margin-bottom: 40px;
}

.footer-menu li {
  display: inline-block;
  margin: 0 8px;
}

.footer-menu li a {
  border-bottom: 1px dashed transparent;
  padding-bottom: .25em;
}

.footer-menu li a:hover {
  opacity: 1;
  color: #6a93b7;
  border-bottom: 1px dashed #6a93b7;
}

/*------------------------------
js
------------------------------*/

/* slick
------------------------------*/

.carousel {
  margin-top: 5em;
}

.carousel li {
  padding: 0 20px;
}

@media (min-width: 1025px) {
  .carousel li {
    padding: 0 40px;
  }
}

/* .slick-dots {
  bottom: -40px;
  left: 0;
  width: auto;
}

.slick-dots li {
  margin: 0 4px;
  width: 32px;
  height: 4px;
}

.slick-dots li button:before {
  content: '';
  width: 32px;
  height: 4px;
  background: #eee;
  opacity: 1;
}

.slick-dots li.slick-active button:before {
  background: #666;
} */

/* inview
------------------------------*/
/* .slide,
.carousel,
.inview p,
.inview h2,
.inview h3,
.inview h4,
.inview .fx div {
  transition: .8s;
  transform: translateY(20px);
  opacity: 0;
}

.slide.is_show,
.carousel.is_show,
.inview p.is_show,
.inview h2.is_show,
.inview h3.is_show,
.inview h4.is_show,
.inview .fx div.is_show {
  transform: none;
  opacity: 1;
} */

/*------------------------------
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 #332d27;
  padding-left: 30px;
}

.wp-block-quote cite a {
  font-style: normal;
  color: #666;
}

/* pagination
------------------------------*/
.page-link {
  text-align: center;
  margin-top: 80px;
  display: inline-block;
  width: 100%;
}

.page-link a {
  margin: 0 20px;
}

.pagination {
  text-align: center;
}

.page-numbers {
  display: inline-block;
  color: #666;
  font-size: 1.2em;
  letter-spacing: 0;
  margin: 0 10px;
  text-align: center;
  vertical-align: middle;
}

.page-numbers.current {
  color: #666;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  margin: 0 5px;
}

a.page-numbers:hover {
  color: #666;
}

/*------------------------------
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: #6a93b7;
  font-family: 'Avenir Next', Avenir, Arial, 'Zen Kaku Gothic New', sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 8px 0;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0;
  text-align: center; 
}

.wpcf7-spinner {
  display: block;
  margin: 8px auto;
}

div.wpcf7 .ajax-loader {
  display: none;
}

/*------------------------------
768px
------------------------------*/
@media (min-width: 768px) {
  .bg-color {
    padding: 4rem 2.5rem;
  }
  .annai {
    width: 66.6%;
  }
}
/*------------------------------
1024px
------------------------------*/
@media (min-width: 1024px) {
  h2,
  h3,
  h4 {
    margin-top: 4em;
  }

  hr {
    margin: 4em 0;
  }

  .bg-color {
    padding: 5rem;
  }

  .cut-xl {
    height: 200px;
  }

  .cut-l {
    height: 140px;
  }
  
  .cut-m {
    height: 120px;
  }
  
  .cut-s {
    height: 100px;
  }

  /* header 1025px
  ------------------------------*/
  header {
    height: 160px;
  }

  header h1 img {
    top: 30px;
    height: 100px;
  }

  header nav ul {
    top: 52px;
    right: 0;
  }

  header nav ul li {
    display: inline-block;
    line-height: 1;
    margin: 0 0 0 1em;
  }

  header nav ul li a {
    border-bottom: 1px dashed transparent;
    padding-bottom: .25em;
  }

  header nav ul li a:hover {
    opacity: 1;
    color: #6a93b7;
    border-bottom: 1px dashed #6a93b7;
  }

  header a.current,
  footer .footer-menu li a.current {
    opacity: 1;
    color: #6a93b7;
    border-bottom: 1px dashed #6a93b7;
  }

  /* top 1025px
  ------------------------------*/
  #cover img {
    width: 90%;
  }
  dl.news dt {
    float: left;
    padding: 1em 2em 1em 1em;
  }
  
  dl.news dd {
    padding: 1em 0;
  }

}

/*------------------------------
container
------------------------------*/
.container {
  position: relative;
  width: min(1200px, 85%);
  margin: 80px auto;
}
@media (min-width: 1025px) {
  .container {
    margin: 120px auto;
  }
}

/*------------------------------
display
------------------------------*/
@media (min-width: 1024px) {
  .sp {
    display: none !important
  }

  .sp-center {
    text-align: left;
  }

  .pc-center {
    text-align: center;
  }

}

@media (max-width: 767px) {
  .pc {
    display: none !important
  }

  .sp-center {
    text-align: center;
  }

  .pc-center {
    text-align: left;
  }

  .pc-center br {
    display: none;
  }
}