@charset "UTF-8";

:root{
  --green:#183f21;
  --gold:#b38a22;
  --pale:#f8faf6;
  --line:#e2e5de;
  --text:#1f2420;
}

body {
  line-height: 1.85;
}

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

.page-title{
  width:min(980px,92%);
  margin:28px auto 18px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:22px;
  align-items:center;
  text-align:center;
}

.page-title h1{
  margin:0;
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:clamp(38px,5.2vw,58px);
  letter-spacing:.18em;
  font-weight:700;
}

.page-title p{
  margin:8px 0 0;
  color:#888;
  font-family:Georgia,serif;
  font-size:17px;
  letter-spacing:.12em;
}

.title-line{
  height:1px;
  background:linear-gradient(90deg,transparent,#b9c7b3,transparent);
}

.case-section{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:58px;
  margin-top:16px;
}

.case-card h2{
  width:330px;
  max-width:90%;
  margin:0 auto 16px;
  background:linear-gradient(90deg,#244c29,#38613a);
  color:#fff;
  border-radius:999px;
  text-align:center;
  font-size:19px;
  padding:7px 12px;
}

.case-photos{
  position:relative;
}

.case-photos img{
  width:100%;
  height:235px;
  object-fit:cover;
  border-radius:6px;
  display:block;
}

.case-photos img:first-of-type{
  border-radius:6px 6px 0 0;
}

.case-photos img:last-of-type{
  border-radius:0 0 6px 6px;
  margin-top:-4px;
}

.case-photos .arrow{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  z-index:2;
  text-align:center;
  color:var(--green);
  font-size:53px;
  line-height:.9;
  text-shadow:0 2px 0 #fff;
}

.case-photos::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:calc(50% - 2px);
  height:4px;
  background:#fff;
  z-index:1;
}

.lead{
  text-align:center;
  margin-top:28px;
  margin-bottom:32px;
}

.lead p{
  margin:4px 0;
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:23px;
  letter-spacing:.08em;
}

.soft-panel{
  background:#fff;
  border-radius:12px;
  padding:30px 18px 26px;
  box-shadow:0 0 0 1px rgba(0,0,0,.03);
}

.section-heading{
  margin:0 0 22px;
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:22px;
  font-weight:600;
  letter-spacing:.10em;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.section-heading img{
  width:38px;
  height:38px;
}

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

.price-card{
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  text-align:center;
  min-height:365px;
  padding:20px 18px 22px;
}

.price-card h3{
  margin:0 0 14px;
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:18px;
  font-weight:600;
  letter-spacing:.07em;
}

.price-card img{
  height:110px;
  width:100%;
  object-fit:contain;
  margin:0 auto 20px;
}

.price{
  margin:0 0 12px;
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:30px;
  line-height:1.2;
}

.price span{
  font-size:15px;
  margin-left:5px;
}

.price-card p:not(.price){
  margin:0;
  font-size:14px;
  font-weight:400;
  line-height:1.75;
}

.guarantee{
  margin-top:18px;
}

.guarantee .soft-panel{
  padding-top:20px;
}

.guarantee-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border:1px solid var(--line);
  border-radius:7px;
  overflow:hidden;
  background:#fff;
}

.guarantee-grid article{
  text-align:center;
  padding:15px 12px 18px;
  border-right:1px solid var(--line);
}

.guarantee-grid article:last-child{
  border-right:0;
}

.guarantee-grid h3{
  margin:0 0 8px;
  font-size:17px;
  font-weight:600;
}

.guarantee-grid p{
  margin:0;
  color:var(--green);
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:30px;
}

.guarantee-grid span{
  font-size:48px;
  line-height:1;
}

.note{
  margin:8px 0 0;
  text-align:center;
  font-size:13px;
  font-weight:400;
}

.closing{
  margin-top:26px;
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  gap:18px;
  align-items:center;
  border-top:1px solid #9ba79b;
  padding-top:22px;
}

.closing img{
  width:78px;
  height:78px;
  opacity:.85;
}

.closing p{
  margin:2px 0;
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:20px;
  letter-spacing:.07em;
}

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

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

@media(max-width:900px){
  .case-section,
  .price-grid,
  .guarantee-grid,
  .closing{
    grid-template-columns:minmax(0,1fr);
  }

  .case-photos img{
    height:auto;
  }

  .guarantee-grid article{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .guarantee-grid article:last-child{
    border-bottom:0;
  }

  .closing{
    text-align:center;
  }

  .closing img{
    margin:auto;
  }
}

@media(max-width:560px){
  .page-title{
    grid-template-columns:minmax(0,1fr);
  }

  .page-title h1{
    font-size:34px;
    letter-spacing:.10em;
  }

  .lead p{
    font-size:18px;
  }

  .section-heading{
    font-size:20px;
  }

  .price-card{
    min-height:auto;
  }

  .closing p{
    font-size:16px;
  }

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