@charset "utf-8";


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*lightbox.cssの読み込み
---------------------------------------------------------------------------*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);


/*opa1のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes opa1 {
    0% {opacity: 0;}
    100% {opacity: 1;}
}


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
    0% {left: -200px;}
    100% {left: 0px;}
}



/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html,body {
    height: 100%;
    font-size: 13px;    /*基準となるフォントサイズ。*/
}

    /*画面幅900px以上の追加指定*/
    @media screen and (min-width:900px) {

    html, body {
        font-size: 14px;    /*基準となるフォントサイズ。*/
    }

    }/*追加指定ここまで*/

body {
    font-family: "M PLUS 1", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; /*フォント種類*/
    font-weight: 300;
    font-optical-sizing: auto;
    letter-spacing: 0.1rem;
    text-indent: 0.1rem;
    -webkit-text-size-adjust: none;
    margin: 0;padding: 0;
    line-height: 2.5;       /*行間*/
    background: #3d3663;        /*背景色*/
    color: #fff;            /*文字色*/
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li {margin: 0;padding: 0;}
nav ul {list-style: none;}
h1,h2,h3,h4 {font-weight: 400;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}
strong {font-weight: 500;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
    color: #fff;    /*文字色*/
    transition: 0.3s;   /*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
    text-decoration: none;
}


/*header（ロゴとメニューが入ったブロック）
---------------------------------------------------------------------------*/
header {
    width: 250px;       /*幅*/
    padding: 0 2vw;     /*ヘッダー内の余白。上下、左右への順番。*/
    margin-top: 5vw;    /*ヘッダーの上に空けるスペース*/
    text-align: center; /*テキストをセンタリング*/
}

/*ロゴ*/
header #logo img {display: block;}
header #logo {
    margin: 0;
    background: linear-gradient(30deg, #9efaad, #2b548a, #d22caf);/*グラデーション。30degは角度。*/
    padding: 2rem;      /*ロゴ内の余白*/
    border-radius: 5px; /*角を丸くする指定*/
}

/*ロゴ下の小文字*/
header #logo span {
    display: block;
    font-size: 0.7rem;  /*文字サイズを70%に*/
}

    /*画面幅900px以上の追加指定*/
    @media screen and (min-width:900px) {

    header {
        position: fixed;    /*スクロールしても動かないようにする設定*/
        left: 0px;
        top: 0px;
    }

    }/*追加指定ここまで*/

    /*画面の高さが500px以下の追加指定*/
    @media screen and (max-height:500px) {

    header {
        position: absolute; /*メニューが切れて見えなくならないように、fixedを中止する*/
    }

    }/*追加指定ここまで*/


/*mainブロック（右側のsectionを囲むブロック）
---------------------------------------------------------------------------*/

    /*画面幅900px以上の追加指定*/
    @media screen and (min-width:900px) {

    main {
        margin-left: 250px; /*headerのwidthに合わせる*/
    }

    }/*追加指定ここまで*/


/*main内のh2*/
main h2 {
    font-size: 2.5rem;  /*文字サイズを2.5倍*/
}

/*main内のh3*/
main h3 {
    font-size: 1.5rem;  /*文字サイズを1.5倍*/
}



/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {display: none;}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}


/*メニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#menubar ul {
    margin: 3rem 0; /*メニューブロックの外側に空けるスペース*/
}

/*メニュー一個あたり*/
#menubar nav a {
    text-decoration: none;display: block;
    background: rgba(0,0,0,0.5);    /*背景色。0,0,0は黒のことで0.5は色が50%出た状態。*/
    border: 1px solid rgba(255,255,255,0.3);    /*枠線の幅、線種、色。255,255,255は白のことで0.3は色が30%出た状態。*/
    color: #fff;        /*文字色*/
    padding: 0.5rem;    /*余白*/
    margin: 0.5rem 0;   /*メニューの外側に空けるスペース。上下、左右。*/
    border-radius: 5px; /*角を丸くする指定*/
}

