@charset "UTF-8";

/* ===============================================
  サイト全体で使用するスタイル
  共通のブレイクポイント：768px
=============================================== */


/* ===============================================
  変数
=============================================== */

:root {
  /* 余白 */
  --margin: 40px;
  --margin-xs: 10px;
  --margin-s: calc(var(--margin) / 2);
  --margin-m: calc(var(--margin) * 0.8);
  --margin-l: calc(var(--margin) * 1.5);
  --margin-section: 100px;

  /* 文字サイズ */
  /* NEW */
  /* heading1-size */
  --font-heading-1: 2.5rem;
  /* heading2-size */
  --font-heading-2: 2.125rem;
  /* heading3-size */
  --font-heading-3: 1.75rem;
  /* heading4-size */
  --font-heading-4: 1.5rem;
  /* heading5-size */
  --font-heading-5: 1.25rem;
  /* heading6-size */
  --font-heading-6: 1rem;
  /* lead-size */
  --font-lead: 1.125rem;
  /* body small */
  --font-body-small: 0.875rem;
  /* caption */
  --font-caption: 0.75rem;

  /* OLD */
  --font-xxl: 2.5rem;
  /* heading1 */
  --font-xl: 2.125rem;
  /* heading2 */
  --font-l: 1.5rem;
  /* heading3 */
  --font-m: 1.375rem;
  /* heading4 */
  --font-s: .85rem;
  --font-lead: 1.125rem;
  --font-xs: 12px;
  --font-caption: var(--font-xs);

  /* カラー */
  /* NEW */
  --color-primary: 236, 98, 86;
  --color-primary-light: 255, 235, 234;
  --color-primary-dark: 232, 115, 124;
  --color-secondary: 40, 40, 40;
  --color-secondary-light: 235, 235, 235;
  --color-secondary-dark: 25, 25, 25;
  --color-icon: 249, 133, 160;
  --color-caption-gray: 119, 119, 119;
  --color-border-gray: 222, 222, 222;
  --color-background: 249, 249, 249;

  /* OLD */
  --color-flamingred: 236, 98, 86;
  --color-textblack: 40, 40, 40;
  --color-bgblack: 25, 25, 25;
  --color-gray: 213, 214, 216;
  --color-gray-light: 235, 235, 235;
  --color-gray-dark: 121, 121, 121;
  --color-border: 222, 222, 222;
  --color-link: 64, 98, 213;
  --color-shopify: 149, 191, 71;

  /* コンテンツ幅 */
  --aside: 300px;
  --contents-width-l: calc(1328px + var(--margin) * 2);
  --contents-width-m: calc(1140px + var(--margin) * 2);
  --contents-width-s: calc(860px + var(--margin) * 2);
  --contents-width-xs: calc(660px + var(--margin) * 2);

  /* ヘッダー高さ */
  --header-height: 140px;
}

@media (max-width: 768px) {
  :root {
    --margin: 20px;
    --margin-xs: 5px;
    --aside: 100%;
    --header-height: 96px;

    /* 文字サイズ */
    /* NEW */
    /* heading1-size */
    --font-heading-1: 2.57rem;
    /* heading2-size */
    --font-heading-2: 2.286rem;
    /* heading3-size */
    --font-heading-3: 2rem;
    /* heading4-size */
    --font-heading-4: 1.714rem;
    /* heading5-size */
    --font-heading-5: 1.429rem;
    /* heading6-size */
    --font-heading-6: 1.286rem;
    /* lead-size */
    --font-lead: 1rem;
    /* body small */
    --font-body-small: 0.857rem;
    /* caption */
    --font-caption: 1.714rem;

  }
}


/* ===============================================
  リセット
=============================================== */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: break-all;
}

html {
  font-size: 16px;
  line-height: 1.75;
  color: rgb(var(--color-textblack));
  font-family: 'Inter', 'Noto Sans JP', 'Helvetica Neue', 'Lucida Grande', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, 'メイリオ', sans-serif;
  font-weight: 300;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  letter-spacing: .1em;
  scroll-behavior: smooth;
}

html * {
  scroll-margin-top: var(--header-height);
}

p {
  margin-top: 0;
  margin-bottom: 0;
  text-align: justify;
}

*+p {
  margin-top: 1.75em;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: bottom;
  display: inline-block;
}

hr {
  height: 0;
  margin-top: 1em;
  margin-bottom: 1em;
  border: 0;
  border-top: 1px solid #ccc;
}

a {
  color: rgb(var(--color-link));
  text-decoration: none;
}

a:focus,
a:hover {
  opacity: 0.5;
}

a,
button,
input,
textarea {
  transition: all .4s ease;
}

table {
  width: 100%;
}

ol,
ul {
  list-style: none;
}

li {
  /* text-align: left; */
  /* position: relative; */
}

picture {
  margin: 0;
  display: block;
}

*+picture {
  margin-top: 1em;
}

svg {
  vertical-align: bottom;
}

pre {
  white-space: pre-wrap;
}

/* スマホ向けの調整 */
@media (max-width: 768px) {
  html {
    font-size: 14px;
    line-height: 1.714;
  }
}



/* ===============================================
  グリッドレイアウト NEW（2025年追加）
=============================================== */

.grid-container {
  display: grid;
  gap: var(--margin);
  /* justify-content: flex-start; */
  align-items: stretch;
}

*+.grid-container {
  margin-top: var(--margin);
}

.grid-container .grid-item {
  width: 100%;
  margin: 0 !important;
  list-style: none;
  box-sizing: border-box;
  flex-direction: row;
  align-items: center;
}

.grid-container .grid-item> :last-child {
  margin-bottom: 0 !important;
}

.grid-container.align-left {
  justify-content: flex-start;
}

.grid-container.valign-top {
  align-items: start;
}

.grid-container.valign-middle {
  align-items: center;
}

.grid-container.valign-bottom {
  align-items: end;
}

/* アイコンリストの見出しサイズ統一 */
.icon-list-item.icon-list-text :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1em;
  line-height: 1.66;
}

@media (max-width: 768px) {
  .icon-list-item.icon-list-text :is(h1, h2, h3, h4, h5, h6) {
    font-size: var(--font-body-small);
    line-height: 1.66;
  }
}

/* ガター（間隔調整）
------------------------------------- */
.gap-none {
  gap: 0;
}

.gap-xs {
  gap: var(--margin-xs);
}

.gap-s {
  gap: var(--margin-s);
}

.gap-m {
  gap: var(--margin-m)
}

.gap-l {
  gap: var(--margin);
}

.gap-xl {
  gap: var(--margin-l);
}

/* カラム設定（自動調整）
------------------------------------- */
.grid-container.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-container.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-container.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-container.columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.grid-container.columns-6 {
  grid-template-columns: repeat(6, 1fr);
}


/* ===============================================
 左右が異なるレイアウト(必要なしかも)
=============================================== */

/* 「split-large」を含むクラスが適用された .grid-container 内の .grid-item の幅を60%に */
[class*="split-large"].grid-container>.grid-item {
  width: calc(60% - var(--margin));
}

/* 左右で異なる幅を設定 画像を％幅に指定
画像が左にある場合 → split-large-left
画像が右にある場合 → split-large-right */
.grid-container.split-large-right> :nth-child(odd),
.grid-container.split-large-left> :nth-child(even) {
  width: 60% !important;
}


