html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}














/* ==========================================================================
   背景柄
   ========================================================================== */

body {
    font-family: sans-serif;
    /* background-color: #f4f4f4; */
    background-color: #ffeef2;
    /* 全体の背景色（元の画像の薄いピンク） */
    margin: 0;
    padding: 0;
}

.checkerboard {
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;

    /* オレンジの柄を作成 */
    background-image:
        linear-gradient(45deg, #ff8c00 25%, transparent 25%),
        linear-gradient(-45deg, #ff8c00 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ff8c00 75%),
        linear-gradient(-45deg, transparent 75%, #ff8c00 75%);

    /* チェックのサイズ調整 */
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

.bg_pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffe9a7;
    opacity: 0.4;
    z-index: -1;
}

.Boxes {
    background-image: linear-gradient(#ffc107 2px, transparent 2px), linear-gradient(to right, #ffc107 2px, #ffe9a7 2px);
    background-size: 40px 40px;
}


















h2 {
    padding-top: 50px;
    text-align: center;
}


/* ヘッダーのスタイル */
/* ヘッダーのスタイルを更新 */
header {
    display: block;
    /* Flexboxからブロック要素に変更 */
    padding: 0 0 10px 0;
    /* background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 20;
}
















/* ==========================================================================
   ウル君フラッグ
   ========================================================================== */

.felt-flag-side {
    position: fixed;
    left: 5px;
    top: 20px;
    /* サイズは維持（横長にするため数値を入れ替え） */
    width: 20%;
    height: auto;
    max-width: 200px;
    max-height: 125px;
    background-color: #e67e22;
    color: white;
    display: flex;
    align-items: center;
    /* 横向きなので上下中央 */
    justify-content: center;
    font-weight: bold;
    clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);
    /* 右側に切り欠きがある旗の形 */
    filter: drop-shadow(4px 4px 5px rgba(0, 0, 0, 0.2));
    /* 影 */
}

.felt-flag-side::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 5px;
    right: 8px;
    /* 切り欠き部分のステッチを見せるため少し手前で止める */
    bottom: 6px;

    /* 3. 縫い目の点線 */
    border: 2px dashed rgba(255, 255, 255, 0.7);

    /* 4. 切り欠きに沿ってステッチを出すためのclip-path */
    clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);

    pointer-events: none;
    box-sizing: border-box;
}

.flag-content img {
    z-index: 1;
    width: 100%;
    height: auto;
    /* margin: 10px 15px 0 0; */
    /* 切り欠きがある分、少し左に寄せる */
}



/* ==========================================================================
   ウル君フラッグ レスポンシブ
   ========================================================================== */
@media (max-width: 1023px) {
    .felt-flag-side {
        width: 16%;
        height: 8%;
    }

    .flag-content img {
        /* z-index: 1; */
        width: 95%;
        /* height: auto; */
        margin: 10px 15px 0 0;
        /* 切り欠きがある分、少し左に寄せる */
    }
}

@media (max-width: 767px) {
    .felt-flag-side {
        width: 20%;
    }
}
















/* ロゴとメニューを配置する新しいコンテナ */
.header-main {
    display: flex;
    justify-content: space-between;
    /* ロゴ（中央）とメニュー（右）を配置 */
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    flex-grow: 1;
    /* 残りスペースを占有してロゴを中央に寄せる */
    margin: 0;
}















/* ==========================================================================
   サイト説明文
   ========================================================================== */

/* 1. スタイルを更新 */
.mobile_br {
    display: none;
}

.site-description {
    font-size: 0.8rem;
    padding: 30px;
    color: #666;
    line-height: 1.3;
    text-align: center;
    /* 中央揃え */
}

/* 2. レスポンシブ対応(モバイルサイズ以下で改行を反映) */
@media (max-width: 767px) {
    .mobile_br {
        display: inline;
    }
}



/* header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 20;
} */

/* .logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
} */

/* .site-description {
    font-size: 12px;
    color: #666;
    margin-left: -50px; */
/* ロゴとメニューの間の中央配置を調整 */
/* } */

















/* ==========================================================================
   ハンバーガーメニュー
   ========================================================================== */

/* 1. ハンバーガーメニュー全体設定（PCサイズ） */
.menu-toggle {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 48px;
    height: 36px;
    cursor: pointer;
    z-index: 30;
    /* メニューパネルより手前に */
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 5px;
    background-color: #333;
    transition: all 0.3s ease;
    position: absolute;
    /* 3本の線を重ねるために絶対配置に */
    left: 0;
    /* 左端を揃える */
}

/* 2. 3本線それぞれの位置決め（PCサイズ） */
.menu-toggle span:nth-of-type(1) {
    top: 0;
}

.menu-toggle span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-of-type(3) {
    bottom: 0;
}

/* 3. 押した後のそれぞれの動き（全サイズ共通） */
.menu-toggle.active>span:nth-of-type(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active>span:nth-of-type(2) {
    opacity: 0;
}

.menu-toggle.active>span:nth-of-type(3) {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
}

/* 4. 開いたメニューの設定（PC・タブレット共通サイズ） */
.menu-list a {
    display: block;
    color: #ffffff;
    padding: 11px 14px;
    margin: 0;
    text-decoration: none;
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.2s ease;
}

.menu-list li:first-child a {
    font-size: clamp(1.2rem, 4vw, 1.4rem);
}

/* 5. お問い合わせの下の下線だけ消す */
.menu-list li:last-child a {
    border-bottom: none;
}

/* 6. 開いている時、閉じている時、どちらも中央固定にする */
.menu-list.active,
.menu-list.closing {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto;
    z-index: 20;
}

/* 7. メニューパネルのスタイル */
.menu-panel {
    position: fixed;
    right: 0;
    top: 0;
    height: 400px;
    width: 250px;
    /* メニューの幅 */
    transform: translateX(100%);
    /* 初期状態では画面外へ */
    transition: transform 0.5s ease;
    /* スムーズな表示トランジション */
    padding: 130px 70px 0 20px;

    z-index: 25;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* メニュー枠のサイズ（PC・タブレット共通） */
.menu-list.active,
.menu-list.closing {
    list-style: none;
    width: 220px;
    padding: 15px 25px;
    border-radius: 24px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
}

.menu-list li a {
    display: block;
    padding: 5px 0;
    color: #003393;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}

.menu-list li:first-child a {
    color: #333;
}

.menu-list li a:hover {
    color: #003393;
    opacity: 0.7;
}

/* 8. それぞれに上下アニメーションをつける */
.menu-list.active {
    animation: fadeIn 0.4s forwards;
}

.menu-list.closing {
    animation: fadeOut 0.4s forwards;
}

/* 9. それぞれに左右アニメーションをつける */
.menu-panel.is-open {
    transform: translateX(0);
    /* 開いた時に画面内へ */
}

@keyframes fadeIn {
    0% {
        top: 45%;
        opacity: 0;
    }

    100% {
        top: 50%;
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        top: 50%;
        opacity: 1;
    }

    100% {
        top: 45%;
        opacity: 0;
    }
}


#jumpji {
    padding-top: 50px;
}

#jumpji,
#jump2D,
#jump3D,
#jumpsai,
#jumpCAD,
#jumpAI,
#jumpoto {
    scroll-margin-top: 100px;
}


/* ==========================================================================
   ハンバーガーメニュー　レスポンシブ
   ========================================================================== */

/* --- タブレットサイズ以下（画面幅 1023px 以下） --- */
@media (max-width: 1023px) {

    /* 1. アイコン全体のサイズを中くらいにする */
    /* .menu-toggle {
        top: 35px;
        right: 35px;
        width: 42px;
        height: 32px;
    } */

    /* 2. 三本線の太さを少し細くする */
    /* .menu-toggle span {
        height: 4px;
    } */

    /* 3. サイズ変更に伴う、３本線の位置再調整 */
    /* .menu-toggle span:nth-of-type(1) {
        top: 0;
    }

    .menu-toggle span:nth-of-type(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-toggle span:nth-of-type(3) {
        bottom: 0;
    } */
}


/* --- スマホサイズ以下（画面幅 767px 以下） --- */
@media (max-width: 767px) {

    /* 1. アイコン全体のサイズを最小（スマホサイズ）にする */
    .menu-toggle {
        top: 35px;
        right: 35px;
        width: 42px;
        height: 32px;
    }

    /* 2. 三本線の太さをスマホサイズにする */
    .menu-toggle span {
        height: 4px;
        /* 元のスマホコードでも4pxだったので維持 */
    }

    /* 3. サイズ変更に伴う、３本線の位置再調整 */
    .menu-toggle span:nth-of-type(1) {
        top: 0;
    }

    .menu-toggle span:nth-of-type(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-toggle span:nth-of-type(3) {
        bottom: 0;
    }

    /* 4. メニュー枠のサイズをスマホ用に小さくする */
    .menu-list.active,
    .menu-list.closing {
        width: 175px;
        padding: 10px 20px;
        border-radius: 20px;
    }
}


/* border: 1px solid #003393; */


















/* ==========================================================================
   TOPへ戻る　キャラクターと吹き出し
   ========================================================================== */

/* 1. キャラクターサイズ */
.menu-footer img {
    width: 100px;
    height: auto;
}

/*  2. 相互位置調整 */
.menu-footer {
    position: fixed;
    bottom: 45px;
    right: 45px;
    z-index: 10;
    /* 他の要素より手前に表示 */
    text-align: right;
    padding-top: 20px;
    display: flex;
    /* 横並びにする */
    align-items: center;
    /* 上下方向を中央に揃える */
    justify-content: flex-end;
    /* 全体を右側に寄せる */
}

/* 3. 吹き出しの丸い部分 */
.speech-bubble-right {
    position: relative;
    max-width: 300px;
    padding: 15px;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
    margin-right: 0px;
    margin-left: auto;
    border: 1px solid #ccc;
}


/* 吹き出しのしっぽの外枠 */
.speech-bubble-right::before {
    content: '';
    /* 疑似要素とセットで記述するもの。contentの中が空っぽってこと */
    position: absolute;
    top: 50%;
    right: -20px;
    border-width: 6px 0 6px 21px;
    /* 内側より1px大きく作る */
    border-style: solid;
    border-color: transparent;
    border-left-color: #ccc;
    transform: translateY(-50%);
    z-index: 1;
}

/* しっぽの内側（白い塗りつぶし部分） */
.speech-bubble-right::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -18px;
    border-width: 5px 0 5px 20px;
    border-style: solid;
    border-color: transparent;
    border-left-color: #ffffff;
    transform: translateY(-50%);
    z-index: 2;
    /* 枠線の上に重ねる */
}


























/* ==========================================================================
   ぶらぶらねこたち
   ========================================================================== */

/* 1. メインウルくん */
.spider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* 画面全体の高さ */
    overflow: hidden;
}

.spider-photo {
    position: absolute;
    top: -300px;
    /* 初期位置：画面上外 */
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(5px 5px 5px #aaa);
}

.spider-photo img {
    animation: swing 2s ease-in-out infinite alternate;
    /* 左右に揺れる */
    filter: drop-shadow(20px 10px 4px #f59928);
}

/* 蜘蛛の糸を描画 */
.spider-photo::before {
    content: "";
    position: absolute;
    top: -100vh;
    /* 糸の開始位置 */
    left: 50%;
    width: 0.5px;
    height: 115vh;
    /* 糸の長さ */
    background-color: #333;
    z-index: -1;
}

/* 落ちてくるアニメーション */
@keyframes dropDown {
    0% {
        top: -300px;
    }

    40% {
        top: 100px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 80px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 100px;
    }
}

@keyframes dropDown_tab {
    0% {
        top: -300px;
    }

    40% {
        top: 200px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 180px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 200px;
    }
}

.spider-photo {
    animation: dropDown 2s ease-out forwards;
}

@media (max-width: 1023px) {
    .burabura {
        padding: 200px 0 0 0;
    }

    .spider-photo {
        animation: dropDown_tab 2s ease-out forwards;
    }
}

@media (max-width: 767px) {
    .burabura {
        padding: 0;
    }

    .spider-photo_mainuru img {
        width: 70vw;
        height: auto;
    }
}



@keyframes swing {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}




/* 2. チャチャ */
.spider-photo_cha {
    left: 15%;
    /* 左右調整はここいじればOK */
}



/* 蜘蛛の糸を描画 */
.spider-photo_cha::before {
    height: 105vh;
    /* 糸の長さ */
}

/* 落ちてくるアニメーション */
@keyframes dropDown_cha {
    0% {
        top: -300px;
    }

    40% {
        top: 250px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 230px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 250px;
    }
}

@keyframes dropDown_cha_tab {
    0% {
        top: -300px;
    }

    40% {
        top: 250px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 230px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 250px;
    }
}

.spider-photo_cha {
    animation: dropDown_cha 2s ease-out forwards;
}

.spider-photo_cha img {
    width: 9vw;
    height: auto;
}

@media (max-width: 1023px) {
    .spider-photo_cha {
        animation: dropDown_cha_tab 2s ease-out forwards;
    }

    .spider-photo_cha img {
        width: 15vw;
        height: auto;
    }
}

@media (max-width: 767px) {

    /* .spider-photo_cha {
        animation: dropDown_cha 2s ease-out forwards;
    } */
    .spider-photo_cha img {
        width: 25vw;
        height: auto;
    }
}

@keyframes swing {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}

.spider-photo_cha img {
    animation: swing 2s ease-in-out infinite alternate;
    /* 左右に揺れる */
    filter: drop-shadow(10px 5px 4px #f59928);
}



/* 3. 星左 */
.spider-photo_star {
    left: 35%;
    /* 左右調整はここいじればOK */
}

.spider-photo_star img {
    animation: swing 2s ease-in-out infinite alternate;
    /* 左右に揺れる */
    filter: drop-shadow(10px 5px 4px #f59928);
}

/* 蜘蛛の糸を描画 */
.spider-photo_star::before {
    height: 105vh;
    /* 糸の長さ */
}

/* 落ちてくるアニメーション */
@keyframes dropDown_star {
    0% {
        top: -300px;
    }

    40% {
        top: 100px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 80px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 100px;
    }
}

@keyframes dropDown_star_tab {
    0% {
        top: -300px;
    }

    40% {
        top: 150px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 130px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 150px;
    }
}

@keyframes dropDown_star_mo {
    0% {
        top: -300px;
    }

    40% {
        top: 120px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 100px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 120px;
    }
}

.spider-photo_star {
    animation: dropDown_star 2s ease-out forwards;
}

.spider-photo_star img {
    width: 5vw;
    height: auto;
}

@media (max-width: 1023px) {
    .spider-photo_star {
        animation: dropDown_star_tab 2s ease-out forwards;
    }

    .spider-photo_star img {
        width: 10vw;
        height: auto;
    }
}

@media (max-width: 767px) {
    .spider-photo_star img {
        width: 15vw;
        height: auto;
    }

    .spider-photo_star {
        animation: dropDown_star_mo 2s ease-out forwards;
    }
}

@keyframes swing {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}

/* 4. 星右 */
.spider-photo_star2 {
    left: 65%;
    /* 左右調整はここいじればOK */
}

.spider-photo_star2 img {
    animation: swing 2s ease-in-out infinite alternate;
    /* 左右に揺れる */
    filter: drop-shadow(10px 5px 4px #f59928);
}

/* 蜘蛛の糸を描画 */
.spider-photo_star2::before {
    height: 115vh;
    /* 糸の長さ */
    top: -110vh;
}

/* 落ちてくるアニメーション */
@keyframes dropDown_star2 {
    0% {
        top: -300px;
    }

    40% {
        top: 550px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 530px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 550px;
    }
}

@keyframes dropDown_star2_tab {
    0% {
        top: -300px;
    }

    40% {
        top: 750px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 730px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 750px;
    }
}

@keyframes dropDown_star2_mo {
    0% {
        top: -300px;
    }

    40% {
        top: 580px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 560px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 580px;
    }
}

.spider-photo_star2 {
    animation: dropDown_star2 2s ease-out forwards;
}

.spider-photo_star2 img {
    width: 5vw;
    height: auto;
}

@media (max-width: 1023px) {
    .spider-photo_star2 {
        animation: dropDown_star2_tab 2s ease-out forwards;
    }

    .spider-photo_star2 img {
        width: 11vw;
        height: auto;
    }
}

@media (max-width: 767px) {
    .spider-photo_star2 img {
        width: 18vw;
        height: auto;
    }

    .spider-photo_star2 {
        animation: dropDown_star2_mo 2s ease-out forwards;
    }
}

@keyframes swing {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}



/* 5. メロンパン */
.spider-photo_mero {
    left: 72%;
    /* 左右調整はここいじればOK */
}

.spider-photo_mero img {
    animation: swing 2s ease-in-out infinite alternate;
    /* 左右に揺れる */
    filter: drop-shadow(10px 5px 4px #f59928);
}

/* 蜘蛛の糸を描画 */
.spider-photo_mero::before {
    height: 105vh;
    /* 糸の長さ */
}

/* 落ちてくるアニメーション */
@keyframes dropDown_mero {
    0% {
        top: -300px;
    }

    40% {
        top: 180px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 160px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 180px;
    }
}

@keyframes dropDown_mero_tab {
    0% {
        top: -300px;
    }

    40% {
        top: 350px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 330px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 350px;
    }
}

@keyframes dropDown_mero_mo {
    0% {
        top: -300px;
    }

    40% {
        top: 300px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 280px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 300px;
    }
}

.spider-photo_mero {
    animation: dropDown_mero 2s ease-out forwards;
}

.spider-photo_mero img {
    width: 14vw;
    height: auto;
}

@media (max-width: 1023px) {
    .spider-photo_mero {
        animation: dropDown_mero_tab 2s ease-out forwards;
    }

    .spider-photo_mero img {
        width: 25vw;
        height: auto;
    }
}

@media (max-width: 767px) {
    .spider-photo_mero img {
        width: 35vw;
        height: auto;
    }

    .spider-photo_mero {
        animation: dropDown_mero_mo 2s ease-out forwards;
    }
}

@keyframes swing {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}


/* 6. ウル蜘蛛 */
.spider-photo_urukumo {
    left: 25%;
    /* 左右調整はここいじればOK */
}

.spider-photo_urukumo img {
    animation: swing 2s ease-in-out infinite alternate;
    /* 左右に揺れる */
    filter: drop-shadow(10px 5px 4px #f59928);
}

/* 蜘蛛の糸を描画 */
.spider-photo_urukumo::before {
    height: 115vh;
    /* 糸の長さ */
}

/* 落ちてくるアニメーション */
@keyframes dropDown_urukumo {
    0% {
        top: -300px;
    }

    18% {
        top: 350px;
        /* 一度少し下まで行く */
    }

    27% {
        top: 330px;
        /* 最終的な定位置で止まる */
    }

    36% {
        top: 350px;
    }

    60% {
        top: 350px;
    }

    80% {
        top: 450px;
    }

    90% {
        top: -300px;
    }

    100% {
        top: -300px;
    }
}

@keyframes dropDown_urukumo_tab {
    0% {
        top: -300px;
    }

    18% {
        top: 400px;
        /* 一度少し下まで行く */
    }

    27% {
        top: 380px;
        /* 最終的な定位置で止まる */
    }

    36% {
        top: 400px;
    }

    60% {
        top: 400px;
    }

    80% {
        top: 500px;
    }

    90% {
        top: -300px;
    }

    100% {
        top: -300px;
    }
}

@keyframes dropDown_urukumo_mo {
    0% {
        top: -300px;
    }

    18% {
        top: 400px;
        /* 一度少し下まで行く */
    }

    27% {
        top: 380px;
        /* 最終的な定位置で止まる */
    }

    36% {
        top: 400px;
    }

    60% {
        top: 400px;
    }

    80% {
        top: 450px;
    }

    90% {
        top: -300px;
    }

    100% {
        top: -300px;
    }
}

.spider-photo_urukumo {
    animation: dropDown_urukumo 6s ease-out infinite;
}

.spider-photo_urukumo img {
    width: 10vw;
    height: auto;
}

@media (max-width: 1023px) {
    .spider-photo_urukumo {
        animation: dropDown_urukumo_tab 6s ease-out infinite;
    }

    .spider-photo_urukumo img {
        width: 18vw;
        height: auto;
    }
}

@media (max-width: 767px) {
    .spider-photo_urukumo img {
        width: 30vw;
        height: auto;
    }

    .spider-photo_urukumo {
        animation: dropDown_urukumo_mo 6s ease-out infinite;
    }
}

@keyframes swing {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}


/* 7. ブルーベリー */
.spider-photo_buru {
    left: 80%;
    /* 左右調整はここいじればOK */
}

.spider-photo_buru img {
    animation: swing 2s ease-in-out infinite alternate;
    /* 左右に揺れる */
    filter: drop-shadow(10px 5px 4px #f59928);
}

/* 蜘蛛の糸を描画 */
.spider-photo_buru::before {
    height: 105vh;
    /* 糸の長さ */
}

/* 落ちてくるアニメーション */
@keyframes dropDown_buru {
    0% {
        top: -300px;
    }

    40% {
        top: 400px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 380px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 400px;
    }
}

@keyframes dropDown_buru_tab {
    0% {
        top: -300px;
    }

    40% {
        top: 550px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 530px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 550px;
    }
}

@keyframes dropDown_buru_mo {
    0% {
        top: -300px;
    }

    40% {
        top: 450px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 430px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 450px;
    }
}

.spider-photo_buru {
    animation: dropDown_buru 2s ease-out forwards;
}

.spider-photo_buru img {
    width: 10vw;
    height: auto;
}

@media (max-width: 1023px) {
    .spider-photo_buru {
        animation: dropDown_buru_tab 2s ease-out forwards;
    }

    .spider-photo_buru img {
        width: 18vw;
        height: auto;
    }
}

@media (max-width: 767px) {
    .spider-photo_buru img {
        width: 30vw;
        height: auto;
    }

    .spider-photo_buru {
        animation: dropDown_buru_mo 2s ease-out forwards;
    }
}

@keyframes swing {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}




/* 8. ウル君トイ */
.spider-photo_uru_un {
    left: 88%;
    /* 左右調整はここいじればOK */
    animation: dropDown_uru_un 2s ease-out forwards;
}

.spider-photo_uru_un img {
    animation: swing 2s ease-in-out infinite alternate;
    /* 左右に揺れる */
    filter: drop-shadow(10px 5px 4px #f59928);
}

/* 蜘蛛の糸を描画 */
.spider-photo_uru_un::before {
    height: 105vh;
    /* 糸の長さ */
}

/* 落ちてくるアニメーション */
@keyframes dropDown_uru_un {
    0% {
        top: -300px;
    }

    40% {
        top: 250px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 230px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 250px;
    }
}

@keyframes dropDown_uru_un_tab {
    0% {
        top: -300px;
    }

    40% {
        top: 200px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 180px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 200px;
    }
}

@keyframes dropDown_uru_un_mo {
    0% {
        top: -300px;
    }

    40% {
        top: 180px;
        /* 一度少し下まで行く */
    }

    60% {
        top: 160px;
        /* 最終的な定位置で止まる */
    }

    100% {
        top: 180px;
    }
}

.spider-photo_uru_un {
    animation: dropDown_uru_un 2s ease-out forwards;
}

.spider-photo_uru_un img {
    width: 10vw;
    height: auto;
}

@media (max-width: 1023px) {
    .spider-photo_uru_un {
        animation: dropDown_uru_un_tab 2s ease-out forwards;
    }

    .spider-photo_uru_un img {
        width: 22vw;
        height: auto;
    }
}

@media (max-width: 767px) {
    .spider-photo_uru_un img {
        width: 30vw;
        height: auto;
    }

    .spider-photo_uru_un {
        animation: dropDown_uru_un_mo 2s ease-out forwards;
    }
}

@keyframes swing {
    0% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}
















/* ==========================================================================
   自己紹介
   ========================================================================== */

.jibun {
    text-align: center;
    padding-top: 600px;
}

.jibun_setumei {
    background-size: contain;
    background-image: url(image/kumo.png);
    background-position: center;
    width: auto;
    height: 80%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    filter: drop-shadow(20px 10px 4px #f59928);
    padding: 4px;
    position: sticky;
    z-index: 3;
}

.jibun p {
    padding: 50px;
}

/* .license{
    text-align: center;
} */
.container {
    text-align: center;
    height: 700px;
    /* 固定を解除したい範囲分だけ高さをとる */

}

.ugoki {
    position: -webkit-sticky;
    /* Safari対応 */
    position: sticky;
    top: 250px;
    /* 画面の最上部に到達したら固定 */
    /* 固定解除のタイミングは、この要素の親の最後 */
}

.sticky-box {
    margin-top: -350px;
    left: 25%;
    position: sticky;
    z-index: 1;
}

@media (max-width: 1023px) {
    .ugoki img {
        width: 90vw;
        height: auto;
    }

    .container {
        height: 600px;
    }

    .sticky-box {
        margin-top: -300px;
    }
}

@media (max-width: 767px) {
    #jumpji {
        padding-top: 200px;
    }

    .jibun p {
        font-size: 0.5rem;
    }

    .container {
        height: 250px;
    }

    .sticky-box {
        margin-top: -150px;
    }
}



















/* ==========================================================================
   さらに見る
   ========================================================================== */

/* デフォルトの矢印を消す */
summary {
    list-style: none;
    cursor: pointer;
    /* ボタンの見た目 */
    display: inline-block;
    padding: 10px 20px;
    background-color: #003393;
    opacity: 0.8;
    color: white;
    border-radius: 5px;
    transition: background 0.3s;

}

/* ホバー時の演出 */
summary:hover {
    background-color: #0056b3;
}

/* 開いている時のスタイル変更 */
details[open] summary {
    background-color: #6c757d;
    text-align: center;
}

/* detailsタグをグリッド全体をまたぐように設定 */
.gallery-grid-auto details {
    grid-column: 1 / -1;
    /* 左端から右端まで全幅を使う */
    display: contents;
    /* details自体をコンテナとして無視し、子要素を直接グリッドに参加させる */
}

/* summaryタグを中央に配置し、常に全幅を占めるようにする */
.gallery-grid-auto summary {
    grid-column: 1 / -1;
    /* グリッドの端から端まで広げる */
    text-align: center;
    /* 文字を中央に */
    cursor: pointer;
    padding: 10px;
    list-style-position: inside;
    /* 矢印を中央に寄せる */
    order: 1;
    /* 他のアイテムより後に表示（必要に応じて調整） */
}

/* ギャラリー全体のコンテナ (CSS Gridによる自動調整グリッド) */
.gallery-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* 画面幅に応じて項目の数とサイズを自動的に調整 */
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* detailsが開いたときのsummaryの挙動（任意：開いたらボタンを消す場合は display:none） */
.gallery-grid-auto details[open] summary {
    margin-bottom: 20px;
    display: none;
}






/* ギャラリー全体のコンテナ (CSS Gridによる自動調整グリッド) */
.gallery-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* 画面幅に応じて項目の数とサイズを自動的に調整 */
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 各作品アイテムのスタイル */
.item {
    background-color: #ffffff;
    border: 1px solid #003393;
    border-radius: 8px;
    box-shadow: 10px 10px 4px #f59928;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


.item {
    display: block;
    position: relative;
    text-decoration: none;
    width: 100%;
}

.view-more {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #003393;
    z-index: 100;
    top: 0;
    left: 0;
    opacity: 0;

}

.view-more:hover {
    opacity: 0.7;
}

/*.item:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    background: #005;
    
    opacity: 0;
    transition: 0.3s;
}

.item:after {
    content: "VIEW MORE";
   
    display: block;
    color: #fff;
    line-height: 48px;
    width: 180px;
    border: solid 1px #fff;
    border-radius: 5px;
    text-align: center;
    position: absolute;
    top: 35%;
    left: 50%;
    margin-top: -1em;
    margin-left: -90px;
    opacity: 0;
    z-index: 3;
    transition: 0.3s;
    font-weight: bold;
    letter-spacing: 0.2em;
}*/

.item:hover:before {
    opacity: 0.5;
}

.item:hover:after {
    opacity: 1;
    margin-top: -0.5em;
}


/* 画像を配置するエリアのスタイル */
.item-visual {
    background-color: #c7f1ff;
    height: 200px;
    /* 仮の画像の高さ */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* TODO: 実際の画像を入れる際は img タグのスタイルが必要です */
.item-visual img {
    width: auto;
    height: 180px;
    object-fit: cover;
}

/* 説明文を入れる下側のエリアのスタイル */
.item-description {
    padding: 15px 10px;
    background-color: white;
    text-align: center;
    font-size: 0.9em;
    color: #333;
    border-top: 1px solid #eee;
}

/* 分類タグ（オーバル型バッジ）のスタイル */
.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #003393;
    opacity: 0.8;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    /* オーバル型 */
    font-size: 0.8em;
    border: 1px solid #ccc;
    /* font-weight: bold;  太字*/
    display: inline-block;
}

/* タグごとの色 */
/* .tag.photoshop {
    background-color: #31a8ff;
}

.tag.illustrator {
    background-color: #ff9a00;
}

.tag.canva {
    background-color: #0acf83;
} */
/* .tag{
    background-color: #ffd8e4;
} */

.tags-container {
    display: flex;
    /* Flexboxを有効にする */
    justify-content: center;
    /* 子要素を主軸（横方向）の中央に揃える */
    align-items: center;
    /* 子要素を交差軸（縦方向）の中央に揃える */
    flex-wrap: wrap;
    /* 必要に応じて折り返す */
    gap: 10px;
    /* タグ間のスペース */
    padding: 10px 0 0 0;
    /* 上下の余白 */
}

.tag_top {
    display: inline-block;
    padding: 8px 16px;
    background-color: #003393;
    opacity: 0.8;
    /* タグの背景色（任意） */
    color: white;
    /* テキストの色（任意） */
    border-radius: 20px;
    /* 角丸で楕円形にする */
    border: 1px solid #003393;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    /* テキストの折り返しを防ぐ */
}





/* モーダル */

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* .modal-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #FF5722 0%, #FF7043 50%, #FF8A65 100%);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
} */

.modal-button:hover {
    background: linear-gradient(135deg, #D84315 0%, #FF5722 50%, #FF7043 100%);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
    transform: translateY(-2px);
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 87, 34, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.mask.appear {
    opacity: 1;
    visibility: visible;
}

.modal {
    overflow-y: scroll;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 50%, #FFCC80 100%);
    padding: 40px;
    border-radius: 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    max-width: 1200px;
    width: 70%;
    height: 500px;
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.2);
    border: 3px solid #FF5722;
}

.modal-content {
    display: flex;
    width: 50vw;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.modal-content img {
    width: 30vw;
    height: auto;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 40%, rgba(255, 87, 34, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 152, 0, 0.1) 50%, transparent 70%),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 20px,
            rgba(255, 87, 34, 0.05) 20px,
            rgba(255, 87, 34, 0.05) 22px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 20px,
            rgba(255, 152, 0, 0.05) 20px,
            rgba(255, 152, 0, 0.05) 22px);
    pointer-events: none;
}

.modal::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 87, 34, 0.3);
    pointer-events: none;
    overflow: hidden;
}

.modal.appear {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal h3 {
    color: #E65100;
    font-weight: 700;
    text-align: center;
    /* margin-bottom: 24px; */
    position: relative;
    z-index: 2;
}

.close-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255, 87, 34, 0.9);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 152, 0, 0.9);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        padding: 20px;
    }

    .modal p {
        font-size: 14px;
    }

    .modal-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}



/* モーダル全体を包むラッパー */
.modal-wrapper {
    display: none;
    /* 初期は非表示 */
}

.modal-wrapper.active {
    display: block;
}

/* 背景 */
.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

/* モーダル本体 */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 800px;
}















/*=============
base
==============*/

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: YuGothic, "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    letter-spacing: .025em;
    line-height: 1.8;
}

.oto_pa {
    max-width: 1024x;
    margin: 0 auto;
    padding: 0px 20px 100px;
    filter: drop-shadow(5px 5px 4px #f59928);
}

.oto_pa p {
    text-align: center;
}

._a {
    max-width: 300px;
    margin: 0 auto;
    padding-top: 10px;
}

._a a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.0em 0.5em;
    border: 1px solid #777;
    background: linear-gradient(to right, #ffc107 50%, #003393 50%);
    background-size: 200% auto;
    color: #222222;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    transition: .3s;
    position: relative;
}

._a a:after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 100%;
    height: 100%;
    border-right: 1px solid #777;
    border-bottom: 1px solid #777;
}

._a a:hover {
    color: #c7f1ff;
    background-position: -100% 0;
}


/* bodyなどのページ全体の背景色が白（#ffffff）であることを前提とします */

footer {
    display: flex;
    flex-direction: column;
    /* 子要素を上から下に縦積み */
    width: 100%;
    /* ここには背景色を設定しません */
}

.footer-wave-area svg {
    display: block;
    width: 100%;
    /* 端から端まで表示 */
    height: auto;
}

.footer-content-band {
    background-color: #ff8c00;
    /* コンテンツ帯の背景色をここで設定 */
    color: white;
    /* 文字色 */
    text-align: center;
    /* padding: 20px 0; 適度な余白 */
    /* マイナスmarginで波線と下の帯の継ぎ目を滑らかにする */
    margin-top: -5px;
}

.overlay_text_footer {
    position: absolute;
    left: 15%;
    color: white;
    font-size: 28px;
    font-style: italic;
    z-index: 1;
    background-color: #ff8c00;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); */
}







.container {
    max-width: 800px;
    margin: 0 auto;
}

.modal-button {
    padding: 12px 24px;
    /* background: linear-gradient(135deg, #FF5722 0%, #FF7043 50%, #FF8A65 100%); */
    color: #fff;
    /* border: none; */
    /* border-radius: 0; */
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3); */
}

.modal-button:hover {
    background: linear-gradient(135deg, #D84315 0%, #FF5722 50%, #FF7043 100%);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
    transform: translateY(-2px);
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 87, 34, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.mask.appear {
    opacity: 1;
    visibility: visible;
}

.modal {
    overflow-y: scroll;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 50%, #FFCC80 100%);
    padding: 40px;
    border-radius: 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    max-width: 1200px;
    width: 70%;
    height: 500px;
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.2);
    border: 3px solid #FF5722;
}

.modal-content {
    display: flex;
    width: 50vw;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.modal-content img {
    width: 30vw;
    height: auto;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 40%, rgba(255, 87, 34, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 152, 0, 0.1) 50%, transparent 70%),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 20px,
            rgba(255, 87, 34, 0.05) 20px,
            rgba(255, 87, 34, 0.05) 22px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 20px,
            rgba(255, 152, 0, 0.05) 20px,
            rgba(255, 152, 0, 0.05) 22px);
    pointer-events: none;
}

.modal::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 87, 34, 0.3);
    pointer-events: none;
    overflow: hidden;
}

.modal.appear {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal h3 {
    color: #E65100;
    font-weight: 700;
    text-align: left;
    /* margin-bottom: 24px; */
    margin: 0;
    position: relative;
    z-index: 2;
}

.close-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255, 87, 34, 0.9);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 152, 0, 0.9);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
}

