body {
    margin: 0;
    font-family: "游ゴシック体, Medium", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    background-color: #F8F8F8;
    letter-spacing: 0.98px;
    color: #303030;
    font-weight: 250;
}

/* グローバルナビゲーション */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    /* 他の要素の上に表示 */
}

.font-top {
    color: white;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: auto;
    height: 50px;
    margin-left: 6%;
    padding-top: 14px;
}

.logo-title {
    font-size: 14px;
    padding-top: 15.5px;
    margin-left: 8px;
}

* {
    box-sizing: border-box;
}

ul.gnav-navi-1 {
    background: white;
    text-align: right;
    height: 60px;
    padding-right: 10%;
    margin-top: -50px;
}

ul.gnav-navi-1 li {
    display: inline-block;
}

ul.gnav-navi-1 li a {
    display: block;
    margin-left: -8px;
    margin-right: -8px;
    padding: 24px;
    text-decoration: none;
}

ul.gnav-navi-1 a::first-line {
    font-size: 14px;
}

.nav-space {
    width: 10%;
    /* 必要なスペース幅に調整 */
}


/* ドロップダウンメニューのスタイル */
.dropdown {
    display: none;
    /* サブメニューを非表示にする */
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    z-index: 1;
    list-style-type: none;
    padding: 0;
    margin: 0;
    min-width: 200px;
    /* 必要に応じて全体幅を調整 */
    text-align: left;
    /* テキストを左寄せ */
    box-sizing: border-box;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    width: 100%;
    /* li要素の幅を100%に */
    margin: 0;
    /* ずれを防ぐためにmarginを0に設定 */
}

.dropdown-menu li a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 10px;
    /* 内側の余白調整 */
    width: 100%;
    /* a要素の幅を100%に */
    box-sizing: border-box;
    /* paddingが幅に影響しないように */
    white-space: nowrap;
    /* テキストが改行されず1行に収まるように設定 */
    overflow: hidden;
    /* 枠を超える部分を非表示にする */
    text-overflow: ellipsis;
    /* 枠を超えた部分を「…」で省略表示 */
}

.dropdown-menu li a:hover {
    background-color: #3b3b3b;
    color: white;
    /* 他のスタイルは変えず、背景色のみ変更 */
    padding-left: 25px;
    /* 内側の余白調整 */
    margin: 0px;
}


/* テンプレート投稿と料金プランの調整 */
.contract {
    padding-right: 3%;
}

.plan {
    margin-right: -5%;
}

/* 検索のアイコン */
.search-size {
    height: 30px;
    width: 30px;
}

/* フッター */
a {
    color: #4b5564;
    text-decoration: none;
}

a:hover {
    color: #000;
}

hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #e5e7eb;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer {
    margin-top: 5%;
    padding-top: 2rem;
    padding-right: 2rem;
    padding-bottom: 0.5rem;
    padding-left: 2rem;
    font-size: 14px;
    background: #E8E8E8;
    display: block;
    width: 100%;
    height: auto;
}

.footer__navi-heading {
    font-weight: 500;
}

.footer__navi li {
    margin-bottom: 0.75rem;
}

.copyright {
    text-align: center;
    font-size: 10px;
    color: #4b5564;
    padding-bottom: 5px;
    padding-top: 20px;
}

.footer-center {
    margin-left: auto;
    margin-right: auto;
}

.md-flex {
    display: flex;
}

.md-justify-between {
    justify-content: space-between;
}

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

/* チェックボックスの外観 */
input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
}


/* 商品カードコンテナ */
.img-box2 {
    display: flex;
    flex-wrap: wrap;
    gap: 25px; /* カード間の隙間を変更 */
    justify-content: center;
    margin: 20px auto;
    max-width: 1280px;
    padding-left: 10px; /* 左右の余白を調整 */
    padding-right: 10px;
}

/* カードのスタイル */
.product-card2 {
    text-align: left;
    flex: 1 1 calc(33.333% - 50px); /* カード幅を調整 */
    box-sizing: border-box;
    max-width: 400px;
}

/* 商品画像のスタイル */
.pick-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1280 / 720;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 250px;
}

/* 1420px 〜 900px の間は2列表示 */
@media (max-width: 1279px) and (min-width: 845px) {
    .product-card2 {
        flex: 1 1 calc(50% - 50px); /* 2列表示時の余白を調整 */
    }
}

