@charset "utf-8";
/* CSS Document */

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

:root {
    --base-fm-green: #00a33e;
    --base-fm-blue: #0095d9;
    --base-sub: #fff;
    --text-main: #313131;
    --text-dark-blue: #0171a6;
    --text-light-blue: #0095d9;
    --dark-green: #01873f;
    --light-blue: #f2f9fd;
    --light-green: #edf5ed;
}

/*===============================================
●共通
=================================================*/

/* ================ common ================ */

#fm45th_2026 * {
    min-height: 0vw;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

#fm45th_2026 :is(h1, h2, h3, h4, h5, p, figure) {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}

#fm45th_2026 :is(ul, ol, li, dl, dt, dd) {
    list-style: none;
    padding: 0;
}

#fm45th_2026 :is(a:link, a:visited, a:hover, a:active, a:focus) {
    text-decoration: none;
}

#fm45th_2026 img {
    max-width: 100%;
    width: auto;
    display: block;
    height: auto;
}

/* ========================== text関連 ======================== */

#fm45th_2026 .try-area .kome,
#fm45th_2026 .cpn .cpn-area .kome,
#fm45th_2026 .item-area .c-txt ul .kome {
    font-size: clamp(0.8rem, 0.85vw, 0.88rem);
    text-align: left;
    line-height: 1.6;
    display: block;
}

#fm45th_2026 .try-area .kome::before,
#fm45th_2026 .cpn .cpn-area .c-txt .kome::before,
#fm45th_2026 .item-area .c-txt ul .kome::before {
    content: '\203b';
}

#fm45th_2026 .ttl_h2 {
    text-align: center;
    font-size: clamp(1.1rem, 1.8vw, 1.8rem);
    position: relative;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, .2));
    margin-bottom: 4rem;
}

#fm45th_2026 .try-area .ttl_h2 {
    margin-bottom: 1rem;
}

#fm45th_2026 .try-area hgroup {
    margin-bottom: 4rem;
}

#fm45th_2026 .try-area p.kome {
    text-align: center;
}

#fm45th_2026 .try-area .c-txt ul {
    margin-top: .5rem;
}

#fm45th_2026 .try-area .kome {
    color: var(--text-main);
}

#fm45th_2026 .ttl_h3 {
    text-align: center;
    font-weight: 700;
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    color: var(--text-main);
    font-weight: 800;
}

#fm45th_2026 .ttl_h3 span {
    display: block;
}

#fm45th_2026 .c-txt div .fc-list {
    font-size: clamp(0.8rem, 0.85vw, 0.88rem);
    display: block;
    width: 100%;
    text-align: left;
}

#fm45th_2026 .item-area .area {
    text-align: left;
    font-size: clamp(0.8rem, 0.85vw, 0.9rem);
    margin: 1.5rem 0 0.5rem;
    position: relative;
}

/*====================== main-area =======================*/

div#contents {
    background: url(../images/bg.webp)repeat;
    width: 100%;
    min-height: 100%;
    background-size: 10%;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

#fm45th_2026 {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    min-height: 100%;
    position: relative;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 0 !important;
    isolation: isolate;
}

#fm45th_2026 section {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    position: relative;
    /* overflow: hidden; */
}

#fm45th_2026 main {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 0 0 2rem;
    position: relative;
    z-index: 0;
}

/* ==============================================
● ローディング & 新KVエリア (完全版)
============================================== */

/* ローディング画面（白背景で全体を覆う） */

#fm45th_2026 #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;
    background: #f4f4f4;
    z-index: 9999;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#fm45th_2026 .year {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -280px);
    font-family: 'Arial Black', sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(3rem, 10vw, 6rem);
    color: var(--base-fm-green);
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    padding-right: 0.15em;
}

#fm45th_2026 .emo img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(280px, 45vw, 500px);
    height: auto;
    border: 10px solid var(--base-sub);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background-color: var(--base-sub);
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

#fm45th_2026 #kv {
    position: relative !important;
    width: 100% !important;
    height: clamp(600px, 80vh, 950px) !important;
    background: var(--base-sub);
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    pointer-events: none !important;
}

