/**
* Event CSS
* イベント情報ページのスタイル
*/
#event {
    .toc-container {
        margin: 0 auto clamp(2.188rem, 1.25rem + 4vw, 3.75rem);
        max-width: 680px;
    }

    .event-container {
        margin-bottom: 50px;

        .event-container__content {
            display: grid;
             grid-template-columns: repeat(auto-fit, minmax(calc(320px - (clamp(0.938rem, -2.25rem + 13.6vw, 6.25rem) * 2)), 1fr));
            gap: 0 1.25rem;

            .event-container__bordered-section {
                border: 2px solid var(--color-main);
                border-radius: 15px;
                margin-bottom: 30px;
                padding: 42px 16px 16px;
                position: relative;

                .event-container__bordered-section-title {
                    background-color: var(--color-main);
                    border-radius: 13px 13px 0 0;
                    color: #FFF;
                    text-align: center;
                    padding: 0 0 6px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                }
            } /* .event-container__bordered-section */
        } /* .event-container__content */
    } /* .event-container */

    .room-finder {
        border: 2px solid var(--color-main);
        border-radius: 15px;
        margin: clamp(6.75rem, 5.55rem + 5.12vw, 8.75rem) auto clamp(3.125rem, 2rem + 4.8vw, 5rem);
        padding: clamp(3.438rem, 2.688rem + 3.2vw, 4.688rem) clamp(1.25rem, 0.625rem + 1.6vw, 2.5rem) clamp(1.688rem, 1.35rem + 1.44vw, 2.25rem);
        position: relative;
        max-width: 680px;

        &:before {
            content: '';
            background: url(../images/icon_lead_02.svg) no-repeat center center;
            background-size: contain;
            position: absolute;
            top: calc(clamp(3.75rem, 2.25rem + 6.4vw, 6.25rem) - (clamp(3.75rem, 2.25rem + 6.4vw, 6.25rem) * 2));
            left: 50%;
            transform: translateX(-50%);
            width: clamp(6.25rem, 4.075rem + 9.28vw, 9.875rem);
            height: clamp(6.688rem, 4.362rem + 9.92vw, 10.563rem);
        }

        .room-finder__title {
            font-size: clamp(1.5rem, 1.05rem + 1.92vw, 2.25rem);
            display: grid;
            align-items: center;
            gap: clamp(0.875rem, 0.5rem + 1.6vw, 1.5rem);
            grid-template-columns: clamp(4.25rem, 2.975rem + 5.44vw, 6.375rem) auto;
            margin: auto;
            width: fit-content;
        }

        .room-finder__description {
            font-size: clamp(0.813rem, 0.7rem + 0.48vw, 1rem);
            margin: clamp(1.125rem, 0.938rem + 0.8vw, 1.438rem) auto;
            text-align: center;
        }

        .room-finder__button {
            background: var(--color-main);
            border-radius: calc(clamp(1.875rem, 1.125rem + 3.2vw, 3.125rem) / 2);
            color: #FFF;
            cursor: pointer;
            font-size: clamp(0.875rem, 0.725rem + 0.64vw, 1.125rem);
            display: grid;
            place-content: center;
            margin: auto;
            width: clamp(14.375rem, 10.063rem + 18.4vw, 21.563rem);
            height: clamp(1.875rem, 1.125rem + 3.2vw, 3.125rem);
        }
    } /* .room-finder */
}




/**
* バッジ
*/
.event-container__badge {
    display: grid;
    place-content: center;
    width: clamp(2.188rem, 1.25rem + 4vw, 3.75rem);
    height: clamp(0.938rem, 0.563rem + 1.6vw, 1.563rem);

    &.event-container__badge--sub-yellow {
        background: var(--color-sub-yellow);
    }

    span {
        display: block;
        font-size: clamp(0.75rem, 0.525rem + 0.96vw, 1.125rem);
        font-weight: 700;
        margin-block: var(--leading-trim);
        margin-top: -3px;
    }
}




/**
* Media Queries
*/
@media (min-width: 768px) {
    #event {
        .event-container {
            .event-container__bordered-section {
                margin-bottom: 0;
            }
        }
    } /* #event */

    .event-container__badge {
        span {
            margin-top: -6px;
        }
    }
}



/**
* マージン
*/
.mb-6{
    margin-bottom: 4rem;
}
.mb-7{
    margin-bottom: 5rem;
}
.mb-8{
    margin-bottom: 6rem;
}
.mb-9{
    margin-bottom: 7rem;
}
.mb-10{
    margin-bottom: 8rem;
}

.mt-6{
    margin-top: 4rem;
}
.mt-7{
    margin-top: 5rem;
}
.mt-8{
    margin-top: 6rem;
}
.mt-9{
    margin-top: 7rem;
}
.mt-10{
    margin-top: 8rem;
}

/**
* Bootstrap バッジ テキストの色
*/
.bg-blue {
    --bs-bg-opacity: 1;
    background-color: #0082D2;
}

.text-blue {
   color: #0082D2;
}


/**
* テキスト
*/
p {
    line-hight: 1.6rem;
}

/**
* fontsize weight
*/
b,
strong,
.bold {
	font-weight: bold;
}

.normal {
	font-weight: 400;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
	line-height: 1.6;
}

h1,
.h1 {
	font-size: 2rem;
}

h2,
.h2 {
	font-size: 1.65rem;
}

h3,
.h3 {
	font-size: 1.3rem;
}

h4,
.h4 {
	font-size: 1.2rem;
}

h5,
.h5 {
	font-size: 1.1rem;
}

h6,
.h6 {
	font-size: 1.0rem;
}

.small {
    	font-size: 0.8rem;
}

/**
* list
*/
.list-dot li{
    margin-bottom: 0.7rem;
}

/**
* インデント
*/

.indent{
  padding-left: 1em;
  text-indent: -1em;
}
.indent2{
  padding-left: 2em;
  text-indent: -2em;
}
.indent3{
  padding-left: 3em;
  text-indent: -3rem;
}


/**
* 見出し上部テキスト
*/
.midashi-upper-text span::before,
.midashi-upper-text span::after 
{
	display: inline-block;
    content: "";
    width: 1px;
    height: 20px;
    background-color: #333333;
    margin: 0 0.6rem -0.3rem;
}

.midashi-upper-text span::before {
    transform: rotate(-40deg);
}

.midashi-upper-text span::after {
    transform: rotate(40deg);
}


/**
* ページ内リンク位置調整
*/

a.anchor{
    display: block;
    padding-top: 50px;
    margin-top: -50px;
}

@media (max-width: 767px){
 /* 画面サイズが768px未満の場合の設定 */
 a.anchor{
    display: block;
    padding-top: 0px;
    margin-top: -0px;
}
}