/* ================================================================================================ */
/* product common — おすすめのご使用例 / FAQ / 他の製品ラインナップ */
/* ================================================================================================ */

:root {
  --product_green: #32cd32;
  --product_green_dark: #028502;
  --product_green_mid: #10ac11;
  --product_orange: #ffa11d;
  --product_text: #333333;
  --product_bg_soft: #e6f8e6;
}

.product_container {
  width: 100%;
  max-width: 996px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.c_product {
  color: var(--product_green);
}

.product_example__wide {
  max-width: 1200px;
}

footer {
  margin-top: 0;
}

/* ================================================================================================ */
/* Example */
/* ================================================================================================ */
section.product_example {
  padding-top: 80px;
  padding-bottom: 80px;
}

.product_example .purpose_sec_head,
.product_example .booklet_sec_head {
  margin-bottom: 64px;
}

.product_example__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.product_example__item {
  border: 1px solid var(--product_green);
  border-top-width: 4px;
  padding: 40px;
  box-sizing: border-box;
  scroll-margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.product_example__top {
  display: flex;
  gap: 40px;
  align-items: flex-end;
}

.product_example__img {
  width: 384px;
  height: 288px;
  flex-shrink: 0;
  overflow: hidden;
}

.product_example__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

.product_example__right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product_example__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product_example__ttl {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5;
  color: var(--product_text);
}

.product_example__lead {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 2;
  color: var(--product_text);
}

.product_example__hline {
  width: 100%;
  height: 0;
  border: none;
  border-top: 1px dashed var(--product_green);
}

.product_example__tags {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.product_example__tags_col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 250px;
  flex-shrink: 0;
}

.product_example__tag {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 32px;
}

.product_example__tag_key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 32px;
  background: var(--product_green);
  color: #fff;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.product_example__tag_val {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 2;
  color: var(--product_text);
}

.product_example__estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.product_example__controls {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  min-width: 0;
}

.product_example__selects {
  display: flex;
  gap: 16px;
}

.product_example__select_wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 200px;
}

.product_example__select_label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 2;
  color: var(--product_green_dark);
}

.product_example__select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #c1f1c1;
  border-radius: 4px;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2;
  color: var(--product_text);
  appearance: none;
  background-image: url("../../img/purpose/icon_select.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.product_example__ref_price {
  border-left: 1px solid #c1f1c1;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product_example__ref_label {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 2;
  color: var(--product_green_dark);
}

.product_example__ref_yen {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--product_text);
  display: flex;
  align-items: flex-end;
}

.product_example__tax {
  font-size: 12px;
  font-weight: 700;
  line-height: 2;
  margin-left: 0;
}

.product_example__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 74px;
  padding: 0 20px;
  background: linear-gradient(to bottom, #ffa11d, #ff851d);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 2;
  cursor: pointer;
  flex-shrink: 0;
}

.product_example__btn_icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 15px;
}

.product_example__table_wrap {
  overflow-x: auto;
  width: 100%;
}

.product_price_table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  border-spacing: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 2;
  text-align: center;
}

.product_price_table th,
.product_price_table td {
  border: 1px solid #c1f1c1;
  padding: 0 8px;
  color: var(--product_text);
  height: 28px;
  vertical-align: middle;
}

.product_price_table__corner {
  width: 85px;
  min-width: 85px;
  border: none;
  background: transparent;
}

.product_price_table__page_row th {
  border: none;
  padding: 0;
  height: 32px;
  text-align: center;
  color: #028502;
}

.product_price_table__page_tab {
  background: #c1f1c1;
  color: var(--product_green_dark);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  border: none;
  border-radius: 8px 8px 0 0;
  height: 32px;
}

.product_price_table__copy_row th {
  background: var(--product_bg_soft);
  font-weight: 700;
  height: 28px;
  font-size: 12px;
  text-align: center;
}

.product_price_table__copy_row th:first-child {
  width: 85px;
  min-width: 85px;
}

.product_price_table tbody th {
  background: #fff;
  font-weight: 400;
  white-space: nowrap;
  width: 85px;
  min-width: 85px;
  text-align: center;
}

.product_price_table tbody tr:nth-child(even) th,
.product_price_table tbody tr:nth-child(even) td {
  background: var(--product_bg_soft);
}

/* ================================================================================================ */
/* FAQ */
/* ================================================================================================ */
section.product_faq {
  padding-bottom: 80px;
}

.product_faq__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 56px;
  position: relative;
}

.product_faq__icon {
  display: block;
  width: 40px;
  height: 40px;
}