/* 900px 以下は1列表示 */
@media (max-width: 844px) {
    .product-card2 {
        flex: 1 1 calc(100% - 40px); /* 余白を持たせて1列表示 */
    }
}

/* 450px 以下の設定 */
@media (max-width: 450px) {
    .product-card2 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* PCの設定 */
@media (min-width: 1186px) {
    header .delete-pc {
        display: none;
    }

    h1 {
        text-align: center;
        font-size: 23px;
        letter-spacing: 2.5px;
        line-height: 43px;
        padding-bottom: 3%;
    }

    h2 {
        text-align: left;
        padding-top: 4%;
        padding-left: 4.5%;
        font-size: 23px;
        letter-spacing: 2.5px;
        line-height: 43px;
        font-weight: bold;
    }

    .top-adjust {
        padding-top: 11%;
        padding-bottom: 11%;
        display: flex;
        width: 100%;
        height: 65vh;
        background: linear-gradient(135deg, #2979FF, #5C6BC0, #7B1FA2, #FF4081);
        /* 青の比率を増やす */
        background-size: 300% 300%;
        animation: Grad 6s ease-in-out infinite alternate;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    /* ふんわりぼかしを追加 */
    .top-adjust::before {
        content: "";
        position: absolute;
        top: -10%;
        left: -10%;
        width: 120%;
        height: 120%;
        background: linear-gradient(135deg, #2979FF, #5C6BC0, #7B1FA2, #FF4081);
        /* 青を強調 */
        background-size: 300% 300%;
        filter: blur(60px);
        opacity: 0.5;
        z-index: -1;
        animation: GradBlur 8s ease-in-out infinite alternate;
    }

    /* 背景のなめらかな動き */
    @keyframes Grad {
        0% {
            background-position: 20% 20%;
        }

        50% {
            background-position: 70% 70%;
        }

        100% {
            background-position: 30% 30%;
        }
    }

    /* ぼかし背景のアニメーション */
    @keyframes GradBlur {
        0% {
            background-position: 25% 25%;
            transform: scale(1);
            opacity: 0.5;
        }

        50% {
            background-position: 60% 60%;
            transform: scale(1.1);
            opacity: 0.6;
        }

        100% {
            background-position: 35% 35%;
            transform: scale(1.05);
            opacity: 0.5;
        }
    }

    .search-form {
        color: white;
        background-color: transparent;
        border: 1px solid white;
        outline: none;
        /* アウトラインを削除 */
        padding: 8px;
        box-sizing: border-box;
        /* パディングを含めて幅を計算 */
    }

    .search-form::placeholder {
        color: rgba(255, 255, 255, 0.7);
        /* プレースホルダーの色を白っぽく設定（やや透明に） */
    }

    .search-size {
        width: 24px;
        height: 24px;
    }

    #form2 {
        display: flex;
        justify-content: center;
        border: solid 1.5px #d8d8d8;
        max-width: 600px;
        height: 50px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 2px;
    }

    #sbox3 {
        width: 520px;
        padding: 0 15px;
        border: none;
        outline: 0;
    }

    #sbtn4 {
        width: 50px;
        background: transparent;
        border: none;
        font-size: 18px;
        cursor: pointer;
    }

    #sbtn4:hover {
        color: #fff;
    }

    /* フッターの設定 */
    .other-footer-pc {
        padding-left: 50px;
    }
}

