/*
Theme Name: Medicalliance
Theme URI: https://medicalliance.doctorsfile.jp/
Description: Medicalliance LP Theme
Author: Gimic
Version: 1.0
*/

/* PCサイズでの改行制御 */
@media (min-width: 768px) {
    br.pc-none {
        display: none;
    }
}

/* フォントの定義 */
@font-face {
    font-family: "Corporate-Logo-ver3";
    src: url('./assets/fonts/Corporate-Logo-Bold-ver3.woff2') format('woff2'),
        url('./assets/fonts/Corporate-Logo-Bold-ver3.woff') format('woff'),
        url('./assets/fonts/Corporate-Logo-Bold-ver3.otf') format('opentype');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: "Corporate-Logo-ver3";
    src: url('./assets/fonts/Corporate-Logo-Medium-ver3.woff2') format('woff2'),
        url('./assets/fonts/Corporate-Logo-Medium-ver3.woff') format('woff'),
        url('./assets/fonts/Corporate-Logo-Medium-ver3.otf') format('opentype');
    font-weight: normal;
    font-display: swap;
}

/* リセットCSS */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    line-height: 1;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/* 基本フォント設定 */
body {
    font-family: "Yu Gothic UI", "Noto Sans CJK JP", sans-serif;
    font-weight: normal;
    /* Medium版をデフォルトに */
    font-size: var(--base-font-size);
    line-height: 1.6;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 見出し用フォント設定 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Sans CJK JP", "Yu Gothic UI", sans-serif;
    margin: 0;
    padding: 0;
    font-weight: var(--font-bold);
    color: var(--color-text);
    text-align: center;
    line-height: 1;
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

p {
    margin: 0;
    padding: 0;
}

:root {
    /* フォント設定 */
    --font-base: "Corporate-Logo-ver3", sans-serif;
    --font-bold: 700;
    --font-semibold: 600;
    --font-medium: 500;
    --base-font-size: 14px;
    --h1-size: calc(var(--base-font-size) * 2.5);
    /* 35px */
    --h2-size: calc(var(--base-font-size) * 1.7);
    /* 24px */
    --h3-size: calc(var(--base-font-size) * 1.0);
    /* 14px */

    /* テキストサイズのバリエーションを追加 */
    --text-xs: 10px;
    --text-sm: 12px;
    --text-md: 14px;
    /* 基本テキスト */
    --text-lg: 16px;
    --text-xl: 20px;

    /* カラー設定 */
    --color-primary: #4EACA5;
    /* メインカラー - ミントグリーン系 */
    --color-secondary: #FFDE16;
    /* アクセントイエロー */

    --color-text: #343434;
    /* 基本テキスト */

    --color-bg: #F5F5F5;
    /* 基本背景 */
    --color-bg-white: #FFFFFF;
    /* セクション背景 */

    /* ボーダー関連 */
    --border-radius: 20px;
    --border-width: 2px;

    /* スペース設定 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 20px;
    --space-xl: 28px;

    /* レイアウト設定 */
    --content-width: 90%;
}

/* LP共通の画像スタイル */
.main-content img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 画像の遅延読み込み時のスケルトン表示 */
.main-content img[loading="lazy"] {
    background-color: var(--color-bg);
    /* 変数使用 */
}

/* Retinaディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .main-content img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}


/*-----------------------------------

	共通レイアウト

-----------------------------------*/
.mv-inner {
    width: 100%;
    margin: 0 auto;
}

.inner {
    width: var(--content-width);
    margin: 0 auto;
    max-width: 767px;
    /* タブレット以上で広がりすぎないように制限、PC版作成時に調整要 */
}

.text-area {
    text-align: center;
    line-height: 26px;
    margin-top: 25px;
    font-weight: var(--font-semibold);
}

.marker-green {
    background: linear-gradient(transparent 60%, rgba(78, 172, 165, 0.3) 60%);
    font-weight: bold;
}

.red-text {
    color: #D0121B;
}

/*-----------------------------------

	共通ボタンスタイル

-----------------------------------*/
.btn-microcopy {
    margin-top: 25px;
    text-align: center;
    font-weight: var(--font-semibold);   
  }

.btn-wrapper {
    text-align: center;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-microcopy + .btn-wrapper {
    margin-top: 5px;
  }

.entry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    line-height: 1;
    text-align: center;
    color: #003C3A;
    font-weight: var(--font-semibold);
    padding: 10px 30px;
    border-radius: var(--border-radius);
    background: var(--color-secondary);
    font-size: 22px;
    margin: 0 auto;
}

.entry-btn::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(45deg);
    margin-right: 15px;
    position: relative;
    color: #003C3A;
}



