@charset "UTF-8";

:root{
  --green:#0c5222;
  --soft-green:#8fbf5d;
  --pale:#f8fbf5;
  --line:#dfead8;
  --text:#182118;
}

.about-page{
  overflow:hidden;
}

.section{
  width:min(1080px,94%);
  margin:0 auto;
}

.about-hero{
  position:relative;
  height:372px;
  overflow:hidden;
  margin-top:10px;
}

.about-hero>img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.about-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.94) 26%,rgba(255,255,255,.15) 62%,rgba(255,255,255,0) 100%);
}

.about-hero-text{
  position:absolute;
  left:clamp(36px,7vw,86px);
  top:42%;
  transform:translateY(-50%);
}

.about-hero h1{
  margin:0 0 26px;
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:clamp(40px,5vw,56px);
  letter-spacing:.12em;
  font-weight:700;
}

.leaf-line{
  width:250px;
  display:flex;
  align-items:center;
  gap:12px;
}

.leaf-line span{
  height:1px;
  flex:1;
  background:#c9d9bd;
}

.leaf-line img{
  width:24px;
  height:24px;
}

.section-title{
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  text-align:center;
  font-size:28px;
  font-weight:700;
  letter-spacing:.08em;
  margin:38px 0 28px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
}

.section-title span{
  color:var(--soft-green);
  font-size:18px;
}

.value-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
  position:relative;
}

.value-card{
  grid-column:span 2;
  border:1px solid #e6e6e6;
  border-radius:8px;
  background:rgba(255,255,255,.9);
  padding:26px 20px 24px;
  text-align:center;
  box-shadow:0 4px 16px rgba(0,0,0,.025);
}

.value-card-wide{
  grid-column:span 3;
  max-width:360px;
  width:100%;
  justify-self:center;
}

.value-card img{
  width:86px;
  height:86px;
  margin:0 auto 16px;
}

.value-card h3{
  color:var(--green);
  font-size:18px;
  margin:0 0 12px;
  font-weight:600;
}

.value-card p{
  margin:0;
  font-size:14px;
  font-weight:400;
  line-height:1.75;
}

.clinic-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.clinic-grid article{
  text-align:center;
}

.clinic-grid img{
  width:100%;
  aspect-ratio:1.18/1;
  object-fit:cover;
  border-radius:7px;
}

.clinic-grid h3{
  margin:14px 0 6px;
  color:var(--green);
  font-size:18px;
  font-weight:600;
}

.clinic-grid p{
  margin:0;
  font-size:14px;
  font-weight:400;
  line-height:1.75;
}

.payment{
  margin-top:42px;
  margin-bottom:0;
}

.payment-card{
  border:1px solid #bfd2b5;
  border-radius:12px;
  background:linear-gradient(90deg,#fbfdf8,#fff,#fbfdf8);
  display:grid;
  grid-template-columns:1.25fr minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  overflow:hidden;
  min-height:170px;
  position:relative;
}

.payment-title{
  text-align:center;
  padding:24px 20px;
  border-right:1px solid var(--line);
}

.payment-title>img{
  width:70px;
  height:70px;
  margin:0 auto 8px;
}

.payment-title h2{
  margin:0;
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:24px;
  font-weight:500;
  letter-spacing:.08em;
}

.leaf-line.small{
  width:190px;
  margin:10px auto 0;
}

.leaf-line.small img{
  width:18px;
  height:18px;
}

.payment-item{
  text-align:center;
  min-height:132px;
  padding:18px 18px;
  border-right:1px solid var(--line);
}

.payment-item:last-child{
  border-right:0;
}

.payment-item img{
  width:58px;
  height:58px;
  margin:0 auto 8px;
}

.payment-item p{
  margin:0;
  font-size:13px;
  font-weight:400;
  line-height:1.75;
}

.site-footer{
  margin-top:28px;
  padding:18px 16px 22px;
  text-align:center;
  color:#fff;
  background:linear-gradient(90deg,#86b94d 0%,#117d1b 100%);
}

.site-footer p{
  margin:3px 0;
  font-size:16px;
  font-weight:700;
}

@media(max-width:900px){

  .about-hero{
    height:300px;
  }

  .value-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }

  .value-card,
  .value-card-wide{
    grid-column:span 1;
    max-width:none;
  }

  .clinic-grid{
    grid-template-columns:minmax(0,1fr);
    gap:28px;
  }

  .clinic-grid img{
    aspect-ratio:1.6/1;
  }

  .payment-card{
    grid-template-columns:minmax(0,1fr);
  }

  .payment-title,
  .payment-item{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .payment-item:last-child{
    border-bottom:0;
  }
}

@media(max-width:560px){

  .brand{
    gap:10px;
  }

  .about-hero{
    height:240px;
  }

  .about-hero-text{
    left:26px;
  }

  .about-hero h1{
    font-size:34px;
  }

  .leaf-line{
    width:200px;
  }

  .section-title{
    font-size:25px;
    line-height:1.5;
    margin:30px 0 22px;
  }

  .value-grid{
    grid-template-columns:minmax(0,1fr);
  }

  .value-card{
    padding:24px 16px;
  }

  .clinic-grid img{
    aspect-ratio:1.25/1;
  }

  .payment-title h2{
    font-size:26px;
  }

  .site-footer p{
    font-size:12px;
  }
}