/* タブレットの設定 */
@media screen and (min-width: 1061px) and (max-width: 1185px) {

    .delete-tb {
        display: none;
    }

    h1 {
        text-align: center;
        font-size: 23px;
        letter-spacing: 2.5px;
        line-height: 43px;
        padding-bottom: 3%;
    }

    h2 {
        text-align: left;
        padding-top: 4%;
        padding-left: 4.5%;
        font-size: 23px;
        letter-spacing: 2.5px;
        line-height: 43px;
        font-weight: bold;
    }

    .top-adjust {
        padding-top: 11%;
        padding-bottom: 11%;
        display: flex;
        width: 100%;
        height: 65vh;
        background: linear-gradient(135deg, #2979FF, #5C6BC0, #7B1FA2, #FF4081);
        /* 青の比率を増やす */
        background-size: 300% 300%;
        animation: Grad 6s ease-in-out infinite alternate;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    /* ふんわりぼかしを追加 */
    .top-adjust::before {
        content: "";
        position: absolute;
        top: -10%;
        left: -10%;
        width: 120%;
        height: 120%;
        background: linear-gradient(135deg, #2979FF, #5C6BC0, #7B1FA2, #FF4081);
        /* 青を強調 */
        background-size: 300% 300%;
        filter: blur(60px);
        opacity: 0.5;
        z-index: -1;
        animation: GradBlur 8s ease-in-out infinite alternate;
    }

    /* 背景のなめらかな動き */
    @keyframes Grad {
        0% {
            background-position: 20% 20%;
        }

        50% {
            background-position: 70% 70%;
        }

        100% {
            background-position: 30% 30%;
        }
    }

    /* ぼかし背景のアニメーション */
    @keyframes GradBlur {
        0% {
            background-position: 25% 25%;
            transform: scale(1);
            opacity: 0.5;
        }

        50% {
            background-position: 60% 60%;
            transform: scale(1.1);
            opacity: 0.6;
        }

        100% {
            background-position: 35% 35%;
            transform: scale(1.05);
            opacity: 0.5;
        }
    }

    .search-form {
        color: white;
        background-color: transparent;
        border: 1px solid white;
        outline: none;
        /* アウトラインを削除 */
        padding: 8px;
        box-sizing: border-box;
        /* パディングを含めて幅を計算 */
    }

    .search-form::placeholder {
        color: rgba(255, 255, 255, 0.7);
        /* プレースホルダーの色を白っぽく設定（やや透明に） */
    }

    .search-size {
        width: 24px;
        height: 24px;
    }

    #form2 {
        display: flex;
        justify-content: center;
        border: solid 1.5px #d8d8d8;
        max-width: 600px;
        height: 50px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 2px;
    }

    #sbox3 {
        width: 520px;
        padding: 0 15px;
        border: none;
        outline: 0;
    }

    #sbtn4 {
        width: 50px;
        background: transparent;
        border: none;
        font-size: 18px;
        cursor: pointer;
    }

    #sbtn4:hover {
        color: #fff;
    }

    .other-footer-pc {
        padding-left: 50px;
    }

}

/* モバイルの設定 */
@media (max-width:1060px) and (min-width: 700px) {

    h1 {
        text-align: center;
        font-size: 23px;
        letter-spacing: 2.5px;
        line-height: 43px;
        padding-bottom: 3%;
    }

    h2 {
        text-align: left;
        padding-top: 4%;
        padding-left: 4.5%;
        font-size: 23px;
        letter-spacing: 2.5px;
        line-height: 43px;
        font-weight: bold;
    }

    .top-adjust {
        margin-top: -2%;
        padding-top: 13%;
        padding-bottom: 11%;
        background-image: url('/img/Templater.jpg');
        /* 画像ファイルの相対パスを指定 */
        background-size: cover;
        /* 画像を要素全体に拡大・縮小してカバー */
        background-position: center;
        /* 画像を中央に配置 */
        background-repeat: no-repeat;
        /* 画像の繰り返しを無効にする */
    }

    .search-form {
        color: white;
        background-color: transparent;
        border: 1px solid white;
        outline: none;
        /* アウトラインを削除 */
        padding: 8px;
        box-sizing: border-box;
        /* パディングを含めて幅を計算 */
    }

    .search-form::placeholder {
        color: rgba(255, 255, 255, 0.7);
        /* プレースホルダーの色を白っぽく設定（やや透明に） */
    }

    .search-size {
        width: 24px;
        height: 24px;
    }

    #form2 {
        display: flex;
        justify-content: center;
        border: solid 1.5px #d8d8d8;
        max-width: 600px;
        height: 50px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 2px;
    }

    #sbox3 {
        width: 520px;
        padding: 0 15px;
        border: none;
        outline: 0;
    }

    #sbtn4 {
        width: 50px;
        background: transparent;
        border: none;
        font-size: 18px;
        cursor: pointer;
    }

    #sbtn4:hover {
        color: #fff;
    }
}

