section.hero{
	background: url(/wordpress/wp-content/themes/higashiyama-tc/img/bg-calender.webp) no-repeat center center;
	background-size: cover;
}
@media screen and (max-width: 768px) {
	section.hero{
		background: url(/wordpress/wp-content/themes/higashiyama-tc/img/bg-calender-sp.webp) no-repeat center center;
		background-size: cover;
	}	
}



/* ========================================
   スクール案内リンク
======================================== */

.school-guide {
    width: 100%;
    padding: 40px;
    border-radius: 12px;
    box-sizing: border-box;
}

/* ボタン全体 */
.school-guide__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 各ボタン */
.school-guide__button {
    display: flex;
    align-items: center;
    gap: 20px;

    min-height: 90px;
    padding: 15px 25px;

    border: 1px solid #9c8e78;
    border-radius: 6px;
    box-sizing: border-box;

    color: #796b60;
    text-decoration: none;
    background: transparent;
    background: #fff;
    transition: background 0.3s, transform 0.3s;
}

/* ホバー */
.school-guide__button:hover {
    background: #eeede5;
    transform: translateY(-3px);
}

/* アイコン */
.school-guide__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    color: #302c29;
}

.school-guide__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ボタンタイトル */
.school-guide__label {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

/* ========================================
   右矢印
======================================== */

.school-guide__arrow {
    position: relative;
    display: block;

    width: 35px;
    height: 20px;

    flex-shrink: 0;
    background: none;
}

/* 横線 */
.school-guide__arrow::before {
    content: "";
    position: absolute;

    left: 0;
    top: 50%;

    width: 100%;
    height: 2px;

    background: #222;

    transform: translateY(-50%);
}

/* 矢印の先端 */
.school-guide__arrow::after {
    content: "";
    position: absolute;

    right: 1px;
    top: 50%;

    width: 12px;
    height: 12px;

    border-top: 2px solid #222;
    border-right: 2px solid #222;

    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
}
/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 768px) {

    .school-guide {
        padding: 25px 15px;
    }

    .school-guide__text {
        margin-bottom: 20px;
        font-size: 15px;
    }

    .school-guide__links {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .school-guide__button {
        min-height: 75px;
        padding: 12px 15px;
        gap: 12px;
    }

    .school-guide__icon {
        width: 45px;
        height: 45px;
    }

    .school-guide__label {
        font-size: 17px;
    }

    .school-guide__arrow {
        width: 25px;
        height: 18px;
    }

    .school-guide__arrow::after {
        width: 10px;
        height: 10px;
    }
}

/* ========================================
   スクール案内 SVG矢印の重複防止
======================================== */

/* CSSで生成していた矢印を非表示 */
.school-guide__arrow::before,
.school-guide__arrow::after {
    content: none !important;
    display: none !important;
}

/* SVG矢印 */
.school-guide__arrow {
    display: block;
    position: relative;
    width: 35px;
    height: 24px;
    flex-shrink: 0;
    background: none;
}

.school-guide__arrow svg {
    display: block;
    width: 100%;
    height: 100%;
    color: #222;
}

/* スマートフォン */
@media screen and (max-width: 768px) {

    .school-guide__arrow {
        width: 25px;
        height: 20px;
    }

}