.container {
    text-align: center;
    margin: 0;
}

.dli-arrow-up {
    display: inline-block;
    vertical-align: middle;
    color: white;
    line-height: 1;
    position: relative;
    width: 0.1em;
    height: 1em;
    background: currentColor;
}

.dli-arrow-up::before {
    content: '';
    width: 0.65em;
    height: 0.65em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(-45deg);
    transform-origin: top right;
    position: absolute;
    top: -0.05em;
    right: 50%;
    box-sizing: border-box;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bffc0;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: none;
    z-index: 9999;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.sns-icon {
    margin-right: 1rem;
    text-decoration: none;
}

.sns-icon :hover,
.menu-btn :hover,
.button-link :hover {
    transform: translateY(5px);
}

.index {
    margin-top: 6rem;
}

.index img{
    height: 120px;
}

#header {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
}

#avatar img{
    width: 400px;
}

#avatar {
    display: flex;
    align-items: center;
}

#logo img{
    height: 150px;
}

#logo {
    margin-top: 4rem;
    margin-bottom: 1rem;
}

#top-menu {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

#top-menu img{
    height:100px
}

.menu-btn {
    text-decoration: none;
}

#profile {
    margin-top: 15rem;
}

.prof-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 180px;
    max-width: 1000px;
    margin: 0 auto;
}

.pop-title.prof {
    margin-left: 0;
}

.pop-title img{
    height:100px;
}

.sns-icons.prof {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sns-icons img{
    height:70px;
}

#introduction {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

#introduction-content {
    text-align: left;
    font-size: 1.4rem;
    color: #0066cc; /* 青色のテキスト */
    font-family: "Rounded Mplus 1c", "M PLUS Rounded 1c", "ヒラギノ丸ゴ Pro W4", "Hiragino Maru Gothic Pro", "メイリオ",
    Meiryo, Arial, sans-serif;
    line-height: 1.6;
}

#introduction-content p {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
}

/* 各項目の見出し部分（なまえ：、誕生日：など）の色を濃い青に */
#introduction-content p strong,
#introduction-content p span:first-child {
    font-weight: bold;
}

/* アイコンの位置調整用 */
#introduction-content p::before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

/* 各項目ごとに異なるアイコンを設定 */
#introduction-content p:nth-child(1)::before {
    background-image: url("storage/img/hp/star-icon.png");
}

#introduction-content p:nth-child(2)::before {
    background-image: url("storage/img/hp/shell-icon.png");
}

#introduction-content p:nth-child(3)::before {
    background-image: url("storage/img/hp/star-blue-icon.png");
}

#introduction-content p:nth-child(4)::before {
    background-image: url("storage/img/hp/shell-pink-icon.png");
}

.introduction-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.introduction-icon.avatar img{
    height:400px;
}

.introduction-icon.mascot img{
    height:70px;
}

.pop-title.delivery img{
    height:50px;
}

.movie {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.movie-area {
    width: 300px;
    margin: 0.5rem;
}

/* movie-imgクラスを相対位置に設定し、YouTubeロゴを配置できるようにします */
.movie-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

/* YouTubeロゴを表示するための疑似要素 */
.movie-img::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z' fill='%23f00'%3E%3C/path%3E%3Cpath d='M 45,24 27,14 27,34' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.9;
    pointer-events: none;
}

  /* ホバー時のスタイル */
.movie-img:hover img {
    transform: scale(1.05);
}

.movie-area img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.movie-area img:hover {
    transform: scale(1.05);
}

.movie-area a {
    text-decoration: none;
    color: #0066cc;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
    text-align: left;
}

.movie iframe{
    width:300px;
    height:200px;
    margin: 0.5rem;
}

.article {
    max-width: 800px;
    margin: 20px auto;
    background-color: #a8e4f1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.article::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-image: url("storage/img/hp/bubble1.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.article::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background-image: url("storage/img/hp/bubble2.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.article .top {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid #f5f09a;
}

.article .date {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f5f09a;
    margin-right: 20px;
    min-width: 120px;
}