/* モバイルの設定 */
@media (max-width:699px) {

    h1 {
        text-align: center;
        font-size: 20px;
        letter-spacing: 2.5px;
        line-height: 38px;
        padding-bottom: 5%;
    }

    h2 {
        text-align: left;
        padding-top: 4%;
        padding-left: 4.5%;
        font-size: 18px;
        letter-spacing: 2.5px;
        line-height: 43px;
        font-weight: bold;
    }

    .top-adjust {
        margin-top: -2%;
        padding-top: 13%;
        padding-bottom: 11%;
        background-image: url('/img/Templater.jpg');
        /* 画像ファイルの相対パスを指定 */
        background-size: cover;
        /* 画像を要素全体に拡大・縮小してカバー */
        background-position: center;
        /* 画像を中央に配置 */
        background-repeat: no-repeat;
        /* 画像の繰り返しを無効にする */
    }

    .search-form {
        color: white;
        background-color: transparent;
        border: 1px solid white;
        outline: none;
        /* アウトラインを削除 */
        padding: 8px;
        box-sizing: border-box;
        /* パディングを含めて幅を計算 */
    }

    .search-form::placeholder {
        color: rgba(255, 255, 255, 0.7);
        /* プレースホルダーの色を白っぽく設定（やや透明に） */
    }

    .search-size {
        width: 24px;
        height: 24px;
    }

    .search-ad {
        padding-right: 30px;
        padding-left: 30px;
    }

    #form2 {
        display: flex;
        justify-content: center;
        border: solid 1.5px #d8d8d8;
        max-width: 600px;
        height: 50px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 2px;
    }

    #sbox3 {
        width: 520px;
        padding: 0 15px;
        border: none;
        outline: 0;
    }

    #sbtn4 {
        width: 50px;
        background: transparent;
        border: none;
        font-size: 18px;
        cursor: pointer;
        padding-right: 20px;
    }

    #sbtn4:hover {
        color: #fff;
    }
}


/* モバイルの設定 */
@media (min-width: 521px) {

    .title-mb-delete {
        display: none;
    }

}

/* モバイルの設定 */
@media (max-width:520px) {

    .title-pc-delete {
        display: none;
    }

    .font-top {
        color: white;
        text-align: center;
        padding-top: 5%;
    }

}


