
.content-container {
  container-type: inline-size;
  container-name: content-container;
}

.content-container > div {
  font-size:15px;
  line-height:1.7;
}

.content-wrapper {
  margin: 0;
  color: var(--text-main);
  line-height: 1.7;
  background: #fff;
  --green-main: #214e37;
  --green-light: #e8f2e9;
  --text-main: #222;
  --text-sub: #555;
  --bg-gray: #f1ede1;
  --border-color: #e0e0e0;
  --radius: 8px;
}

.content-wrapper img {
  max-width: 100%;
  height: auto;
}

.content-wrapper a {
  /*text-decoration: none; */
  color: inherit;
}

.content-wrapper .inner {
  /* max-width: 1320px; */
  margin: 0 auto;
  padding: 0 50px;
}

.content-wrapper .section {
  padding: 25px 0;
}

.content-wrapper .section-title {
  font-size: 1.85em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: var(--green-main);
}

.content-wrapper .section-lead {
  /*text-align: center;*/
  color: var(--text-sub);
  margin-block: -10px 12px;
  display: table;
  margin-inline: auto;
  text-align: left;
}

.content-wrapper .section:nth-child(odd) {
  background: var(--bg-gray);
}



.card {
  border: 1px solid var(--border-color);
  background: #FFF;
  border-radius: var(--radius);
  padding-bottom: 1em;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
  overflow: hidden;
  box-sizing: border-box;
  height: 100%;
}

.card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.card > * {
  margin-inline: 1em;
}
.card img {
  width: 100%;
  height: auto;
  margin: 0 0 .5em;
}

.card .type-ttl {
  font-size: 1.2em;
  text-align: center;
  font-weight: bold;
  color: #4b4b4b;
}

.card p {
  color: var(--text-sub);
  font-size: 0.9em;
  margin-bottom: .5em;
}

.cta-btn {
  display: block;
  text-align: center;
  background: var(--green-main);
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 700;
  margin-top: auto;
}

/* ===================== ヒーロー ===================== */

.hero {
  color: #fff;
  padding: 20px 30px;
  background: url(../img/head.jpg) right center / cover no-repeat, #191212;  
  @media (max-width: 1100px) {
    background: 
    linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.1)),
    url(../img/head.jpg) right center / cover no-repeat;
  } 
  @media (max-width: 1024px) {
    background: 
    linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
    url(../img/head.jpg) right center / cover no-repeat;
  }
  @media (max-width: 768px) {
    padding: 1em;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

.hero-eyebrow {
  font-size: 1.05em;
  margin: 0 0 .3em;
  opacity: .9;
}

.hero-text h2 {
  font-size: 3.2em;
  margin: 0 0 20px;
  font-weight: 800;
  line-height: 1.2;
  @media (max-width: 768px) {
    font-size: 2.8em;
  }
}

.hero-lead {
  font-size: 0.9em;
  opacity: .95;
  margin-bottom: 28px;
  text-shadow: 1px 2px 3px var(--text-main);
  p + p {
    margin-top: 1em;
  }
}

.content-container .wrap-service {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.content-container .box-service {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 8px;
  font-size: 0.85em;
  line-height: 1.6;
}

.content-container .box-service img {
  grid-row: 1 / 3;
  width: 40px;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 8px;
  background: var(--green-main);
  border-radius: 50%;
}

.content-container .ttl-service {
  margin-top: auto;
  font-weight: bold;
  font-size: 1.1em;
}



/* ===================== タイプから選ぶ ===================== */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===================== スタンダードタイプとロックタイプ何が違う？ ===================== */
.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  > div {
    background: #FFF;
    border: 2px solid var(--green-main);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .7rem;
    padding-bottom: 1em;
  }
  .ttl {
    font-size: 1.3em;
    color: #FFF;
    background: var(--green-main);
    text-align: center;
    font-weight: bold;
    padding: 5px;
  }
  .ttl-desc {
    font-size: 1.2em;
    color: var(--green-main);
    font-weight: bold;
    text-align: center;
    padding-inline: .5em;
  }
  .img-box {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    margin-inline: 1em;
    figure {
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: #e8e8ea;      
      border-radius: var(--radius);
      overflow: hidden;
    }
    figcaption {
      color: #FFF;
      font-size: 0.85em;
      text-align: center;
      padding: .5em .25em;
      background: var(--green-main);
      line-height: 1.4;
    }
    /*img:first-child {
      aspect-ratio: 3 / 2;
      object-fit: cover;
      border-radius: 4px;
    }*/
  }
  ul {
    background: var(--bg-gray);
    border-radius: var(--radius);
    margin-inline: 1em;
    padding: 10px 20px;
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    li {
      font-size: 0.9em;
      display: flex;
      align-items: center;
      gap: 0 5px;
      padding: .1em;
      &::before { 
        content: "✓";
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 1.5em;
        height: 1.5em;
        border-radius: 50%;
        background: #28a745;
        color: white;
        font-size: .8em;
        font-weight: bold;
        flex-shrink: 0;
      }
    }
  }
  .howto-box {
    display: flex;
    flex-direction: column-reverse;
    gap: .2em;
    p {
      background: var(--green-main);
      border-radius: 4px;
      color: #FFF;
      text-align: center;
      font-size: 0.9em;
    }
    img {
      border-radius: 4px;
      border: solid 1px var(--green-main);
    }
  }
}
/* ===================== ストラップピンを選ぶ際のポイント ===================== */
.point-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-bottom: 15px;
  > div {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
  }
  .point-ttl {
    display: flex;
    align-items: flex-start;
    color: #FFF;
    gap: .5em;
    font-weight: bold;
    font-size: 1.2em;
    margin-block: .2em .5em;
    > * {
      background: var(--green-main);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: inherit;
    }
    > p {
      padding-inline: 1em;
      border-radius: 100vh;
      white-space: nowrap;
    }
    > span {
      padding-inline: .5em;
      border-radius: 50%;
    }
  }
  .point-desc {
    font-weight: bold;
    color: #333;
    span {
      font-weight: normal;
      display: block;
      font-size: 0.8em;
    }
  }
  .point-img {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    img {
      max-width: 100%;
      max-height: 150px;
      min-width: 0;
      object-fit: contain;
      @media (max-width:640px) {
        max-height: none;
      }
    }
    > div {
      display: flex;
      max-width: 100%;
      max-height: 150px;
      min-width: 0;
      overflow: hidden;
      @media (max-width:900px) {
        margin-top: 1em;
      }
      @media (max-width:640px) {
        max-height: none;
      }
    }
    figcaption {
      text-align: center;
      border-radius: 100vh;
      padding: .2em .5em;
      background: #e9e9e9;
      font-size: 0.85em;
      font-weight: bold;
      margin: .5em 1em 0;
      white-space: nowrap;
    }
  }
}
.point-note {
  font-size: 0.85em;
  display: table;
  margin-inline: auto;
  text-align: left;
}
/* ===================== おすすめブランド ===================== */
.brand-list {
  display: grid;
  grid-template-columns: repeat(4 , 1fr);
  gap: 10px;
  .card {
    box-sizing: border-box;
    height: 100%;
    justify-content: space-between;
    padding-block: 6px 12px;
    p {
      font-size: 0.85em;
      margin-bottom: 6px;
    }
    .cta-btn {
      margin-top: auto;
    }
  }
}