.article .title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    flex-grow: 1;
    text-align: left;
}

.article .down {
    padding: 15px 20px;
}

.article .content {
    font-size: 1.1rem;
    color: #fb63c6;
    text-align: left;
}

.goods-image,
.gallery-image {
    margin: 2rem;
}

.goods-image img {
    margin-left: 2rem;
    height: 300px;
}

.goods-image a{
    text-decoration: none;

}

.goods-image a img:hover{
	opacity:0.5;
	transition:0.3s;
    transform: translateY(3px);

}

/* ギャラリーのスライドショー表示用スタイル */
.gallery-image {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOSでのスムーズスクロール */
    gap: 1rem;
    margin: 2rem auto;
    width: 90%;
    max-width: 1200px;
    padding: 1rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gallery-image img {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-image img:hover {
    transform: scale(1.05);
}

.dli-chevron-round-left {
    display: inline-block;
    vertical-align: middle;
    color: white;
    line-height: 1;
    position: relative;
    width: 0.8em;
    height: 0.8em;
    transform: translateX(0) rotate(-135deg);
}

.dli-chevron-round-left::before, .dli-chevron-round-left::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 0.1em;
}

.dli-chevron-round-left::before {
    top: 0;
    left: 0;
    right: 0;
    height: 0.1em;
}

.dli-chevron-round-left::after {
    top: 0;
    right: 0;
    bottom: 0;
    width: 0.1em;
}

.dli-chevron-round-right {
    display: inline-block;
    vertical-align: middle;
    color: white;
    line-height: 1;
    position: relative;
    width: 0.8em;
    height: 0.8em;
    transform: translateX(0) rotate(45deg);
}

.dli-chevron-round-right::before, .dli-chevron-round-right::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 0.1em;
}

.dli-chevron-round-right::before {
    top: 0;
    left: 0;
    right: 0;
    height: 0.1em;
}

.dli-chevron-round-right::after {
    top: 0;
    right: 0;
    bottom: 0;
    width: 0.1em;
}

/* モーダル表示用のスタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    transition: 0.3s;
}

.modal-content {
    display: block;
    position: relative;
    margin: auto;
    /* 最大幅・高さの制限を削除し、元のサイズを維持 */
    object-fit: contain;
    top: 50%;
    transform: translateY(-50%);
}

/* モーダル内のナビゲーションボタン */
.modal-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1002;
    pointer-events: none;
}

.modal-nav button {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    padding: 0;
    pointer-events: auto;
}

.modal-nav button:hover {
    background-color: rgba(0, 0, 0, 1);
    transform: scale(1.05);
}

/* 左右の矢印ボタンを個別にスタイリング */
.modal-nav button.prev-btn {
    margin-left: 10px;
}

.modal-nav button.next-btn {
    margin-right: 10px;
}

  /* モーダル内の画像カウンター */
.modal-counter {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1rem;
    z-index: 1002;
    }

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* ナビゲーションボタン */
.gallery-nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

.gallery-nav button {
    background-color: #007bffc0;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    padding: 0;
    pointer-events: auto;
}

.gallery-nav button:hover {
    background-color: #0056b3;
}

.button-link img{
    height: 50px;
}

.contact-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1rem;
}

.contact-contents {
    display: inline-block;
    width: 100%;
    max-width: 450px;
    margin: 0;
    vertical-align: top;
    padding: 0 10px;
}

