@charset "utf-8";
/* コンポーネントページ専用スタイル + 下層ページ用共通パーツ */

/* ========================================
   コンポーネントページのレイアウト
   ======================================== */
.c-page {
  padding: 12rem 0 8rem;
  background: #004e2b;
  color: #feeab4;
}
.c-page__inner {
  margin: 0 auto;
  width: 122.6rem;
  max-width: 92%;
}
.c-page__lead {
  margin-bottom: 6rem;
  font-size: 1.4rem;
  line-height: 1.8;
  color: rgba(254, 234, 180, 0.85);
}

/* TOC */
.c-toc {
  margin-bottom: 6rem;
  padding: 3rem;
  border: 1px solid rgba(254, 234, 180, 0.3);
  border-radius: 1.7rem;
}
.c-toc__ttl {
  margin-bottom: 1.6rem;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: 0.05em;
  color: rgba(254, 234, 180, 0.7);
}
.c-toc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.c-toc__list a {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(254, 234, 180, 0.4);
  border-radius: 999px;
  font-size: 1.2rem;
  color: #feeab4;
  transition: 0.3s;
}
.c-toc__list a:hover {
  background: #feeab4;
  color: #004e2b;
}

/* セクション見出し */
.c-section {
  padding: 6rem 0;
  border-bottom: 1px dashed rgba(254, 234, 180, 0.2);
}
.c-section:last-child {
  border-bottom: 0;
}
.c-section__head {
  margin-bottom: 3rem;
  display: flex;
  align-items: baseline;
  gap: 1.6rem;
}
.c-section__no {
  font-family: "Instrument Sans", sans-serif;
  font-style: italic;
  font-size: 1.4rem;
  color: rgba(254, 234, 180, 0.6);
}
.c-section__ttl {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.c-section__sub {
  margin: 4rem 0 1.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(254, 234, 180, 0.7);
}

/* デモ枠 */
.c-demo {
  margin-bottom: 2rem;
  padding: 3rem;
  border: 1px solid rgba(254, 234, 180, 0.2);
  border-radius: 1.7rem;
  background: rgba(0, 0, 0, 0.15);
}
.c-demo--light {
  background: #feeab4;
  color: #044b2b;
}
.c-demo--form {
  padding: 5rem 5rem 5.5rem;
}
@media screen and (max-width: 768px) {
  .c-demo--form {
    padding: 3rem 2.4rem 3.5rem;
  }
}
.c-grid {
  display: grid;
  gap: 2rem;
}
.c-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.c-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.c-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   カラーパレット
   ======================================== */
.c-color {
  border-radius: 1.7rem;
  overflow: hidden;
  border: 1px solid rgba(254, 234, 180, 0.2);
}
.c-color__swatch {
  height: 10rem;
}
.c-color__body {
  padding: 1.2rem 1.4rem;
  background: rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
}
.c-color__name {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.c-color__hex {
  font-family: "Instrument Sans", monospace;
  font-size: 1.1rem;
  color: rgba(254, 234, 180, 0.6);
}

/* ========================================
   タイポグラフィ
   ======================================== */
.c-type h1,
.c-type h2,
.c-type h3,
.c-type h4,
.c-type h5,
.c-type h6 {
  margin: 1.6rem 0 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}
.c-type h1 {
  font-size: 4.4rem;
}
.c-type h2 {
  font-size: 3.4rem;
}
.c-type h3 {
  font-size: 2.8rem;
}
.c-type h4 {
  font-size: 2.2rem;
}
.c-type h5 {
  font-size: 1.8rem;
}
.c-type h6 {
  font-size: 1.6rem;
}
.c-type p {
  font-size: 1.6rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.c-type small {
  display: inline-block;
  font-size: 1.2rem;
  color: rgba(254, 234, 180, 0.7);
}
.c-type a {
  color: #feeab4;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.c-type a:hover {
  opacity: 0.7;
}

/* ========================================
   ボタン（汎用）
   ======================================== */
.c-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 3rem;
  min-width: 20rem;
  border: 1px solid #feeab4;
  border-radius: 999px;
  background: transparent;
  color: #feeab4;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.c-btn::after {
  content: "";
  display: inline-block;
  width: 1.5rem;
  aspect-ratio: 15 / 12;
  background-image: url("../img/common/arrow_y.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition:
    transform 0.3s,
    background-image 0s 0.1s;
}
.c-btn:hover {
  background: #feeab4;
  color: #044b2b;
}
.c-btn:hover::after {
  background-image: url("../img/common/arrow_g.svg");
  transform: translateX(0.6rem);
}
.c-btn--primary {
  background: #feeab4;
  color: #044b2b;
}
.c-btn--primary::after {
  background-image: url("../img/common/arrow_g.svg");
}
.c-btn--primary:hover {
  background: transparent;
  color: #feeab4;
}
.c-btn--primary:hover::after {
  background-image: url("../img/common/arrow_y.svg");
}
.c-btn--ghost {
  border-color: transparent;
  background: transparent;
}
.c-btn--ghost:hover {
  background: rgba(254, 234, 180, 0.1);
  color: #feeab4;
}
.c-btn--lg {
  min-width: 28rem;
  padding: 2rem 4rem;
  font-size: 1.5rem;
}
.c-btn--sm {
  min-width: 14rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}
.c-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ========================================
   フォーム
   ======================================== */
.c-form {
  display: flex;
  flex-flow: column;
  gap: 4rem;
}
.c-form__row {
  display: flex;
  flex-flow: column;
  gap: 1.4rem;
}
.c-form__label {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}
.c-form__required {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: #d15555;
  color: #fff;
  font-size: 1rem;
  border-radius: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}
.c-form__hint {
  font-size: 1.1rem;
  color: rgba(254, 234, 180, 0.6);
}

.c-input,
.c-textarea,
.c-select {
  width: 100%;
  padding: 1.6rem 2.4rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: #fff;
  color: #044b2b;
  font-size: 1.5rem;
  font-family: inherit;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.c-input::placeholder,
.c-textarea::placeholder {
  color: rgba(4, 75, 43, 0.35);
}
.c-input:focus,
.c-textarea:focus,
.c-select:focus {
  outline: none;
  border-color: #feeab4;
  box-shadow: 0 0 0 3px rgba(254, 234, 180, 0.25);
}
.c-textarea {
  resize: vertical;
  min-height: 16rem;
  padding: 2rem 2.4rem;
  border-radius: 2.4rem;
  line-height: 1.7;
}
.c-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #044b2b 50%), linear-gradient(135deg, #044b2b 50%, transparent 50%), linear-gradient(#fff, #fff);
  background-position:
    calc(100% - 2.4rem) 2.1rem,
    calc(100% - 1.8rem) 2.1rem,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
  padding-right: 4.4rem;
}
/* ========================================
   カスタムドロップダウン（select 代替）
   ======================================== */
.c-dropdown {
  position: relative;
  width: 100%;
}
.c-dropdown__trigger {
  width: 100%;
  padding: 1.6rem 4.4rem 1.6rem 2.4rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: #fff;
  color: #044b2b;
  font-size: 1.5rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.c-dropdown__trigger:focus-visible,
.c-dropdown[data-open] .c-dropdown__trigger {
  outline: none;
  border-color: #044b2b;
  box-shadow: 0 0 0 3px rgba(4, 75, 43, 0.15);
}
.c-dropdown__value {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c-dropdown__value--placeholder {
  color: rgba(4, 75, 43, 0.4);
}
.c-dropdown__icon {
  width: 1.3rem;
  height: 0.9rem;
  flex-shrink: 0;
  color: #044b2b;
  transition: transform 0.3s;
}
.c-dropdown[data-open] .c-dropdown__icon {
  transform: rotate(180deg);
}
.c-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.8rem;
  list-style: none;
  background: #fff;
  border-radius: 1.8rem;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.18);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.6rem);
  transition:
    opacity 0.22s,
    transform 0.22s,
    visibility 0s 0.22s;
}
.c-dropdown[data-open] .c-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.22s,
    transform 0.22s;
}
.c-dropdown__option {
  padding: 1.2rem 1.8rem;
  border-radius: 999px;
  font-size: 1.4rem;
  color: #044b2b;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.c-dropdown__option:hover,
.c-dropdown__option[aria-selected="true"] {
  background: #044b2b;
  color: #feeab4;
}

.c-input--error,
.c-textarea--error,
.c-select--error {
  border-color: #d15555;
  box-shadow: 0 0 0 3px rgba(209, 85, 85, 0.2);
}
.c-form__error {
  font-size: 1.1rem;
  color: #ff9090;
}

/* チェックボックス & ラジオ */
.c-check,
.c-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 1.3rem;
}
.c-check input,
.c-radio input {
  appearance: none;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid #feeab4;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: 0.2s;
}
.c-check input {
  border-radius: 0.5rem;
}
.c-radio input {
  border-radius: 50%;
}
.c-check input:checked {
  background: #feeab4;
}
.c-check input:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.6rem;
  height: 1rem;
  border-right: 2px solid #044b2b;
  border-bottom: 2px solid #044b2b;
  transform: translate(-60%, -65%) rotate(45deg);
}
.c-radio input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #feeab4;
  border-radius: 50%;
}