#fm45th_2026 #kv .stickers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    margin-top: -25px !important;
    pointer-events: none;
}

#fm45th_2026 #kv .stickers img {
    position: absolute;
    width: clamp(140px, 15vw, 330px);
    will-change: transform, opacity;
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.12));
}

#fm45th_2026 #kv .logo-wrap {
    position: relative !important;
    z-index: 100 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 2vh, 60px);
    pointer-events: none;
}

#fm45th_2026 #kv .logo {
    opacity: 0;
    will-change: transform, filter;
}

#fm45th_2026 #kv .logo-main {
    width: clamp(220px, 25vw, 550px);
}

#fm45th_2026 #kv .logo-sub {
    width: clamp(280px, 28vw, 700px);
}

/* スクロール誘導のスタイル */

#fm45th_2026 .scroll-down {
    position: absolute;
    bottom: -.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 150;
    text-align: center;
    font-weight: 800;
    opacity: 0;
    pointer-events: auto !important;
}

#fm45th_2026 .scroll-down p {
    font-family: "LINE Seed JP", sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-dark-blue);
    margin-bottom: 8px;
}

#fm45th_2026 .scroll-down span {
    display: block;
    width: 2px;
    height: 40px;
    background: rgba(0, 149, 217, 0.2);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* 縦に流れるラインのアニメーション */

#fm45th_2026 .scroll-down span::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-dark-blue);
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ==============================================
● ローディング スキップボタン
============================================== */

#fm45th_2026 .skip-btn {
    position: absolute;
    bottom: 8vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid var(--base-fm-green);
    color: var(--base-fm-green);
    font-family: "LINE Seed JP", sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 900;
    padding: 0.8em 1.5em;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    gap: 0.5em;
}

#fm45th_2026 .skip-btn::after {
    content: "\e903";
    font-family: "icn_font";
    font-weight: normal;
    font-size: 1.2em;
    line-height: 1;
}

#fm45th_2026 .skip-btn:hover {
    background: var(--base-fm-green);
    color: var(--base-sub);
}

/* ==============================================
●ステートメントエリア（青いテキスト） 
============================================== */

#fm45th_2026 .statement-section {
    width: 100%;
    padding: 5rem 2rem;
}

#fm45th_2026 .statement-inner {
    width: min(100%, 1000px);
    margin: 0 auto;
    text-align: center;
}

/* タイトル・本文共通のスタイル（青文字） */

#fm45th_2026 .statement-title,
#fm45th_2026 .statement-body p,
#fm45th_2026 .statement-footer {
    color: var(--text-light-blue);
    font-weight: 700;
    line-height: 2;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
}

#fm45th_2026 .statement-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin-bottom: 2rem;
}

#fm45th_2026 .statement-body p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 2.5rem;
}

#fm45th_2026 .statement-footer {
    font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
    margin-top: 3rem;
    margin-bottom: 0 !important;
}

/* ==============================================
●h2 
============================================== */

#fm45th_2026 .ttl_h2 span {
    display: inline-block;
    position: relative;
    padding: 0.6em 1.4em;
    color: var(--base-sub);
    z-index: 1;
    background-color: var(--base-sub);
    clip-path: polygon(7% 0%, 100% 0%, 93% 100%, 0% 100%);
    filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.1));
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
}

#fm45th_2026 .ttl_h2 span::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 8px;
    right: 8px;
    bottom: 5px;
    z-index: -1;
    background-color: var(--dark-green);
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.4"/%3E%3C/svg%3E');
    /* background-blend-mode: overlay; */
    clip-path: inherit;
}

/*================= ちぎれ ===================*/

#fm45th_2026 .torn-paper {
    position: relative;
    z-index: 200 !important;
}

#fm45th_2026 .torn-paper::before {
    content: "";
    position: absolute;
    top: -26px;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 5;
    background-image: url(../images/bg_torn_top.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* ==============================================
●new-topics
============================================== */

#fm45th_2026 .new-topics {
    width: min(100%, 1150px);
    margin: 0 auto;
}