/* スペース（gap）が異なる場合の 60% 幅の調整 */

[class*="split-large"].grid-container.space-none>.grid-item {
  width: 60%;
}

[class*="split-large"].grid-container.space-xs>.grid-item {
  width: calc(60% - var(--margin-xs));
}

[class*="split-large"].grid-container.space-s>.grid-item {
  width: calc(60% - var(--margin-s));
}

[class*="split-large"].grid-container.space-l>.grid-item {
  width: calc(60% - var(--margin-l));
}


/* 分割＋右寄せor左寄せ */
.split-large-right img,
.split-large-left img {
  width: 100%;
  height: auto;
}

/* 図版部分の偶数表示 */
.grid-container.split-large-right {
  flex: 1;
  margin-left: calc(50% - 51vw);
  width: 48%;
}

.grid-container.split-large-left {
  flex: 1;
  margin-right: calc(50% - 50vw);
  width: 48%;
}

/* テキスト部分 */
.grid-container .align-left {
  text-align: left !important;
  width: 52%;
}

/* メディア内の詳細へのリンク用 */
.media-lust-link {
  width: auto;
  float: right;
  margin: 0.7em auto 1em auto;
  font-weight: 700;
}

/* ===============================================
  レスポンシブ対応
=============================================== */
@media (max-width: 768px) {
  .grid-container {
    justify-content: flex-start;
  }

  .grid-container.space-none {
    gap: 0 !important;
  }

  .grid-container.reverse {

    flex-direction: column-reverse;
  }

  .grid-container:not([class*=" hold"])>.grid-item {
    width: 100% !important;
  }

  .grid-container.columns-2 {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .grid-container.columns-3 {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .grid-container.columns-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .grid-container.columns-5 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .grid-container.columns-6 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===============================================
  ブロック分割OLD（フレックス）
=============================================== */

.gcol {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  gap: var(--margin);
  justify-content: flex-start;
  align-items: stretch;
}

*+.gcol {
  margin-top: var(--margin);
}

.gcol .col {
  width: 100%;
  margin: 0 !important;
  display: block;
  position: relative;
  list-style: none;
  box-sizing: border-box;
}

.gcol .col> :first-child {
  margin-top: 0 !important;
}

.gcol .col> :last-child {
  margin-bottom: 0 !important;
}

.gcol.align-left {
  justify-content: flex-start;
}

.gcol.valign-top {
  align-items: top;
}

.gcol.valign-middle {
  align-items: center;
}

.gcol.valign-bottom {
  align-items: flex-end;
}

/* ガター
------------------------------------- */
.gcol.space-none {
  gap: 0;
}

.gcol.space-xs {
  gap: var(--margin-xs);
}

.gcol.space-s {
  gap: var(--margin-s);
}

.gcol.space-l {
  gap: var(--margin-l);
}

/* 2カラム
------------------------------------- */
.gcol.split-2>.col {
  width: calc((100% - var(--margin))/2);
}

.gcol.split-2.space-none>.col {
  width: calc(100%/2);
}

.gcol.split-2.space-xs>.col {
  width: calc((100% - var(--margin-xs))/2);
}

.gcol.split-2.space-s>.col {
  width: calc((100% - var(--margin-s))/2);
}

.gcol.split-2.space-l>.col {
  width: calc((100% - var(--margin-l))/2);
}

/* 3カラム
------------------------------------- */
.gcol.split-3>.col {
  width: calc((100% - var(--margin)*2)/3);
}

.gcol.split-3.space-none>.col {
  width: calc(100%/3);
}

.gcol.split-3.space-xs>.col {
  width: calc((100% - var(--margin-xs)*2)/3);
}

.gcol.split-3.space-s>.col {
  width: calc((100% - var(--margin-s)*2)/3);
}

.gcol.split-3.space-l>.col {
  width: calc((100% - var(--margin-l)*2)/3);
}

/* 4カラム
------------------------------------- */
.gcol.split-4>.col {
  width: calc((100% - var(--margin)*3)/4);
}

.gcol.split-4.space-none>.col {
  width: calc(100%/4);
}

.gcol.split-4.space-xs>.col {
  width: calc((100% - var(--margin-xs)*3)/4);
}

.gcol.split-4.space-s>.col {
  width: calc((100% - var(--margin-s)*3)/4);
}

.gcol.split-4.space-l>.col {
  width: calc((100% - var(--margin-l)*3)/4);
}

/* 5カラム
------------------------------------- */
.gcol.split-5>.col {
  width: calc((100% - var(--margin)*4)/5);
}

.gcol.split-5.space-none>.col {
  width: calc(100%/5);
}

.gcol.split-5.space-xs>.col {
  width: calc((100% - var(--margin-xs)*4)/5);
}

.gcol.split-5.space-s>.col {
  width: calc((100% - var(--margin-s)*4)/5);
}

.gcol.split-5.space-l>.col {
  width: calc((100% - var(--margin-l)*4)/5);
}

/* 6カラム
------------------------------------- */
.gcol.split-6>.col {
  width: calc((100% - var(--margin)*5)/6);
}

.gcol.split-6.space-none>.col {
  width: calc(100%/6);
}

.gcol.split-6.space-xs>.col {
  width: calc((100% - var(--margin-xs)*5)/6);
}

.gcol.split-6.space-s>.col {
  width: calc((100% - var(--margin-s)*5)/6);
}

.gcol.split-6.space-l>.col {
  width: calc((100% - var(--margin-l)*5)/6);
}

/* 2カラム - 左右違い
------------------------------------- */
[class*=" split-diff"].gcol>.col {
  width: calc(60% - var(--margin));
}

.gcol.split-diff-left> :nth-child(2n-1),
.gcol.split-diff-right> :nth-child(2n) {
  width: 40% !important;
}

[class*=" split-diff"].gcol.space-none>.col {
  width: 60%;
}

[class*=" split-diff"].gcol.space-xs>.col {
  width: calc(60% - var(--margin-xs));
}

[class*=" split-diff"].gcol.space-s>.col {
  width: calc(60% - var(--margin-s));
}

[class*=" split-diff"].gcol.space-l>.col {
  width: calc(60% - var(--margin-l));
}

.asym-section-wrap img {
  width: 100%;
  height: auto;
}

/* 図版部分の偶数表示 */
.asym-section-wrap .asym-image-content:nth-child(odd) {
  flex: 1;
  margin-left: calc(50% - 51vw);
  width: 48%;
}

/* 図版部分の奇数表示 */
.asym-section-wrap .asym-image-content:nth-child(even) {
  flex: 1;
  margin-right: calc(50% - 50vw);
  width: 48%;
}

/* テキスト部分 */
.asym-section-wrap .align-left {
  text-align: left !important;
  width: 52%;
}



/* スマホ
------------------------------------- */
@media (max-width: 768px) {
  .gcol {
    /*gap: var(--margin) !important;*/
    justify-content: flex-start;
  }

  .gcol.space-none {
    gap: 0 !important;
  }

  .gcol.reverse {
    flex-direction: column-reverse;
  }

  .gcol:not([class*=" hold"])>.col {
    width: 100% !important;
  }


  /* スマホ - 2カラム
  ------------------------------------- */
  .gcol.hold-2>.col {
    width: calc((100% - var(--margin))/2) !important;
  }

  .gcol.hold-2.space-none>.col {
    width: calc(100%/2) !important;
  }

  .gcol.hold-2.space-xs>.col {
    width: calc((100% - var(--margin-xs))/2) !important;
  }

  .gcol.hold-2.space-s>.col {
    width: calc((100% - var(--margin-s))/2) !important;
  }

  .gcol.hold-2.space-l>.col {
    width: calc((100% - var(--margin-l))/2) !important;
  }

  /* スマホ - 3カラム
  ------------------------------------- */
  .gcol.hold-3>.col {
    width: calc((100% - var(--margin)*2)/3) !important;
  }

  .gcol.hold-3.space-none>.col {
    width: calc(100%/3) !important;
  }

  .gcol.hold-3.space-xs>.col {
    width: calc((100% - var(--margin-xs)*2)/3) !important;
  }

  .gcol.hold-3.space-s>.col {
    width: calc((100% - var(--margin-s)*2)/3) !important;
  }

  .gcol.hold-3.space-l>.col {
    width: calc((100% - var(--margin-l)*2)/3) !important;
  }

  /* スマホ - 4カラム
  ------------------------------------- */
  .gcol.hold-4>.col {
    width: calc((100% - var(--margin)*3)/4) !important;
  }

  .gcol.hold-4.space-none>.col {
    width: calc(100%/4) !important;
  }

  .gcol.hold-4.space-xs>.col {
    width: calc((100% - var(--margin-xs)*3)/4) !important;
  }

  .gcol.hold-4.space-s>.col {
    width: calc((100% - var(--margin-s)*3)/4) !important;
  }

  .gcol.hold-4.space-l>.col {
    width: calc((100% - var(--margin-l)*3)/4) !important;
  }

  /* スマホ - 5カラム
  ------------------------------------- */
  .gcol.hold-5>.col {
    width: calc((100% - var(--margin)*4)/5) !important;
  }

  .gcol.hold-5.space-none>.col {
    width: calc(100%/5) !important;
  }

  .gcol.hold-5.space-xs>.col {
    width: calc((100% - var(--margin-xs)*4)/5) !important;
  }

  .gcol.hold-5.space-s>.col {
    width: calc((100% - var(--margin-s)*4)/5) !important;
  }

  .gcol.hold-5.space-l>.col {
    width: calc((100% - var(--margin-l)*4)/5) !important;
  }

  /* スマホ - 6カラム
  ------------------------------------- */
  .gcol.hold-6>.col {
    width: calc((100% - var(--margin)*5)/6) !important;
  }

  .gcol.hold-6.space-none>.col {
    width: calc(100%/6) !important;
  }

  .gcol.hold-6.space-xs>.col {
    width: calc((100% - var(--margin-xs)*5)/6) !important;
  }

  .gcol.hold-6.space-s>.col {
    width: calc((100% - var(--margin-s)*5)/6) !important;
  }

  .gcol.hold-6.space-l>.col {
    width: calc((100% - var(--margin-l)*5)/6) !important;
  }

  /* 左右違い */
  .asym-section-wrap img.right-position {
    position: relative;
    width: auto;
    left: auto;
  }

  .asym-section-wrap:nth-child(odd) {
    width: 100%;
    margin-inline: 0;
  }

  .asym-section-wrap:nth-child(odd) .align-left {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .asym-section-wrap:nth-child(even) {
    width: 100%;
    margin-inline: 0;
  }

  .asym-section-wrap:nth-child(even) .align-left {
    width: 100%;
    order: 2;
  }

  .asym-section-wrap .gcol {
    flex-direction: column;
    column-gap: 0;
    padding-inline: 0;
  }

  /* 図版部分の偶数表示 */
  .asym-section-wrap .asym-image-content:nth-child(odd) {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  /* 図版部分の奇数表示 */
  .asym-section-wrap .asym-image-content:nth-child(even) {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ===============================================
４グリッドリスト（アイコン＋見出し＋文章）囲みなし
=============================================== */

div.section-block.icon-list-section {
  margin-top: var(--margin-l);
}

.icon-list-box {
  display: grid;
  column-gap: 42px;
  grid-template-columns: 1fr;
  margin-top: 60px;
  margin-bottom: 60px;
}

.icon-list-box :is(h1, h2, h3, h4, h5, h6) {
  font-size: 16px;
  white-space: normal;
}

.icon-list-box:last-child {
  margin-bottom: 0;
}

.icon-list-grid {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 40px;
  row-gap: 32px;
}

.icon-list-item {
  display: grid;
  width: 100%;
  height: fit-content;
  column-gap: 14px;
 grid-template-columns: 72px 1fr;
  place-items: flex-start;
}

.icon-list-icon {
  align-items: center;
  display: flex;
  width: auto;
}

.icon-list-icon img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.icon-list-text {
  display: grid;
  gap: .3em;
  font-size: var(--font-body-small);
  line-height: 1.46;
}

.icon-list-text h5 {
  font-size: var(--font-heading-6);
}

.icon-list-item .icon-list-text p {
  margin-top: 0;
}

.icon-list-heading-box {
  margin-bottom: 4em;
}

/* ===============================================
  レスポンシブ対応
=============================================== */
@media (max-width: 768px) {

  div.section-block.icon-list-section {
    padding: 0;
    width: 90%;
  }

  .icon-list-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 39px;
  }

  .icon-list-box {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }

  .icon-list-item {
    column-gap: 11px;
    grid-template-columns: 44px 1fr;
  }

  .icon-list-icon img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .icon-list-box :is(h1, h2, h3, h4, h5, h6) {
    font-size: 16px;
  }

  .icon-list-text h5 {
    font-size: var(--font-heading-6);
  }

  .icon-list-text p {
    font-size: var(--font-body-small);
  }

  .section-block[class*="icon-list-"] p {
    margin-bottom: 0;
  }
}

/* ===============================================
  メディアカード（囲みあり）1枚表示（デフォルト）
=============================================== */

.media-card {
  padding: 2em;
  border-radius: 16px;
}

.media-card-inner {
  display: flex;
  gap: var(--margin-s);
  align-items: center;
}

.media-card-inner.gap-xl {
  gap: var(--margin-l);
}

.media-card-list.one-cols .media-card-inner {
  flex-direction: row;
}

.media-card-body {
  flex: 1;
}


.media-card-list.four-cols .media-card-body :is(h1, h2, h3, h4, h5, h6) {
  font-size: var(--font-lead);
  line-height: 1.66;
}

.media-card-list.eight-cols .media-card-body :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1em;
  line-height: 1.66;
}

.media-card.switch-side .media-card-image {
  order: 2;
}


.media-card p {
  margin-top: 0.5em;
}

/* メディアカードの背景色 */
.media-card-color-pink {
  background-color: rgb(var(--color-primary-light));
}

.media-card-color-black {
  background-color: rgb(var(--color-secondary));
}

.media-card-color-black p {
  color: #FFF;
}

.media-card-color-black :is(h1, h2, h3, h4, h5, h6) {
  color: #FFF;
}

.media-card-color-white {
  background-color: #FFF;
}

/* ===============================================
  レスポンシブ対応
=============================================== */

@media(max-width: 768px) {
  .media-card-list.one-cols .media-card-inner {
    flex-direction: column;
  }

  .card-list-horizontal .media-card-body :is(h1, h2, h3, h4, h5, h6) {
    font-size: var(--font-lead);
    line-height: 1.38;
  }

  .media-card-list.four-cols .media-card-body :is(h1, h2, h3, h4, h5, h6) {
    font-size: var(--font-lead);
    line-height: 1.38;
  }

  .media-card-list.eight-cols .media-card-body :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1em;
    line-height: 1.38;
  }
}

/* ===============================================
  メディアカード一覧（2枚・3枚・4枚・8枚のレイアウト）
=============================================== */
.media-card-list {
  display: grid;
}

.media-card-list.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.media-card-list.three-cols {
  grid-template-columns: repeat(3, 1fr);
}

.media-card-list.four-cols {
  grid-template-columns: repeat(4, 1fr);
}

.media-card-list.four-cols .media-card-inner {
  align-items: flex-start;
}

.media-card-list.eight-cols {
  grid-template-columns: repeat(4, 2fr);
}

.media-card-list.eight-cols .media-card-inner {
  flex-direction: row;
  gap: var(--margin-s);
}

.eight-cols .media-card-image img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 36px;
}

.eight-cols .media-card-body :is(h1, h2, h3, h4, h5, h6) {
  margin: 0;
}

.eight-cols .media-card {
  padding: var(--margin-s);
}

.media-card-list .media-card-inner {
  flex-direction: column;
}

.media-card-list .media-card-image {
  max-width: 100%;
}

/* ===============================================
  レスポンシブ対応（スマホ：すべて1列）
=============================================== */
@media (max-width: 768px) {
  .media-card-list {
    grid-template-columns: 1fr !important;
  }

  .media-card {
    padding: 2.5em 2em;
  }

  .media-card-inner {
    gap: var(--margin)
  }

  .media-card-image {
    flex-basis: auto;
    order: 0 !important;
  }

  .media-card-list.four-cols {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .media-card-list.eight-cols {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .media-card-list.eight-cols .media-card-inner {
    flex-direction: row;
  }

}

/* ===============================================
  メディアカード　横方向（1行4カラム）
=============================================== */
.card-list-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--margin-m);
  padding: 36px 50px;
  border-radius: 16px;
}

.media-card-inner-horizonal {}


@media (max-width: 768px) {
  .card-list-horizontal {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 22px;
    gap: var(--margin-l);
    border-radius: 12px;
  }
}

/* ===============================================
  コンテナー
=============================================== */
[class^="contents-"]> :first-child {
  margin-top: 0;
}

[class^="contents-"]> :last-child {
  margin-bottom: 0;
}

.contents-wrapper {
  min-height: 100vh;
  position: relative;
}

/* 投稿ページメインエリア
------------------------------------- */
.contents-main>.inner {
  width: 100%;
  max-width: var(--contents-width-m);
  margin: 0 auto;
  padding: var(--margin-l) var(--margin);
  display: grid;
  grid-template-columns: minmax(auto, calc(1280px - var(--aside))) var(--aside);
  gap: var(--margin-l);
}

.contents-main>.inner>.contents-header {
  grid-column: 1 / 3;
}

.contents-main>.inner>.main {
  grid-column: 1 / 2;
}

.contents-main>.inner>.main.full {
  grid-column: 1 / 3;
  max-width: none;
}

.contents-main>.inner>.aside {
  grid-column: 2 / 3;
  width: var(--aside);
}

@media (max-width: 768px) {
  .contents-main>.inner {
    display: block;
  }

  .contents-main>.inner>.contents-header {
    grid-column: auto;
  }

  .contents-main>.inner>.main {
    grid-column: auto;
  }

  .contents-main>.inner>.main.full {
    grid-column: auto;
  }

  .contents-main>.inner>.aside {
    grid-column: auto;
    width: 100%;
  }
}

/* セクション
------------------------------------- */
.section {
  width: 100%;
  margin: 0 auto;
}

.section+.section {
  padding-top: var(--margin-section);
}

.section:last-child {
  padding-bottom: var(--margin-section);
}

.aside .section+.section {
  padding-top: 0;
  margin-top: var(--margin);
}

/* スマホ */
@media (max-width: 768px) {
  .aside .section+.section {
    margin-top: var(--margin);
  }
}

/* セクション内
------------------------------------- */
:where(.section, [class^="section-"])> :first-child {
  margin-top: 0;
}

:where(.section, [class^="section-"])> :last-child {
  margin-bottom: 0;
}

.section-block {
  width: 100%;
  max-width: var(--contents-width-m);
  padding-left: var(--margin);
  padding-right: var(--margin);
  margin: 0 auto;
}

:where(.section-block)+.section-block {
  margin-top: var(--margin);
}

.article-area .section-block,
.aside .section-block {
  padding-left: 0;
  padding-right: 0;
}

.aside :where(.section-block)+.section-block {
  margin-top: var(--margin-xs);
}

.section.size-l>.section-block,
.section-block.size-l {
  max-width: var(--contents-width-l);
}

.section.size-m>.section-block,
.section-block.size-m {
  max-width: var(--contents-width-m);
}

.section.size-s>*,
.section-block.size-s {
  max-width: var(--contents-width-s);
}

.section.size-xs>*,
.section-block.size-xs {
  max-width: var(--contents-width-xs);
}


/* ===============================================
  汎用スタイル
=============================================== */

/* 余白 - margin
------------------------------------- */
.margin-none {
  margin-top: 0 !important;
}

.margin-xs {
  margin-top: var(--margin-xs) !important;
}

.margin-s {
  margin-top: var(--margin-s) !important;
}

.margin-m {
  margin-top: var(--margin) !important;
}

.margin-l {
  margin-top: var(--margin-l) !important;
}

.margin-xl {
  margin-top: calc(var(--margin) * 3) !important;
}

/* 余白 - padding
------------------------------------- */
.padding-none {
  padding-top: 0 !important;
}

.padding-xs {
  padding-top: var(--margin-xs) !important;
}

.padding-s {
  padding-top: var(--margin-s) !important;
}

.padding-m {
  padding-top: var(--margin) !important;
}

.padding-l {
  padding-top: var(--margin-l) !important;
}

.padding-xl {
  padding-top: calc(var(--margin) * 3) !important;
}

/* テキスト揃え
------------------------------------- */
.align-left {
  text-align: left !important;
}

.align-center {
  text-align: center !important;
}

.align-right {
  text-align: right !important;
}

/* テキスト装飾
------------------------------------- */
.lead {
  font-size: var(--font-m);
  font-weight: bold;
}

.lead.size-s {
  font-size: 1rem;
}

.lead.heading-top {
  font-size: 1rem;
}

.lead .icon {
  width: 30px;
  height: 30px;
  margin-right: .5em;
  vertical-align: middle;
  background-color: rgb(var(--color-bgblack));
  display: inline-block;
  position: relative;
}

.lead .icon:after {
  width: 20px;
  position: absolute;
  line-height: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.note {
  font-size: var(--font-caption);
}

*+.none {
  margin-top: 1em;
}

.strong {
  font-weight: bolder;
}

.bigger {
  font-size: 150%;
}

/* 動画
------------------------------------- */
.video {
  position: relative;
  display: block;
}

.video>video,
.video>iframe {
  width: 100%;
  height: 100%;
  position: absolute;
}

.video:after {
  content: '';
  width: 100%;
  padding-top: 56.25%;
  display: block;
}

/* backgroud video */
.video.type-bg {
  width: 150vw;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.video.type-bg:before {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #5A545A;
  mix-blend-mode: multiply;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: .8;
}

@media (max-width: 768px) {
  .video.type-bg {
    width: 177vh;
    height: 100vh;
  }
}

.movie {
  position: relative;
}

.movie:after {
  content: '';
  width: 100%;
  padding-top: 56.25%;
  display: block;
}

.movie>iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media (min-width: 769px) {
  .view-sp {
    display: none !important;
  }

  .view-sp+* {
    margin-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .hold-center {
    text-align: center !important;
  }

  .view-pc {
    display: none !important;
  }
}

/* スクロール
------------------------------------- */
.scroll-y {
  height: 20em;
  padding: 1em;
  border: 1px solid #ccc;
  overflow-y: scroll;
  position: relative;
}

.scroll-x> :first-child,
.scroll-y> :first-child {
  margin-bottom: 0 !important;
}

.scroll-x> :last-child,
.scroll-y> :last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .scroll-x {
    white-space: nowrap;
    overflow-x: scroll;
  }

  .scroll-x>* {
    width: 150vw;
  }
}

/* サムネイル（背景）
------------------------------------- */
.thumbnail {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.thumbnail:after {
  content: '';
  width: 100%;
  padding-top: 75%;
  display: block;
}

.thumbnail>img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* 見出し
------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  line-height: 1.66;
}

.heading {
  position: relative;
  font-weight: 700;
}

.heading>a {
  text-decoration: none;
}

*+.heading {
  margin-top: 2em;
}

.lead+.heading {
  margin-top: .5em;
}

/* サイズバリエーション */
/* NEW */
.heading-1 {
  font-size: var(--font-heading-1);
  line-height: 1.55;
}

.heading-2 {
  font-size: var(--font-heading-2);
  line-height: 1.529;
}

.heading-3 {
  font-size: var(--font-heading-3);
  line-height: 1.75;
}

.heading-4 {
  font-size: var(--font-heading-4);
  line-height: 1.5;
}

.heading-5 {
  font-size: var(--font-heading-5);
  line-height: 1.5;
}

.heading-6 {
  font-size: var(--font-heading-6);
  line-height: 1.5;
}

.lead {
  font-size: var(--font-lead);
  line-height: 1.625;
}

.body-small {
  font-size: var(--font-body-small);
  line-height: 1.714;
}

.caption {
  font-size: var(--font-caption);
  line-height: 1.5;
}

/* OLD */
.heading.size-xxl {
  font-size: var(--font-xxl);
  line-height: 1.375;
}

.heading.size-xxl .bigger {
  font-size: 125%;
}

.heading.size-xl {
  font-size: var(--font-xl);
  line-height: 1.4;
}

.heading.size-l {
  font-size: var(--font-l);
  line-height: 1.43;
}

.heading.size-m {
  font-size: var(--font-m);
  line-height: 1.6;
}

.heading.size-s {
  font-size: 1rem;
}

.heading.size-lead {
  font-size: var(--font-lead);
}

@media (max-width: 768px) {

  /* NEW */
  .heading-1 {
    font-size: var(--font-heading-1);
    line-height: 1.444;
  }

  .heading-2 {
    font-size: var(--font-heading-2);
    line-height: 1.438;
  }

  .heading-3 {
    font-size: var(--font-heading-3);
    line-height: 1.5;
  }

  .heading-4 {
    font-size: var(--font-heading-4);
    line-height: 1.583;
  }

  .heading-5 {
    font-size: var(--font-heading-5);
    line-height: 1.5;
  }

  .heading-6 {
    font-size: var(--font-heading-6);
    line-height: 1.444;
  }

  .lead {
    font-size: var(--font-lead);
    line-height: 1.643;
  }

  .body-small {
    font-size: var(--font-body-small);
    line-height: 1.5;
  }

  .caption {
    font-size: var(--font-caption);
    line-height: 1.5;
  }

  /* OLD */
  .heading {
    line-height: 1.6;
  }

}

/* type-fill */
.heading.type-fill {
  padding: .5em 1em;
  color: #fff;
  background-color: rgb(var(--color-textblack));
  border-radius: 5px;
}

/* icon */
.heading .icon {
  width: 3.5em;
  height: 3.5em;
  margin-right: 1em;
  vertical-align: middle;
  border-radius: 10em;
  background-color: rgb(var(--color-textblack));
  display: inline-block;
  position: relative;
}

.heading .icon:before {
  width: 1em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
}

.heading .icon.type-mail:before {
  content: url('data:image/svg+xml;utf-8,<svg fill="%23ffffff" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 15"><path d="M19.4,0.2H0.6C0.3,0.2,0,0.5,0,0.8V2l10,6.7L20,2V0.8C20,0.5,19.7,0.2,19.4,0.2z M0,4.5v7.9c0,1.3,1.1,2.4,2.4,2.4c0,0,0,0,0,0h15.2c1.3,0,2.4-1.1,2.4-2.4c0,0,0,0,0,0V4.5l-10,6.7L0,4.5z"/></svg>');
}

/* underline */
.heading.type-underline {
  padding-top: .5em;
  padding-bottom: .5em;
}

.heading.type-underline:after {
  content: '';
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(var(--color-textblack), 1) 0%, rgba(var(--color-textblack), 1) 12%, rgba(var(--color-gray-light), 1) 12%, rgba(var(--color-gray-light), 1) 100%);
  position: absolute;
  left: 0;
  bottom: 0;
}

/* 画像装飾
------------------------------------- */
picture.type-round {
  border-radius: 1em;
  overflow: hidden;
}


/* ===============================================
  リスト
=============================================== */
.list {
  margin-top: 1.75em;
}

.list .list {
  margin-top: .5em;
  margin-bottom: .5em;
  margin-left: 2em;
}

/* ディスクタイプ
------------------------------------- */
.list.type-disc>li {
  padding-left: 1em;
  text-indent: -1em;
}

.list.type-disc>li:before {
  content: '';
  width: 0;
  height: 0;
  border-radius: 50%;
  border: .2em solid;
  display: inline-block;
  margin-right: .7em;
  vertical-align: .2em;
}

/* 数字タイプ
------------------------------------- */
.list.type-num {
  list-style-type: decimal;
  list-style-position: outside;
  /* counter-reset: count; */
}

.list.type-num>li {
  margin-left: 1.5em;
  /* padding-left: 1.4em; */
  /* text-indent: -1.4em; */
}

.list.type-num>li:before {
  /* counter-increment: count; */
  /* content: counter(count)'. '; */
}

/* 括弧数字タイプ
------------------------------------- */
.list.type-bracket {
  counter-reset: count;
}

.list.type-bracket>li {
  padding-left: 0;
  text-indent: 0;
}

.list.type-bracket>li:before {
  counter-increment: count;
  content: '（' counter(count)'） ';
}

/* type-line
------------------------------------- */
.list.type-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--margin-s);
}

.list.type-line>li {
  position: relative;
}

.list.type-line>li:after {
  content: '';
  height: 100%;
  border-left: 1px solid #ccc;
  position: absolute;
  top: 0;
  right: calc(var(--margin-s) / -2);
}

.list.type-line> :last-child:after {
  display: none;
}

/* type-split
------------------------------------- */
.list.type-split {
  display: flex;
  flex-wrap: wrap;
}

/* type-table
------------------------------------- */
.list.type-table li {
  display: flex;
}

.list.type-table li+li {
  margin-top: var(--margin-s);
}

.list.type-table li>* {
  margin: 0;
  padding: 1em;
  background-color: rgb(var(--color-gray-light));
}

.list.type-table li .heading {
  width: 12em;
  color: #fff;
  background-color: rgb(var(--color-textblack));
}

.list.type-table li>*:not(.heading) {
  font-size: var(--font-xs);
  flex: 1;
}

@media (max-width: 768px) {
  .list.type-table:not(.hold) li {
    flex-wrap: wrap;
  }

  .list.type-table:not(.hold) li>* {
    width: 100%;
  }
}


/* ===============================================
  ボタン
=============================================== */
.btn,
button {
  min-width: 6em;
  padding: 1em 1.2em;
  line-height: 1;
  color: #fff;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  background-color: #222;
  border: 1px solid #222;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
  position: relative;
  font-weight: 400;
  transition: all .6s;
}

.btn {
  border-radius: 10px;
  border-color: rgb(var(--color-bgblack));
  background-color: rgb(var(--color-bgblack));
}

.btn:focus,
.btn:hover,
button:focus,
button:hover {
  opacity: 0.5;
  position: relative;
}

.btn+.btn {
  margin-left: 1em;
}

@media (max-width: 768px) {
  .btn:not(.hold) {
    width: 100%;
  }

  .btn .description {
    display: none;
  }
}

/* size
------------------------------------- */
.btn.size-xs {
  padding-top: .5em;
  padding-bottom: .5em;
  font-size: 12px;
  display: inline-block !important;
}

.btn.size-s {
  min-width: auto;
  padding-top: .5em;
  padding-bottom: .5em;
  font-size: 1rem;
}

.btn.size-l {
  width: 100%;
  font-weight: 500;
  font-size: 1.1em;
  padding-top: 2em;
  padding-bottom: 2em;
}

.btn.size-full {
  width: 100%;
}

/* 2025追加サイズ */

.size-wide-xs {
  padding: 0.6em 7em !important;
  align-items: center !important;

}

.size-wide {
  padding: 1.1em 5em !important;
  align-items: center !important;
}

.size-wide-xl {
  padding: 2.5em 10em !important;
  align-items: center !important;
}

/* primary
------------------------------------- */
.btn.type-primary {
  background-color: rgb(var(--color-flamingred));
  border-color: rgb(var(--color-flamingred));
}

.billboard .btn.type-primary {
  width: 100%;
  padding-top: 2em;
  padding-bottom: 2em;
  font-weight: 500;
  border: none;
  background: linear-gradient(90deg, rgba(var(--color-flamingred), 1) 0%, rgba(234, 95, 96, 1) 25%, rgba(229, 83, 128, 1) 100%);
}

/* style
------------------------------------- */
.btn.type-reverse,
.btn.type-primary.reverse {
  color: rgb(var(--color-flamingred));
  background: #fff;
  border-color: #fff;
}

.btn.type-outline {
  color: rgb(var(--color-bgblack));
  background-color: transparent;
}

.btn.type-primary.type-outline {
  color: rgb(var(--color-flamingred));
  border-color: rgb(var(--color-flamingred));
  background-color: #fff;
}

.btn.type-rounded {
  border-radius: 1000px;
}

.btn.btn-row.type-rounded {
  border-radius: 1000px;
}

/* black
------------------------------------- */
.btn.type-black {
  color: #fff;
  background-color: rgb(var(--color-bgblack));
  border-color: rgb(var(--color-bgblack));
}

/* 矢印タイプ
------------------------------------- */
a:not(.btn).type-arrow {
  padding-bottom: .25em;
  border-bottom: 1px solid #fff;
  display: inline-block;
}

a.type-arrow:after {
  content: url('data:image/svg+xml;utf-8,<svg fill="%23ffffff" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 10"><path d="M14,3.2H0.5C0.2,3.2,0,3.5,0,3.7c0,0,0,0,0,0v2.5c0,0.3,0.2,0.5,0.5,0.5c0,0,0,0,0,0H14v2.1c0,0.6,0.5,1.1,1.1,1.1c0.3,0,0.6-0.1,0.8-0.3l3.8-3.8c0.4-0.4,0.4-1.1,0-1.5l-3.8-3.8c-0.4-0.4-1.1-0.4-1.5,0C14.1,0.6,14,0.9,14,1.2L14,3.2z"/></svg>');
  width: 1.25em;
  margin-left: 2em;
  display: inline-block;
}

a.btn.type-arrow:after {
  opacity: .5;
}

/* 無効
------------------------------------- */
.btn.disabled,
.btn.disabled:focus,
.btn.disabled:hover,
.form.disabled,
.form.type-select.disabled,
button:disabled {
  color: #ccc !important;
  background-color: #eee !important;
  border-color: #ccc !important;
  opacity: 1;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
  -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
  -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}

.disabled::-webkit-input-placeholder {
  color: #ccc !important;
}

/* ボタン周りのレイアウト
------------------------------------- */
.btn>.description {
  margin-bottom: 1em;
  font-size: var(--font-xs);
  display: block;
}

/* 2025追加 */
.btn.btn-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  border-radius: 10px;
  /* border: 1px solid rgb(var(--color-primary));
  background-color: #FFF; */
}

.btn-arrow-svg svg {
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.5em;
  flex-shrink: 0;
}

/* 色バリエーション */
.btn-outline-red {
  color: rgb(var(--color-primary));
  border: 1.5px solid rgb(var(--color-primary));
  background-color: #FFF;
}

.btn-outline-red-s {
  color: rgb(var(--color-primary));
  border: 1.5px solid rgb(var(--color-primary));
  background-color: #FFF;
  font-size: var(--font-body-small);
  padding: 13px 20px;
}

.btn.btn-row.btn-outline-red-s {
  color: rgb(var(--color-primary));
  border: 1.5px solid rgb(var(--color-primary));
  background-color: #FFF;
  font-size: var(--font-body-small);
  padding: 13px 20px;
}

.btn-fill-red {
  color: #fff;
  background-color: rgb(var(--color-primary));
  border: none;
}

.btn.btn-row.btn-fill-red {
  color: #fff;
  background-color: rgb(var(--color-primary));
  border: rgb(var(--color-primary));
}

.btn-fill-red-s {
  color: #fff;
  background-color: rgb(var(--color-primary));
  border: none;
  font-size: var(--font-body-small);
  padding: 13px 20px;
}

.btn.btn-row.btn-fill-red-s {
  color: #fff;
  background-color: rgb(var(--color-primary));
  border: rgb(var(--color-primary));
  font-size: var(--font-body-small);
  padding: 13px 20px;
}

.btn-outline-black {
  color: rgb(var(--color-secondary));
  border: 1.5px solid rgb(var(--color-secondary));
  background-color: transparent;
}

.btn-fill-black {
  color: #fff;
  background-color: rgb(var(--color-secondary));
  border: rgb(var(--color-secondary));
}

.btn-tag {
  font-size: var(--font-body-small);
  padding: 0.4em 1em;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .btn-group > .btn {
    display: grid;
    flex: 1;
    flex-direction: column;
    align-items: center;
  }
}

/* ===============================================
打文字リンク
=============================================== */
.type-intro-link {
  color: rgb(var(--color-primary));
  letter-spacing: 0.05em;
  line-height: 1.5;
  font-weight: bold;
}


/* ===============================================
  テーブル
=============================================== */

.table {
  border-collapse: separate;
  border-spacing: 0;
}

*+.table {
  margin-top: 1.75em;
}

.table>tbody>tr>td,
.table>tbody>tr>th {
  text-align: left;
  vertical-align: middle;
}

.table>tbody>tr>td> :first-child,
.table>tbody>tr>th> :first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  *+.table:not(.hold) {
    margin-top: 1em;
  }

  .table:not(.hold),
  .table:not(.hold)>tbody,
  .table:not(.hold)>tbody>tr,
  .table:not(.hold)>tbody>tr>td,
  .table:not(.hold)>tbody>tr>th,
  .table:not(.hold)>thead,
  .table:not(.hold)>thead>tr,
  .table:not(.hold)>thead>tr>td,
  .table:not(.hold)>thead>tr>th {
    width: 100% !important;
    display: block;
  }

  .table:not(.hold)>tbody>tr,
  .table>tbody>tr>[class^="hold-"] {
    -js-display: flex;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -webkit-flex-direction: row;
    flex-flow: row wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  [class*=" hold-"].table>tbody>tr {
    font-size: 0;
  }

  [class*=" hold-"].table>tbody>tr>td {
    font-size: 1rem;
    display: inline-block;
  }

  .table>tbody>tr>[class^="hold-"]>* {
    width: 100%;
    margin: 0;
  }

  .table.hold-half>tbody>tr>td,
  .table>tbody>tr>.hold-half>* {
    margin: 0;
    width: 50% !important;
    font-size: 1rem;
  }

  .table.hold-third>tbody>tr>td {
    width: 33.333% !important;
  }
}

@media (max-width: 768px) {

  /* 横スクロール */
  .table-wrap {
    width: 100%;
    max-height: 90vh;
    overflow: auto;
  }

  .table-wrap>table {
    width: var(--contents-width-s);
  }
}

/* セル等間隔 */
.table.fixed {
  table-layout: fixed;
}

/* type-line
------------------------------------- */
.table.type-line th,
.table.type-line td {
  border-bottom: 1px solid rgb(var(--color-border));
}

@media (max-width: 768px) {
  .table.type-line:not(.hold)>tbody>tr {
    padding-top: 0;
  }

  .table.type-line:not(.hold) td {
    border-bottom: 0;
  }
}


/*  type-grid
------------------------------------- */
.table.type-grid {
  border-collapse: separate;
  /* stickyでborderもスクロールするためseparate */
  border-top: 1px solid rgb(var(--color-border));
  border-left: 1px solid rgb(var(--color-border));
}

.table.type-grid th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #fff;
}