/*マウスオン次*/
#menubar nav a:hover {
    background: rgba(0,0,0,0.9);    /*背景色。透明度を変更して濃くします。*/
    border: 1px solid rgba(255,255,255,0.9);    /*枠線。透明度を変更して濃くします。*/
}

/*900px以下画面でのメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
.small-screen #menubar.display-block {
    position: fixed;overflow: auto;z-index: 100;
    left: 0px;top: 0px;
    width: 100%;
    height: 100%;
    padding-top: 80px;
    background: rgba(0,0,0,0.8);        /*背景色*/
    animation: animation1 0.2s both;    /*animation1を実行する。0.2sは0.2秒の事。*/
}
.small-screen #menubar ul {
    margin: 3rem;   /*メニューブロックの外側に空けるスペース*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
    animation: opa1 0s 0.2s both;
    position: fixed;z-index: 101;
    cursor: pointer;
    right: 30px;            /*右からの配置場所指定*/
    top: 30px;              /*上からの配置場所指定*/
    padding: 16px 14px;     /*上下、左右への余白*/
    width: 46px;            /*幅（３本バーが出ている場合の幅になります）*/
    height: 46px;           /*高さ*/
    display: flex;                  /*flexボックスを使う指定*/
    flex-direction: column;         /*子要素（３本バー）部分。flexはデフォルトで横並びになるので、それを縦並びに変更。*/
    justify-content: space-between; /*並びかたの種類の指定*/
    background: #d30c44;    /*背景色*/
}

/*バー１本あたりの設定*/
#menubar_hdr span {
    display: block;
    transition: 0.3s;   /*アニメーションにかける時間。0.3秒。*/
    border-top: 1.5px solid #fff;   /*線の幅、線種、色*/
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
    transform-origin: center center;    /*変形の起点。センターに。*/
    width: 20px;                        /*バーの幅*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
    transform: rotate(45deg) translate(3.8px, 5px); /*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
    transform: rotate(-45deg) translate(3.8px, -5px);   /*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
    display: none;  /*２本目は使わないので非表示にする*/
}


/*メニュー内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
ul.icons {
    list-style: none;
    margin: 0;padding: 0;
    display: flex;
    justify-content: center;
}
ul.icons li {
    margin-right: 10px; /*アイコン同士の余白*/
}
ul.icons i {
    font-size: 20px;    /*Font Awesomeのアイコンサイズ*/
}


/*section
---------------------------------------------------------------------------*/
/*フェード設定*/
.section::before {
    opacity: 0; /* 初期状態では非表示 */
    transition: opacity 1s; /* 1秒かけてフェードイン/フェードアウト */
}
.section.active::before {
    opacity: 1; /* フェードイン状態 */
}
.section.inactive::before {
    opacity: 0; /* フェードアウト状態 */
}

/*section要素*/
section {
    padding: 2vw 5vw;   /*ボックス内の余白。上下、左右への順番。*/
}

/*４つのsectionブロックの共通設定*/
#section1,#section2,#section3,#section4 {
    min-height: calc(100dvh - 50px);    /*最低の高さ。100dvhは画面の高さ100%のこと。50pxは下のmarginの値。*/
    margin-bottom: 50px;    /*ボックスの下に空けるスペース*/
    padding: 5vw;           /*ボックス内の余白*/
}
    /*画面幅900px以上の追加指定*/
    @media screen and (min-width:900px) {

    #section1,#section2,#section3,#section4 {
        border-radius: 3vw 0 0 3vw; /*角丸の指定。左上、右上、右下、左下への順番。*/
    }

    }/*追加指定ここまで*/


/*背景画像を置く為の設定*/
#section1::before,#section2::before,#section3::before,#section4::before {
    content: '';
    position: fixed;z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*section1の設定*/