/* ファイル添付 */
.c-file {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2rem;
  border: 1px dashed rgba(254, 234, 180, 0.5);
  border-radius: 1.7rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.3s;
}
.c-file:hover {
  background: rgba(254, 234, 180, 0.05);
}
.c-file input {
  display: none;
}

/* ========================================
   タグ・バッジ
   ======================================== */
.c-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  font-size: 1.1rem;
  color: #fff;
  background: #d15555;
  border-radius: 1.1rem;
  letter-spacing: 0.04em;
}
.c-tag--report,
.c-tag--news,
.c-tag--neutral {
  background: #feeab4;
  color: #044b2b;
}
.c-tag--outline {
  background: transparent;
  border: 1px solid currentColor;
  color: #feeab4;
}

/* ========================================
   カード
   ======================================== */
.c-card-news {
  padding: 2.4rem 2rem;
  border-bottom: 1px solid rgba(254, 234, 180, 0.2);
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: #feeab4;
  transition: 0.3s;
}
.c-card-news:hover {
  background: rgba(254, 234, 180, 0.04);
}
.c-card-news__date {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.3rem;
  color: rgba(254, 234, 180, 0.7);
  min-width: 9rem;
}
.c-card-news__ttl {
  flex: 1;
  font-size: 1.5rem;
}
.c-card-news__arrow {
  width: 1.5rem;
  aspect-ratio: 15 / 12;
  background: url("../img/common/arrow_y.svg") no-repeat center / contain;
  transition: transform 0.3s;
}
.c-card-news:hover .c-card-news__arrow {
  transform: translateX(0.6rem);
}