#fm45th_2026 .new-topics p {
    text-align: left;
}

/* ==============================================
●news
============================================== */

#fm45th_2026 .news-area {
    background: var(--base-sub);
    padding: 5rem 2rem;
}

#fm45th_2026 .news {
    width: min(100%, 900px);
    margin: 0 auto;
}

#fm45th_2026 .news ul {
    display: grid;
    grid-template-columns: 1fr;
}

#fm45th_2026 .news ul a {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
}

#fm45th_2026 .news .ly-ttl-area {
    width: 100%;
}

#fm45th_2026 .news .ly-txt-date {
    text-align: left;
}

#fm45th_2026 .news .ly-txt-tit {
    text-align: left;
    padding-top: 1rem;
}

#fm45th_2026 .news .thumb {
    width: 100px;
    height: 100px;
    border: #ccc 1px solid;
    margin: 0;
    float: none;
}

/* ==============================================
●torikumi
============================================== */

#fm45th_2026 .torikumi-area {
    background: linear-gradient(90deg, rgba(0, 163, 62, .3)50%, rgba(0, 140, 214, .3)50%);
    padding: 5rem 2rem;
}

#fm45th_2026 :is(.torikumi-wrap,
.try-wrap,
.history-wrap) {
    width: min(100%, 1150px);
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

#fm45th_2026 .torikumi-wrap ol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
}

#fm45th_2026 .torikumi-wrap ol .torikumi-item {
    background-color: rgba(255, 255, 255, .7);
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.8"/%3E%3C/svg%3E');
    background-blend-mode: overlay;
    clip-path: inherit;
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    align-items: center;
    padding: 0 1rem .8rem 0;
    position: relative;
    will-change: transform;
}

#fm45th_2026 .torikumi-wrap ol .torikumi-item::before {
    position: absolute;
    inset: -10px 6px 6px -10px;
    border: 5px solid var(--base-fm-green);
    content: '';
    pointer-events: none;
}

#fm45th_2026 .torikumi-wrap ol .torikumi-item:nth-child(even)::before {
    border: 5px solid var(--base-fm-blue);
}

#fm45th_2026 .torikumi-area .stk {
    padding: .5rem;
}

#fm45th_2026 .torikumi-area .ttl_h3 {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    font-weight: 800;
}

/* ==============================================
● チャレンジ一覧：フィルターボタン（新規追加）
============================================== */

#fm45th_2026 .filter-scroll-guide {
    display: none;
    /* PCでは完全に非表示 */
}

#fm45th_2026 .filter-buttons {
    max-width: 1160px;
    margin: 0 auto 3.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

#fm45th_2026 .filter-buttons button {
    background: var(--base-sub);
    color: var(--text-dark-blue);
    border: 2px solid var(--text-dark-blue);
    padding: 0.5rem 1rem;
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: clamp(0.85rem, 1vw, 1rem);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

#fm45th_2026 .filter-buttons button:hover,
#fm45th_2026 .filter-buttons button.active {
    background: var(--text-dark-blue);
    color: var(--base-sub);
    box-shadow: 0 4px 12px rgba(1, 113, 166, 0.3);
}

/* ==============================================
●try
============================================== */

#fm45th_2026 .try-area .try-icon ul li.ico-new {
    background: #ff2a2a;
    /* 目立つ赤系（ファミマのトーンに合わせて適宜変更してください） */
    color: var(--base-sub);
    display: flex;
    justify-content: center;
    align-items: center;
}

#fm45th_2026 .try-area {
    background: linear-gradient(90deg, rgba(255, 255, 255, .9)50%, rgba(255, 255, 255, .9)50%), url(../images/bg1_pc.webp)no-repeat;
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    min-height: 100%;
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
}

#fm45th_2026 .try-area ol {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
}

#fm45th_2026 .try-area .try-inner {
    width: 100%;
    height: 100%;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

#fm45th_2026 .try-area .try-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--base-fm-green);
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.1"/%3E%3C/svg%3E');
    /* background-blend-mode: overlay; */
    clip-path: inherit;
    z-index: -1;
    transform: skewY(1.5deg);
    border-radius: 6px;
}