/*-----------------------------------

	追従ボタン

-----------------------------------*/
.floating-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(10, 9, 0, 0.54);
    z-index: 9999;
}

/* iPhoneSE用のフローティングボタンアニメーション */
@media screen and (max-width: 380px) and (max-height: 670px) {
    .floating-btn {
        opacity: 0;
        transform: translateY(100px);
        transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
        pointer-events: none;
    }

    .floating-btn.is-visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* 非表示時のトランジションを遅くする */
    .floating-btn:not(.is-visible) {
        transition: all 1.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    }
}

.floating-btn .inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*-----------------------------------

	カウントダウンタイマー

-----------------------------------*/
.countdown-wrapper {
    /* タイマー全体の設定 */
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.time-parts {
    /* 数字部分全体の設定 */
    display: inline-block;
    margin-left: 5px;
}

.time-parts span {
    /* 数字と単位（日、時、分、秒）の設定 */
    
}

.floating-btn .inner .entry-btn {
    margin-top: 10px;
}

@media screen and (min-width: 768px) {
    .countdown-wrapper {
        font-size: 22px;
        width: 370px;
        margin: 0;
    }
    
    .floating-btn {
        height: 65px;
    }

    .floating-btn .inner {
        flex-direction: row;
        gap: 20px;
    }

    .floating-btn .inner .entry-btn {
        margin-top: 0;
    }
}


/*-----------------------------------

	メインビジュアル

-----------------------------------*/
#mv {
    background-color: #f5f5f5;
    min-height: 600px;
    height: 100svh;
    max-height: 900px;
    overflow: hidden;
    position: relative;
}


.mv-area {
    position: relative;
    width: 529px;
    left: 50%;
    /* 中心を基準に配置 */
    transform: translateX(-50%);
    /* 中心揃え */
}

/* 人々の画像（下レイヤー） */
.mv-people-img {
    position: absolute;
    left: 62%;
    top: 60%;
    transform: translateX(-50%);
    width: 85%;
    z-index: 0;
}

.mv-people-img img {
    width: 100%;
    height: auto;
}

.mv-bg-img {
    width: 529px;
    height: 529px;
    position: absolute;
    top: -130px;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.95;
}

.mv-texts {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* 必要に応じてcenterやspace-betweenもOK */
}

.mv-texts>* {
    pointer-events: auto;
}

/* 横書きテキスト */
.mv-horizontal {
    text-align: center;
}

.mv-title1 {
    font-size: 18px;
    font-family: "Yu Gothic UI", "Noto Sans CJK JP", sans-serif;
    color: #fff;
    font-weight: var(--font-semibold);
    margin-top: 1rem;
}


.mv-title1 .small {
    font-size: 12px;
}

.mv-title1 .yellow {
    color: var(--color-secondary);
}

.mv-title2 {
    font-size: 36px;
    font-family: "Noto Sans CJK JP", sans-serif;
    color: #fff;
    font-weight: var(--font-bold);
    margin-top: -1rem;
}

.mv-title3 {
    font-size: 9px;
    color: #fff;
    font-weight: 400;
    margin-top: -1rem;
}

.mv-title4 {
    font-size: 36px;
    font-family: "Noto Sans CJK JP", sans-serif;
    color: #FFE60D;
    font-weight: var(--font-bold);
    margin-top: -1rem;

}

/* 縦書きテキスト */
.mv-vertical {
    writing-mode: vertical-rl;
    font-family: "Noto Sans CJK JP", sans-serif;
    font-size: 14px;
    color: #fff;
    font-weight: 400;
    display: inline-block;
    line-height: 2.5rem;
    margin-top: 15px;
}

.mv-vertical .yellow {
    color: #FFE60D;
}

