/* ==========================================================================
   front-page.css
   TOPページ専用スタイル
   ========================================================================== */


/* ==========================================================================
   1. FV（ヒーロー）セクション
   本番参照: comp-llrlpfqo / bgLayers + inlineContent-gridContainer
   サイト幅: 980px

   本番レイアウト方式: CSS Grid（position: absolute ではない）
     gridContainer: display:grid / grid-template-rows:repeat(7,min-content) 1fr
     直接子:        position:relative + left + grid-area + margin
     rotated-wrap:  position:static  + width:0 + height + margin + grid-area:1/1/2/2
     シェイプ内部:  position:relative + left + top + transform:rotate

   セクション高 755px の仕組み:
     wedge-8 (height:639px / grid-area:1/1/8/2) → rows1-7 の合計を 639px に固定
     row8 (八角形): height:85px + margin-bottom:30px = 116px
     合計: 639 + 116 = 755px

   ※ .fp-hero__content の max-width:980px により
     calc((100% - 980px) * 0.5) = 0 → margin-left:0 に単純化
   ========================================================================== */

/* セクション全体
   ─ overflow: visible（本番 .Le88gL と同様 / シェイプのはみ出しを許容）
   ─ min-width: 980px で横スクロール起点を固定
   ─ position: relative で bgLayers (absolute) の基準点
   -------------------------------------------------------------------- */
.fp-hero {
    position: relative;
    overflow: visible;
}

/* ─── 背景レイヤー (bgLayers_comp-llrlpfqo 相当) ─────────────── */

.fp-hero__bg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* colorUnderlay: 透明（背景画像で完全に覆われる） */
.fp-hero__bg-color-underlay {
    position: absolute;
    inset: 0;
    background-color: transparent;
}

.fp-hero__bg-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* 背景画像: fill モード / object-fit:cover で全面拡縮
   本番 img: w_1654, h_755 / object-fit:cover
   -------------------------------------------------------------------- */
.fp-hero__bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* ─── コンテンツグリッド（gridContainer 相当）
   本番: display:grid / position:static / height:auto / width:100%
        grid-template-rows: repeat(7, min-content) 1fr
        grid-template-columns: 100%
   z-index:1 で bgLayers(z-index:0) より前面に
   -------------------------------------------------------------------- */
.fp-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    height: auto;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    min-height: auto;
    grid-template-rows: repeat(7, min-content) 1fr;
    grid-template-columns: 100%;
    overflow: visible;
}

/* ==========================================================================
   1-a. ウェッジ（不可視スペーサー）
   グリッド行の最小高さを強制する visibility:hidden な高さ保持要素
   本番: [data-mesh-id=comp-llrlpfqoinlineContent-wedge-4 / wedge-8]
   ========================================================================== */

/* wedge-4: rows2+3 の合計を 191px 以上に固定（サブタイトル位置の起点）*/
.fp-hero__wedge--4 {
    visibility: hidden;
    height: 191px;
    width: 0;
    grid-area: 2 / 1 / 4 / 2;
}

/* wedge-8: rows1-7 の合計を 639px 以上に固定（八角形を 639px 下方へ押し下げ）*/
.fp-hero__wedge--8 {
    visibility: hidden;
    height: 639px;
    width: 0;
    grid-area: 1 / 1 / 8 / 2;
}

/* ==========================================================================
   1-b. テキスト要素（直接 gridContainer の子 / position:relative + grid-area）
   ========================================================================== */

/* SP専用 法人名テキスト（PC では非表示） */
.fp-hero__sp-org-name {
    display: none;
}

/* ① 見出しラッパー (comp-lks53fmr)
   grid-area:2/1/3/2 / margin-top:21px / margin-bottom:10px / left:523px
   -------------------------------------------------------------------- */
.fp-hero__heading-wrap {
    position: relative;
    margin: 21px 0px 10px 0;
    left: 523px;
    grid-area: 2 / 1 / 3 / 2;
    justify-self: start;
    align-self: start;
}

.fp-hero__title {
    margin: 0;
    padding: 0;
}

.fp-hero__title-text {
    display: block;
    font-size: 45px;
    line-height: 1.4em;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: #C0401A;
}

/* ③ サブタイトルラッパー (comp-lks76pzq)
   grid-area:4/1/5/2 / margin-bottom:26px / left:700px
   wedge-4 が rows2+3 を 191px に固定 → サブタイトルは必ず 191px 下から始まる
   -------------------------------------------------------------------- */
.fp-hero__subtitle-wrap {
    position: relative;
    margin: 0px 0px 26px 0;
    left: 700px;
    grid-area: 4 / 1 / 5 / 2;
    justify-self: start;
    align-self: start;
}