#fm45th_2026 .try-area .try-item img {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

#fm45th_2026 .try-area .try-item {
    counter-increment: try-num;
    will-change: transform;
}

#fm45th_2026 .try-area .try-item::after {
    content: attr(data-num);
    position: absolute;
    top: 0.3rem;
    left: 1rem;
    background: var(--base-sub);
    color: var(--text-dark-blue);
    width: 26px;
    height: 26px;
    padding: 1rem;
    border-radius: 30%;
    font-size: clamp(1.2rem, 2.5vw, 2.3rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-family: "LINE Seed JP", sans-serif;
}

#fm45th_2026 .try-area .try-icon {
    margin: .5rem;
    position: relative;
    top: -1rem;
    left: 0;
}

#fm45th_2026 .try-area .try-icon ul {
    display: flex;
    gap: .5rem;
    justify-content: flex-start;
    margin-left: 3.5rem;
}

#fm45th_2026 .try-area .try-icon li:empty {
    display: none;
}

#fm45th_2026 .try-area .try-icon ul li {
    background: var(--base-sub);
    color: var(--text-dark-blue);
    padding: .2rem .4rem;
    font-size: clamp(0.65rem, 0.85vw, 0.9rem);
    font-family: "Mochiy Pop P One", sans-serif;
    border-radius: 7px;
    white-space: nowrap;
}

#fm45th_2026 .try-area .c-txt {
    text-align: left;
    margin-top: 1rem;
    background: var(--light-blue);
    border-radius: .5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}

#fm45th_2026 .try-area .try-name {
    text-align: left;
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.5;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
    color: var(--text-main);
}

#fm45th_2026 .try-area .try-name span {
    display: block;
    margin-top: .3rem;
    font-size: clamp(.8rem, .85vw, .9rem);
    font-weight: 400;
}

#fm45th_2026 .try-area .try-txt {
    font-size: clamp(.9rem, 1.1vw, 1.05rem);
    text-align: left;
    line-height: 1.6;
    font-weight: 500;
}

#fm45th_2026 .try-item .pic {
    overflow: hidden;
}

#fm45th_2026 .try-item .arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0 1.2rem;
    z-index: 10;
    display: flex;
    align-items: center;
}

#fm45th_2026 .try-item .arrow span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--base-sub);
    font-family: "LINE Seed JP", sans-serif;
    margin: 0 2rem 0 auto;
    padding: 0.4rem .5rem;
}

/* 矢印アイコン本体の共通スタイル */

#fm45th_2026 .try-item .fa-arrow-right {
    width: 19px;
    height: 19px;
    position: absolute;
    top: 21%;
    right: 15%;
    overflow: hidden;
    color: var(--text-dark-blue);
}

#fm45th_2026 .try-item .fa-arrow-right::before,
#fm45th_2026 .try-item .fa-arrow-right::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--text-dark-blue);
    background-color: var(--base-sub);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .9rem;
}

#fm45th_2026 .try-item .fa-arrow-right::before {
    transform: translate(-50%, -50%);
}

#fm45th_2026 .try-item .fa-arrow-right::after {
    transform: translate(-300%, -50%);
}

/* ==============================================
● チャレンジ一覧：キャンペーン導線ボタン
============================================== */

#fm45th_2026 .try-btn-wrap {
    margin-top: 4rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

#fm45th_2026 .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* スキップボタンと同じ配色・装飾 */
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--base-fm-green);
    color: var(--base-fm-green) !important;
    font-family: "LINE Seed JP", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 900;
    padding: 0.8em 2.5em;
    /* 文字量に合わせて少し横幅を広めに */
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    gap: 0.5em;
}

/* スキップボタンと同じ矢印アイコン */

#fm45th_2026 .btn-primary::after {
    content: "\e903";
    font-family: "icn_font";
    font-weight: normal;
    font-size: 1.2em;
    line-height: 1;
}

/* ==============================================
●history
============================================== */

#fm45th_2026 .history-area {
    padding: 5rem 2rem 2rem;
}