#section1 {
    color: #fff;    /*文字色*/
}
#section1::before {
    background: url('../images/section1.jpg') no-repeat center center / cover;  /*背景画像の読み込み*/
}

/*section2の設定*/
#section2 {
    background-color: rgba(57,108,103,0.7); /*背景色。３つ目までの数字はrgbでの色指定。最後の小数点は透明度。*/
    color: #fff;    /*文字色*/
}
#section2::before {
    background: url('../images/section2.jpg') no-repeat center center / cover;  /*背景画像の読み込み*/
}

/*section3の設定*/
#section3 {
    background-color: rgba(16,40,74,0.7);   /*背景色。３つ目までの数字はrgbでの色指定。最後の小数点は透明度。*/
    color: #fff;    /*文字色*/
}
#section3::before {
    background: url('../images/section3.jpg') no-repeat center center / cover;  /*背景画像の読み込み*/
}

/*section4の設定*/
#section4 {
    color: #fff;    /*文字色*/
}
#section4::before {
    background: #3b2434;    /*section4だけは背景画像ではなく、単に背景色だけ指定しました。*/
}

/*背景色を入れない場合（画像だけを表示したい場合）*/
.no-bgcolor {background-color: transparent !important;}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
    font-size: 0.8rem;
    text-align: center;     /*内容をセンタリング*/
    padding-bottom: 1rem;
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*記事の下に空ける余白*/
.new dd {
    padding-bottom: 1rem;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
    display: inline-block;
    text-align: center;
    line-height: 1.8;       /*行間（アイコンの高さ）*/
    border-radius: 3px;     /*角を丸くする指定*/
    padding: 0 0.5rem;      /*上下、左右へのブロック内の余白*/
    width: 6rem;            /*幅。６文字分。*/
    transform: scale(0.8);  /*80%のサイズに縮小*/
    background: rgba(255,255,255,0.8);      /*背景色*/
    color: #333;            /*文字色*/
}

    /*画面幅700px以上の追加指定*/
    @media screen and (min-width:700px) {

    /*ブロック全体*/
    .new {
        display: grid;  /*gridを使う指定*/
        grid-template-columns: auto 1fr;    /*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
    }

    }/*追加指定ここまで*/


/*list-grid（gallery.htmlでサムネイルを表示している部分の設定です）
---------------------------------------------------------------------------*/
/*listブロックを囲む外側のボックス*/
.list-grid-trimming {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
    gap: 1rem;  /*マージン的な数値。サムネイル間を１文字分あけます。*/
}

/*ボックスを正方形にトリミングする為の指定なので変更しない。*/
.list-grid-trimming .list {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-top: 100%;
}
.list-grid-trimming .list a {
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

/* 【最適化完全版】画像と動画のサイズ・絶対配置をCSS側から強力に固定 */
.list-grid-trimming .list img,
.list-grid-trimming .list video {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: 0.5s !important;
}

/* 【最適化完全版】aタグへのホバー時、中のimgとvideoの双方に対して同時にエフェクトを発動 */
.list-grid-trimming .list img:hover,
.list-grid-trimming .list a:hover video {
    transform: scale(1.1) !important;
    filter: contrast(1.3) !important;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
    display: block;text-decoration: none;text-align: center;z-index: 99;
    animation: opa1 0.2s 0.2s both; /*一瞬ボタンが出ちゃうのを隠す為の応急措置*/
    position: fixed;    /*スクロールに追従しない(固定で表示)為の設定*/
    right: 20px;        /*右からの配置場所指定*/
    bottom: 20px;       /*下からの配置場所指定*/
    color: #fff;        /*文字色*/
    font-size: 1.5rem;  /*文字サイズ*/
    background: rgba(0,0,0,0.2);    /*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
    width: 60px;        /*幅*/
    line-height: 60px;  /*高さ*/
    border-radius: 50%; /*円形にする*/
}

/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #000;border: 1px solid #fff;border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.color-check, .color-check a {color: #ffcf0d;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

    /*画面幅900px以上の追加指定*/
    @media screen and (min-width:900px) {

        .ws {width: 48%;display: inline;}
        .sh {display: none;}
        .pc {display: block;}

    }/*画面幅900px以上の追加指定ここまで*/

/* ===========================================================================
   AIコミュニティセクション専用追加CSS
=========================================================================== */

/* 大見出し：太さと存在感を出しつつスマートに */
.ai-main-title {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    color: #9efaad; /* ロゴのグラデーションに合わせた爽やかなグリーン */
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* キャッチコピー：少し遊び心と引き締めを */
.ai-catchphrase {
    font-size: 1.6rem;
    font-weight: 500;
    color: #ffcf0d; /* テンプレート内のアクセントカラー黄色を使用 */
    margin-bottom: 2.5rem;
    border-left: 4px solid #ffcf0d;
    padding-left: 15px;
    line-height: 1.2;
}

/* 提案文を囲むボックス：背景を少し暗くして文字の視認性をアップ */
.ai-proposal-box {
    background: rgba(0, 0, 0, 0.4);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    max-width: 700px;
}

/* 提案文のテキスト：読みやすく、ワクワク感を伝える行間 */
.ai-proposal-text {
    font-size: 1.2rem;
    line-height: 2.0;
    margin: 0;
    font-weight: 400;
}

/* 画面幅900px以下（スマホ等）での微調整 */
@media screen and (max-width:900px) {
    .ai-main-title {
        font-size: 2rem !important;
    }
    .ai-catchphrase {
        font-size: 1.3rem;
    }
    .ai-proposal-box {
        padding: 1.5rem;
    }
    .ai-proposal-text {
        font-size: 1.1rem;
    }
}

/* ===========================================================================
   AI疑問提起＆音声オペレーター誘導セクション専用追加CSS
=========================================================================== */

/* 問いかけの大見出し */
.ai-question-title {
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* 課題提起のインサイトボックス */
.ai-insight-box {
    background: rgba(211, 12, 68, 0.15); /* テンプレートの赤をベースにした警告色の透過 */
    border-left: 5px solid #d30c44;
    padding: 2rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 3rem;
    max-width: 750px;
}
.ai-insight-box strong {
    color: #ffcf0d;
    font-size: 1.15rem;
}
.ai-highlight-text {
    font-size: 1.3rem;
    color: #9efaad;
    margin-top: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
}

/* アクションエリア全体の囲み */
.ai-action-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 750px;
}
.ai-action-box h3 {
    color: #9efaad;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* 問いかけ例のビジュアル化 */
.ai-example-phrase {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
}
.phrase-label {
    font-size: 0.85rem;
    color: #ccc;
    display: block;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.phrase-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffcf0d;
    margin: 0;
    padding-left: 0.5rem;
}

/* AI音声オペレーター通話ボタン */
.ai-call-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d30c44 0%, #a00630 100%);
    color: #fff !important;
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(211, 12, 68, 0.4);
    transition: all 0.3s ease;
}
.ai-call-btn i {
    margin-right: 10px;
    animation: pulse 2s infinite; /* アイコンを軽く揺らす */
}
.ai-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 12, 68, 0.6);
    background: linear-gradient(135deg, #e6104e 0%, #b50838 100%);
}

/* 説得力を補強する注記テキスト */
.ai-proof-text {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.8;
    margin: 0;
}

/* ボタンアイコンの微弱なアニメーション */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 画面幅900px以下（スマホ等）での微調整 */
@media screen and (max-width:900px) {
    .ai-question-title {
        font-size: 1.8rem !important;
    }
    .ai-highlight-text {
        font-size: 1.1rem;
    }
    .ai-action-box {
        padding: 2rem 1.5rem;
    }
    .phrase-text {
        font-size: 1.1rem;
    }
    .ai-call-btn {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        width: 100%; /* スマホ時は押しやすいように100%幅に */
    }
}

/* 既存のコードの最末尾に追加してください */

/* ===========================================================================
   招待コードセクション専用追加CSS
=========================================================================== */
.invitation-section {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-width: 750px;
    margin: 2.5rem 0;
}

.invitation-section h3 {
    color: #ffcf0d !important;
    font-size: 1.6rem !important;
    font-weight: 600;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
    letter-spacing: 0.15rem;
}

/* 招待コードのグリッド配置（レスポンシブ対応） */
.code-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 3rem;
}

/* 各招待コードのボタンスタイル */
.code-grid .code {
    display: block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    text-align: center;
    padding: 0.8rem 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
}

.code-grid .code:hover {
    background: #9efaad;
    color: #333 !important;
    border-color: #9efaad;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(158, 250, 173, 0.3);
}

/* CTA（登録誘導）エリア */
.cta-container {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2b548a 0%, #1a355b 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(43, 84, 138, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 84, 138, 0.6);
    background: linear-gradient(135deg, #376ab0 0%, #204170 100%);
}

/* 画面幅900px以下（タブレット・スマホ等）での調整 */
@media screen and (max-width:900px) {
    .invitation-section {
        padding: 2rem 1.5rem;
    }
    .code-grid {
        grid-template-columns: repeat(2, 1fr); /* スマホ時は横2列に */
        gap: 10px;
    }
    .code-grid .code {
        font-size: 1.1rem;
        padding: 0.6rem 0;
    }
    .cta-button {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%; /* スマホ時はボタンを押しやすく幅いっぱいに */
    }
}

/* 前回の追加分も含め、既存のstyle.cssの一番最後に追記してください */

/* ===========================================================================
   招待コードセクション専用追加CSS
=========================================================================== */
.invitation-section {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-width: 750px;
    margin: 2.5rem 0;
}

.invitation-section h3 {
    color: #ffcf0d !important;
    font-size: 1.6rem !important;
    font-weight: 600;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
    letter-spacing: 0.15rem;
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 3rem;
}

.code-grid .code {
    display: block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    text-align: center;
    padding: 0.8rem 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
}

.code-grid .code:hover {
    background: #9efaad;
    color: #333 !important;
    border-color: #9efaad;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(158, 250, 173, 0.3);
}

.cta-container {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2b548a 0%, #1a355b 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(43, 84, 138, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 84, 138, 0.6);
    background: linear-gradient(135deg, #376ab0 0%, #204170 100%);
}

/* ===========================================================================
   【新設】最末尾 本体リンク用 特大目立つボタンスタイル
=========================================================================== */
.final-link-container {
    text-align: center;
    margin: 4rem auto 2rem auto;
    max-width: 750px;
}

.final-main-btn {
    display: block;
    width: 100%;
    /* ロゴのグラデーションに合わせた鮮やかな配色 */
    background: linear-gradient(45deg, #2b548a, #d22caf);
    color: #fff !important;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    padding: 1.8rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(210, 44, 175, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.2rem;
    position: relative;
    overflow: hidden;
}

.final-main-btn i {
    margin-right: 15px;
}

/* マウスオン時に輝きを引き立て浮かび上がらせる演出 */
.final-main-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(210, 44, 175, 0.6);
    background: linear-gradient(45deg, #3a6cb0, #e63bc3);
}

/* 画面幅900px以下（スマホ等）でのレスポンシブ微調整 */
@media screen and (max-width:900px) {
    .invitation-section {
        padding: 2rem 1.5rem;
    }
    .code-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .code-grid .code {
        font-size: 1.1rem;
        padding: 0.6rem 0;
    }
    .cta-button {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
    }
    /* スマホ時の本体リンクボタンサイズ微調整 */
    .final-main-btn {
        font-size: 1.4rem;
        padding: 1.4rem 1.5rem;
    }
}