.fp-hero__subtitle {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.4em;
    font-weight: bold;
    color: #C0401A;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ④ 説明文 (comp-lks78yxv)
   grid-area:5/1/6/2 / margin-bottom:10px / left:451px
   text-align:right / font-size:18px / line-height:2em / color:rgb(89,89,89)
   -------------------------------------------------------------------- */
.fp-hero__description {
    position: relative;
    margin: 0px 0px 10px 0;
    left: 451px;
    grid-area: 5 / 1 / 6 / 2;
    justify-self: start;
    align-self: start;
    text-align: right;
}

.fp-hero__description p {
    margin: 0;
    font-size: 18px;
    line-height: 2em;
    color: rgb(89, 89, 89);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   1-c. DTh 画像 (comp-lm32b88u)
   grid-area:2/1/7/2（rows2-6 にまたがる） / left:3px / 545×382px
   ========================================================================== */
.fp-hero__dth-image-wrap {
    position: relative;
    margin: 0px 0px 10px 0;
    left: 3px;
    grid-area: 2 / 1 / 7 / 2;
    justify-self: start;
    align-self: start;
    width: 545px;
    height: 382px;
    overflow: hidden;
}

.fp-hero__dth-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

/* ==========================================================================
   1-d. 装飾シェイプ

   五角形・三角形: rotated-wrapper（外）+ shape（内）の 2 層構造
     外ラッパー .fp-hero__shape-wrap--*
       position: static（本番に準拠） / width:0 / height:[X]px
       margin で縦方向位置を制御 / grid-area:1/1/2/2（row1 にスタック）
       overflow: visible（シェイプがはみ出せる）
     内シェイプ .fp-hero__shape--*
       position: relative / left + top で水平・垂直微調整
       transform: rotate で回転

   八角形: wrapper なし・.fp-hero__shape--* が直接 gridContainer の子
     position: relative / grid-area:8/1/9/2 / margin で縦位置制御

   カラー:
     塗り（filled）: fill #FBC44D
     枠（outlined）: fill none / stroke #8B0000 / stroke-width 2
   ========================================================================== */

/* ─── ② 五角形 塗り（黄色）
   wrapper: comp-llsu01c1-rotated-wrapper
     position:static / h:147px / w:0 / margin:75px 0 -39px 0
     grid-area:1/1/2/2
   shape: comp-llsu01c1
     position:relative / left:33px / top:17px / 120×114px / rotate(18.95deg)
   -------------------------------------------------------------------- */
.fp-hero__shape-wrap--pentagon-sm {
    position: static;
    height: 147px;
    width: 0;
    margin: 75px 0px -39px 0;
    grid-area: 1 / 1 / 2 / 2;
    justify-self: start;
    align-self: start;
    overflow: visible;
    pointer-events: none;
}

.fp-hero__shape-wrap--pentagon-sm > .fp-hero__shape--pentagon-sm {
    position: relative;
    left: 33px;
    top: 17px;
    width: 120px;
    height: 114px;
    transform: rotate(18.95deg);
}

.fp-hero__shape-wrap--pentagon-sm > .fp-hero__shape--pentagon-sm svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fp-hero__shape-wrap--pentagon-sm > .fp-hero__shape--pentagon-sm svg path {
    fill: #FBC44D;
}

/* ─── ⑤ 三角形 塗り（黄色）
   wrapper: comp-llstylbu-rotated-wrapper
     position:static / h:130px / w:0 / margin:30px 0 21px 0
     grid-area:1/1/2/2
   shape: comp-llstylbu
     position:relative / left:853px / top:17px / 114×97px / rotate(340.1deg)
   -------------------------------------------------------------------- */
.fp-hero__shape-wrap--triangle-lg {
    position: static;
    height: 130px;
    width: 0;
    margin: 30px 0px 21px 0;
    grid-area: 1 / 1 / 2 / 2;
    justify-self: start;
    align-self: start;
    overflow: visible;
    pointer-events: none;
}

.fp-hero__shape-wrap--triangle-lg > .fp-hero__shape--triangle-lg {
    position: relative;
    left: 853px;
    top: 17px;
    width: 114px;
    height: 97px;
    transform: rotate(340.1deg);
}

.fp-hero__shape-wrap--triangle-lg > .fp-hero__shape--triangle-lg svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fp-hero__shape-wrap--triangle-lg > .fp-hero__shape--triangle-lg svg path {
    fill: #FBC44D;
}

/* ─── ⑥ 五角形 枠（ダークレッド）
   wrapper: comp-llsu1sfw-rotated-wrapper
     position:static / h:154px / w:0 / margin:60px 0 -30px 0
     grid-area:1/1/2/2
   shape: comp-llsu1sfw
     position:relative / left:44px / top:18px / 126×119px / rotate(18.95deg)
   -------------------------------------------------------------------- */
.fp-hero__shape-wrap--pentagon-sm-2 {
    position: static;
    height: 154px;
    width: 0;
    margin: 60px 0px -30px 0;
    grid-area: 1 / 1 / 2 / 2;
    justify-self: start;
    align-self: start;
    overflow: visible;
    pointer-events: none;
}

.fp-hero__shape-wrap--pentagon-sm-2 > .fp-hero__shape--pentagon-sm-2 {
    position: relative;
    left: 44px;
    top: 18px;
    width: 126px;
    height: 119px;
    transform: rotate(18.95deg);
}

.fp-hero__shape-wrap--pentagon-sm-2 > .fp-hero__shape--pentagon-sm-2 svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fp-hero__shape-wrap--pentagon-sm-2 > .fp-hero__shape--pentagon-sm-2 svg path {
    fill: none;
    stroke: #8B0000;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

/* ─── ⑦ 三角形 枠（ダークレッド）
   wrapper: comp-llsu27s5-rotated-wrapper
     position:static / h:146px / w:0 / margin:30px 0 6px 0
     grid-area:1/1/2/2
   shape: comp-llsu27s5
     position:relative / left:830px / top:19px / 126×109px / rotate(340.1deg)
   -------------------------------------------------------------------- */
.fp-hero__shape-wrap--triangle-lg-2 {
    position: static;
    height: 146px;
    width: 0;
    margin: 30px 0px 6px 0;
    grid-area: 1 / 1 / 2 / 2;
    justify-self: start;
    align-self: start;
    overflow: visible;
    pointer-events: none;
}

.fp-hero__shape-wrap--triangle-lg-2 > .fp-hero__shape--triangle-lg-2 {
    position: relative;
    left: 830px;
    top: 19px;
    width: 126px;
    height: 109px;
    transform: rotate(340.1deg);
}

.fp-hero__shape-wrap--triangle-lg-2 > .fp-hero__shape--triangle-lg-2 svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fp-hero__shape-wrap--triangle-lg-2 > .fp-hero__shape--triangle-lg-2 svg path {
    fill: none;
    stroke: #8B0000;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

/* ─── ⑨ 八角形 塗り（黄色）― wrapper なし・直接 gridContainer の子
   comp-llstz0p6: grid-area:8/1/9/2 / margin:0px 0px 30px 0 / left:194px / 85×85px
   -------------------------------------------------------------------- */
.fp-hero__shape--octagon-1 {
    position: relative;
    margin: 0px 0px 30px 0;
    left: 194px;
    grid-area: 8 / 1 / 9 / 2;
    justify-self: start;
    align-self: start;
    width: 85px;
    height: 85px;
    pointer-events: none;
}

.fp-hero__shape--octagon-1 svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fp-hero__shape--octagon-1 svg path {
    fill: #FBC44D;
}

/* ─── ⑩ 八角形 枠（ダークレッド）― wrapper なし・直接 gridContainer の子
   comp-llsu326x: grid-area:8/1/9/2 / margin:8px 0px 8px 0 / left:201px / 100×100px
   margin-top:8px で八角形塗りに重なる
   -------------------------------------------------------------------- */
.fp-hero__shape--octagon-2 {
    position: relative;
    margin: 8px 0px 8px 0;
    left: 201px;
    grid-area: 8 / 1 / 9 / 2;
    justify-self: start;
    align-self: start;
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.fp-hero__shape--octagon-2 svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fp-hero__shape--octagon-2 svg path {
    fill: none;
    stroke: #8B0000;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}


/* ==========================================================================
   2. スライドショーセクション（UI/UX 改善版）
   ========================================================================== */

.fp-slideshow {
    position: relative;
    background-color: #ffffff;
    border-top: 1px solid #e8e8e8;
}

.fp-slideshow__bg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.fp-slideshow__bg-color-underlay {
    position: absolute;
    inset: 0;
    background-color: transparent;
}

.fp-slideshow__bg-media {
    position: absolute;
    inset: 0;
}

.fp-slideshow__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    overflow: visible;
    margin-bottom: 40px;
}

.fp-slideshow__component {
    position: relative;
    width: 980px;
    overflow: visible;
}

/* ─── 前へ / 次へ ボタン ──────────────────────────────────────── */
.fp-slideshow__prev-btn,
.fp-slideshow__next-btn {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.fp-slideshow__prev-btn:hover,
.fp-slideshow__next-btn:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.fp-slideshow__prev-btn {
    left: -22px;
}

.fp-slideshow__next-btn {
    right: -22px;
    transform: translateY(-50%) scaleX(-1);
}

.fp-slideshow__prev-btn svg,
.fp-slideshow__next-btn svg {
    width: 30px;
    height: 30px;
    display: block;
}

.fp-slideshow__prev-btn svg path:first-child,
.fp-slideshow__next-btn svg path:first-child {
    fill: transparent;
}

.fp-slideshow__prev-btn svg path:last-child,
.fp-slideshow__next-btn svg path:last-child {
    fill: #C0401A;
}

/* ─── シャドーレイヤー ────────────────────────────────────────── */
.fp-slideshow__shadow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* ─── スライドラッパー：アクティブスライドで高さ決定 ─────────── */
.fp-slideshow__slides-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 0;
    border-radius: 4px;
}

/* ==========================================================================
   2-a. スライド共通
   ========================================================================== */

/* 非アクティブ：absolute でレイアウトに参加しない */
.fp-slideshow__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    background-color: #ffffff;
}

/* アクティブ：relative でラッパー高さを決定 */
.fp-slideshow__slide--active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.fp-slideshow__slide-bg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fp-slideshow__slide-bg-color {
    position: absolute;
    inset: 0;
    background-color: transparent;
}

.fp-slideshow__slide-bg-media {
    position: absolute;
    inset: 0;
}

.fp-slideshow__slide-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ==========================================================================
   2-b. スライド内レイアウト（CSS Grid 2カラム）
   左：画像　右：テキスト → CTA → ノート
   ========================================================================== */

.fp-slideshow__slide-grid {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 40px 56px;
    gap: 48px;
    box-sizing: border-box;
}

.fp-slideshow__slide-image {
    flex: 0 0 380px;
    height: 160px;
    box-sizing: border-box;
}

.fp-slideshow__slide-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    min-width: 0;
}


/* ==========================================================================
   2-c. スライド内 共通コンテンツスタイル
   ========================================================================== */

.fp-slideshow__slide-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}

.fp-slideshow__slide-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: rgb(60, 60, 60);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fp-slideshow__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 260px;
    height: 48px;
    padding: 4px 16px;
    background: #C0401A;
    border-radius: 50px;
    border: 0;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    transition: background 0.25s ease, transform 0.15s ease;
    cursor: pointer;
}

.fp-slideshow__cta-btn:hover {
    background: #a8360d;
}

.fp-slideshow__cta-label {
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: #FFFFFF;
    white-space: nowrap;
}

.fp-slideshow__cta-icon {
    display: flex;
    align-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.fp-slideshow__cta-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fp-slideshow__cta-icon svg path {
    fill: #FFFFFF;
}

.fp-slideshow__slide-note p {
    margin: 0;
    font-size: 12px;
    color: rgb(130, 130, 130);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   2-d. ナビゲーションドット
   ========================================================================== */

.fp-slideshow__dots {
    display: flex;
    justify-content: center;
    padding: 12px 0 16px;
}

.fp-slideshow__dots ol {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.fp-slideshow__dot {
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    border-radius: 50%;
    background-color: #cccccc;
    cursor: pointer;
    pointer-events: auto;
    box-sizing: border-box;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.fp-slideshow__dot:hover {
    background-color: #aaaaaa;
}

.fp-slideshow__dot--active {
    background-color: #C0401A;
    width: 28px;
    height: 10px;
    border-radius: 5px;
    transform: none;
}


/* =====================================================
   News Section  (comp-mfm4g15o)
   ===================================================== */

/* セクション全体 */
.fp-news {
    position: relative;
    background-color: #fafafa;
    box-sizing: border-box;
    overflow: visible;
}

/* 背景レイヤー */
.fp-news__bg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.fp-news__bg-color-underlay,
.fp-news__bg-media {
    position: absolute;
    inset: 0;
}

/* コンテンツ */
.fp-news__content {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 30px 56px;
    box-sizing: border-box;
}

/* 見出し（見せ方そのまま） */
.fp-news__heading {
    margin: 8px 0 24px 6px;
    width: 350px;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: rgb(192, 64, 26);
}

/* 記事リスト：2カラムカードグリッド */
.fp-news__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* カード */
.fp-news__item {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box;
}


/* リンクラッパー */
.fp-news__item-link {
    display: flex;
    align-items: stretch;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

/* サムネイル */
.fp-news__item-thumb-wrap {
    flex: 0 0 150px;
    height: 112px;
    overflow: hidden;
}

.fp-news__item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.fp-news__item:hover .fp-news__item-thumb {
    transform: scale(1.04);
}

/* テキスト情報ブロック */
.fp-news__item-body {
    flex: 1;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 112px;
}

/* 記事タイトル */
.fp-news__item-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgb(32, 32, 32);
    transition: color 0.2s ease;
}

.fp-news__item-link:hover .fp-news__item-title {
    color: #C0401A;
}

/* バッジ */
.fp-news__item-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    padding: 2px 7px;
    border-radius: 3px;
    margin-bottom: 5px;
    letter-spacing: 0.04em;
    line-height: 1.6;
    flex-shrink: 0;
    align-self: flex-start;
}

/* 投稿日時 */
.fp-news__item-date {
    display: block;
    font-size: 11px;
    color: rgb(130, 130, 130);
    flex-shrink: 0;
}

/* 記事なし */
.fp-news__empty {
    grid-column: 1 / -1;
    font-size: 14px;
    color: rgb(89, 89, 89);
}

/* もっと見るボタン */
.fp-news__btn-wrap {
    text-align: center;
    margin-top: 40px;
}

.fp-news__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 240px;
    height: 44px;
    background-color: #C0401A;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
    padding: 3px 12px;
}

.fp-news__btn:hover {
    background-color: #a8360d;
}

.fp-news__btn-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.fp-news__btn-icon {
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.fp-news__btn-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}


/* =====================================================
   Service Section  (comp-lks8q95r)
   ===================================================== */

/* セクション全体 */
.fp-service {
    position: relative;
    background-color: #ffffff;
    box-sizing: border-box;
    overflow: visible;
}

/* 背景レイヤー */
.fp-service__bg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.fp-service__bg-color-underlay,
.fp-service__bg-media {
    position: absolute;
    inset: 0;
}

/* コンテンツ */
.fp-service__content {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 30px 56px;
    box-sizing: border-box;
}

/* 見出し */
.fp-service__heading {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: rgb(192, 64, 26);
    margin: 0 0 32px;
}

/* イントロ：テキスト ｜ ビジュアル */
.fp-service__intro {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 48px;
}

/* テキスト列 */
.fp-service__intro-text {
    flex: 1;
    min-width: 0;
}

/* リードテキスト */
.fp-service__lead {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    color: rgb(80, 80, 80);
    margin: 0 0 24px;
    padding: 0;
}

.fp-service__lead-accent {
    color: #C0401A;
}

/* 本文テキスト */
.fp-service__body {
    font-size: 16px;
    line-height: 1.85;
    color: rgb(89, 89, 89);
}

.fp-service__body p {
    margin: 0 0 10px;
    padding: 0;
}

.fp-service__body p:last-child {
    margin-bottom: 0;
}

/* ビジュアル列（装飾シェイプ） */
.fp-service__intro-visual {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

/* 装飾シェイプ共通 */
.fp-service__shape-wrap {
    position: relative;
    line-height: 0;
}

/* 三角形ペア：アウトライン(2)が先＝後ろ、ソリッド(1)が後＝前面 */
.fp-service__shape-wrap--triangle-2 {
    transform: rotate(340deg);
}

.fp-service__shape-wrap--triangle-1 {
    transform: rotate(340deg);
    margin-top: -104px;
    margin-left: 16px;
}

/* 五角形ペア：アウトライン(2)が先＝後ろ、ソリッド(1)が後＝前面 */
.fp-service__shape-wrap--pentagon-2 {
    transform: rotate(19deg);
}

.fp-service__shape-wrap--pentagon-1 {
    transform: rotate(19deg);
    margin-top: -116px;
    margin-left: 10px;
}


/* カード画像 */
.fp-service__card-image-wrap {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fp-service__card-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* カード行：2列 */
.fp-service__cards {
    display: flex;
    gap: 24px;
}

/* カード共通 */
.fp-service__card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #ffffff;
    border: 2px solid #C0401A;
    border-radius: 8px;
    padding: 28px 28px 24px;
    box-sizing: border-box;
}

/* カード見出し */
.fp-service__card-heading {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #C0401A;
    margin: 0;
    padding: 0;
}

/* カード本文 */
.fp-service__card-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.75;
    color: rgb(80, 80, 80);
    margin: 0;
    padding: 0;
}

/* ボタン */
.fp-service__card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 240px;
    height: 44px;
    margin: 0 auto;
    background-color: #C0401A;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
    padding: 3px 12px;
}

.fp-service__card-btn:hover {
    background-color: #a8360d;
}

.fp-service__card-btn-label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.fp-service__card-btn-icon {
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.fp-service__card-btn-icon svg {
    width: 100%;
    height: 100%;
    fill: #FFFFFF;
}


/* =====================================================
   Our Goal Section  (comp-lksd6ucx)
   ===================================================== */

/* セクション全体 */
.fp-goal {
    position: relative;
    box-sizing: border-box;
    overflow: visible;
}

/* 背景レイヤー (bgLayers / 空) */
.fp-goal__bg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.fp-goal__bg-color-underlay,
.fp-goal__bg-media {
    position: absolute;
    inset: 0;
}

/* コンテンツグリッド (comp-lksd6ucxinlineContent-gridContainer)
   grid-template-rows: repeat(3, min-content) 1fr / min-height:730px
*/
.fp-goal__content {
    position: static;
    display: grid;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 30px 56px;
    grid-template-rows: repeat(3, min-content) 1fr;
    grid-template-columns: 100%;
}

/* 見出し (comp-lksde4e8)
   margin:0 0 23px 0 / left:0 / grid-area:1/1/2/2 / width:350px / font-size:60px
   color: rgb(192,64,26) (font_2 / --color_42)
*/
.fp-goal__heading {
    position: relative;
    margin: 0px 0px 23px 0;
    left: 0px;
    grid-area: 1 / 1 / 2 / 2;
    justify-self: start;
    align-self: start;
    width: 350px;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: rgb(192, 64, 26);
}

/* 左イラスト (comp-lm1malt2)
   margin:0 0 -23px 0 / left:184px / grid-area:2/1/3/2 / width:270px / height:235px
*/
.fp-goal__illust-wrap {
    position: relative;
    margin: 0px 0px -23px 0;
    left: 184px;
    grid-area: 2 / 1 / 3 / 2;
    justify-self: start;
    align-self: start;
    width: 270px;
    height: 235px;
}
.fp-goal__illust {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 右イメージ (comp-lm1mdawk)
   margin:79px 0 -99px 0 / left:630px / grid-area:2/1/3/2 / width:272px / height:232px
*/
.fp-goal__image-wrap {
    position: relative;
    margin: 79px 0px -99px 0;
    left: 630px;
    grid-area: 2 / 1 / 3 / 2;
    justify-self: start;
    align-self: start;
    width: 272px;
    height: 232px;
    z-index: 2;
}
.fp-goal__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* カードブロック共通
   grid-area:3/1/4/2 / width:420px
   bg:rgba(199,199,199,0.7) (--color_39 / --alpha-bg:0.7)
*/
.fp-goal__block {
    position: relative;
    grid-area: 3 / 1 / 4 / 2;
    justify-self: start;
    align-self: start;
    width: 420px;
}

.fp-goal__block-inner {
    display: grid;
    width: 100%;
    grid-template-rows: repeat(2, min-content) 1fr;
    grid-template-columns: 100%;
    border: 2px solid #C0401A;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Purpose ブロック (comp-lkszmysk)
   margin:0 0 48px 0 / left:26px
*/
.fp-goal__block--purpose {
    margin: 0px 0px 48px 0;
    left: 26px;
}

/* Mission ブロック (comp-lkszoe4y)
   margin:0 0 44px 0 / left:497px
*/
.fp-goal__block--mission {
    margin: 0px 0px 44px 0;
    left: 497px;
}

/* ブロック見出し (font_3 / font-size:35px / color:rgb(192,64,26))
   Purpose: margin:30px 0 0 0 / left:25px / width:310px
   Mission: margin:30px 0 0 0 / left:21px / width:175px
*/
.fp-goal__block-title {
    position: relative;
    grid-area: 1 / 1 / 2 / 2;
    justify-self: start;
    align-self: start;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(192, 64, 26);
    padding: 0;
}

.fp-goal__block-title--purpose {
    margin: 30px 0px 0 0;
    left: 25px;
    width: 310px;
}

.fp-goal__block-title--mission {
    margin: 30px 0px 0 0;
    left: 21px;
    width: 175px;
}

/* ブロックサブタイトル (font_4 / font-size:23px / color:rgb(192,64,26))
   Purpose: margin:0 0 10px 0 / left:25px / width:310px
   Mission: margin:0 0 20px 0 / left:21px / width:175px
*/
.fp-goal__block-subtitle {
    position: relative;
    grid-area: 2 / 1 / 3 / 2;
    justify-self: start;
    align-self: start;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
    color: rgb(192, 64, 26);
    padding: 0;
}

.fp-goal__block-subtitle--purpose {
    margin: 0px 0px 10px 0;
    left: 25px;
    width: 310px;
}

.fp-goal__block-subtitle--mission {
    margin: 0px 0px 20px 0;
    left: 21px;
    width: 175px;
}

/* ブロック本文 (font_7 / font-size:18px / bold / color:rgb(89,89,89))
   Purpose: margin:0 0 32px 0 / left:25px / width:380px
   Mission: margin:0 0 52px 0 / left:15px / width:390px
*/
.fp-goal__block-body {
    position: relative;
    grid-area: 3 / 1 / 4 / 2;
    justify-self: start;
    align-self: start;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: rgb(89, 89, 89);
}

.fp-goal__block-body p {
    margin: 0;
    padding: 0;
}

.fp-goal__block-body--purpose {
    margin: 0px 0px 32px 0;
    left: 25px;
    width: 380px;
}

.fp-goal__block-body--mission {
    margin: 0px 0px 52px 0;
    left: 15px;
    width: 390px;
}

/* ボタンラッパー (comp-llruj9hq)
   margin:0 0 10px 0 / left:653px / grid-area:4/1/5/2
*/
.fp-goal__btn-wrap {
    position: relative;
    margin: 0px 0px 10px 0;
    left: 653px;
    grid-area: 4 / 1 / 5 / 2;
    justify-self: start;
    align-self: start;
}

/* ボタン (style-lm1rvp33)
   width:265px / height:45px / bg:#C0401A / border-radius:50px
   label: color:#FFF / letter-spacing:0.25em / font-size:15px / hover:color:#595959
*/
.fp-goal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 265px;
    height: 45px;
    background-color: #C0401A;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
    padding: 3px;
}

.fp-goal__btn:hover {
    background-color: #a8360d;
}

.fp-goal__btn-label {
    color: #FFFFFF;
    font-size: 15px;
    letter-spacing: 0.25em;
    font-weight: normal;
    margin-right: 4px;
}

.fp-goal__btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    margin-left: 4px;
    flex-shrink: 0;
}

.fp-goal__btn-icon svg {
    width: 37px;
    height: 37px;
    fill: #FFFFFF;
}


/* =====================================================
   Membership Section  (comp-m2seo081)
   ===================================================== */

/* セクション全体 */
/* セクション全体 */
.fp-membership {
    position: relative;
    background-color: #fafafa;
    box-sizing: border-box;
    overflow: visible;
}

/* 背景レイヤー */
.fp-membership__bg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.fp-membership__bg-color-underlay,
.fp-membership__bg-media {
    position: absolute;
    inset: 0;
}

/* コンテンツ */
.fp-membership__content {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 30px 56px;
    box-sizing: border-box;
}

/* イントロ：テキスト ｜ ビジュアル */
.fp-membership__intro {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* テキスト列 */
.fp-membership__intro-text {
    flex: 1;
    min-width: 0;
}

/* 見出し */
.fp-membership__heading {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: rgb(192, 64, 26);
    margin: 0 0 24px;
}

/* リードテキスト */
.fp-membership__lead {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    color: rgb(80, 80, 80);
    margin: 0 0 24px;
    padding: 0;
}

.fp-membership__lead-accent {
    color: #C0401A;
}

/* 本文テキスト */
.fp-membership__body {
    font-size: 16px;
    line-height: 1.85;
    color: rgb(89, 89, 89);
    margin-bottom: 28px;
}

.fp-membership__body p {
    margin: 0 0 12px;
    padding: 0;
}

.fp-membership__body p:last-child {
    margin-bottom: 0;
}

/* 特典リスト */
.fp-membership__list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.fp-membership__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    line-height: 1.75;
}

.fp-membership__list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #C0401A;
    font-size: 10px;
    top: 6px;
}

/* ボタンラッパー */
.fp-membership__btn-wrap {
    margin-top: 8px;
}

/* ボタン */
.fp-membership__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 240px;
    height: 44px;
    background-color: #C0401A;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
    padding: 3px 12px;
}

.fp-membership__btn:hover {
    background-color: #a8360d;
}

.fp-membership__btn-label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.fp-membership__btn-icon {
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.fp-membership__btn-icon svg {
    width: 100%;
    height: 100%;
    fill: #FFFFFF;
}

/* ビジュアル列（装飾シェイプ） */
.fp-membership__intro-visual {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

/* 装飾シェイプ共通 */
.fp-membership__shape-wrap {
    position: relative;
    line-height: 0;
}

/* 五角形ペア：アウトライン(2)が先＝後ろ、ソリッド(1)が後＝前面 */
.fp-membership__shape-wrap--pentagon-2 {
    transform: rotate(19deg);
}

.fp-membership__shape-wrap--pentagon-1 {
    transform: rotate(19deg);
    margin-top: -116px;
    margin-left: 10px;
}

/* 三角形ペア：アウトライン(2)が先＝後ろ、ソリッド(1)が後＝前面 */
.fp-membership__shape-wrap--triangle-2 {
    transform: rotate(340deg);
}

.fp-membership__shape-wrap--triangle-1 {
    transform: rotate(340deg);
    margin-top: -104px;
    margin-left: 16px;
}

/* ========================================
   About Us セクション (comp-lkse61ob)
   min-width:980px / 白背景
   grid-template-rows: repeat(17, min-content) 1fr
======================================== */
.fp-about {
    background-color: #fafafa;
}

/* ─── content ─────────────────────────────────────────── */

.fp-about__content {
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 30px 56px;
    box-sizing: border-box;
}

.fp-about__heading {
    font-size: 48px;
    line-height: 1.2;
    color: #C0401A;
    font-weight: bold;
    margin: 0 0 32px;
}

/* ─── intro（info + visual）────────────────────── */
.fp-about__intro {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 48px;
}

.fp-about__info-wrap {
    flex: 1;
}

.fp-about__info-list {
    margin: 0;
    padding: 0;
}

.fp-about__info-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e8;
}

.fp-about__info-row:first-child {
    border-top: 1px solid #e8e8e8;
}

.fp-about__info-row dt {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    padding-top: 2px;
}

.fp-about__info-row dd {
    font-size: 15px;
    line-height: 1.7;
    color: #222;
    margin: 0;
}

.fp-about__info-row dd a {
    color: #C0401A;
    text-decoration: underline;
}

/* ─── intro visual（装飾シェイプ）───────────────── */
.fp-about__intro-visual {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

.fp-about__shape-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fp-about__shape-wrap {
    position: relative;
    line-height: 0;
}

.fp-about__shape-wrap--octagon-1 {
    margin-top: -60px;
    margin-left: 16px;
}

.fp-about__shape-wrap--triangle-1 {
    margin-top: -76px;
    margin-left: 10px;
}

.fp-about__shape-wrap--triangle-1 svg,
.fp-about__shape-wrap--triangle-2 svg {
    display: block;
    transform: rotate(340deg);
    transform-origin: center;
}

/* ─── メンバーカード群 ─────────────────────────── */
.fp-about__members {
    margin-bottom: 32px;
}

.fp-about__member-cards {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.fp-about__member-card {
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}

.fp-about__card-photo-wrap {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.fp-about__card-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fp-about__member-card:hover .fp-about__card-photo-wrap img,
.fp-about__member-card:focus-within .fp-about__card-photo-wrap img {
    transform: scale(1.04);
}

.fp-about__card-bio-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: opacity 0.35s ease;
    font-size: 14px;
    color: #fff;
    line-height: 1.7;
    overflow-y: auto;
}

.fp-about__card-bio-panel p {
    margin: 0 0 6px;
    color: #fff;
}

.fp-about__card-bio-panel strong {
    color: #fff;
}

.fp-about__member-card:hover .fp-about__card-bio-panel,
.fp-about__member-card:focus-within .fp-about__card-bio-panel {
    opacity: 1;
}

.fp-about__card-bottom {
    background: rgb(199, 199, 199);
    padding: 16px;
}

.fp-about__card-name {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin: 0 0 4px;
    line-height: 1.3;
}

.fp-about__card-role {
    font-size: 14px;
    color: #444;
    margin: 0 0 8px;
}

.fp-about__card-title {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* 続きを読むボタン */
.fp-about__mbtn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #000;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0 0;
}

.fp-about__mbtn-icon {
    width: 18px;
    height: 18px;
    display: flex;
    flex-shrink: 0;
}

.fp-about__mbtn-icon svg {
    width: 100%;
    height: 100%;
    fill: #000;
}

/* ─── bottom row（集合写真 + ミニカード）─────────── */
.fp-about__bottom-row {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.fp-about__group-photo-wrap {
    flex: 0 0 auto;
    width: 530px;
    height: 320px;
    overflow: hidden;
    border-radius: 4px;
}

.fp-about__group-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-about__mini-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fp-about__mini-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgb(199, 199, 199);
    padding: 12px 20px;
    border-radius: 2px;
}

.fp-about__mini-role {
    font-size: 14px;
    color: #555;
    white-space: nowrap;
    min-width: 80px;
}

.fp-about__mini-name {
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

/* ─── CTA ──────────────────────────────────────── */
.fp-about__btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.fp-about__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 375px;
    height: 48px;
    background-color: #C0401A;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.fp-about__btn:hover {
    background-color: #a8360d;
}

.fp-about__btn-label {
    font-weight: normal;
}

.fp-about__btn-icon {
    display: flex;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.fp-about__btn-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* ========================================
   Endorse セクション (comp-llrulllm)
   min-height:772px / min-width:980px / 白背景
   grid-template-rows: repeat(4, min-content) 1fr
======================================== */
/* ========================================
   Endorse セクション
   ======================================== */
.fp-endorse {
    background-color: #ffffff;
}

.fp-endorse__content {
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 30px 64px;
    box-sizing: border-box;
    display: flex;
    gap: 64px;
    align-items: center;
}

/* ─── 左カラム ─── */
.fp-endorse__left {
    flex: 0 0 460px;
}

.fp-endorse__line-deco {
    width: 100%;
    height: 10px;
    overflow: hidden;
}

.fp-endorse__line-deco--top {
    margin-bottom: 20px;
}

.fp-endorse__line-deco--bottom {
    margin-top: 20px;
    margin-bottom: 32px;
    transform: rotate(180deg);
}

.fp-endorse__line-deco::before {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    background: #C0401A;
}

.fp-endorse__line-deco::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #C0401A;
    margin-top: 5px;
}

.fp-endorse__heading {
    font-size: 20px;
    color: #C0401A;
    font-weight: bold;
    line-height: 1.7;
    margin: 0;
}

.fp-endorse__illust-wrap {
    width: 100%;
}

.fp-endorse__illust {
    display: block;
    width: 100%;
    height: auto;
}

/* ─── 右カラム ─── */
.fp-endorse__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fp-endorse__logo-wrap {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s ease;
}

.fp-endorse__logo-wrap:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fp-endorse__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-endorse__logo-link img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* ==========================================================================
   レスポンシブ対応
   ブレークポイント: 768px
   ========================================================================== */

@media (max-width: 768px) {

    /* ──────────────────────────────────────────────
       共通: main コンテナに body が 64px ヘッダー分
    ────────────────────────────────────────────── */

    /* ======================================================
       1. FV（ヒーロー）
          SP: 法人名 → 見出し → DTh画像 → サブタイトル の縦積み
              4つの装飾シェイプを絶対配置で四隅に配置
    ====================================================== */
    .fp-hero {
        min-width: 0;
        min-height: 0;
        display: block;
        overflow: hidden;
    }

    /* グリッドを無効化 → 縦積みフレックス + 相対配置コンテナ */
    .fp-hero__content {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        max-width: 100%;
        padding: 40px 40px 60px;
        gap: 0;
        min-height: 0;
        overflow: hidden;
    }

    /* ── SP専用 法人名 ── */
    .fp-hero__sp-org-name {
        display: block;
        order: 1;
        font-size: 13px;
        color: #C0401A;
        font-weight: 400;
        letter-spacing: 0.06em;
        line-height: 1.5;
        margin: 0 0 14px;
    }

    /* ── 見出し ── */
    .fp-hero__heading-wrap {
        order: 2;
        position: static;
        left: auto;
        margin: 0 0 16px;
        grid-area: auto;
        justify-self: center;
        align-self: center;
    }

    .fp-hero__title-text {
        font-size: 28px;
        line-height: 1.35;
    }

    /* ── DTh 画像（SP では表示） ── */
    .fp-hero__dth-image-wrap {
        display: block;
        order: 3;
        position: static;
        left: auto;
        width: 100%;
        height: auto;
        margin: 0 auto 16px;
        overflow: visible;
    }

    .fp-hero__dth-image {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* ── サブタイトル ── */
    .fp-hero__subtitle-wrap {
        order: 4;
        position: static;
        left: auto;
        margin: 0;
        grid-area: auto;
        justify-self: center;
        align-self: center;
    }

    .fp-hero__subtitle {
        font-size: 17px;
    }

    /* 説明文・ウェッジ・枠三角形・枠八角形 → 非表示 */
    .fp-hero__description,
    .fp-hero__shape-wrap--triangle-lg-2,
    .fp-hero__shape--octagon-2,
    .fp-hero__wedge {
        display: none;
    }

    /* ──────────────────────────────────────────
       装飾シェイプ: 4つを絶対配置で四隅に配置
       .fp-hero__content が position:relative の基準
    ────────────────────────────────────────── */

    /* 共通: shape-wrap を flex から外して絶対配置に */
    .fp-hero__shape-wrap--pentagon-sm,
    .fp-hero__shape-wrap--pentagon-sm-2,
    .fp-hero__shape-wrap--triangle-lg {
        display: block;
        position: absolute;
        width: auto;
        height: auto;
        margin: 0;
        grid-area: auto;
        overflow: visible;
        pointer-events: none;
    }

    /* 左上: 八角形 塗り（黄色） */
    .fp-hero__shape--octagon-1 {
        display: block;
        position: absolute;
        top: 14px;
        left: 8px;
        width: 50px;
        height: 50px;
        margin: 0;
        grid-area: auto;
    }

    /* 右上: 五角形 枠（ダークレッド）*/
    .fp-hero__shape-wrap--pentagon-sm-2 {
        top: 10px;
        right: 6px;
        left: auto;
        display: none;
    }

    .fp-hero__shape-wrap--pentagon-sm-2 > .fp-hero__shape--pentagon-sm-2 {
        position: static;
        left: auto;
        top: auto;
        width: 58px;
        height: 55px;
        transform: rotate(18.95deg);
    }

    /* 右中: 三角形 塗り（黄色） */
    .fp-hero__shape-wrap--triangle-lg {
        top: 50%;
        right: -4px;
        left: auto;
        transform: translateY(-50%);
    }

    .fp-hero__shape-wrap--triangle-lg > .fp-hero__shape--triangle-lg {
        position: static;
        left: auto;
        top: auto;
        width: 68px;
        height: 58px;
        transform: rotate(340.1deg);
    }

    /* 左下: 五角形 塗り（黄色） */
    .fp-hero__shape-wrap--pentagon-sm {
        bottom: 6px;
        left: -10px;
        top: auto;
    }

    .fp-hero__shape-wrap--pentagon-sm > .fp-hero__shape--pentagon-sm {
        position: static;
        left: auto;
        top: auto;
        width: 82px;
        height: 78px;
        transform: rotate(18.95deg);
    }

    /* ======================================================
       2. スライドショー
    ====================================================== */
    .fp-slideshow {
        min-width: 0;
        overflow: hidden;
    }

    .fp-slideshow__content {
        padding: 0;
        max-width: 100%;
        overflow: hidden;
    }

    /* 固定幅 980px を解除して全幅に */
    .fp-slideshow__component {
        width: 100%;
        overflow: hidden;
    }

    .fp-slideshow__slide-grid {
        flex-direction: column;
        /* 横パディングをボタン幅(8px+36px=44px)より広く確保して被りを防ぐ */
        padding: 24px 52px;
        gap: 16px;
    }

    .fp-slideshow__slide-image {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        max-height: 140px;
    }

    .fp-slideshow__slide-img {
        width: 100%;
        height: 100%;
        max-height: 80px;
    }

    .fp-slideshow__slide-text p {
        font-size: 14px;
    }

    .fp-slideshow__cta-btn {
        width: 100%;
    }

    /* 前後ボタン: 画像の縦中央に固定してテキスト領域との被りを防ぐ
       top = 上パディング(24px) + 画像高さ半分(70px) = 94px */
    .fp-slideshow__prev-btn,
    .fp-slideshow__next-btn {
        width: 36px;
        height: 36px;
        top: 94px;
        transform: translateY(-50%);
    }

    .fp-slideshow__prev-btn {
        left: 8px;
    }

    .fp-slideshow__next-btn {
        right: 8px;
        transform: translateY(-50%) scaleX(-1);
    }

    /* ======================================================
       3. News
    ====================================================== */
    .fp-news {
        min-width: 0;
    }

    .fp-news__content {
        padding: 40px 16px 48px;
    }

    .fp-news__heading {
        width: auto;
        font-size: 48px;
        margin-left: 0;
        margin-bottom: 16px;
    }

    .fp-news__list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fp-news__item-thumb-wrap {
        flex: 0 0 100px;
        height: 80px;
    }

    .fp-news__item-body {
        min-height: 80px;
    }

    /* ======================================================
       4. Service
    ====================================================== */
    .fp-service {
        min-width: 0;
    }

    .fp-service__content {
        padding: 40px 16px 48px;
    }

    .fp-service__heading {
        font-size: 48px;
        margin-bottom: 24px;
    }

    .fp-service__intro {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 32px;
    }

    .fp-service__intro-visual {
        display: none;
    }

    .fp-service__lead {
        font-size: 20px;
    }

    .fp-service__body {
        font-size: 15px;
    }

    .fp-service__cards {
        flex-direction: column;
        gap: 20px;
    }

    .fp-service__card-btn {
        width: 100%;
    }

    /* ======================================================
       5. Our Goal
          PC版は CSS Grid + left/margin で絶対配置。
          SP では display:block で縦積みに全面上書き。
    ====================================================== */
    .fp-goal {
        min-width: 0;
    }

    .fp-goal__content {
        display: block;
        min-width: 0;
        padding: 40px 16px 48px;
    }

    .fp-goal__heading {
        position: static;
        left: auto;
        margin: 0 0 24px;
        grid-area: auto;
        width: auto;
        font-size: 48px;
    }

    /* イラスト・画像: SP では非表示 */
    .fp-goal__illust-wrap,
    .fp-goal__image-wrap {
        display: none;
    }

    /* Purpose / Mission ブロック */
    .fp-goal__block {
        position: static;
        left: auto;
        margin: 0 0 24px;
        grid-area: auto;
        width: 100%;
    }

    .fp-goal__block-title {
        position: static;
        left: auto;
        width: auto;
        font-size: 28px;
        margin: 24px 0 0 16px;
    }

    .fp-goal__block-subtitle {
        position: static;
        left: auto;
        width: auto;
        font-size: 18px;
        margin: 0 0 8px 16px;
    }

    .fp-goal__block-body {
        position: static;
        left: auto;
        width: auto;
        font-size: 16px;
        margin: 0 0 24px 16px;
    }

    /* 詳細度の高い修飾クラスを明示的に上書き */
    .fp-goal__block--purpose,
    .fp-goal__block--mission {
        left: auto;
        margin: 0 0 24px;
    }

    .fp-goal__block-title--purpose,
    .fp-goal__block-title--mission {
        left: auto;
        width: auto;
    }

    .fp-goal__block-subtitle--purpose,
    .fp-goal__block-subtitle--mission {
        left: auto;
        width: auto;
    }

    .fp-goal__block-body--purpose,
    .fp-goal__block-body--mission {
        left: auto;
        width: auto;
    }

    /* Read More ボタン */
    .fp-goal__btn-wrap {
        position: static;
        left: auto;
        margin: 0;
        grid-area: auto;
        justify-self: unset;
    }

    .fp-goal__btn {
        width: 100%;
    }

    /* ======================================================
       6. Membership
    ====================================================== */
    .fp-membership {
        min-width: 0;
    }

    .fp-membership__content {
        padding: 40px 16px 48px;
    }

    .fp-membership__intro {
        flex-direction: column;
        gap: 0;
    }

    .fp-membership__intro-visual {
        display: none;
    }

    .fp-membership__heading {
        font-size: 48px;
        margin-bottom: 16px;
    }

    .fp-membership__lead {
        font-size: 18px;
    }

    .fp-membership__body {
        font-size: 15px;
    }

    .fp-membership__btn {
        width: 100%;
    }

    /* ======================================================
       7. About us
    ====================================================== */
    .fp-about__content {
        padding: 40px 16px 48px;
    }

    .fp-about__heading {
        font-size: 40px;
        margin-bottom: 24px;
    }

    .fp-about__intro {
        flex-direction: column;
        gap: 0;
        margin-bottom: 32px;
    }

    .fp-about__intro-visual {
        display: none;
    }

    .fp-about__info-row {
        grid-template-columns: 120px 1fr;
        gap: 6px;
        padding: 10px 0;
    }

    .fp-about__info-row dt {
        font-size: 13px;
    }

    .fp-about__info-row dd {
        font-size: 14px;
    }

    /* メンバーカード: 1列 */
    .fp-about__member-cards {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .fp-about__card-photo-wrap {
        height: 280px;
    }

    /* bottom row: 集合写真 + ミニカード を縦積み */
    .fp-about__bottom-row {
        flex-direction: column;
        gap: 16px;
    }

    .fp-about__group-photo-wrap {
        width: 100%;
        height: 220px;
    }

    .fp-about__mini-card {
        gap: 16px;
    }

    .fp-about__mini-name {
        font-size: 17px;
    }

    .fp-about__btn {
        width: 100%;
    }

    /* ======================================================
       8. Endorse
    ====================================================== */
    .fp-endorse__content {
        flex-direction: column;
        gap: 32px;
        padding: 40px 16px 48px;
    }

    .fp-endorse__left {
        flex: 0 0 auto;
        width: 100%;
    }

    .fp-endorse__heading {
        font-size: 17px;
        line-height: 1.75;
    }

    .fp-endorse__right {
        width: 100%;
    }

    .fp-endorse__logo-wrap {
        padding: 16px 20px;
    }

    /* ======================================================
       Back to Top ボタン
    ====================================================== */
    .fp-back-to-top {
        right: 16px;
        bottom: 16px;
    }

} /* end @media (max-width: 768px) */


/* ==========================================================================
   タブレット対応（769px〜1024px）
   ヘッダーはハンバーガーに統一済み。
   コンテンツは SP レイアウトをベースに余白・フォントを拡張。
   ========================================================================== */

@media (min-width: 769px) and (max-width: 1024px) {

    /* ──────────────────────────────
       共通: min-width を解除
    ────────────────────────────── */
    .fp-hero,
    .fp-slideshow,
    .fp-news,
    .fp-service,
    .fp-goal,
    .fp-membership {
        min-width: 0;
    }

    /* ======================================================
       1. FV（ヒーロー）
          PC の position:relative+left 配置はタブレット幅で
          オーバーフローするため、SP 同様の縦積みに切り替え。
    ====================================================== */
    .fp-hero {
        min-height: 0;
        display: block;
        overflow: hidden;
    }

    .fp-hero__content {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        padding: 48px 48px 72px;
        gap: 0;
        overflow: hidden;
    }

    /* SP 専用 法人名（タブレットでも表示） */
    .fp-hero__sp-org-name {
        display: block;
        order: 1;
        font-size: 18px;
        color: #C0401A;
        font-weight: 400;
        letter-spacing: 0.06em;
        margin: 0 0 16px;
    }

    .fp-hero__heading-wrap {
        order: 2;
        position: static;
        left: auto;
        margin: 0 0 20px;
        grid-area: auto;
        justify-self: center;
        align-self: center;
    }

    .fp-hero__title-text {
        font-size: 38px;
        line-height: 1.3;
    }

    /* DTh 画像を表示（タブレットは少し大きめ） */
    .fp-hero__dth-image-wrap {
        display: block;
        order: 3;
        position: static;
        left: auto;
        width: 55%;
        height: auto;
        margin: 0 auto 20px;
        overflow: visible;
    }

    .fp-hero__dth-image {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .fp-hero__subtitle-wrap {
        order: 4;
        position: static;
        left: auto;
        margin: 0;
        grid-area: auto;
        justify-self: center;
        align-self: center;
    }

    .fp-hero__subtitle {
        font-size: 20px;
    }

    .fp-hero__description {
        display: none;
    }

    /* シェイプ: SP 同様に絶対配置（大きめサイズ） */
    .fp-hero__shape-wrap--pentagon-sm,
    .fp-hero__shape-wrap--pentagon-sm-2,
    .fp-hero__shape-wrap--triangle-lg {
        display: block;
        position: absolute;
        width: auto;
        height: auto;
        margin: 0;
        grid-area: auto;
        overflow: visible;
        pointer-events: none;
    }

    .fp-hero__shape--octagon-1 {
        display: block;
        position: absolute;
        top: 16px;
        left: 12px;
        width: 60px;
        height: 60px;
        margin: 0;
        grid-area: auto;
    }

    .fp-hero__shape-wrap--pentagon-sm-2 {
        top: 12px;
        right: 8px;
        left: auto;
    }

    .fp-hero__shape-wrap--pentagon-sm-2 > .fp-hero__shape--pentagon-sm-2 {
        position: static;
        left: auto;
        top: auto;
        width: 68px;
        height: 64px;
        transform: rotate(18.95deg);
    }

    .fp-hero__shape-wrap--triangle-lg {
        top: 50%;
        right: 0;
        left: auto;
        transform: translateY(-50%);
    }

    .fp-hero__shape-wrap--triangle-lg > .fp-hero__shape--triangle-lg {
        position: static;
        left: auto;
        top: auto;
        width: 80px;
        height: 68px;
        transform: rotate(340.1deg);
    }

    .fp-hero__shape-wrap--pentagon-sm {
        bottom: 8px;
        left: -8px;
        top: auto;
    }

    .fp-hero__shape-wrap--pentagon-sm > .fp-hero__shape--pentagon-sm {
        position: static;
        left: auto;
        top: auto;
        width: 96px;
        height: 91px;
        transform: rotate(18.95deg);
    }

    .fp-hero__shape-wrap--triangle-lg-2,
    .fp-hero__shape--octagon-2,
    .fp-hero__wedge {
        display: none;
    }

    /* ======================================================
       2. スライドショー
    ====================================================== */
    .fp-slideshow__component {
        width: 100%;
    }

    .fp-slideshow__slide-grid {
        padding: 32px 64px;
        gap: 32px;
    }

    .fp-slideshow__slide-image {
        flex: 0 0 280px;
        height: 160px;
    }

    .fp-slideshow__prev-btn {
        left: 12px;
    }

    .fp-slideshow__next-btn {
        right: 12px;
    }

    /* ======================================================
       3. News
    ====================================================== */
    .fp-news__content {
        padding-left: 32px;
        padding-right: 32px;
    }

    .fp-news__list {
        grid-template-columns: 1fr 1fr;
    }

    /* ======================================================
       4. Service
    ====================================================== */
    .fp-service__content {
        padding-left: 32px;
        padding-right: 32px;
    }

    .fp-service__cards {
        flex-wrap: wrap;
        gap: 16px;
    }

    .fp-service__card {
        flex: 0 0 calc(50% - 8px);
    }

    /* ======================================================
       5. Our Goal
          タブレット幅（769〜1024px）でも position:left の
          絶対値が合わないため、SP 同様の縦積みに切り替える。
    ====================================================== */
    .fp-goal__content {
        display: block;
        min-width: 0;
        padding: 48px 32px 56px;
    }

    .fp-goal__heading {
        position: static;
        left: auto;
        margin: 0 0 32px;
        grid-area: auto;
        width: auto;
        font-size: 52px;
    }

    .fp-goal__illust-wrap,
    .fp-goal__image-wrap {
        display: none;
    }

    .fp-goal__block {
        position: static;
        left: auto;
        margin: 0 0 32px;
        grid-area: auto;
        width: 100%;
    }

    .fp-goal__block--purpose,
    .fp-goal__block--mission {
        left: auto;
        margin: 0 0 32px;
    }

    .fp-goal__block-title {
        position: static;
        left: auto;
        width: auto;
        font-size: 30px;
        margin: 24px 0 0 16px;
    }

    .fp-goal__block-title--purpose,
    .fp-goal__block-title--mission {
        left: auto;
        width: auto;
    }

    .fp-goal__block-subtitle {
        position: static;
        left: auto;
        width: auto;
        font-size: 20px;
        margin: 0 0 8px 16px;
    }

    .fp-goal__block-subtitle--purpose,
    .fp-goal__block-subtitle--mission {
        left: auto;
        width: auto;
    }

    .fp-goal__block-body {
        position: static;
        left: auto;
        width: auto;
        font-size: 17px;
        margin: 0 0 28px 16px;
    }

    .fp-goal__block-body--purpose,
    .fp-goal__block-body--mission {
        left: auto;
        width: auto;
    }

    .fp-goal__btn-wrap {
        position: static;
        left: auto;
        margin: 0;
        grid-area: auto;
    }

    .fp-goal__btn {
        width: 240px;
    }

    /* ======================================================
       6. Membership
    ====================================================== */
    .fp-membership__content {
        padding-left: 32px;
        padding-right: 32px;
    }

    /* ======================================================
       7. About us
    ====================================================== */
    .fp-about__content {
        padding-left: 32px;
        padding-right: 32px;
    }

    .fp-about__member-cards {
        flex-wrap: wrap;
        gap: 16px;
    }

    .fp-about__member-card {
        flex: 0 0 calc(50% - 8px);
    }

    /* ======================================================
       8. Endorse
    ====================================================== */
    .fp-endorse__content {
        padding-left: 32px;
        padding-right: 32px;
        gap: 40px;
    }

    .fp-endorse__left {
        flex: 0 0 340px;
    }

}