#fm45th_2026 .history-area .history-wrap {
    background: linear-gradient(0deg, rgba(0, 140, 214, .8)50%, rgba(0, 163, 62, .8)50%), url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.6"/%3E%3C/svg%3E');
    clip-path: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    width: min(100%, 800px);
    position: relative;
    z-index: 0;
}

#fm45th_2026 .history-wrap .pic {
    position: relative;
    overflow: hidden;
}

#fm45th_2026 .history-wrap .pic img {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

#fm45th_2026 .history-wrap .hist-inner a {
    display: block;
    width: 100%;
    border: 15px solid var(--base-sub);
    background: var(--base-sub);
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.2"/%3E%3C/svg%3E');
    background-blend-mode: overlay;
    clip-path: inherit;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, .3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

#fm45th_2026 .history-wrap .hist-txt {
    margin: 1rem 0 0;
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--base-sub);
    text-shadow: 3px 3px 3px var(--dark-green), -3px -3px 3px var(--dark-green), -3px 3px 3px var(--dark-green), 3px -3px 3px var(--dark-green), 3px 0px 3px var(--dark-green), -3px 0px 3px var(--dark-green), 0px 3px 3px var(--dark-green), 0px -3px 3px var(--dark-green);
    font-style: italic;
    line-height: 1.5;
    position: relative;
}

#fm45th_2026 .history-wrap .hist-txt::after {
    content: "";
    width: 16px;
    height: 20px;
    clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
    background: var(--dark-green);
    position: absolute;
    top: calc(50% - -.3rem);
    right: calc(50% - 6rem);
}

#fm45th_2026 .btn {
    width: min(100%, 1000px);
    margin: 0 auto;
}

/* ======= AEM ======= */

.ly-contents-area {
    padding: 10px 0 0;
}

/*===============================================
●pc.css 画面の横幅が737px以上
===============================================*/

@media screen and (min-width: 737px) {
    /*===== common ======*/
    #fm45th_2026 .pc-none {
        display: none;
    }
    #fm45th_2026 .try-item a:hover .pic img {
        transform: scale(1.03);
    }
    #fm45th_2026 .history-wrap .hist-inner a:hover .pic img {
        transform: scale(1.03);
    }
    #fm45th_2026 .news li a:hover {
        text-decoration: underline;
    }
    #fm45th_2026 .btn-primary:hover {
        background: var(--base-fm-green);
        color: var(--base-sub) !important;
    }
    #fm45th_2026 .try-item a:hover .fa-arrow-right::before {
        transform: translate(100%, -50%);
        transition: transform 0.3s ease-in-out;
    }
    #fm45th_2026 .try-item a:hover .fa-arrow-right::after {
        transform: translate(-50%, -50%);
        transition: transform 0.3s ease-in-out;
    }
    #fm45th_2026 .try-item a:hover .fa-arrow-right::before,
    #fm45th_2026 .try-item a:hover .fa-arrow-right::after {
        background-color: var(--base-sub);
        color: inherit;
        transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    }
}

/*===============================================
●sp.css  画面の横幅が736pxまで
===============================================*/