/* ===================== FAQ ===================== */
.faq-section {
  background: #fff;
}

.faq-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.faq-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--text-main);
  font-size: 0.9em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item summary:before {
  content:"Q";
  background: var(--green-main);
  width: 35px;
  height: 35px;
  border-radius:50%;
  color:white;
  display: grid;
  place-items: center;
  font-size: 1.15em;
  /* display: block; */
  aspect-ratio: 1/1;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 0.75em;
  transition: transform .2s ease;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--green-main);
  border-right: 2px solid var(--green-main);
  transform: rotate(45deg);
}

.faq-item[open] summary::after {
  transform: rotate(315deg);
}

.faq-answer {
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  color: var(--text-sub);
  align-items: center;
  padding-left: 46px;
  position: relative;
}

.faq-answer:before {
  content:"A";
  background: var(--green-light);
  width: 35px;
  height: 35px;
  border-radius:50%;
  color: var(--green-main);
  display: grid;
  place-items: center;
  font-size: 1.15em;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 12px;
  aspect-ratio: 1;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ===================== あわせてCHECK ===================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  .card {
    padding: 12px;
    flex-direction: row;
    align-items: flex-start;
    img {
      width: 150px;
      margin: 0;
      object-fit: contain;
    }
  }
  .article-ttl {
    margin-right: 0;
    width: 100%;
    span {
      font-weight: bold;
      font-size: 1.2em;
      color: var(--green-main);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: .2em;
      margin-bottom: .5em;
      border-bottom: 1px solid var(--text-sub);
      &::after {
        content: "";
        color: var(--green-main);
        display: inline-block;
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--green-main);
        border-right: 2px solid var(--green-main);
        rotate: 45deg;
        margin-right: 5px;
      }
    }
  }
}

/* ===================== フットバナー ===================== */
.fot-btn a {
  display: block;
  text-align: center;
  background: var(--green-main);
  color: #fff;
  border: solid 1px var(--border-color);
  padding: 10px;
  border-radius: 6px;
  font-size: 1.2em;
  font-weight: 700;
  transition: .2s;
  &::after {
    content: "";
    display: inline-block;
    color: #FFF;
    width: 10px;
    height: 10px;
    border-top: 3px solid #FFF;
    border-right: 3px solid #FFF;
    rotate: 45deg;
    margin-left: 5px;
  }
  &:hover {
    background: var(--bg-gray);
    color: var(--green-main);
    text-decoration: none;
    &::after {
      border-color: var(--green-main);
    }
  }
}

/* ===================== レスポンシブ ===================== */
@media (max-width: 1200px) {
.difference-grid ul {
  grid-template-columns: repeat(1,1fr);
}
.brand-list {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.point-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
}
@media (max-width: 1024px) {
.article-grid {
  grid-template-columns: repeat(1,1fr);
}
}
@media (max-width: 900px) {
.content-container > div {
  font-size:14px;
}
}
@media (max-width: 768px) {
.content-wrapper .inner {
  padding: 0 1em;
}
.content-wrapper .section-title {
  font-size: 1.5em;
}
.content-wrapper .section-lead {
  font-size: .9em;
}
.type-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.difference-grid {
  grid-template-columns: repeat(1,1fr);
}
}
@media (max-width: 400px) {
.difference-grid {
  .img-box {
    flex-direction: column;
    img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
  }
}
.article-grid {
  .card {
    flex-direction: column;
    align-items: center;
    .article-ttl {
      margin: .5em .5em 0;
    }
  }
}
}
