/* CSS変数の定義 */
:root {
    /* メインカラー */
    --color-primary-blue: #6583ff;
    --color-primary-green: #daf254;
    --color-primary-orange: #ff6d32;
    --color-primary-light-orange: #ff9971;
    --color-primary-cream: #fff6ed;
    
    /* テキストカラー */
    --color-text-dark: #454a66;
    --color-text-white: #ffffff;
    
    /* アクセントカラー */
    --color-accent-blue: #5a7df5;
    --color-accent-green: #b8e6a3;
    --color-accent-light-blue: #e8f4fd;
    --color-accent-gray: #f0f0f0;
}

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}
p {
    color: var(--color-text-dark);
    line-height: 1.8;
}

a {
    display: inline-block;
}
.strech-link-item {
    position: relative;
    transition: transform 0.2s ease;
}

/* PCでのみホバー効果を有効化 */
@media (min-width: 769px) {
    .strech-link-item:hover {
        transform: scale(1.02);
    }
}
.strech-link-item a.strech-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cloud-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 640px;
    background-image: url("./image/main/bg-content.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 100;
}

/* Google Font */
.kosugi-maru-regular {
    font-family: "Kosugi Maru", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zen-kaku-gothic-new-regular {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zen-kaku-gothic-new-medium {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.zen-kaku-gothic-new-bold {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.zen-kaku-gothic-new-black {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.m-plus-rounded-1c-regular {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.m-plus-rounded-1c-medium {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.m-plus-rounded-1c-bold {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.m-plus-rounded-1c-extrabold {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 800;
    font-style: normal;
}



/* 中央のスクロールボックス */
.scroll-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 560px;
    max-width: 1000px;
    overflow-y: auto;
    overflow-x: visible;
    z-index: 150;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Main要素 */
main {
    min-height: 100vh;
    position: relative;
}

/* ページスクロール用の追加領域 */
main::after {
    content: '';
    display: block;
    height: calc(80vh * 10);
    width: 100%;
}

/* セクション共通スタイル */
.section {
    min-height: 560px;
    height: 70vh;
    position: relative;
    padding: 10px 0 10vh;
    transition: all 0.8s ease-in-out;
}
.section-08, .section-09, .section-10, .section-11 {
    min-height: 70vh;
    height: auto;
}

.container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
}

/* セクション8以降のcontainerは通常配置 */
.section-08 .container,
.section-09 .container,
.section-10 .container,
.section-11 .container {
    position: static;
    top: auto;
    transform: none;
    padding: 20px;
}

/* フッター */
footer {
    position: relative;
    border-radius: 20px;
    padding: 30px 0;
    margin-top: 50px;
    z-index: 200;
    opacity: 1;
}

footer small {
    color: var(--color-text-dark);
}

.footer-box {
    width: 100%;
    max-width: 680px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 20px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-title-image {
    max-width: 120px;
    margin-top: 10px;
}

.footer-text p {
    text-align: left;
    font-size: 14px;
}

.footer-text p a {
    color: var(--color-primary-orange);
    font-weight: bold;
}

.footer-operation-box {
    display: flex;
    color: var(--color-text-dark);
    text-align: left;
    font-size: 14px;
}

/* ナビゲーションドット */
.navigation-dots {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* PCでのみホバー効果を有効化 */
@media (min-width: 769px) {
    .dot:hover {
        background-color: rgba(255, 255, 255, 0.8);
        transform: scale(1.1);
    }
}

/* セクション内のオブジェクト */
.section-objects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.bg-object {
    position: absolute;
    opacity: 1;
    transition: all 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.bg-object-dot {
    position: absolute;
}

.obj-1 { top: 15%; left: -8%; width: 380px; height: 280px; }
.obj-2 { bottom: -4%; right: -5%; width: 380px; height: 280px; }
.obj-3 { top: -7%; left: 35%; width: 510px; height: 310px; }
.obj-4 { bottom: -25%; left: 40%; width: 470px; height: 370px; }
.obj-5 { bottom: -5%; left: -9%; width: 440px; height: 340px; }
.obj-6 { top: -10%; right: -5%; width: 450px; height: 340px; }

.dot-object01 { top: 0; left: 0; right: 0; margin: 0 auto; width: calc(384px/2); height: calc(385px/2); }
.dot-object02 { bottom: 2%; left: 6%; width: calc(245px/2); height: calc(271px/2); }
.dot-object03 { top: 50%; left: -2%; width: calc(240px/2); height: calc(249px/2); }
.dot-object04 { top: 10%; right: -2%; width: calc(240px/2); height: calc(249px/2); }
.dot-object05 { bottom: -2%; left: 0; right: 0; margin: 0 auto; width: calc(275px/2); height: calc(306px/2); }
.dot-object06 { bottom: 40%; right: 5%; width: calc(279px/2); height: calc(253px/2); }

/* ヘッダー */
.header {
    width: 95%;
    margin: 20px auto;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: fixed;
    z-index: 1000;
}
.sp-header {
    display: none;
}

.logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.osaka-logo-image,
.osf-logo-image {
    width: 100%;
    height: 24px;
}

.hashtags {
    display: flex;
    gap: 20px;
}

.sanka-muryo-image,
.youmoushikomi-image {
    width: 100%;
    height: 24px;
}

/* イベント詳細 */
.event-details {
    width: 50%;
    padding: 20px;
}

.event-description {
    padding: 20px;
}

.description-text {
    font-size: 17px;
    line-height: 2;
}

.description-text p {
    text-align: left;
    margin-bottom: 20px;
}

.top-section-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px; /* 20px 50px */
    position: relative;
    z-index: 2;
}

/* ゲスト画像コンテナ */
.guest-images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 200;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.guest-images-container.hidden {
    opacity: 0;
}

.guest-images-container.hidden .guest-image {
    pointer-events: none;
}

.guest-image {
    position: absolute;
    width: 230px;
    height: auto;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.2s ease;
}

/* PCでのみホバー効果を有効化 */
@media (min-width: 769px) {
    .guest-image:hover {
        transform: scale(1.05);
    }

    .guest-image-4:hover {
        transform: translateY(-50%) scale(1.05);
    }
}

.guest-image-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ゲスト画像配置 - 雲の枠の外側 */
.guest-image-1 {
    top: 38%;
    left: -3%;
}

.guest-image-2 {
    bottom: -2%;
    left: 3%;
}

.guest-image-3 {
    top: -2%;
    right: 1%;
}

.guest-image-4 {
    top: 44%;
    right: -3%;
    transform: translateY(-50%);
}

.guest-image-5 {
    bottom: 13%;
    right: 4%;
}

.guest-image-6 {
    top: 3%;
    left: -1%;
}

.guest-image-7 {
    bottom: -8%;
    right: -4%;
}

.recruit-section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    position: relative;
    z-index: 2;
}

.recruit-section-inner h2,
.recruit-section-inner p {
    width: 100%;
    text-align: center;
    letter-spacing: 1px;
}

.recruit-section-title {
    max-width: 480px;
    margin-bottom: 30px;
}

.recruit-list {
    max-width: 680px;
    margin-bottom: 30px;
}

.here-button {
    max-width: 60px;
    position: relative;
    left: -4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* PCでのみホバー効果を有効化 */
@media (min-width: 769px) {
    .here-button:hover {
        transform: scale(1.05);
    }
}

.guest-section-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
}

.guest-details {
    width: 55%;
}

.guest-title-image {
    width: 100%;
}

.guest-description {
    width: 40%;
}

.guest-text p {
    color: var(--color-accent-blue);
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 15px;
}

.guest-hushtag span {
    font-size: 12px;
    margin-right: 3px;
    color:var(--color-text-dark);
    font-weight: 500;
    white-space: nowrap;
}

.more-buttons {
    max-width: 130px;
    margin: 10px auto 30px;
}

.more-button {
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* PCでのみホバー効果を有効化 */
@media (min-width: 769px) {
    .more-button:hover {
        transform: scale(1.05);
    }
}

.accordion-content {
    margin-bottom: 30px;
    animation: slideDown 0.3s ease-out;
}

.accordion-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    padding-bottom: 10px;
}

.accordion-text p {
    text-align: left;
    font-size: 12px;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    font-weight: 500;
    text-align: justify;
}

.time {
    margin-bottom: 10px;
}

.reservation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.reservation-button{
    width: 100%;
}
.reservation-button a{
    width: 100%;
}

.reservation-button-image {
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* PCでのみホバー効果を有効化 */
@media (min-width: 769px) {
    .reservation-button-image:hover {
        transform: scale(1.05);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* レスポンシブデザイン */
@media (max-width: 767px) {
    .navigation-dots{
        display: none;
    }
    .header{
        visibility: hidden;
    }

    .main-title img{
        margin: 30px auto;
    }

    footer {
        margin-bottom: 0;
        padding-bottom: 10px;
    }
    
    /* モバイル用ゲスト画像スタイル - 非表示 */
    .guest-images-container {
        display: none !important;
    }
    
    /* スマホ幅時はホバー無効化 */
    .strech-link-item:hover {
        transform: none !important;
    }
    .guest-image:hover,
    .guest-image-4:hover {
        transform: none !important;
    }
    .here-button:hover {
        transform: none !important;
    }
    .more-button:hover {
        transform: none !important;
    }
    .reservation-button-image:hover {
        transform: none !important;
    }
    .dot:hover {
        background-color: rgba(255, 255, 255, 0.5) !important;
        transform: none !important;
    }
    
    .footer-box{
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }
    .footer-title-image{
        margin-top: 0;
        max-width: 80px;
        margin: 0 auto;
    }
    .sp-header {
        display: block;
        margin: 30px auto;
    }
    .sp-header .hashtags {
        margin-bottom: 20px;
    }
    .sp-header .hashtags, .sp-header .logos {
        justify-content: center;
    }
    .section {
        height: auto;
        min-height: auto;
        padding-top: 30px;
        padding-bottom: 60px;
        background-color: #fff;
    }
    .container {
        position: static;
        transform: none;
        height: 100%;
    }
    
    /* スマホ版での背景オブジェクトの調整 */
    .bg-object {
        opacity: 1;
    }
    
    .obj-1 { top: 8%; left: -12%; width: 220px; height: 160px; }
    .obj-2 { bottom: 8%; right: -10%; width: 200px; height: 150px; }
    .obj-3 { top: -5%; left: 28%; width: 240px; height: 180px; }
    .obj-4 { bottom: -8%; left: 32%; width: 220px; height: 160px; }
    .obj-5 { bottom: 12%; left: -10%; width: 200px; height: 150px; }
    .obj-6 { top: -6%; right: -8%; width: 220px; height: 160px; }
    .dot-object06{bottom: 40%; right: -5%;}

    .cloud-container {
        background: none;
        min-width: 320px;
        width: 90%;
        height: 98vh;
        border-radius: 100px;
    }
    .cloud-left {
        display: block;
        position: absolute;
        top: 0;
        left: -20px;
        width: 120px;
        height: 100%;
        background-image: url(./image/main/sp-cloud-left.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }
    .cloud-right {
        display: block;
        position: absolute;
        top: 0;
        right: -20px;
        width: 120px;
        height: 100%;
        background-image: url(./image/main/sp-cloud-right.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }
    .cloud-container::before{
        content: "";
        display: block;
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        width: 100%;
        height: 120px;
        background-image: url(./image/main/sp-cloud-top.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }
    .cloud-container::after {
        content: "";
        display: block;
        position: absolute;
        bottom: -10px;
        left: 0;
        right: 0;
        width: 100%;
        height: 120px;
        background-image: url(./image/main/sp-cloud-bottom.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }
    .section-08 .container, .section-09 .container, .section-10 .container, .section-11 .container{
        padding: 0;
    }

    .section-11{
        padding-bottom: 0;
    }
    .description-text p {
        text-align: center;
        font-size: clamp(12px,3.2vw,14px);
        margin-bottom: 12px;
    }

    .description-text p span{
        color: #ff6d32;
        font-weight: 800;
        font-size:110%;
    }

    .event-description {
        padding: 0;
    }

    .scroll-container {
        width: 81%;
        height: 85vh;
        margin: 0 auto;
        background-color: white;
    }
    .top-section {
        padding-top: 0;
        margin-top: 0;
    }
    .top-section-inner {
        flex-wrap: wrap;
        padding: 10px;
    }
    .sanka-muryo-image,
    .youmoushikomi-image{
        height: 16px;
    }

    .event-details {
        width: 100%;
    }
    .recruit-section-inner p{
        font-size: 12px;
    }

    .event-description {
        width: 100%;
    }

    .guest-section-inner {
        padding: 10px;
        flex-wrap: wrap;
    }

    .guest-title-image{
        margin-bottom: 1rem;
    }

    .guest-details {
        width: 100%;
    }

    .guest-description {
        width: 100%;
    }

    .guest-text p{
        font-size: 14px;
    }

    .recruit-section-inner {
        padding: 10px;
    }
    .guest-hushtag{
        line-height: 1.3;
    }
    .guest-hushtag span{
        white-space:normal;
    }
}

/* ゲストへの質問・相談受付中！ */

.requests-section-inner{
    max-width: 720px;
    margin: 0 auto;
}
.requests-section-title{
    max-width: 420px;
    margin: 0 auto 20px;
}
.requests-section-text{
    font-size: 17px;
    text-align: center;
    margin-bottom: 40px;
}
ul.requests-list {
    list-style: none;
}
.requests-list-item{
    position: relative;
    padding-left: 5em;
    margin-bottom: 52px;
}
.requests-list-item p{
    font-size: 16px;
    line-height: 1.8;
}
.requests-list-item::before{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
}
.requests-list-item:first-of-type::before{
    background-image: url("./image/main/number-01.svg");
}
.requests-list-item:nth-of-type(2)::before{
    background-image: url("./image/main/number-02.svg");
}
.requests-list-item:nth-of-type(3)::before{
    background-image: url("./image/main/number-03.svg");
}
.requests-list-item-title{
    max-width: 400px;
    margin-bottom: 12px;
    padding-top: 18px;
}
.requests-list-item-image{
    margin-bottom: 20px;
}
ul.requests-list-caution{
    list-style: none;
    margin-top: 20px;
    padding-left: 1em;
    text-indent: -0.5em;
    font-size: 13px;
    color: var(--color-text-dark);
    font-weight: 500;
}

ul.requests-list-caution li{
    margin-bottom: 0.3rem;
}

ul.requests-list-caution li::before{
    content: "※";
    display: inline-block;
}

.requests-list-caution span{
    color:#ff6d32;
}

.entry-button {
    margin: 50px auto;
    display: block;
    max-width: 320px;
}

@media (max-width: 767px) {
    .event-details{
        padding-top: 0;
    }
    .requests-section-text{
        margin-bottom: 20px;
        font-size: 15px;
    }
    .requests-list-item {
        position: relative;
        padding-left: 0;
        margin-bottom: 32px;
        margin-top: 50px;
    }

.here-button {
    max-width:48px;
}

.requests-list-item p{
    font-size: 14px;
    text-align: justify;
}

.requests-list-item-title {
    margin-bottom: 12px;
    padding-top: 0;
}
.requests-list-item-title img{
    display: none;
}
.requests-list-item-title img.sp-only{
    display: block;
}
    .requests-list-item::before {
        background-image: none !important;
    }

.ul.requests-list-caution li{
    margin-bottom: 0.5rem;
    text-align: justify;
}

}

/* お知らせ */
.news-section-inner{
    max-width: 720px;
    margin: 0 auto;
}
.news-section-box{
    margin-bottom: 30px;
}
.news-section-title{
    max-width: 200px;
    margin: 0 auto 50px;
}
.news-archive-title{
    max-width: 420px;
    margin: 0 auto 20px;
}
.news-caution-title{
    max-width: 150px;
    margin: 0 auto 20px;
}

.news-archive-text{
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}
ul.news-archive-list{
    list-style: none;
    padding-left: 1em;
    text-indent: -1em;
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
    color: var(--color-text-dark);
}
ul.news-archive-list li{
    padding-bottom: 2px;
    font-weight: 500;
}
ul.news-archive-list li::before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    margin-right: 10px;
    background-color: var(--color-text-dark);
}

/* おすすめセミナー */
.seminar-section-inner {
    max-width: 840px;
    margin: 0 auto;
}
ul.seminar-list{
    list-style: none;
}
.seminar-list-item{
    margin-bottom: 40px;
}
.seminar-list-item-box{
    display: flex;
    gap: 20px;
    overflow: visible;
}
.seminar-list-item-box-image{
    width: 40%;
}
.seminar-list-item-box-text{
    width: 60%;
    overflow: visible;
}

.seminar-list-item-box-text img.sp-only{
    display: none;
}

.seminar-section-title-text{
    font-size: 15px;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}
.seminar-section-title{
   max-width: 380px;
    margin: 0 auto 30px;
}
.seminar-list-item-box-text-column{
    display: flex;
    align-items: end;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}
.seminar-list-item-box-text-date{
    width: 21%;
}
.seminar-list-item-box-text-date img{
    width: 100%;
}
.seminar-list-item-box-text-title{
    width: 79%;
}
.seminar-list-item-box-text-title img{
    height: 55px;
    display: block;
    width: auto;
    max-width: 100%;
    }

.seminar-list-item-box-text p{
    font-size: 14px;
    color: var(--color-text-dark);
    font-weight: 500;
    text-align: justify;
}
.seminar-more-button {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.seminar-more-button img {
    width: 60px;
    max-width: 100%;
}

/* 運営団体による取り組み */
.attempt-section-inner{
    max-width: 840px;
    margin: 0 auto;
}

.attempt-section-title{
    max-width: 520px;
    margin: 0 auto 40px;
}

.osf-intro-box{
    margin-bottom: 40px;
    text-align: center;
}

.osf-logo-title{
    max-width: 160px;
    margin: 0 auto 20px;
}

.osf-intro-text{
    font-size: 14px;
    color: var(--color-text-dark);
    line-height: 1.8;
}

.service-support-box{
    margin-bottom: 60px;
    text-align: center;
}

.service-support-title{
    max-width: 320px;
    margin: 0 auto 20px;
}

.service-support-image {
    max-width: 500px;
    margin: 0 auto 20px;
}

.service-support-image img{
    width: 85%;
}

.service-support-button {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.service-support-button img {
    width: 70px;
}

.recommended-service-box{
    margin-top: 100px;
    margin-bottom: 40px;
}

.recommended-service-title{
    max-width: 300px;
    margin: 0 auto 40px;
    text-align: center;
}

.recommended-service-item {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.recommended-service-image {
    width: 40%;
}

.recommended-service-image img,
.seminar-list-item-box-image img {
    border-radius: 10px;
}

.recommended-service-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.recommended-service-item-title {
    width: 100%;
    margin-bottom: 15px;
}

.recommended-service-item-title img {
    width: auto;
    max-height: 27px;
}

.recommended-service-text {
    font-size: 14px;
    color: var(--color-text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
    font-weight: 500;
}

.recommended-service-button {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 0 auto;
}

.recommended-service-button button {
    background: none;
    border: none;
    cursor: pointer;
}

.recommended-service-button img {
    width: 60px;
}

@media (max-width: 767px) {
    .attempt-section-title{
        margin-bottom: 30px;
    }

    .news-caution-title img{
        max-height: 23px;
    }

    .service-support-image img {
        width: 100%;
    }
    
    .osf-intro-box,
    .service-support-box,
    .recommended-service-box{
        margin-bottom: 60px;
    }
    .osf-intro-text{
        text-align: left;
    }
    .seminar-list-item{
        margin-bottom: 60px;
    }
    .seminar-list-item-box{
        flex-wrap: wrap;
        gap: 10px;
    }
    .seminar-more-button img{
        width: 60px;
        height: auto;
    }
    .recommended-service-item{
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 60px;
    }
    .recommended-service-button img {
        height: 23px;
    }
    .seminar-list-item-box-text img{
        margin-bottom: 10px;
    }

    .seminar-list-item-box-text img.sp-only {
        display: block;
    }

    .seminar-list-item-box-text-column{
        width: 100%;
        display: none;
    }
    .seminar-list-item-box-text-date{
        display: none;
    }
    
    .seminar-list-item-box-image,
    .seminar-list-item-box-text{
        width: 100%;
        padding-right: 0;
        margin-right: 0;
    }
    
    .seminar-list-item-box-text-title img{
        max-height: 34px;
    }

    .seminar-more-button {
        max-width: 100%;
        margin-left: auto;
        margin-right: 0;
        padding-right: 0;
    }
    
    .seminar-section-inner {
        padding: 0 10px;
    }
    
    .recommended-service-image,
    .recommended-service-content{
        width: 100%;
    }
    
    .recommended-service-image{
        margin-bottom: 15px;
    }

    .news-archive-text{
        font-size: 14px;
        text-align: justify;
    }
}

/* 使い勝手のいいclass */

.pc-only {
    display: inline;
}

.sp-only {
    display: none;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mv-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

@media (max-width: 767px) {
    .pc-only {
        display: none;
    }
    .sp-only {
        display: inline;
    }
}

/* タブレット対応 - 基本的にスマホ版と同じレイアウトで、画像・文字サイズを調整 */
@media (min-width: 768px) and (max-width: 1024px) {
    .navigation-dots{
        display: none;
    }
    .header{
        visibility: hidden;
    }
    .main-title{
        text-align: center;
    }
    .main-title img{
        width: calc(350px + 10vw);
        margin: 30px auto;
    }

    footer{
        margin-bottom: 0;
        padding-bottom: 10px;
    }
    
    /* モバイル用ゲスト画像スタイル - 非表示 */
    .guest-images-container {
        display: none !important;
    }
    
    /* タブレット幅時はホバー無効化 */
    .strech-link-item:hover {
        transform: none !important;
    }
    .guest-image:hover,
    .guest-image-4:hover {
        transform: none !important;
    }
    .here-button:hover {
        transform: none !important;
    }
    .more-button:hover {
        transform: none !important;
    }
    .reservation-button-image:hover {
        transform: none !important;
    }
    .dot:hover {
        background-color: rgba(255, 255, 255, 0.5) !important;
        transform: none !important;
    }
    .more-buttons{
        max-width: 200px;
    }
    .footer-box{
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }
    .footer-title-image{
        margin-top: 0;
        max-width: 104px; /* スマホの1.3倍 (80px * 1.3) */
        margin: 0 auto;
    }
    .sp-header {
        display: block;
        margin: 30px auto;
    }
    .sp-header .hashtags {
        margin-bottom: 20px;
    }
    .sp-header .hashtags, .sp-header .logos {
        justify-content: center;
    }
    .section {
        height: auto;
        min-height: auto;
        padding-top: 30px;
        padding-bottom: 60px;
        background-color: #fff;
    }
    .container {
        position: static;
        transform: none;
        height: 100%;
    }
    
    /* タブレット版での背景オブジェクトの調整 */
    .bg-object {
        opacity: 1;
    }
    
    .obj-1 { top: 8%; left: -12%; width: 286px; height: 208px; } /* スマホの1.3倍 */
    .obj-2 { bottom: 8%; right: -10%; width: 260px; height: 195px; } /* スマホの1.3倍 */
    .obj-3 { top: -5%; left: 28%; width: 312px; height: 234px; } /* スマホの1.3倍 */
    .obj-4 { bottom: -8%; left: 32%; width: 286px; height: 208px; } /* スマホの1.3倍 */
    .obj-5 { bottom: 12%; left: -10%; width: 260px; height: 195px; } /* スマホの1.3倍 */
    .obj-6 { top: -6%; right: -8%; width: 286px; height: 208px; } /* スマホの1.3倍 */
    .dot-object06{bottom: 40%; right: -5%;}

    .cloud-container {
        background: none;
        min-width: 320px;
        width: 90%;
        height: 98vh;
        border-radius: 100px;
    }
    .cloud-left {
        display: block;
        position: absolute;
        top: 0;
        left: -30px; /* タブレット用に少し外側に */
        width: 200px; /* タブレット用に少し大きく */
        height: 100%;
        background-image: url(./image/main/sp-cloud-left.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }
    .cloud-right {
        display: block;
        position: absolute;
        top: 0;
        right: -30px; /* タブレット用に少し外側に */
        width: 200px; /* タブレット用に少し大きく */
        height: 100%;
        background-image: url(./image/main/sp-cloud-right.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }
    .cloud-container::before{
        content: "";
        display: block;
        position: absolute;
        top: -15px; /* タブレット用に少し上に */
        left: 0;
        right: 0;
        width: 100%;
        height: 200px; /* タブレット用に少し大きく */
        background-image: url(./image/main/sp-cloud-top.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }
    .cloud-container::after{
        content: "";
        display: block;
        position: absolute;
        bottom: -15px; /* タブレット用に少し下に */
        left: 0;
        right: 0;
        width: 100%;
        height: 200px; /* タブレット用に少し大きく */
        background-image: url(./image/main/sp-cloud-bottom.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }
    .section-08 .container, .section-09 .container, .section-10 .container, .section-11 .container{
        padding: 0;
        margin-top:40px;
    }

    .section-11{
        padding-bottom: 0;
    }
    .description-text p {
        text-align: center;
        font-size: 18px; /* スマホの1.3倍 (14px * 1.3) */
        margin-bottom: 12px;
    }

    .description-text p span{
        color: #ff6d32;
        font-weight: 800;
        font-size:110%;
    }
    .osaka-logo-image, .osf-logo-image{
        height: 34px;
    }
    .recruit-list{
        max-width: 430px;
    }

    .event-description {
        padding: 0;
    }

    .scroll-container {
        width: 81%;
        height: 85vh;
        margin: 0 auto;
        background-color: white;
    }
    .top-section{
        padding-top: 0;
        margin-top: 0;
    }
    .top-section-inner {
        flex-wrap: wrap;
        padding: 10px;
    }
    .sanka-muryo-image,
    .youmoushikomi-image{
        height: 21px; /* スマホの1.3倍 (16px * 1.3) */
    }

    .event-details {
        width: 100%;
    }
    .recruit-section-inner p{
        font-size: 16px; /* スマホの1.3倍 (12px * 1.3) */
    }

    .event-description {
        width: 100%;
    }

    .guest-section-inner {
        padding: 10px;
        flex-wrap: wrap;
    }

    .guest-title-image{
        width: calc(350px + 10vw);
        display: block;
        margin: 0 auto 1.2rem;
    }

    .guest-details {
        width: 100%;
    }

    .guest-description {
        width: 100%;
    }

    .guest-text p{
        font-size: 18px; /* スマホの1.3倍 (14px * 1.3) */
    }

    .recruit-section-inner {
        padding: 10px;
    }
    .guest-hushtag{
        margin-bottom: 10px;
        line-height: 1.7;
    }
    .guest-hushtag span{
        white-space:normal;
        font-size: 16px; /* スマホの1.3倍 (12px * 1.3) */
    }
    .time,.reservation-buttons{
        max-width: 360px;
        margin: 0 auto 20px;
    }

    /* ゲストへの質問・相談受付中！ */
    .event-details{
        padding-top: 0;
    }
    .requests-section-text{
        margin-bottom: 20px;
        font-size: 20px; /* スマホの1.3倍 (15px * 1.3) */
    }
    .requests-list-item {
        position: relative;
        padding-left: 0;
        margin-bottom: 32px;
        margin-top: 70px;
    }

    .here-button {
        max-width: 62px; /* スマホの1.3倍 (48px * 1.3) */
    }

    .requests-list-item p{
        font-size: 18px; /* スマホの1.3倍 (14px * 1.3) */
        text-align: justify;
    }

    .requests-list-item-title {
        margin: 0 auto 12px;
        padding-top: 0;
    }
    .requests-list-item-title img{
        display: none;
    }
    .requests-list-item-title img.sp-only{
        display: block;
    }
    .requests-list-item::before{
        background-image: none!important;
    }

    .ul.requests-list-caution li{
        margin-bottom: 0.5rem;
        text-align: justify;
        font-size: 17px; /* スマホの1.3倍 (13px * 1.3) */
    }

    /* お知らせ */
    .attempt-section-title{
        margin-bottom: 30px;
    }

    .news-caution-title img{
        max-height: 32px; /* スマホの1.3倍 (23px * 1.3) */
    }

    .service-support-image img{
        width: 100%;
    }
    
    .osf-intro-box,
    .service-support-box,
    .recommended-service-box{
        margin-bottom: 60px;
    }
    .osf-intro-text{
        text-align: left;
        font-size: 18px; /* スマホの1.3倍 (14px * 1.3) */
    }
    .seminar-list-item{
        margin-bottom: 40px; /* PC版と同じ */
    }
    .seminar-list-item-box{
        display: flex; /* PC版と同じ横並びレイアウト */
        gap: 20px; /* PC版と同じ */
        overflow: visible;
    }
    .seminar-list-item-box-image{
        width: 40%; /* PC版と同じ */
    }
    .seminar-list-item-box-image img{
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }
    .seminar-list-item-box-text{
        width: 60%; /* PC版と同じ */
        overflow: visible;
    }
    .seminar-list-item-box-text img.sp-only{
        display: none !important; /* PC版と同じ（スマホ用画像は非表示） */
    }
    .seminar-list-item-box-text-column{
        display: flex !important; /* PC版と同じ（表示する） */
        align-items: end;
        gap: 10px;
        margin-bottom: 20px;
        width: 100%;
    }
    .seminar-list-item-box-text > img.sp-only {
        display: none !important; /* 確実に非表示にする */
        margin-bottom: 0;
    }
    .seminar-list-item-box-text-date{
        width: 21%; /* PC版と同じ（表示する） */
        display: block;
    }
    .seminar-list-item-box-text-date img{
        width: 100%;
    }
    .seminar-list-item-box-text-title{
        width: 79%; /* PC版と同じ */
    }
    .seminar-list-item-box-text-title img{
        max-height: 72px; /* PC版の1.3倍 (55px * 1.3) */
        height: auto;
        display: block;
        width: auto;
        max-width: 100%;
    }
    .seminar-more-button img{
        width: 60px; /* PC版と同じ */
        max-width: 100%;
    }
    .seminar-more-button {
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }
    
    /* recommended-service-itemもPC版と同じレイアウト */
    .recommended-service-item{
        display: flex; /* PC版と同じ横並びレイアウト */
        gap: 20px; /* PC版と同じ */
        align-items: start;
        margin-bottom: 40px; /* PC版と同じ */
    }
    .recommended-service-image{
        width: 40%; /* PC版と同じ */
    }
    .recommended-service-content{
        width: 60%; /* PC版と同じ */
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .recommended-service-button img{
        width: 60px; /* PC版と同じ */
    }
    
    .seminar-section-inner {
        padding: 0 10px;
    }

    .news-archive-text{
        font-size: 18px; /* スマホの1.3倍 (14px * 1.3) */
        text-align: justify;
    }

    .news-archive-list li{
        font-size: 18px; /* スマホの1.3倍 (14px * 1.3) */
    }

    .seminar-list-item-box-text p{
        font-size: 16px; /* スマホの1.3倍 (14px * 1.3) */
    }

    .recommended-service-text{
        font-size: 16px; /* スマホの1.3倍 (14px * 1.3) */
    }

    .recommended-service-item-title img{
        max-height: 35px; /* スマホの1.3倍 (27px * 1.3) */
    }

    .footer-text p {
        font-size: 18px; /* スマホの1.3倍 (14px * 1.3) */
    }

    .footer-operation-box{
        font-size: 18px; /* スマホの1.3倍 (14px * 1.3) */
    }

    .accordion-text p {
        font-size: 16px; /* スマホの1.3倍 (12px * 1.3) */
    }

    .accordion-title {
        font-size: 1.3rem; /* スマホの1.3倍 (1rem * 1.3) */
    }

    .pc-only {
        display: none;
    }
    .sp-only {
        display: inline;
    }
}