@media screen and (max-width: 736px) {
    #fm45th_2026 .sp-none {
        display: none;
    }
    #fm45th_2026 {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        overflow: hidden;
    }
    #fm45th_2026 #loader {
        height: 100dvh !important;
    }
    #fm45th_2026 #kv {
        height: 100dvh !important;
        min-height: 600px !important;
    }
    #fm45th_2026 .imgbox {
        background: none;
    }
    #fm45th_2026 #kv .logo-wrap {
        gap: 15px !important;
    }
    /* mv.png */
    #fm45th_2026 #kv .logo-main {
        width: 78vw !important;
        max-width: 500px;
    }
    #fm45th_2026 #kv .logo-sub {
        width: 73vw !important;
        max-width: 380px;
    }
    #fm45th_2026 .scroll-down {
        bottom: calc(50% - 64.5vw);
    }
    #fm45th_2026 .scroll-down span {
        height: 40px;
        background: var(--base-sub);
    }
    #fm45th_2026 .scroll-down p {
        background: var(--base-sub);
        padding: .2rem .5rem;
        border-radius: 1rem;
    }
    #fm45th_2026 .year {
        transform: translate(-50%, -150px);
        font-size: 3.5rem;
    }
    #fm45th_2026 .emo img {
        border: 5px solid var(--base-sub);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    }
    #fm45th_2026 .skip-btn {
        border: 2px solid #00a33e;
    }
    #fm45th_2026 .statement-section {
        padding: 3rem 1rem;
    }
    #fm45th_2026 .statement-section .statement-title {
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    #fm45th_2026 .statement-body p {
        margin-bottom: 1.5rem;
    }
    #fm45th_2026 .statement-footer {
        margin-top: 2rem;
    }
    #fm45th_2026 .torn-paper::before {
       
        left: 0;
        width: 100%;
        height: 50px;
        z-index: 5;
        background-image: url(../images/bg_torn_top_sp.webp);
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    #fm45th_2026 .ttl_h2 {
        margin-bottom: 3rem;
    }
    #fm45th_2026 .ttl_h2 span {
        padding: 0.6em 1.6em;
    }
    #fm45th_2026 .news-area,
    #fm45th_2026 .torikumi-area {
        padding: 3rem 1rem;
    }
    #fm45th_2026 .history-area {
        padding: 3rem 0 0;
    }
    #fm45th_2026 .torikumi-wrap {
        margin-left: .3rem;
    }
    #fm45th_2026 .torikumi-area .stk {
        padding: 0;
    }
    #fm45th_2026 .news .ly-ttl-area {
        width: 100%;
    }
    #fm45th_2026 .torikumi-wrap ol {
        grid-template-columns: repeat(2, 1fr);
    }
    #fm45th_2026 .torikumi-wrap ol .torikumi-item {
        padding: .3rem 1rem .8rem .5rem;
    }
    #fm45th_2026 .torikumi-wrap ol .torikumi-item::before {
        inset: -8px 6px 6px -8px;
        border: 3px solid var(--base-fm-green);
    }
    #fm45th_2026 .torikumi-wrap ol .torikumi-item:nth-child(even)::before {
        border: 3px solid var(--base-fm-blue);
    }
    #fm45th_2026 .torikumi-item .ttl_h3 {
        line-height: 1.2;
    }
    #fm45th_2026 .filter-scroll-guide {
        display: block;
        text-align: center;
        font-family: "LINE Seed JP", sans-serif;
        font-weight: 700;
        font-size: 0.75rem;
        color: var(--text-dark-blue);
        margin: 0 auto 0.5rem;
        letter-spacing: 0.05em;
        opacity: 0.8;
    }
    #fm45th_2026 .filter-buttons {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 1rem 0.8rem;
        margin-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
    }
    #fm45th_2026 .filter-buttons::-webkit-scrollbar {
        display: none;
        /* スクロールバーを隠して洗練されたUIに */
    }
    #fm45th_2026 .filter-buttons button {
        white-space: nowrap;
        padding: 0.4rem 1.1rem;
    }
    #fm45th_2026 .try-area .try-item {
        display: block;
    }
    #fm45th_2026 .try-area .try-icon ul {
        margin-left: 3rem;
        overflow-x: auto;
        padding-bottom: 2px;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
    }
    #fm45th_2026 .try-area .try-icon ul::-webkit-scrollbar {
        display: none;
    }
    #fm45th_2026 .try-wrap {
        width: 85%;
    }
    #fm45th_2026 .try-area {
        background: none;
        clip-path: none;
        padding: 3rem .5rem 4rem;
        position: relative;
        z-index: 5;
    }
    #fm45th_2026 .try-area .try-name {
        min-height: 100%;
    }
    #fm45th_2026 .try-area ol {
        gap: 2rem;
    }
    #fm45th_2026 .try-item .arrow span {
        margin: 0 1.2rem 0 auto;
    }
    #fm45th_2026 .try-btn-wrap {
        margin-top: 3rem;
    }
    #fm45th_2026 .try-area p.kome {
        text-align: left;
        width: 90%;
        margin: 0 auto;
    }
    #fm45th_2026 .try-area hgroup {
        margin-bottom: 2rem;
    }
    /* スマホのタップ時も押し込みアニメーションを入れる */
    #fm45th_2026 .btn-primary:active {
        transform: scale(0.95) translate(2px, 2px);
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
        transition: all 0.1s;
    }
    #fm45th_2026 .ios-fixed-wrap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        clip-path: inset(0);
        overflow: hidden;
        pointer-events: none;
    }
    #fm45th_2026 .ios-fixed-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(90deg, rgba(255, 255, 255, .9)50%, rgba(255, 255, 255, .9)50%), url(../images/bg1_sp.webp)no-repeat;
        background-position: top;
        background-size: cover;
    }
    #fm45th_2026 .torn-paper::before {
        z-index: 10 !important;
    }
    #fm45th_2026 .try-area ol {
        grid-template-columns: 1fr;
    }
    #fm45th_2026 .try-area .try-item {
        display: grid;
        grid-template-columns: 1fr;
        gap: .5rem;
        align-items: center;
    }
    #fm45th_2026 .try-area .try-inner {
        padding: 1rem 1rem 2rem;
    }
    #fm45th_2026 .try-area .try-item::after {
        width: 23px;
        height: 23px;
        top: 6px;
        left: 15px;
        padding: .5rem;
    }
    #fm45th_2026 .try-area .c-txt {
        margin-top: .7rem;
    }
    #fm45th_2026 .try-area .try-icon {
        margin: .5rem 0;
        top: -7px;
    }
    #fm45th_2026 .try-item .arrow {
        padding: 0 1rem;
    }
    #fm45th_2026 .try-item .fa-arrow-right {
        right: 10%;
    }
    #fm45th_2026 .history-area .history-wrap {
        padding: 1rem;
    }
    #fm45th_2026 .history-wrap .hist-txt::after {
        width: 12px;
        height: 16px;
        top: calc(50% - -3px);
        right: calc(50% - 122px);
    }
    #fm45th_2026 .btn {
        padding: 0 1rem;
    }
    .others {
        padding: 0 0.8rem;
    }
}

