html {
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden;
}
iframe {
max-width: 100%!important;
}
a{
	transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.7;
}
.inner{
    max-width: 1136px;
    margin: 0 auto;}
section{
  padding-block: clamp(80px, 8vw, 160px); /* 最小80px、最大160px、幅に応じて可変 */
    padding-inline: clamp(10px, 3.2vw, 40px);
}
.section-title{
text-align: center;
  padding-bottom: clamp(80px, 8vw, 160px); /* 最小80px、最大160px、幅に応じて可変 */}
.logo{
    line-height: 0.7;
}
  .logo span{
    display: block;
}
.logo .img-box{
    margin-right: 5px;
}
header .flex {
    justify-content: space-between;
}
header .base-akcent a{
    color: #fff;
}
header .f-base {
    font-size: 14px;
}


/* mv*/

.mv-inner{
    background-image: url("img/mv-1.png");
    background-position: right;
    background-size: cover;
}

.mv-inner .b-main{
background-color: white;
    border-radius: 50%;
    text-align: center;
    height: clamp(100px, 12vw, 140px);/* スマホで約100px、PCで160px */
    width:clamp(100px, 12vw, 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.mv-inner .b-main span{
display: contents;
}
.mv .f-lg{
    color: #fff;
    text-shadow: 1px 3px 8px black;
    line-height: 1.6;
}
.mv-contact img{
    margin: 0 auto  ;
}
.mv-box .flex{
    justify-content: space-evenly;

}

/* section title */
.section-title{
    text-align: center;
}
.section-title>p:nth-of-type(1)::after{
    content: "";
    display: block;
    background-image: url("img/line.png");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100px;
    height: 10px;  
    margin: 0 auto;
margin-block: clamp(16px, 1.6vw, 24px);
}
/* サービス*/
.service{
    background-image: url(img/service-bg.png);
    background-position: right top;
    background-repeat: no-repeat;
}
.service-itemlist{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2カラム、可変幅 */
    column-gap: 40px; /* カラム間の横隙間 */
    row-gap: 40px;    /* 行間（必要なら） */
    width: 100%;
    box-sizing: border-box;
}
.service-item {
    position: relative;
}
.service-item img {
    position: absolute;
    bottom: 0;
}
.service-item h3{
    text-align: center;
    line-height: 2.6;
}
.service-item p{
    border-bottom: 1px solid #3eb489;
    text-align: center;
}
.service-item ol{
    margin-bottom: 35%;
    display: block;
}
.service-item img{
    object-fit: contain;
    width: 100%;
    height: auto;
}
.service .base-gray a{
    display: inline-block;
    text-decoration: revert;
}

/*挨拶文*/
.gree{
    background-color:#A8E6CF;
background-image: url("img/gree-bg.png");
}
.gree .section-title .color-main2{
    color: #fff;
}
.gree .border-main{
    background-color: white;
}
.gree .border-main .f-md-s {
    line-height: 1;
    margin-bottom: 10px;
}
.gree table{
font-size: 0.8rem;
}
.gree .info-table tr{
    display: block;
}
.gree .info-table th,.gree .info-table td{
    display: inline-block;
}

.gree .border-main{
    gap: 40px;
}
.gree .img-box>img{
    object-fit: cover;
    width: 100%;
}



/* 特徴*/

section.chara{
  padding-block:initial; 
    padding-inline: initial;
}
.chara-title{
display: flex;
text-align: center;
justify-content: center;
align-items: center;
   
}
.chara-title::before{
    content: "";
    display: block;
    width: 50px;
    height: 100px;
    background-image: url("img/c-left.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
   
}
.chara-title::after{
    content: "";
    display: block;
    width: 50px;
    height: 100px;
    background-image: url("img/c-right.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

}

.chara h3{
    text-align: center;
    position: relative;
    display: block;
    width: fit-content;
    margin-inline: auto;
    padding: 0.15em 0.5em;
    box-shadow: inset 0 -0.7em 0 rgba(255, 223, 0, 0.75);
    border-radius: 3px;
}


/* q */
.tokuten{
    border: solid 1px #FF2000;
    position: relative;
    background-color: #fff;
}
.ribbon {
  display: inline-block;
  position: sticky;
  top: -60px;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}
 .ribbon span{
    display: block;
    border: 1px solid #fff26d;
    margin: 3px;
}
.ribbon:before {
  content: '';
  position: absolute;
  width: 40px;
  bottom: -10px;
  left: -25px;
  z-index: 1;
  border: 20px solid #ff2000;
  border-left-color: transparent;
  border-width: 18px 10px 18px;
}
.ribbon:after {
  content: '';
  position: absolute;
  width: 40px;
  bottom: -10px;
  right: -25px;
  z-index: 1;
  border: 20px solid #e32001;
  border-right-color: transparent;
  border-width: 18px 10px 18px;
}
.ribbon-title {
    display: inline-block;
    position: relative;
    margin: 0;
    line-height: 3rem;
    font-weight: normal;
    color: #fff26d;
    background: #ff2000;
    box-sizing: border-box;
    z-index: 2;
    width: 100%;
}
.ribbon-title:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 15px #d57777;
}
.ribbon-title:after {
  position: absolute;
  content: '';
  top: 100%;
  right: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-left: solid 15px #d57777;
}
.tokuten .img-box {
    position: relative;
}
.tokuten .flex {
    gap: 40px;
}
.tokuten p.pt-40{
    max-width: 49rem;
    margin: 0 auto;
}
.tokuten .img-box p{
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* news */
.news{
    background-image: url("img/news-bg.png");
    background-position: left top -444px;
    background-repeat: no-repeat;
}
.news-item{
   position: relative;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
background-color: #fff;
}
.news-item .base-y{
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.8rem;
}
.news-item img{
    object-fit: cover;
    width: 100%;
    height: 200px;
}
.border-akcent{
    border: solid 1px #e32001;
    color: #e32001;
    display: block;
    width: fit-content;
     padding-block: 5px;
     padding-inline: 5%;
     margin: 0 0 0 auto;
}
   /* contact */
.contact {
    background-image: url(img/contact.png);
    background-position: center top;
    background-repeat: no-repeat;
        background-size: contain;
}
.contact h2{
    color: #151515;
}

.contact .section-title .f-md-s{
    color: #fff;
}
    /* access */
.access{
    background-image: url(img/acs-bg.png);
    padding-block: initial;
}
.access .inner{
    background-color: white;
}
.access .inner>.flex{
    gap: 40px
}
.access tr{
    align-items: center;
}
.access th{
    margin-right: 10px;
    margin-bottom: 10px;
    flex-basis: 12rem;
}

.access .base-akcent{
    width: 12rem;
    text-align: center;
    line-height: 2;
}

.access h3{
    text-align: center;
    border-bottom: solid 1px;
}

/*contact */
.contact .base-white {
    border-radius: 2rem;
}
.contact h3{
    border-bottom: solid 1px #3eb489;
    border-left: solid 3px #3eb489;
}
.contact-inner{
    max-width: 830px;
    margin: 0 auto;
}

.map {
    padding: 0;
    height: 300px;
    overflow: hidden;
}
.wpcf7-turnstile.cf-turnstile:before {
    content: "必須";
    margin-top: 20px;
    display: inline-block;
    margin-left: 5px;
    padding: 2px 6px;
    font-size: 12px;
    background-color: #FFEB3B;
    border-radius: 3px;
    margin-bottom: 3px;
}
.wpcf7-turnstile.cf-turnstile {
    margin-bottom: 20px;

}

/* footer */

footer .logo{
    color: #3eb489;
    margin-bottom: 5px;
}
    footer li.menu-list > a {
        line-height: initial;
    }
    footer .menu-list a{
    color: #3eb489;
}


/* single */
.single-bg {
    background-image: url(img/single-bg.png);
    background-position: center top -481px;
    background-repeat: repeat-x;
}
.entry-header .flex {
    border-bottom: solid 1px #3eb489;
    justify-content: space-between;
        align-items: center;
}
.entry-header h1 {
   line-height: 1.2;
    padding-bottom: 10px;
}
.entry-meta {
    text-align: right;
}
nav.post-navigation,.page-numbers{
    display: flex;
    justify-content: space-between;
}
.page-numbers{
    justify-content: center;
}
nav.post-navigation a,.page-numbers a{
    color: #3eb489;
}
.page-numbers a{
    padding-inline: 5px;
}

/*new-page*/
.page-news .post-item .flex{
    justify-content: flex-start;
}
.page-news .post-item time{
flex-basis: 10rem;
}

span.category.base-y {
    position: relative;
}
.post-item {
    justify-content: flex-start;
}
.post-meta {
    flex-basis: 13rem;
}

/* 780px以下 */
@media (max-width: 780px){
    .pc{
    display: none;
    }
    .fixed {
    display: flex;
    position: fixed;
    bottom: 0;
    z-index: 10;
    background: #3eb489;
    align-items: center;
    width: 100%;
justify-content: flex-end;
}
.fixed img{
    max-height: 50px;
    margin: 0 auto;
}
.chara-title {
    align-items: flex-start;
}
.chara h2 {
    line-height: 1.4;
    margin-bottom: 20px;
}
.fixed .base-akcent{
    padding: 0px 5px;
}
    h1.flex.f-base.color-main {
    font-size: 0.6rem;
}
    .service-itemlist{
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .qestion .color-strong{
        line-height: 1.2;
    }
    .accordion-content span {
       font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
}
    .mv-inner{
padding: 0;
        margin: 0 auto;
        background: initial;
}
.mv{background: initial;}
.mv .img-box{
    position: relative;
    background-image: url("img/mv-bg.jpg");
    height: 300px;
            background-size: cover;
        margin-bottom: 0;
          background-size: 100%;
  background-position: left center ;
}
/* 1200以下 */
@media (max-width: 400px){
.mv .img-box{
     height: 200px;;
}
}

.mv .img-box img{
            position: absolute;
        left: 0;
        width: 50%;
        min-width: 200px;
}
.mv-box{
    background-color: #3eb489;
}
.mv-box img{
   margin: 0 auto;
}
.mv-box .mb-24 {
    padding-block: clamp(12px, 1.6vw, 24px);
    margin-bottom: 0;
}

    footer{
    margin-bottom: 50px;
}
}

/* 781px以上 */
@media (min-width: 781px){
    .sp{
    display: none;
    }
    .mv-inner{
    max-width: 677px;
    width: 50%;

}
.flex .flex-1{
flex: 1;
}
.flex .flex-2{
flex: 2;
}
.chara .flex-3 {
    gap: 8%;
}
.mv{
        background-image: url("img/mv-bg.jpg");
  background-size: 100%;
  background-position: right -150px center ;
  animation: zoomIn 12s ease-in-out forwards;
}
@keyframes zoomIn {
  0% {
    background-size: 110%;
    background-position: right -150px center ;
  }
  100% {
    background-size: 90%;
    background-position: right -150px  center ;
  }
}   

}
/* 1200以下 */
@media (max-width: 1200px){
.chara .inner{
    padding-inline: clamp(10px, 3.2vw, 40px);
}
footer>.flex{
   gap:30px;
}
}