.product_faq__ttl {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.5;
  color: var(--product_text);
  text-align: center;
}

.product_faq__illust {
  position: absolute;
  right: 16%;
  bottom: -2px;
  width: 114px;
  height: auto;
  pointer-events: none;
  z-index: -1;
}

.product_faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product_faq__item {
  border: 1px solid var(--product_green);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

.product_faq__item.is-open {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 32px;
}

.product_faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.product_faq__item.is-open .product_faq__q {
  padding: 0;
}

.product_faq__q_inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.product_faq__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  box-sizing: border-box;
}

.product_faq__badge--q {
  border: 1px solid var(--product_green);
  color: var(--product_green);
  background: #fff;
}

.product_faq__badge--a {
  background: var(--product_green);
  color: #fff;
  border: none;
}

.product_faq__q_txt {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--product_text);
}

.product_faq__toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.product_faq__toggle::before,
.product_faq__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--product_green);
  transform: translate(-50%, -50%);
}

.product_faq__toggle::before {
  width: 16px;
  height: 2px;
}

.product_faq__toggle::after {
  width: 2px;
  height: 16px;
}

.product_faq__item.is-open .product_faq__toggle::after {
  display: none;
}

.product_faq__a {
  display: none;
}

.product_faq__item.is-open .product_faq__a {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.product_faq__a_line {
  width: 100%;
  height: 0;
  border: none;
  border-top: 1px dashed #c1f1c1;
}

.product_faq__a_inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.product_faq__a_txt {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--product_text);
}

/* ================================================================================================ */
/* Other */
/* ================================================================================================ */
section.product_other {
  padding: 80px 0;
  background: var(--product_bg_soft);
}

section.product_other .product_container {
  max-width: 1200px;
}

.product_other__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 56px;
}

.product_other__ttl {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.5;
  color: var(--product_text);
  text-align: center;
}

.product_other__illust {
  position: absolute;
  left: 18%;
  bottom: -3px;
  width: 119px;
  height: auto;
  transform: scaleX(-1);
  pointer-events: none;
}

.product_other__icon {
  display: block;
  width: 48px;
  height: 34px;
}

.product_other__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.product_other__item {
  width: calc((100% - 72px) / 4);
  min-width: 0;
}

.product_other__link {
  position: relative;
  display: block;
  height: 212px;
  overflow: hidden;
  text-decoration: none;
}

.product_other__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
  transform: scale(1.05);
}

.product_other__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #209a21, #10ac11);
  opacity: 0.4;
}

.product_other__name {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  white-space: nowrap;
}

.product_other__arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 10px;
  height: 20px;
}

/* ================================================================================================ */
/* Responsive */
/* ================================================================================================ */
@media screen and (max-width: 1024px) {
  .product_faq__ttl,
  .product_other__ttl {
    font-size: 36px;
  }

  .product_faq__illust,
  .product_other__illust {
    display: none;
  }

  .product_example__img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .product_example__top {
    flex-direction: column;
    align-items: stretch;
  }

  .product_example__estimate {
    flex-direction: column;
    align-items: stretch;
  }

  .product_example__controls {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .product_example__ref_price {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #c1f1c1;
    padding-top: 16px;
    gap: 16px;
  }

  .product_example__btn {
    width: 100%;
  }

  .product_other__item {
    width: calc((100% - 24px) / 2);
  }
}

@media screen and (max-width: 768px) {
  section.fixed_btn {
    top: unset;
  }
  .product_example__item {
    padding: 24px 16px;
  }

  .product_example__select_wrap {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  section.product_example,
  section.product_faq,
  section.product_other {
    padding: 48px 0;
  }

  .product_faq__ttl,
  .product_other__ttl {
    font-size: 28px;
    white-space: normal;
  }

  .product_example__ttl {
    font-size: 24px;
  }

  .product_example__tags {
    flex-direction: column;
    gap: 8px;
  }

  .product_example__tags_col {
    width: 100%;
  }

  .product_example .purpose_sec_head,
  .product_example .booklet_sec_head {
    margin-bottom: 32px;
  }

  .product_faq__head {
    padding-bottom: 32px;
  }

  .product_example__selects {
    flex-direction: column;
    width: 100%;
  }

  .product_faq__q {
    padding: 16px;
  }

  .product_faq__item.is-open {
    padding: 16px 16px 24px;
  }

  .product_other__head {
    padding-bottom: 32px;
  }

  .product_other__item {
    width: 100%;
    max-width: 400px;
  }
}