/* 製品カード — TOPページの .other_product / .list_other をそのまま使う際のスコープ調整 */
.c-demo--product-card {
  padding: 4rem 3rem;
}
.c-demo--product-card .l-product {
  position: static;
  z-index: auto;
  margin: 0;
  padding: 0;
}
.c-demo--product-card .l-product::before,
.c-demo--product-card .l-product::after {
  display: none;
}
.c-demo--product-card .l-product_inner {
  width: 100%;
  max-width: none;
  margin: 0;
}
.c-demo--product-card .other_product .list_other {
  justify-content: flex-start;
  gap: 2rem;
}
.c-demo--product-card .other_product .list_other li {
  width: calc((100% - 4rem) / 3);
}
@media screen and (max-width: 768px) {
  .c-demo--product-card .other_product .list_other {
    gap: 2rem;
  }
  .c-demo--product-card .other_product .list_other li {
    width: 100%;
  }
}

/* ========================================
   リスト
   ======================================== */
.c-list-ul,
.c-list-ol {
  font-size: 1.4rem;
  line-height: 1.9;
}
.c-list-ul li {
  padding-left: 1.4em;
  position: relative;
}
.c-list-ul li::before {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.8em;
  width: 0.5em;
  height: 0.5em;
  background: #feeab4;
  border-radius: 50%;
}
.c-list-ol {
  counter-reset: ol;
  padding-left: 0;
}
.c-list-ol li {
  counter-increment: ol;
  padding-left: 2em;
  position: relative;
}
.c-list-ol li::before {
  content: counter(ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  color: rgba(254, 234, 180, 0.7);
}
.c-list-dl {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.4rem 2rem;
  font-size: 1.4rem;
}
.c-list-dl dt {
  font-weight: 700;
  color: rgba(254, 234, 180, 0.8);
}
.c-list-dl dd {
  line-height: 1.7;
}

/* ========================================
   テーブル
   ======================================== */
.c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
}
.c-table th,
.c-table td {
  padding: 1.6rem 1.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(254, 234, 180, 0.2);
  line-height: 1.7;
}
.c-table th {
  width: 22rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(254, 234, 180, 0.85);
  vertical-align: top;
}
.c-table tr:first-child th,
.c-table tr:first-child td {
  border-top: 1px solid rgba(254, 234, 180, 0.2);
}