.table.type-grid th,
.table.type-grid td {
  padding: var(--margin-xs);
  border-bottom: 1px solid rgb(var(--color-border));
  border-right: 1px solid rgb(var(--color-border));
  vertical-align: middle;
}

@media (max-width: 768px) {
  .table.type-grid:not(.hold) thead {
    display: none;
  }

  .table.type-grid:not(.hold) tr {
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .table.type-grid tr:after {
    top: 0;
  }
}


/* ==================================================
  アコーディオン
================================================== */
.accordion-trigger {
  cursor: pointer;
}

.accordion-trigger+.accordion-content {
  height: 0;
  padding: 0;
  transition: 0.3s ease;
  overflow: hidden;
}

.accordion-trigger.active+.accordion-content {
  height: auto;
  padding-top: 1em;
}


/* ===============================================
  パンくず
=============================================== */
.nav-breadcrumbs {
  overflow-x: hidden;
  white-space: nowrap;
}

.contents-footer .nav-breadcrumbs {
  padding: var(--margin-xs) var(--margin-s);
}

.breadcrumbs {
  font-size: var(--font-xs);
  flex-wrap: nowrap !important;
  gap: .5em;
}

.breadcrumbs> :last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumbs li:after {
  content: '／';
  margin-left: .5em;
  display: inline-block;
  opacity: .76;
  position: relative;
}

.breadcrumbs> :last-child::after {
  display: none;
}

.breadcrumbs a {
  color: rgba(var(--color-primary-dark), 76);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  opacity: 1;
}


/* ===============================================
  ページネーション
=============================================== */
.nav-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--margin-s);
}