#mv .entry-btn {
    margin-top: 15px;
    font-size: 17px;
    padding: 10px 20px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

#mv .entry-btn::before {
    width: 9px;
    height: 9px;
}


/* 日付 */
.mv-date {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
}

.mv-date svg {
    width: 100%;
    overflow: visible;
}

.mv-date text {
    fill: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
}


/* 下部の小さな丸 */
.mv-bottom-circle {
    position: absolute;
    left: 25%;
    bottom: 11%;
    transform: translateX(-50%);
    width: 170px;
    height: 170px;
    background: rgba(0, 155, 149, 0.95);
    border-radius: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-align: center;
    font-family: "Noto Sans CJK JP", sans-serif;
}

.mv-bottom-circle p {
    font-size: 15px;
    text-align: left;
    margin-top: 5px;
}

.mv-bottom-circle .circle-title {
    font-size: var(--text-xl);
    letter-spacing: 0.6px;
}

.mv-bottom-circle .circle-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    margin-top: 5px;
}


@media (min-width: 768px) {
    #mv {
        height: 80svh;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .mv-people-img {
        left: 65%;
        top: 40%;
        width: 75%;
    }
}

@media (min-width: 1024px) {
    .mv-people-img {
        left: 70%;
        top: 35%;
        width: 45%;
    }

    .mv-bottom-circle {
        left: 30%;
        bottom: 5%;
        width: 220px;
        height: 220px;
    }

    .mv-bottom-circle p {
        font-size: 17px;
        margin-top: 10px;
    }

    .mv-bottom-circle .circle-title {
        font-size: 22px;
    }

    .mv-bottom-circle .circle-title::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        margin-top: 10px;
    }
}

/* iPhoneSE用のスタイル */
@media screen and (max-width: 375px) and (max-height: 670px) {
    #mv {
        height: auto;
        /* 固定の高さを解除 */
        min-height: 100svh;
        /* 最小限の高さは確保 */
        padding-bottom: 300px;
        /* mv-bottom-circleのための余白確保 */
    }

    .mv-bottom-circle {
        bottom: 5%;
        /* 位置も少し調整 */
    }

}


/*-----------------------------------

	イントロダクション

-----------------------------------*/
#introduction {
    background: radial-gradient(circle at 110% 30%, rgba(255, 222, 22, .5) 0%, rgba(255, 222, 22, 0) 80%), 
                linear-gradient(45deg, #009b95 75%, #ffde16 150%);
    background-size: cover;
    padding: 25px 0;
}

#introduction .caption {
    color: #FFF;
    font-size: 18px;
}

#introduction .caption span {
    color: var(--color-secondary);
}

#introduction .text-area {
    margin-top: 10px;
    color: #FFF;
}

.introduction_box {
    border-radius: var(--border-radius);
    background: var(--color-bg-white);
    padding: 20px;
    margin-top: 25px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.intro-item {
    margin-top: 20px;
}

.intro-item:first-child {
    margin-top: 0;
}

.round-text {
    position: relative;
    padding-left: 2.3rem;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}

.round-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url('./assets/images/introduction_round.png') no-repeat center/contain;
}

.arrow-text {
    position: relative;
    padding-left: 2.3rem;
    color: #4EACA5;
    font-size: 18px;
    font-weight: var(--font-semibold);
}

/*-----------------------------------

	タイムテーブル

-----------------------------------*/
#timetable {
    background-color: var(--color-bg-white);
    padding: 25px 0;
}

#timetable h2 {
    color: var(--color-primary);
}

.timetable-container {
    border-radius: 20px;
    border: 1px solid #009B95;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 15px;
}

.timetable-header {
    background: radial-gradient(circle at 110% 30%, rgba(255, 222, 22, .5) 0%, rgba(255, 222, 22, 0) 80%), 
                linear-gradient(45deg, #009b95 75%, #ffde16 150%);
    color: #FFF;
    text-align: center;
    font-family: "Yu Gothic UI", "Noto Sans CJK JP", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 6px 15px;
}

.timetable-scroll-wrapper {
    padding: 15px;
}

/* スクロール可能なエリア */
.timetable-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* スクロールバーのスタイル */
.timetable-scroll::-webkit-scrollbar {
    display: block;
    height: 20px;
}

.timetable-scroll::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
    border: 2px solid #fff;
}