/* ========================================
   ページネーション
   ======================================== */
.c-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-top: 4rem;
}
.c-pager a,
.c-pager span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 4rem;
  height: 4rem;
  padding: 0 1rem;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.3rem;
  color: #feeab4;
  border: 1px solid rgba(254, 234, 180, 0.4);
  border-radius: 999px;
  transition: 0.3s;
}
.c-pager a:hover {
  background: #feeab4;
  color: #044b2b;
}
.c-pager .is-current {
  background: #feeab4;
  color: #044b2b;
  border-color: #feeab4;
}
.c-pager .c-pager__ellipsis {
  border: 0;
  background: transparent;
}

/* ========================================
   パンくず
   ======================================== */
.c-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 1.2rem;
  color: rgba(254, 234, 180, 0.7);
}
.c-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.c-breadcrumb li + li::before {
  content: "›";
  color: rgba(254, 234, 180, 0.4);
}
.c-breadcrumb a {
  color: rgba(254, 234, 180, 0.7);
  transition: color 0.3s;
}
.c-breadcrumb a:hover {
  color: #feeab4;
}
.c-breadcrumb .is-current {
  color: #feeab4;
  font-weight: 600;
}

/* ========================================
   下層ページ ヒーロー
   ======================================== */
.c-page-hero {
  position: relative;
  padding: 20rem 0 2rem;
  background: transparent;
  overflow: hidden;
  /* 右上の回転デコ画像（visual height 48rem）が下端で切れないよう確保 */
  min-height: 48rem;
}
.c-page-hero::after {
  content: "";
  position: absolute;
  /* 回転支点が top right なので、視覚的にトップを揃えるため box.top = width 分オフセット */
  top: 48rem;
  right: 0;
  width: 48rem;
  height: 78.4rem;
  background: url("../img/top/mv_dec01.png") no-repeat center / contain;
  transform: rotate(90deg);
  transform-origin: top right;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .c-page-hero::after {
    top: 28rem;
    width: 28rem;
    height: 45.6rem;
  }
}
.c-page-hero__inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: 122.6rem;
  max-width: 92%;
}
.c-page-hero__en {
  display: block;
  margin-bottom: 2rem;
  font-family: "Instrument Sans", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 9rem;
  letter-spacing: 0.02em;
  line-height: 1;
  /* 文字塗り=本体背景色で内側のストロークを覆い、外側だけアウトライン表示 */
  color: #004e2b;
  -webkit-text-stroke: 1.5px #feeab4;
  paint-order: stroke fill;
}
.c-page-hero__ttl {
  margin-bottom: 5rem;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #feeab4;
}
.c-page-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 1.2rem;
  color: rgba(254, 234, 180, 0.75);
  letter-spacing: 0.05em;
}
.c-page-hero__crumb li {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.c-page-hero__crumb li + li::before {
  content: ">";
  color: rgba(254, 234, 180, 0.45);
  font-family: "Instrument Sans", sans-serif;
}
.c-page-hero__crumb a {
  color: rgba(254, 234, 180, 0.75);
  transition: color 0.3s;
}
.c-page-hero__crumb a:hover {
  color: #feeab4;
}
.c-page-hero__crumb .is-current {
  color: #feeab4;
}
@media screen and (max-width: 768px) {
  .c-page-hero {
    padding: 14rem 0 1.5rem;
    min-height: 24rem;
  }
  .c-page-hero__inner {
    padding: 0;
    max-width: 92%;
  }
  .c-page-hero__en {
    /* font-size: 4.6rem; */
    font-size: min(3.9rem, 4.5rem);
    margin-bottom: 1.2rem;
  }
  .c-page-hero__ttl {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }
  .c-page-hero__crumb {
    font-size: 1.1rem;
  }
}

/* ========================================
   セクション見出し（下層ページ用）
   ======================================== */
.c-heading {
  display: flex;
  flex-flow: column;
  gap: 0.8rem;
  margin-bottom: 3rem;
}
.c-heading__en {
  font-family: "Instrument Sans", sans-serif;
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(254, 234, 180, 0.7);
}
.c-heading__ttl {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.c-heading--bordered {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(254, 234, 180, 0.3);
}
.c-heading--center {
  align-items: center;
  text-align: center;
}

/* ========================================
   アラート・通知
   ======================================== */
.c-alert {
  padding: 1.6rem 2rem;
  border-radius: 1.7rem;
  font-size: 1.3rem;
  line-height: 1.7;
}
.c-alert--info {
  background: rgba(90, 135, 184, 0.2);
  border-left: 3px solid #5a87b8;
}
.c-alert--success {
  background: rgba(107, 168, 116, 0.2);
  border-left: 3px solid #6ba874;
}
.c-alert--warning {
  background: rgba(217, 169, 92, 0.2);
  border-left: 3px solid #d9a95c;
}
.c-alert--error {
  background: rgba(209, 85, 85, 0.2);
  border-left: 3px solid #d15555;
}

/* ========================================
   アコーディオン
   ======================================== */
.c-acc {
  border-top: 1px solid rgba(254, 234, 180, 0.2);
}
.c-acc__item {
  border-bottom: 1px solid rgba(254, 234, 180, 0.2);
}
.c-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 600;
}
.c-acc__head::after {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-right: 2px solid #feeab4;
  border-bottom: 2px solid #feeab4;
  transform: rotate(45deg) translate(-25%, -25%);
  transition: transform 0.3s;
}
.c-acc__item[open] .c-acc__head::after {
  transform: rotate(-135deg) translate(-25%, 25%);
}
.c-acc__body {
  padding: 0 1rem 2rem;
  font-size: 1.4rem;
  line-height: 1.8;
  color: rgba(254, 234, 180, 0.85);
}

/* ========================================
   引用
   ======================================== */
.c-quote {
  position: relative;
  padding: 2rem 2rem 2rem 4rem;
  border-left: 3px solid #feeab4;
  font-size: 1.4rem;
  line-height: 1.8;
  font-style: italic;
  color: rgba(254, 234, 180, 0.85);
}

/* ========================================
   画像 + キャプション
   ======================================== */
.c-figure {
  margin: 0 0 2rem;
}
.c-figure img {
  width: 100%;
  border-radius: 2rem;
}
.c-figure figcaption {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: rgba(254, 234, 180, 0.6);
  line-height: 1.6;
}

/* ========================================
   CTAバナー（下層ページ下部）
   ======================================== */
.c-cta {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  padding: 7rem 6rem;
  background: #feeab4;
  border: 0;
  border-radius: 2.4rem;
  overflow: hidden;
}
.c-cta__text {
  flex: 1;
  max-width: 56%;
  color: #044b2b;
}
.c-cta__en {
  display: block;
  margin: 0 0 4.8rem;
  font-family: "Instrument Sans", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 7.2rem;
  line-height: 1;
  letter-spacing: 0.02em;
  /* Page Hero と同じくアウトラインのみ表示。塗り=CTA背景色、ストローク=本体テーマ色 */
  color: #feeab4;
  -webkit-text-stroke: 1.5px #044b2b;
  paint-order: stroke fill;
}
.c-cta__ttl {
  margin: 0 0 1.4rem;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: #044b2b;
}
.c-cta__desc {
  margin: 0 0 3rem;
  font-size: 1.4rem;
  line-height: 1.8;
  color: rgba(4, 75, 43, 0.78);
}
.c-cta .c-btn {
  background: #044b2b;
  color: #feeab4;
  border-color: #044b2b;
}
.c-cta .c-btn::after {
  background-image: url("../img/common/arrow_y.svg");
}
.c-cta .c-btn:hover {
  background: transparent;
  color: #044b2b;
  border-color: #044b2b;
}
.c-cta .c-btn:hover::after {
  background-image: url("../img/common/arrow_g.svg");
}

.c-cta__logo {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  width: 42rem;
  height: 28rem;
  overflow: visible;
}
.c-cta__mail-svg {
  flex-shrink: 0;
  width: 14rem;
  height: auto;
  overflow: visible;
}
.c-cta__logo-svg {
  flex-shrink: 0;
  width: 24rem;
  height: 24rem;
  overflow: visible;
}
.c-cta__logo-svg .logo_1,
.c-cta__logo-svg .logo_2,
.c-cta__logo-svg .logo_3 {
  transform-box: fill-box;
  transform-origin: center;
}
.c-cta__logo-svg .logo_1 {
  fill: #044b2b;
  animation: cta-logo-1 4s infinite;
}
.c-cta__logo-svg .logo_2 {
  fill: #cda16f;
  animation: cta-logo-2 4s infinite;
}
.c-cta__logo-svg .logo_3 {
  fill: #cda16f;
  animation: cta-logo-3 4s infinite;
}
.c-cta__mail-svg .mail-group {
  transform-box: fill-box;
  transform-origin: center;
  animation: cta-mail-group 4s infinite;
}
.c-cta__mail-svg .mail-line1 {
  animation: cta-mail-line1 4s infinite;
}
.c-cta__mail-svg .mail-line2 {
  animation: cta-mail-line2 4s infinite;
}
.c-cta__mail-svg .mail-line3 {
  animation: cta-mail-line3 4s infinite;
}

/* バウンス系イージング：
   in  = cubic-bezier(0.175, 0.885, 0.32, 1.275) easeOutBack 強めのオーバーシュート
   out = cubic-bezier(0.6, -0.28, 0.735, 0.045) easeInBack 引き気味から加速
*/
@keyframes cta-logo-1 {
  0% {
    transform: translate(-220%, 180%) rotate(-30deg);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  20% {
    transform: translate(0, 0) rotate(0);
    opacity: 1;
  }
  78% {
    transform: translate(0, 0) rotate(0);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045);
  }
  100% {
    transform: translate(-220%, 180%) rotate(-30deg);
    opacity: 0;
  }
}
@keyframes cta-logo-2 {
  0% {
    transform: translate(200%, -200%) rotate(35deg);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  20% {
    transform: translate(0, 0) rotate(0);
    opacity: 1;
  }
  78% {
    transform: translate(0, 0) rotate(0);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045);
  }
  100% {
    transform: translate(200%, -200%) rotate(35deg);
    opacity: 0;
  }
}
@keyframes cta-logo-3 {
  0% {
    transform: translate(240%, 100%) rotate(22deg);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  20% {
    transform: translate(0, 0) rotate(0);
    opacity: 1;
  }
  78% {
    transform: translate(0, 0) rotate(0);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045);
  }
  100% {
    transform: translate(240%, 100%) rotate(22deg);
    opacity: 0;
  }
}

/* mail: logo集合完了後（25%以降）に Group → Line1 → Line2 → Line3 の順で左から飛び込む */
@keyframes cta-mail-group {
  0% {
    transform: translate(-160%, 0) scale(0.4);
    opacity: 0;
    animation-timing-function: steps(1, end);
  }
  25% {
    transform: translate(-160%, 0) scale(0.4);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  35% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  78% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045);
  }
  100% {
    transform: translate(-160%, 0) scale(0.4);
    opacity: 0;
  }
}
@keyframes cta-mail-line1 {
  0% {
    transform: translate(-40px, 0);
    opacity: 0;
    animation-timing-function: steps(1, end);
  }
  38% {
    transform: translate(-40px, 0);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  46% {
    transform: translate(0, 0);
    opacity: 1;
  }
  78% {
    transform: translate(0, 0);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045);
  }
  100% {
    transform: translate(-40px, 0);
    opacity: 0;
  }
}
@keyframes cta-mail-line2 {
  0% {
    transform: translate(-40px, 0);
    opacity: 0;
    animation-timing-function: steps(1, end);
  }
  44% {
    transform: translate(-40px, 0);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  52% {
    transform: translate(0, 0);
    opacity: 1;
  }
  78% {
    transform: translate(0, 0);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045);
  }
  100% {
    transform: translate(-40px, 0);
    opacity: 0;
  }
}
@keyframes cta-mail-line3 {
  0% {
    transform: translate(-40px, 0);
    opacity: 0;
    animation-timing-function: steps(1, end);
  }
  50% {
    transform: translate(-40px, 0);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  58% {
    transform: translate(0, 0);
    opacity: 1;
  }
  78% {
    transform: translate(0, 0);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045);
  }
  100% {
    transform: translate(-40px, 0);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-cta__logo-svg .logo_1,
  .c-cta__logo-svg .logo_2,
  .c-cta__logo-svg .logo_3,
  .c-cta__mail-svg .mail-group,
  .c-cta__mail-svg .mail-line1,
  .c-cta__mail-svg .mail-line2,
  .c-cta__mail-svg .mail-line3 {
    animation: none;
  }
}

/* ========================================
   SP対応
   ======================================== */
@media screen and (max-width: 768px) {
  .c-page {
    padding: 10rem 0 6rem;
  }
  .c-page__inner {
    max-width: 88%;
  }
  .c-section {
    padding: 4rem 0;
  }
  .c-section__ttl {
    font-size: 2rem;
  }
  .c-grid--3,
  .c-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .c-grid--2 {
    grid-template-columns: 1fr;
  }
  .c-list-dl {
    grid-template-columns: 1fr;
    gap: 0.4rem 0;
  }
  .c-list-dl dt {
    margin-top: 1.4rem;
  }
  .c-table th {
    width: auto;
    display: block;
    padding: 1rem 0 0.4rem;
    border-bottom: 0;
  }
  .c-table td {
    display: block;
    padding: 0 0 1.6rem;
  }
  .c-cta {
    flex-flow: column-reverse;
    gap: 2rem;
    padding: 4rem 2.4rem;
  }
  .c-cta__text {
    max-width: 100%;
  }
  .c-cta__en {
    font-size: 3.6rem;
    margin-bottom: 2rem;
  }
  .c-cta__ttl {
    font-size: 1.8rem;
  }
  .c-cta__desc {
    font-size: 1.3rem;
    margin-bottom: 2.4rem;
  }
  .c-cta__logo {
    width: 28rem;
    height: 18rem;
    margin: 0 auto;
    gap: 1.2rem;
  }
  .c-cta__mail-svg {
    width: 9rem;
  }
  .c-cta__logo-svg {
    width: 15rem;
    height: 15rem;
  }
  .c-pager a,
  .c-pager span {
    min-width: 3.4rem;
    height: 3.4rem;
    font-size: 1.2rem;
  }
  .c-breadcrumb {
    font-size: 1.1rem;
  }
  .c-card-news {
    flex-flow: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .c-card-news__arrow {
    display: none;
  }
  .c-heading__ttl {
    font-size: 2.4rem;
  }
  .c-btn {
    min-width: 16rem;
    padding: 1.4rem 2rem;
    font-size: 1.2rem;
  }
  .c-btn--lg {
    min-width: 22rem;
  }
}

/* ========================================
   モーダル（個人情報保護方針用）<dialog>
   ======================================== */
.c-modal {
  margin: auto;
  width: min(72rem, 92vw);
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: 2.4rem;
  background: #feeab4;
  color: #044b2b;
  overflow: hidden;
}
.c-modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.c-modal[open] {
  animation: c-modal-pop 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes c-modal-pop {
  from {
    opacity: 0;
    transform: translateY(2rem) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.c-modal__inner {
  position: relative;
  padding: 5rem 4.4rem 4rem;
  max-height: 88vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.c-modal__close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #044b2b;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.c-modal__close:hover {
  background: rgba(4, 75, 43, 0.1);
  transform: rotate(90deg);
}
.c-modal__ttl {
  margin: 0 0 2.4rem;
  padding-right: 4rem;
  font-size: 2.2rem;
  font-weight: 700;
}
.c-modal__body {
  font-size: 1.4rem;
  line-height: 1.8;
}
.c-modal__body .s-policy-section {
  margin-top: 2.4rem;
}
.c-modal__body .s-policy-section h3 {
  margin: 0 0 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.c-modal__body .s-policy-section p {
  margin: 0 0 0.8rem;
}
.c-modal__body .c-list-ul {
  margin: 0.8rem 0;
  padding-left: 0;
  list-style: none;
}
.c-modal__body .c-list-ul li {
  position: relative;
  margin-bottom: 0.4rem;
  padding-left: 1.4rem;
}
.c-modal__body .c-list-ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(4, 75, 43, 0.7);
}
.c-modal__body .s-policy-contact {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(4, 75, 43, 0.18);
}
.c-modal__body .s-policy-contact h4 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
}
.c-modal__body .s-policy-contact address {
  font-style: normal;
}
.c-modal__body .s-link {
  color: #044b2b;
  text-decoration: underline;
  word-break: break-all;
}
html:has(dialog.c-modal[open]) {
  overflow: hidden;
}

/* ========================================
   Cookie 同意バナー & 設定モーダル
   ======================================== */
.c-cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  width: min(76rem, calc(100% - 2rem));
  padding: 2.4rem 2.8rem;
  background: #feeab4;
  color: #044b2b;
  border-radius: 1.8rem;
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.35);
  animation: c-cookie-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.c-cookie-banner[hidden] {
  display: none;
}
@keyframes c-cookie-in {
  from {
    opacity: 0;
    transform: translate(-50%, 2rem);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.c-cookie-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.c-cookie-banner__ttl {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #044b2b;
}
.c-cookie-banner__text p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(4, 75, 43, 0.85);
}
.c-cookie-banner__text a {
  color: #044b2b;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.c-cookie-banner__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.c-cookie-banner__btn {
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.2s;
}
.c-cookie-banner__btn--secondary {
  background: transparent;
  color: #044b2b;
  border: 1px solid #044b2b;
}
.c-cookie-banner__btn--secondary:hover {
  background: rgba(4, 75, 43, 0.08);
}
.c-cookie-banner__btn--primary {
  background: #044b2b;
  color: #feeab4;
  border: 1px solid #044b2b;
}
.c-cookie-banner__btn--primary:hover {
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .c-cookie-banner {
    padding: 1.8rem 2rem;
    bottom: 1rem;
  }
  .c-cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .c-cookie-banner__actions {
    justify-content: stretch;
  }
  .c-cookie-banner__btn {
    flex: 1 1 auto;
    padding: 1.1rem 1rem;
  }
}

/* Cookie 設定モーダル：c-modal 共通スタイルを継承 */
.c-cookie-toggle {
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(4, 75, 43, 0.18);
}
.c-cookie-toggle:last-of-type {
  border-bottom: 0;
}
.c-cookie-toggle__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  cursor: pointer;
}
.c-cookie-toggle__name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #044b2b;
}
.c-cookie-toggle__desc {
  margin: 0.6rem 0 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(4, 75, 43, 0.7);
}
.c-cookie-switch {
  position: relative;
  flex-shrink: 0;
  width: 4.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(4, 75, 43, 0.25);
  transition: background 0.25s;
}
.c-cookie-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.c-cookie-switch::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 2rem;
  height: 2rem;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.15);
}
.c-cookie-switch:has(input:checked) {
  background: #044b2b;
}
.c-cookie-switch:has(input:checked)::after {
  transform: translateX(2rem);
}
.c-cookie-switch--locked {
  background: rgba(4, 75, 43, 0.55);
  cursor: not-allowed;
}
.c-cookie-switch--locked::after {
  transform: translateX(2rem);
}
.c-cookie-switch--locked input {
  cursor: not-allowed;
}
.c-modal__actions {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(4, 75, 43, 0.18);
}
.c-modal__actions .c-modal__action-btn {
  padding: 1.2rem 2.2rem;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s;
}
.c-modal__actions .c-modal__action-btn--secondary {
  background: transparent;
  color: #044b2b;
  border: 1px solid #044b2b;
}
.c-modal__actions .c-modal__action-btn--secondary:hover {
  background: rgba(4, 75, 43, 0.08);
}
.c-modal__actions .c-modal__action-btn--primary {
  background: #044b2b;
  color: #feeab4;
  border: 1px solid #044b2b;
}
.c-modal__actions .c-modal__action-btn--primary:hover {
  background: #033620;
}
@media screen and (max-width: 768px) {
  .c-modal {
    border-radius: 1.6rem;
  }
  .c-modal__inner {
    padding: 4rem 2rem 3rem;
  }
  .c-modal__ttl {
    font-size: 1.8rem;
  }
  .c-modal__body {
    font-size: 1.3rem;
  }
}