.nav-pagination>* {
  margin: 0;
  text-align: center;
}

.nav-pagination .type-arrow {
  width: 2.5em;
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
}

.nav-pagination .type-arrow:before {
  content: url('data:image/svg+xml;utf-8,<svg fill="%23272937" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 12"><path d="M1.7,0L0.3,1.4L4.9,6l-4.6,4.6L1.7,12l6-6L1.7,0z"/></svg>');
  width: .35em;
  line-height: 0;
  display: inline;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.nav-pagination .type-arrow.prev::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.nav-pagination .type-arrow.disabled {
  pointer-events: none;
}

.nav-pagination .type-arrow.disabled:before {
  content: url('data:image/svg+xml;utf-8,<svg fill="%23c4c5c7" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 12"><path d="M1.7,0L0.3,1.4L4.9,6l-4.6,4.6L1.7,12l6-6L1.7,0z"/></svg>');
}


/* ===============================================
  記事一覧
=============================================== */
.article-list a {
  color: rgb(var(--color-textblack));
}

.article-list a:hover {
  opacity: 1;
}

.article-list .article>a:hover {
  color: rgb(var(--color-textblack));
  opacity: .5;
}

.article-list+.article-list {
  margin-top: var(--margin-l);
}

.article-list .article {
  position: relative;
}

.article-list .article>a {
  display: block;
}

.article-list .article .thumbnail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-list .article .article-title {
  margin-top: var(--margin-xs);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.article-list .article .date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: left;
  color: #282828;
}

.article-list .article .article-info>* {
  margin: 0;
}

.article-list .article .article-info,
.article-list .article .article-info>*+* {
  margin-top: var(--margin-xs);
}

.article-list .article .article-info .category-list,
.article-list .article .article-info .date {
  font-size: var(--font-xs);
  line-height: 1;
}

.article-list .article .article-info .date.type-update::before {
  content: 'RENEWAL';
  margin-right: .5em;
  padding: .2em .4em;
  color: #fff;
  line-height: 1;
  letter-spacing: 0;
  background-color: rgb(var(--color-textblack));
  display: inline-block;
  border-radius: 4px;
}

.article-list .article .article-info .category-list {
  margin-top: .5em;
  color: #777;
}

.article-list .article .article-info .category-list li {
  padding: 0;
  font-weight: 500;
}

.article-list .article .article-info .category-list li+li::before {
  content: '/';
  display: inline-block;
  margin-left: .25em;
  margin-right: .5em;
}

.article-list .article .description {
  display: none;
  margin-top: .25em;
  font-size: .875rem;
}

.article-list .article .tag-list {
  display: none;
}

/* vertical
------------------------------------- */
.article-list.type-vertical .article {
  margin-top: var(--margin-xs);
}

.article-list.type-vertical .article>a {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: max-content 1fr;
  gap: .5em 1em;
  align-items: flex-start;
  justify-content: space-between;
}

.article-list.type-vertical .article .thumbnail {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.article-list.type-vertical .article .article-info {
  display: flex;
  align-items: center;
  gap: .5em;
  margin: 0;
  letter-spacing: 0;
}

.article-list.type-vertical .article .article-title,
.article-list.type-vertical .article .category-list {
  margin-top: 0;
}


@media (max-width: 768px) {
  .article-list {
    font-size: var(--font-xs);
  }

  .article-list.type-vertical .article .article-info {
    justify-content: space-between;
  }
}


/* ===============================================
  フォーム
=============================================== */

input {
  padding: .5em .75em;
  font-size: 1em;
  border: 1px solid rgba(var(--color-textblack), .8);
  border-radius: 0;
  appearance: none;
}

textarea {
  width: 100%;
  height: 8em;
  resize: vertical;
  display: block !important;
  font-size: 1em;
  border: 1px solid rgba(var(--color-textblack), .8);
  border-radius: 0;
  appearance: none;
}

select {
  padding: .5em .75em;
  font-size: 1em;
  border: 1px solid rgba(var(--color-textblack), .8);
  border-radius: 0;
  appearance: none;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

input:not([type="radio"]):focus,
input:not([type="checkbox"]):focus,
textarea:focus,
select:focus {
  outline: 0;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
  font-weight: 300;
}

input:disabled,
textarea:disabled {
  background-color: #eee;
}

input[type="button"],
input[type="submit"],
input[type="file"] {
  cursor: pointer;
}


.form {
  display: inline-block;
}

.form>* {
  margin-top: 0 !important;
  vertical-align: middle;
}

.form.type-input,
.form.type-select,
.form.type-textarea {
  display: block;
  width: 100%;
  padding: .5em .75em;
  font-size: 1rem;
  line-height: 1.2;
  border: 1px solid rgba(var(--color-textblack), .8);
  border-radius: 0;
  background-color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: 'Inter', 'Noto Sans JP', 'Helvetica Neue', 'Lucida Grande', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, 'メイリオ', sans-serif;
}

.form.type-select {
  padding-right: 1.8em;
}

/* selectには擬似要素を指定できないので、囲みに強引に表示 */
span:has(> select) {
  position: relative;
}

span:has(> select)::after {
  content: url('data:image/svg+xml;utf-8,<svg fill="%231C1D26" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8"><path d="M12,1.7l-1.4-1.4L6,4.9L1.4,0.3L0,1.7l6,6L12,1.7z"/></svg>');
  display: block;
  width: .5em;
  height: .5em;
  line-height: 0;
  position: absolute;
  top: 1em;
  right: .7em;
}

.form.type-textarea {
  line-height: 1.75;
}

.aside .form.type-textarea {
  height: 5em;
}

.form.type-label {
  padding: 0;
  font-size: var(--font-s);
  line-height: 1.4;
  font-weight: 500;
  display: block;
}

span.form.type-label {
  display: inline;
}

.form.type-label.required:after {
  content: '*';
  margin-left: .2em;
  color: rgb(var(--color-flamingred));
}

/* フォームグループ
------------------------------------- */
.form-check {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
  gap: 1em;
}

.form-check>* {
  flex: 0 0 100%;
  margin: 0;
}

.lead+.form-check {
  margin-top: var(--margin-s);
}

.form-group {
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: .25em;
  position: relative;
}

.form-group>* {
  flex: 0 0 100%;
  margin: 0;
}

.form-group .form.size-auto {
  flex: 1;
}

.form-group .btn {
  margin-top: 0;
}

.form-group.align-center {
  justify-content: center;
}

.form.type-label+.form-group {
  margin-top: .5em;
}

/* 半サイズにして横並び */
.form-half {
  flex: 1 1 calc(50% - var(--margin-s)/2);
}

/* 横並び */
.form-horizontal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1em;
}

/* 縦並び */
.form-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* チェックボックス・ラジオボタン
------------------------------------- */
.form.type-checkbox,
.form.type-radio {
  font-size: 1rem;
}

.form.type-checkbox input,
.form.type-radio input {
  opacity: 0;
  position: absolute;
}

.form.type-checkbox [class*="label"],
.form.type-radio [class*="label"] {
  padding-left: 2em;
  line-height: 2;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.form.type-checkbox [class*="label"]:before,
.form.type-radio [class*="label"]:before {
  content: '';
  width: 1.5em;
  height: 1.5em;
  padding: 0;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(var(--color-textblack), .8);
  border-radius: 0;
  background-color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

.form.type-checkbox :checked+[class*="label"]:before,
.form.type-radio :checked+[class*="label"]:before {
  background-color: rgb(var(--color-flamingred));
  box-shadow: 0 0 0 3px #fff inset;
}

.form.type-radio [class*="label"]:before {
  border-radius: 50%;
}

/* pre
------------------------------------- */
.form.type-pre {
  width: 100%;
  min-height: 1em;
  padding: 0.5em 1em;
  background-color: #eee;
}

/* スパム対策
hidden要素がチェックされたら送信ボタン無効化
------------------------------------- */
input[name="mail_flag"] {
  display: none;
}

input[name="mail_flag"]:checked+input[type="submit"] {
  pointer-events: none !important;
  display: none;
}

/* 期限切れ
------------------------------------- */
.expired .btn,
.expired .btn:focus,
.expired .btn:hover,
.expired .form:not(.type-label),
.expired .form.type-select,
.expired .form.type-checkbox>.label:before,
.expired .form.type-radio>.label:before {
  color: rgb(var(--color-gray)) !important;
  background-color: rgb(var(--color-gray-light)) !important;
  border-color: rgb(var(--color-border)) !important;
  opacity: 1;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
  -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
  -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}

.expired .form.type-label {
  color: rgb(var(--color-gray));
  pointer-events: none;
}

.expired .form.type-checkbox,
.expired .form.type-radio {
  background-color: transparent !important;
}

/* ===============================================
  ContactForm7
  プラグインのデフォルトスタイル上書き
=============================================== */

/* 横並び項目の間隔調整 */
.wpcf7 .wpcf7-list-item {
  margin: 0;
}

/* 送信メッセージ */
div.wpcf7 form .wpcf7-response-output {
  margin: var(--margin-xs) 0 0;
  border: none;
  color: rgb(var(--color-flamingred));
  text-align: center;
  font-size: var(--font-s);
  font-weight: bold;
}

/* 送信完了時 */
div.wpcf7 form.sent .wpcf7-response-output {
  color: rgb(var(--color-textblack));
}

/* スピナー：位置とデザイン調整 */
.wpcf7 .wpcf7-spinner {
  display: none;
  margin: var(--margin-xs) auto 0;
  background-color: transparent;
  opacity: .7;
  width: 20px;
  height: 20px;
  border: 1px solid rgb(var(--color-textblack));
}

.wpcf7 .wpcf7-spinner::before {
  background-color: rgb(var(--color-textblack));
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  transform-origin: 9px 9px;
  animation-duration: 1400ms;
}

form.submitting .wpcf7-spinner {
  display: block;
}

/* 項目ごとのエラーメッセージ */
.wpcf7 .wpcf7-not-valid-tip {
  margin-top: .35em;
  font-size: var(--font-caption);
}