/* タイムテーブル画像 */
.timetable-scroll img {
    width: 500px;
    height: auto;
    max-width: none !important;
    margin-bottom: 10px;
}

#timetable .btn-wrapper {
    margin-top: 15px;
}

#timetable .entry-btn {
    width: 220px;
    padding: 10px;
    font-size: 17px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

#timetable .entry-btn:before {
    width: 8px;
    height: 8px;
    margin-right: 10px;
}

/* レスポンシブ対応 */
@media (min-width: 530px) {
    .timetable-scroll img {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/*-----------------------------------

	コンテンツ

-----------------------------------*/
#contents {
    background-color: var(--color-primary);
    padding: 30px 0 25px;
}

#contents h2 {
    color: var(--color-secondary);
}

#contents .text-area {
    color: #FFF;
}

.exchange-category {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.category-item {
    border-radius: 20px;
    background: #FCDCDF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-item p {
    color: #F16664;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 19px;
}

.category-item p span{
    font-size: 15px;
}

.learn-wrap,
.connect-wrap {
    margin-top: 25px;
}

.seminar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, 345px);
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.seminar-item {
    width: 345px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 15px;
}

/* 時間表示 */
.seminar-time {
    background: #01BACE;
    color: #FFF;
    font-size: 12px;
    line-height: 23px;
    letter-spacing: 0.6px;
    padding: 0 8px;
}

/* セミナータイトル */
.seminar-title {
    font-family: "Yu Gothic UI", "Noto Sans CJK JP", sans-serif;
    background: #E9F6FA;
    color: #01BACE;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.64px;
    text-align: left;
    padding: 5px 0 5px 8px;
}

/* セミナーコンテンツ領域 */
.seminar-content {
    display: flex;
    gap: 8px;
    margin-top: 5px;
    align-items: flex-end;
}

/* セミナーテキスト */
.seminar-text {
    flex: 1;
    color: #343434;
    font-size: 11px;
    font-weight: 350;
    line-height: 18px;
    letter-spacing: -0.33px;
}

/* 講師画像 */
.lecturer-image {
    width: 80px;
    height: 88px;
    flex-shrink: 0;
    object-fit: cover;
}

/* 講師情報 */
.lecturer-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

/* 講師アイコン */
.lecturer-type {
    border-radius: 5px;
    background: #009B95;
    padding: 2px 8px;
    color: #FFF;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    line-height: 20px;
}

.lecturer-detail {
    color: #343434;
    font-family: "Yu Gothic UI", "Noto Sans CJK JP", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.88px;
    margin: 0;
}


@media (min-width: 768px) {
    .exchange-category {
        grid-template-columns: repeat(4, 1fr);
    }
    .learn-wrap,
    .connect-wrap {
        margin-top: 50px;
    }
}


/*-----------------------------------

	開催概要

-----------------------------------*/
#info {
    background-color: var(--color-bg-white);
    padding: 25px 0 50px 0;
}

#info h2 {
    color: var(--color-primary);
}

.info-box {
    border-radius: var(--border-radius);
    border: var(--border-width) solid var(--color-primary);
    background: var(--color-bg-white);
    margin-top: 25px;
    padding: 15px 12px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25)
}

.info-item {
    padding: 15px 0;
}

.info-item:last-child {
    padding-bottom: 0;
}

/* 2つ目以降の情報セットに上部ボーダー */
.info-item+.info-item {
    border-top: 1px solid #BDBDBD;
}

/* 見出し */
#info h3.info-heading {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    text-align: left;
}

.info-content {
    margin-top: 0.5em;
}

.info-content p+p {
    margin-top: 0.5em;
}

#info .df_logo {
    width: 35%;
    height: auto;
    display: block;
    margin-top: 5px;
}

/*-----------------------------------

	参加いただく病院さま・クリニックさまイントロ

-----------------------------------*/
#attendance_intro {
    background: radial-gradient(circle at 110% 30%, rgba(255, 222, 22, .5) 0%, rgba(255, 222, 22, 0) 80%), 
    linear-gradient(45deg, #009b95 75%, #ffde16 150%);
    padding: 25px 0;
}