/*===============================================
●tablet.css  画面の横幅が737px～
===============================================*/

@media screen and (min-width: 1024px) and (max-width: 1200px) {
    #fm45th_2026 .try-area ol {
        gap: 2rem;
    }
    #fm45th_2026 .try-area .try-item::after {
        width: 25px;
        height: 25px;
    }
    #fm45th_2026 .btn {
        width: min(95%, 1000px);
        margin: 0 auto;
    }
}

@media screen and (min-width: 737px) and (max-width: 1023px) {
    #fm45th_2026 .try-area ol {
        gap: 2rem;
    }
    #fm45th_2026 .try-area .try-item::after {
        width: 24px;
        height: 24px;
    }
    #fm45th_2026 .torikumi-wrap ol .torikumi-item::before {
        border: 4px solid var(--base-fm-green);
    }
    #fm45th_2026 .torikumi-wrap ol .torikumi-item:nth-child(even)::before {
        border: 4px solid var(--base-fm-blue);
    }
    #fm45th_2026 .try-area .try-inner::after {
        left: -1.5rem;
        width: 25px;
        height: 25px;
    }
    #fm45th_2026 .btn {
        width: min(95%, 1000px);
        margin: 0 auto;
    }
}

@media screen and (min-width: 737px) and (max-width: 820px) {
    #fm45th_2026 #kv .stickers img {
        width: 220px;
    }
    #fm45th_2026 #kv .logo-main {
        width: 320px;
    }
    #fm45th_2026 #kv .logo-sub {
        width: 340px;
    }
}

@media screen and (min-width: 821px) and (max-width: 1024px) {
    #fm45th_2026 #kv .stickers img {
        width: 260px;
    }
    #fm45th_2026 #kv .logo-main {
        width: 380px;
    }
    #fm45th_2026 #kv .logo-sub {
        width: 410px;
    }
    #fm45th_2026 .btn {
        width: min(95%, 1000px);
        margin: 0 auto;
    }
}