/* モバイルの設定 */
@media (max-width:1060px) {

    header.delete-mb {
        display: none;
    }

    footer.delete-mb {
        display: none;
    }


    /* ハンバーガーメニュー */
    .logo2 {
        text-align: center;
    }

    .logo-block {
        display: block;
        width: 100%;
        height: 52px;
        background-color: white;
        position: fixed;
        /* 画面上部に固定 */
        top: 0;
        /* 上端に配置 */
        left: 0;
        /* 左端に配置 */
        z-index: 1000;
        /* 最前面に表示 */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        /* 影を追加して視認性を向上 */
    }

    /* 固定ヘッダーの下に余白を確保する */
    body {
        padding-top: 55px;
        /* ヘッダーの高さ分だけ余白を追加 */
    }

    /* Navbar & Navmenu color */
    :root {
        --background-navbar: rgba(255, 255, 255);
    }

    .header {
        background: var(--background-navbar);
        position: fixed;
        width: 100%;
        height: 52px;
    }

    /* Nav items */
    .menu {
        list-style: none;
        position: absolute;
        width: 100%;
        height: auto;
        top: 0;
        margin-top: 52px;
        padding: 0 0 10px 0;
        clear: both;
        background: var(--background-navbar);
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        transform: scale(1, 0);
        transform-origin: top;
    }

    /* Hamburger menu button */
    .menu-btn:checked~.menu {
        transform: scale(1, 1);
        transform-origin: top;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    /* Hamburger menbu text */
    .menu a {
        text-decoration: none;
        font-weight: bold;
        letter-spacing: 2px;
        font-size: 14px;
        text-transform: capitalize;
        color: #3b3b3b;
        opacity: 0;
        transition: 0.5s;
    }

    .menu li {
        padding: 15px 0;
        margin: 0 54px;
        opacity: 0;
        transition: 0.5s;
    }

    .menu-btn:checked~.menu a,
    .menu-btn:checked~.menu li {
        opacity: 1;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
    }

    .menu-btn {
        display: none;
    }

    .menu-icon {
        display: inline-block;
        position: relative;
        cursor: pointer;
        padding: 24px 14px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .navicon {
        background: #3b3b3b;
        display: block;
        height: 2px;
        width: 26px;
        position: relative;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    .navicon:before,
    .navicon:after {
        content: "";
        display: block;
        height: 2px;
        width: 100%;
        position: absolute;
        background: #3b3b3b;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    .navicon:before {
        top: 9px;
    }

    .navicon:after {
        bottom: 9px;
    }

    /* Hamburger Menu Animation Start */
    .menu-btn:checked~.menu-icon .navicon:before {
        transform: rotate(-45deg);
    }

    .menu-btn:checked~.menu-icon .navicon:after {
        transform: rotate(45deg);
    }

    .menu-btn:checked~.menu-icon:not(.steps) .navicon:before {
        top: 0;
    }

    .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
        bottom: 0;
    }

    .menu-btn:checked~.menu-icon .navicon {
        background: rgba(255, 255, 255, 0);
        transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    /* Hamburger Menu Animation End */

    /* Navbar Container */
    .navtext-container {
        width: 100%;
        height: 52px;
        position: absolute;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* プロフィールアイコンのスタイル */
    .profile-icon {
        position: absolute;
        right: 10px;
        top: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        overflow: hidden;
        margin-top: -4.3px;
    }

    .profile-icon img {
        width: 100%;
        height: auto;
        border-radius: 50%;
    }

    .profile-icon-container {
        position: relative;
    }

    /* プロフィールメニューの全画面表示 */
    .profile-menu {
        display: none;
        /* 初期状態を非表示に設定 */
        position: fixed;
        /* 全画面に広げるための設定 */
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.93);
        z-index: 999;
        display: flex;
        /* 要素を中央揃えするため */
        align-items: center;
        justify-content: center;
        flex-direction: column;
        clip-path: circle(0% at 50% 50%);
        /* 円形クリップパスを設定 */
        transition: clip-path 0.6s ease-in-out;
        /* 円の広がりアニメーション */
    }

    body.zooming .profile-menu {
        display: none;
        /* ズーム中はメニューを非表示 */
    }



    /* 表示時の状態 */
    .profile-menu.show {
        clip-path: circle(150% at 50% 50%);
        /* 円を画面全体まで広げる */
    }

    /* 各メニュー項目のスタイル */
    .profile-menu li {
        list-style: none;
        margin: 10px 0;
        /* ホバー時のスムーズな変化 */
        padding-bottom: 2%;
    }

    .profile-menu li a {
        text-decoration: none;
        color: white;
        /* テキストを白にする */
        font-size: 14px;
        /* フォントサイズを大きめに */
        font-weight: bold;
        /* 太字にする */
        padding: 10px 20px;
        /* 内側の余白を設定 */
        transition: background-color 0.3s, color 0.3s;
    }


    /* ここからフッター */
    .accordion {
        width: 100%;
    }

    /* inputのチェックボックスを非表示 */
    .accordion-hidden {
        display: none;
    }

    /* 見出しボタン部分 */
    .accordion-open {
        display: block;
        padding: 10px 80px 10px 10px;
        background: #c4c4c4;
        cursor: pointer;
        margin: 5px 0;
        position: relative;
    }

    /* ＋アイコン */
    .accordion-open::before,
    .accordion-open::after {
        content: '';
        width: 15px;
        height: 2px;
        background: #3e3e3e;
        position: absolute;
        top: 50%;
        right: 7%;
        transform: translateY(-50%);
    }

    /* アイコンのー */
    .accordion-open::after {
        transform: translateY(-50%) rotate(90deg);
        transition: .5s;
    }

    /* アコーディオンが開いたらーに */
    .accordion-hidden:checked+.accordion-open:after {
        transform: translateY(-50%) rotate(0);
    }

    /* アコーディオン中身部分 */
    .accordion-inner {
        display: block;
        height: 0;
        overflow: hidden;
        padding: 0;
        opacity: 0;
        transition: 0.5s;
        /* 表示速度の設定 */
        cursor: pointer;
    }

    /* チェックボックスにチェックが入ったら中身部分を表示する */
    .accordion-hidden:checked+.accordion-open+.accordion-inner {
        height: auto;
        opacity: 1;
        padding: 10px;
    }

}