#attendance_intro .text-area {
    font-size: var(--text-lg);
    color: #FFF;
    margin-top: 0;
}

#attendance_intro .text-area span {
    font-size: var(--text-sm);
}

/*-----------------------------------

	参加いただく病院さま

-----------------------------------*/
#hospital {
    background-color: var(--color-bg-white);
    padding: 25px 0 25px 0;
}

#hospital h2 {
    color: var(--color-primary);

}

#hospital h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-primary);
    margin: 13px auto 0;
}

#hospital .text-area {
    font-size: var(--text-sm);
    text-align: center;
    margin-top: 25px;
}

.hospital-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
    justify-items: center;
    align-items: center;   
}

.hospital-item {
    border-radius: 20px;
    border: 2px solid #009B95;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 283px;
    height: 50px;  /* ロゴ頂け次第116pxに戻す */
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hospital-item img {
    max-width: 200px;
    width: 100%;
    height: auto;
    height: 50px;
    object-fit: contain;
}

.hospital-name {
    font-size: var(--text-md);  /* ロゴ頂け次第 var(--text-sm);に戻す */
    font-weight: var(--font-medium);
    margin-top: 5px;
}

@media (min-width: 768px) {
    .hospital-list {
        grid-template-columns: repeat(2, 283px);
        justify-content: center;
        column-gap: 15px;
        row-gap: 15px;
    }
}

/*-----------------------------------

	参加いただくクリニックさま

-----------------------------------*/
#clinic {
    background-color: var(--color-bg-white);
    padding: 0 0 45px 0;
}

#clinic h2 {
    color: var(--color-primary);

}

#clinic h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-primary);
    margin: 13px auto 0;
}

#clinic .text-area {
    font-size: var(--text-sm);
    text-align: center;
    margin-top: 12px;
}

.clinic-list-title {
    color: #343434;
    text-align: center;
    font-family: "Yu Gothic UI", "Noto Sans CJK JP", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: -1.05px;
}

#clinic ul {
    margin-top: 5px;
}

.clinic-list {
    margin-top: 12px;
}

.clinic-item {
    font-family: "Noto Sans CJK JP", sans-serif;
    position: relative;
    padding-left: 2.3rem;
    font-size: var(--text-md);
    font-weight: 400;
    text-align: left;
    line-height: 1;
    letter-spacing: -0.98px;
}

.clinic-item + .clinic-item {
    margin-top: 10px;
}

.clinic-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url('./assets/images/introduction_round.png') no-repeat center/contain;
}

@media (min-width: 768px) {
    .clinic-list {
        padding-right: 25%;
        padding-left: 25%;
    }
}

/*-----------------------------------

	当日の注意事項

-----------------------------------*/
#caution {
    background-color: var(--color-bg);
    padding: 25px 0 0 0;
}

#caution h2 {
    color: var(--color-primary);
}

#caution h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-primary);
    margin: 13px auto 0;
}

#caution .text-area {
    text-align: left;
}

/*-----------------------------------

	アクセス

-----------------------------------*/
#access {
    background-color: var(--color-bg);
    padding: 25px 0;
}

#access h2 {
    color: var(--color-primary);
}

#access h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-primary);
    margin: 13px auto 0;
}

#access h3 {
    margin-top: 30px;
    font-weight: var(--font-medium);
}

#access .video-wrapper {
    margin-top: 10px;
}

#access .map-wrapper {
    margin-top: 25px;
}

/* YouTubeのサイズ固定 */
.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

/* 地図をスマホ画面幅いっぱいに */
.map-wrapper {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

.map-wrapper iframe {
    width: 100%;
    height: 220px;
    display: block;
}

/*-----------------------------------

	イベントの参加方法

-----------------------------------*/
#participation {
    background:
        radial-gradient(circle at 110% 30%, rgba(255, 222, 22, 0.5) 0%, rgba(255, 222, 22, 0) 80%), linear-gradient(45deg, #009B95 75%, #FFDE16 150%);
    padding: 25px 0 50px 0;
    opacity: 0.95;
}

#participation h2 {
    color: var(--color-secondary);
}

