body {
    margin: 0;
    font-family: 'Comic Sans MS', 'Helvetica', sans-serif;
    background: #fafafa;
    color: #333;
}

header {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header p {
    text-align: center;            /* テキストを中央揃え */
    font-size: 1.5rem;             /* 少し大きめの文字サイズ */
    font-weight: bold;             /* 太字にする */
    color: #ff4c94;                /* 明るめのポップなピンク */
    background: linear-gradient(45deg, #ffe600, #ff4c94, #00e0ff);  /* カラフルグラデ背景 */
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 20px auto;             /* 上下余白 */
    display: inline-block;
  }
  
header img {
    height: 40px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
}

nav a {
    position: relative;
    display: inline-block;
    padding: 18px 20px;
    font-size: 18px;
    background-color: #fff;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-family: 'Comic Sans MS', sans-serif;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* 各ボタンカラー */
nav a:nth-child(1) {
    background: #ffb3ba;
    /* ピンク */
}

nav a:nth-child(2) {
    background: #baffc9;
    /* グリーン */
}

nav a:nth-child(3) {
    background: #bae1ff;
    /* ブルー */
}

/* 吹き出しのしっぽ部分 */
nav a::before {
    content: "";
    position: absolute;
    bottom: -8px;
    /* しっぽの位置 */
    left: 20px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 24px solid transparent;
    /* 上部のボーダーなし */
    transform: translateX(0) translateY(4px);
    /* 少し離して、くっつけた感をなくす */
}

/* 各ボタンカラーに合わせた三角形の色 */
nav a:nth-child(1)::before {
    border-top-color: #ffb3ba;
    /* ピンク系 */
}

nav a:nth-child(2)::before {
    border-top-color: #baffc9;
    /* グリーン系 */
}

nav a:nth-child(3)::before {
    border-top-color: #bae1ff;
    /* ブルー系 */
}

/* ホバー時の影や浮き上がり */
nav a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.main-visual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding: 0 5%;
    box-sizing: border-box;
}

.main-visual .text {
    flex-basis: 45%;
    /* テキストが45%を確保 */
    max-width: 45%;
    text-align: left;
    z-index: 10;
    position: relative;
}

.main-visual .text h1 {
    font-size: 4em;
    margin: 0 0 20px;
}

.main-visual .text p {
    font-size: 1.5em;
    line-height: 1.6;
}

.main-visual .image {
    flex-basis: 50%;
    /* 画像は50% */
    max-width: 50%;
    background: url('images/craiyon_132300_I_want_the_girl_in_the_attached_image_to_look_almost_the_same__with_a_ponytail_hairst.png') no-repeat right center / contain;
    height: 100%;
    margin-left: auto;
}


.toc {
    background: #ffe4e1;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.toc a {
    display: inline-block;
    padding: 15px 25px;
    background: #fff;
    color: #333;
    border: 3px solid #000;
    /* 太めのフチ */
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 4px 4px 0 #000;
    /* 手描き風影 */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.toc a:nth-child(1) {
    background: #ffb3ba;
    transform: rotate(-2deg);
}

.toc a:nth-child(2) {
    background: #baffc9;
    transform: rotate(2deg);
}

.toc a:nth-child(3) {
    background: #bae1ff;
    transform: rotate(-1.5deg);
}

.toc a:hover {
    transform: translateY(-4px) rotate(0deg);
    box-shadow: 8px 8px 0 #000;
}

section {
    padding: 50px 20px;
    max-width: 1000px;
    margin: auto;
}

#price p {
    font-size: 1.5em;
    font-weight: bold;
    padding: 12px;
    background: #ffb3ba; 
    color: #333;
    border-radius: 8px;
    text-align: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); /* 軽い影で柔らかい印象 */
    margin: 15px 0;
}

#price p:hover {
    transform: translateY(-3px);
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15); /* ホバー時に影が少し強調される */
}