.modalgroup {
    position: relative;
    /* ボタンの配置基準にする */
    width: 300px;
    overflow: hidden;
    /* はみ出し防止 */
}

.modal-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    /* 通常時は非表示 */
    opacity: 0;
    transition: opacity 0.3s ease;
    /* ふわっと表示 */

    /* 見た目の調整 */
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

/* ホバー時に表示 */
.modalgroup:hover .modal-button {
    opacity: 1;
    z-index: 120;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        padding: 20px;
    }

    .modal p {
        font-size: 14px;
    }

    .modal-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}





/* モーダル内のコンテンツ配置 */
.mo-dal_text {
    display: flex;
    flex-direction: column;
    /* 基本は縦並び（スマホ用） */
    gap: 20px;
    width: 100%;
}

/* 左側の画像 */
.mo-dal_text>img {
    width: 100%;
    height: 300px;
    /* スマホ時の高さ */
    object-fit: cover;
    border-radius: 8px;
}

/* 右側のCanvaコンテナ */
.mo-dal_text>div {
    width: 100%;
    /* インラインスタイルの padding-top: 100% を無効化 */
    padding-top: 0 !important;
    height: 300px !important;
    /* スマホ時の高さ */
    margin: 0 !important;
}

/* PCサイズ（768px以上）の設定 */
@media (min-width: 768px) {
    .mo-dal_text {
        flex-direction: row;
        /* 横並びに切り替え */
        align-items: stretch;
        /* 高さを揃える */
    }

    .mo-dal_text>img,
    .mo-dal_text>div {
        width: 50%;
        /* 均等に分割 */
        height: 400px !important;
        /* PCでの希望の高さ */
    }
}

/* iframeを親の高さにフィットさせる */
.mo-dal_text iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}