#participation .text-area {
    color: var(--color-bg-white);
}

#participation .btn-wrapper {
    margin-top: 10px;
}



.privacy-policy {
    text-align: center;
    color: var(--color-bg-white);
    line-height: 1;
    text-decoration-line: underline;
    margin-top: 25px;
}


/*-----------------------------------

	参画規約

-----------------------------------*/
.terms-header {
    height: 50px;
    background: radial-gradient(circle at 110% 30%, rgba(255, 222, 22, 0.5) 0%, rgba(255, 222, 22, 0) 80%), linear-gradient(45deg, #009B95 75%, #FFDE16 150%);
}

#terms .inner {
    padding: 25px 0 50px 0;
}

#terms h2 {
    color: var(--color-primary);
}

#terms h3 {
    color: var(--color-primary);
    margin-top: 25px;
}

.terms-content {
    border-radius: 20px;
    border: 1px solid #009B95;
    height: 250px;
    margin-top: 25px;
    padding: 17px;
    text-align: justify;
    font-size: var(--text-sm);
    -webkit-overflow-scrolling: touch;
    /* スマホでのスムーズスクロール */
}

.terms-content-inner {
    height: 100%;
    overflow-y: scroll;
    text-align: justify;
    -webkit-overflow-scrolling: touch;
}


/* Webkit（Chrome, Safari）用スクロールバー */
.terms-content-inner::-webkit-scrollbar {
    display: block;
    width: 15px;
}

.terms-content-inner::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
    height: 40px;
    border: 2px solid #fff;
}

.terms-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.terms-date-company {
    text-align: right;
    font-size: 14px;
}

.terms-section-title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 30px;
    color: var(--color-primary);
    border-left: 4px solid var(--color-primary);
    padding-left: 10px;
    text-align: left;
}

.terms-content-inner p,
.terms-content-inner ol,
.terms-content-inner ul {
    margin-top: 10px;
    font-size: 12px;
}

.terms-list {
    padding-left: 2em;
    list-style-type: decimal;
}

.terms-list-sub {
    margin-left: 24px;
    padding-left: 8px;
    list-style-type: disc;
}

.terms-list li,
.terms-list-sub li {
    margin-top: .5em;
}

.terms-list-parentheses {
    list-style: none;
    counter-reset: item;
  }
  .terms-list-parentheses > li {
    position: relative;
    padding-left: 2.8em;
    margin-top: .5em;
  }
  .terms-list-parentheses > li::before {
    counter-increment: item;
    content: "（" counter(item) "）";
    position: absolute;
    left: 0; 
    top: 0;
  }

  .terms-list-circle {
    list-style: none;
    counter-reset: circled;
  }
  .terms-list-circle > li {
    position: relative;
    margin-top: .5em;
  }

  .terms-list-circle > li:nth-child(1)::before { content: "①"; }
  .terms-list-circle > li:nth-child(2)::before { content: "②"; }
  .terms-list-circle > li:nth-child(3)::before { content: "③"; }
  .terms-list-circle > li:nth-child(4)::before { content: "④"; }
  .terms-list-circle > li:nth-child(5)::before { content: "⑤"; }

  .terms-content-inner a {
     text-decoration: underline;
    }

.checkbox-label {
    position: relative;
    padding-left: 20px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

/* チェックボックスの枠 */
.checkbox-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border: 1px solid #000;
}

/* チェック時の表示 */
.checkbox-label input[type="checkbox"]:checked~ ::after {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 45%;
    width: 6px;
    height: 10px;
    border-right: 2px solid #009B95;
    border-bottom: 2px solid #009B95;
    transform: translateY(-50%) rotate(45deg);
}


/* 無効状態のボタンスタイル */
.entry-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}



/*-----------------------------------

	フッター

-----------------------------------*/
.footer {
    height: 165px;
    background: #FFF;
    box-shadow: 0px -4px 4px 0px rgba(0, 0, 0, 0.25);
}

.footer .inner {
    width: var(--content-width);
    margin: 0 auto;
    max-width: 767px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 5px auto 0 auto;
}

.footer-logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.copyright {
    font-size: var(--text-xs);
}

@media (min-width: 768px) {
    .footer {
        height: 130px;
    }
}