#price ul {
    list-style: none;
    padding: 0;
    font-size: 1.2em;
}

#price li {
    /* background: #c8e6c9; */
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
}

.green-item li {
    background: #c8e6c9;
}

.price-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.price-item {
    /* background: #f5f5f5; */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.price-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.price-item ul {
    list-style: none;
    padding: 0;
}

.price-item li {
    font-size: 1.1em;
    margin: 5px 0;
}

.price-item p {
    font-weight: bold;
    font-size: 1.2em;
}

.pink-list li {
    font-size: 1.5em;
    font-weight: bold;
    padding: 12px;
    background: #ffb3ba; 
    color: #333;
    border-radius: 8px;
    text-align: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); /* 軽い影で柔らかい印象 */
    margin: 15px 0;

}

.pink-list li:hover {
    transform: translateY(-3px);
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15); /* ホバー時に影が少し強調される */
}



.note {
    background: #fffbf1;
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin-top: 30px;
    font-size: 1.1em;
    color: #555;
}

.note p {
    margin: 10px 0;
}


#archive img {
    width: 100%;
    max-width: 400px;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#contact a {
    display: inline-block;
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    background-size: 300% 300%;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2), 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
    /* ←手書き感UP */
}

#contact a:hover {
    transform: translateY(-3px) rotate(-1deg);
    background-position: right center;
    box-shadow: 0 9px 0 rgba(0, 0, 0, 0.2), 0 12px 20px rgba(0, 0, 0, 0.3);
}


footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
}

/* レスポンシブ対応！768px以下 */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }

    header img {
        height: 35px;
        margin-bottom: 10px;
    }

    nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 0;
    }

    nav a {
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 6px;
    }

    nav a::before {
        bottom: -6px;
        left: 15px;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 18px solid transparent;
        transform: translateX(0) translateY(3px);
    }


    /* .main-visual {
        flex-wrap: wrap;
        padding: 0;         
        margin: 0;          
        margin-top: 0;     
        margin-bottom: 0;  
        height: auto;      
        overflow: hidden;   
        display: flex;      
        justify-content: center;
        align-items: center;
        } */

    /* .main-visual .image {
        width: 100%;
        aspect-ratio: 16 / 9;
        background-position: center;
        background-size: contain;
    }

    .main-visual .text {
        margin-bottom: 20px;
    } */

    .main-visual {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px 5%;
        height: auto; /* 縦長になるので高さ自動 */
    }

    .main-visual .text {
        flex-basis: auto;
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .main-visual .image {
        flex-basis: auto;
        max-width: 100%;
        width: 100%;
        height: 60vh;  /* 画面の6割くらい縦を使う */
        background-size: contain;
        background-position: center center;
    }

    .main-visual .text h1 {
        font-size: 2.8em;
    }

    .main-visual .text p {
        font-size: 1.2em;
    }

    .toc {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 10px;
    }

    .toc a {
        width: 90%;
        font-size: 16px;
        transform: rotate(0deg);
        /* モバイルでは回転解除して整える */
    }

    section {
        padding: 40px 15px;
    }

    #archive img {
        max-width: 100%;
        height: auto;
        margin: 5px 0;
    }

    #contact a {
        width: 90%;
        text-align: center;
        font-size: 16px;
        padding: 14px 20px;
    }
}

/* 480px以下：スマホ用もっと最適化 */
@media (max-width: 480px) {

    nav {
        justify-content: center;
    }

    nav a {
        font-size: 15px;
        padding: 10px 14px;
    }

    .main-visual .text h1 {
        font-size: 2.2em;
    }

    .main-visual .text p {
        font-size: 1em;
    }

    .toc a {
        font-size: 15px;
        padding: 12px 20px;
    }

    section h2 {
        font-size: 24px;
    }

    #price li {
        font-size: 1em;
        padding: 8px;
    }

    footer {
        font-size: 12px;
        padding: 15px 10px;
    }
}