.contact-title {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.contact-content {
    color: #036eb7;
    font-weight: bold;
    margin: 1rem;
    padding: 1rem 2rem;
    background-color: rgb(255, 255, 255, 0.8);
    border-radius: 30px;
    text-align: left;
}

.guide-line-section {
    padding: 2rem 0;
    background-color: rgb(255, 255, 255, 0.8);
}

.guid-images {
    text-align: left;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1000px;
}

.guid-images a {
    color: #f7c2f9;
    font-weight: bold;
    font-size: 1.6rem;
    text-decoration: underline;
}

.guid-images a:hover{
    color: #fb99fe;
    transform: translateY(-3px);
}

.guid-image {
    display: inline-block;
    color: #036eb7;
    font-weight: bold;
    font-size: 2rem;
    width: 100%;
    max-width: 500px;
    margin: 0;
    vertical-align: top;
}

.guid-image img {
    transform: scale(-1, 1);
    height: 100px;
}

.guide-contents {
    padding: 1rem;
    text-align: left;
    display: inline-block;
    width: 80%;
    max-width: 450px;
    margin: 0;
    vertical-align: top;
}

.guide-title {
    color: #036eb7;
    font-weight: bold;
}

.guide-content {
    color: #21c9f7;
}

.pop-title,
.movie {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

#footer {
    margin-bottom: 5rem;
}

/* お問い合わせページ*/
#contact-page {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.contact-top {
    margin-top: 4rem;
    height: 120px;
}

.back-to-main {
    position: fixed;
    font-size: 0.8rem;
    top: 20px;
    right: 20px;
    background-color: #007bffc0;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-main:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #21c9f7;
    box-shadow: 0 0 0 3px rgba(33, 201, 247, 0.25);
    outline: none;
}

.required {
    color: #ff69b4;
    margin-left: 0.5rem;
}

.submit-button {
    background-color: #21c9f7;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #0099cc;
    transform: translateY(-3px);
}

.back-button {
    background-color: #a8e4f1;
    color: #036eb7;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-right: 1rem;
    margin-top: 1rem;
}

.back-button:hover {
    background-color: #8fd5e6;
    transform: translateY(-3px);
}

.button-group {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.form-group p {
    padding: 1rem;
    margin: 0;
    border-radius: 10px;
    background-color: rgb(255, 255, 255, 0.7);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

  /* 横スクロールを防止するための設定を追加 */
body {
    overflow-x: hidden;
    width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .container {
        text-align: center;
        margin: 2rem 0;
    }
    #header {
    flex-direction: column;
    }

    #profile {
        margin-top: 3rem;
    }
    .prof-header {
        flex-direction: column;
        gap: 20px;
    }

    .prof-header {
        padding: 0;
    }

    .article {
        margin: 20px 1rem;
    }

    .guide-line-section {
        padding: 20px;
    }

    .guid-images {
        padding: 1rem;
        margin: 0;
    }
    .pop-title,
    .movie {
        margin-left: 0;
        text-align: center;
    }

    #introduction {
        flex-direction: column;
    }

    #introduction-content {
        text-align: center;
    }
}

  /* 7. 500px以下の画面幅に対応するメディアクエリを追加 */
@media (max-width: 600px) {
    .movie iframe {
        width: 100%;
        max-width: 300px;
    }

    .goods-image img {
        margin-right: 0;
        margin-bottom: 1rem;
        max-width: 100%;
        height: auto;
    }

    .gallery-image {
        width: 90%;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    #introduction-content {
        font-size: 1.2rem;
        padding: 0 10px;
    }

    .article .date {
        font-size: 1rem;
        min-width: 90px;
    }

    .article .title {
        font-size: 1.2rem;
    }

    .guid-images a {
        font-size: 1.2rem;
    }

    .guid-image {
        font-size: 1.4rem;
    }

    .index img{
        height: 80px;
    }

    .pop-title img{
        height: 60px;
    }

    .button-link img{
        height: 40px;
    }

    #avatar img{
        width: 300px;
    }

    #logo img{
        width: 300px;
    }

    .pop-title.delivery img{
        height:40px;
    }

    .sns-icons img{
        height: 100px;
    }

    .contact-top {
        height: 80px;
    }

    .form-group label {
        margin: 0 2rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select,
    .form-group p,
    #contact-form h2 {
        margin: 0 2rem;
    }

    .sns-icons img{
        height:60px;
    }

    .gallery-image img{
        height: 300px;
    }

    .goods-image img{
        height: 200px;
        margin-left: 0;
    }

    .contact-contents{
        max-width: 90%;
    }

    #introduction-content {
        font-size: 1rem;
        text-align: left;
    }

    #introduction-content p {
        padding: 0;
    }

}

