/* 例：ヘッダー背景画像 */
/*
.site-header {
    background: url("../images/logo.png") no-repeat left center;
    background-size: contain;
}
*/

body {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif !important;
}


/* header */

.my-header-nav {
    display: flex;
    /*
    justify-content: flex-start;
    gap: 30px;
    */
    justify-content: space-around;
    width: 56vw;
    align-items: center;
    padding-right: calc((100vw - 1200px) / 2);
}

.my-header-nav a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.my-header-nav a:hover {
    color: #8B1538;
}

.login-btn {
}
.login-btn img {
    height: 36px;
}

.login-btn:hover {
    opacity: .7;
}

#main-header .site-container,
#mobile-header .site-container {
    padding: 0;
}

.site-header-section-left {
    width: 40svw;
    height: 68px;
    background-color: #800928;
    border-top: 10px solid #4C0F1C;
    position: relative;
    justify-content: center;
    align-items: flex-end;
}
#mobile-header .site-header-section-left {
    width: calc(100svw - 37px);
    background-color: #000;
    border-top: 10px solid #000;
}


/* hero */

.my-hero {
    position: relative;
    display: flex;
    width: 100svw;
}
.my-hero-left {
    width: 40svw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.my-hero-right {
    width: 60svw;
}
.my-hero-right .swiper-slide {
    width: 60svw;
    height: calc(40svw * 282 / 442);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.my-hero-right .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 画像ギャラリー */
.my-image-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.my-gallery-item {
    position: relative;
    overflow: hidden;
}

.my-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: #8B1538;
    transform: skewX(-45deg);
    transform-origin: top right;
}

/* トップへ戻るボタン */
#kt-scroll-up {
    box-shadow: 6px 6px 10px rgba(0,0,0,0.4) !important;
}

/* メインコンテンツ */
.my-container {
    max-width: var(--global-content-width);
    margin: 0 auto;
    padding: 60px var(--global-content-edge-padding) 0;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: black;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #8B1538;
    letter-spacing: .3rem;
}
.section-title .first {
    color: #8B1538;
    font-size: 32px
}

.more-btn {
    transition: transform 0.3s;
    background-image: var(--more-btn);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100px;
    height: 30px;
    display: inline-block;
}
.more-btn:hover {
    transform: translateX(5px);
}


.contact-btn {
    transition: transform 0.3s;
    background-image: var(--contact-btn);
    background-size: contain;
    background-repeat: no-repeat;
    width: 160px;
    height: 30px;
    display: inline-block;
}
.contact-btn:hover {
    transform: translateX(5px);
}



.border-line {
    border-bottom: 2px dotted #71192A;
}

.border-line.sp {
    display: none;
    border-bottom: 2px dotted #71192A;
}


/* 盛心塾新潟について */

.about-content {
    display: grid;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 40px;
}

.profile-card {
    margin-bottom: 20px;
}


/* ニュース & 活動報告 */
.news-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
#news,
#report {
    margin-bottom: 20px;
}

.news-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.news-badge {
    background: #333;
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    margin-right: 10px;
}

.news-title {
    font-size: 16px;
    color: #333;
}
.news-title a {
    color: #333;
    text-decoration: underline;
}


/* 入塾について */
.join-section {
    background-image: var(--join_bg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.join-text h4 {
    font-size: 20px;
    color: #8B1538;
    margin-bottom: 20px;
}

.join-text ul {
    list-style: none;
    margin-bottom: 30px !important;
    padding-left: 0 !important;
}

.join-text li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.join-text li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: #000;
}

.join-image img {
    width: 100%;
    border-radius: 8px;
}

.fee-content {
    display: grid;
    margin-bottom: 60px;
}

.join-image {
    width: 10%;
}

@media (max-width: 768px) {
    .join-content {
        margin-bottom: 20px;
    }
}


/* modal */

.my-modal-content {
    max-width: 600px;
    margin: 0 auto;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    /*
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    */
}
.my-modal-content a {
    text-decoration: none !important;
    color: #666;
}
.my-modal-content a:hover {
    text-decoration: none !important;
}
.my-modal-content nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
}
.my-modal-footer {
    text-align: center;
    margin-bottom: 20px;
}
.my-modal-footer .footer-info p {
    color: #333;
}


/* footer */

footer {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}

.site-footer-top-section-1 a {
    color: #ddd !important;
    font-size: 30px;
    letter-spacing: .3rem;
    font-weight: bold;
}
.site-footer-top-section-1 a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.my-footer-nav {
    display: flex;
    gap: 40px;
    justify-content: flex-end;
    color: #fff;
}

.my-footer-nav a {
    color: #999 !important;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.my-footer-nav a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.my-footer-info {
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.my-footer-info p {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}


.my-footer-phone {
    text-align: right;
}


.phone-number {
    /* background: #8B1538; */
    color: #fff !important;
    padding: 15px 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    font-family: sans-serif;
}
.phone-number:hover {
    opacity: .7;
    text-decoration: none !important;
}
.phone-number img {
    height: 32px;
}
.phone-number .number {
    transform: scale(1, 1.5);
}

/* copyright */
.footer-html-inner {
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}


@media (max-width: 1024px) {
    .site-footer-top-section-1 {
        order: 2 !important;
    }
    .site-footer-top-section-2 {
        order: 1 !important;
    }
}

@media (max-width: 768px) {
    .my-header-nav {
        display: none;
    }
    
    .about-content,
    .news-grid,
    .join-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .my-footer-nav {
        justify-content: space-between;
        gap: 0;
        width: 100%;
        padding-bottom: 8px;
        margin-bottom: 8px;
        border-bottom: 1px solid #ddd;
    }
    .site-top-footer-inner-wrap {
        grid-row-gap: 0 !important;
    }
    .footer-widget-area-inner {
        text-align: center;
    }
    .my-footer-phone {
        text-align: center;
    }
}



/* 固定ページ */
.single main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--global-content-edge-padding) 30px;
    /* padding: 60px var(--global-content-edge-padding) 0; */
}
.single main .post-block {
    padding: 60px 0 30px;
}
.single main .post-navigation {
    /*text-align: center;*/
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    margin: 1rem auto;
}
.single main .post-navigation .nav-previous:after {
    display: none;
}

.nav-previous, .nav-next, .nav-archive {
  font-size: .9rem;
  font-weight: bold;
}
@media (max-width: 768px) {
    .single main .post-navigation {
        gap: 10px;
    }
}


/* ページング */
ul.page-numbers {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
}
ul.page-numbers li {
    list-style: none;
}
li .page-numbers:not(.current) {
    background: #ccc;
}
li .page-numbers i {
    line-height: 2.25em;
}


/* サイドバー */
.sidebar {
    position: fixed;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s;
    z-index: 999;
}

.sidebar-btn {
    background: #8B1538;
    color: #fff;
    writing-mode: vertical-rl;
    padding: 15px 10px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    letter-spacing: 3px;
    border-radius: 8px 0 0 8px;
    margin-bottom: 10px;
    transition: padding 0.3s;
}
.sidebar a:hover {
    color: #fff;
    text-decoration: none;
}

.sidebar-btn:hover {
    padding-right: 20px;
}

.sidebar-btn.silver {
    background: #666;
}

.sidebar-btn.gold {
    background: #C9A961;
}

@media (max-width: 768px) {
    .sidebar-btn {
        display: none;
    }
}


/* ボトムバー */
.bottombar {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
}
/* .bottombar a:hover {
    color: #fff;
} */
.bottombar-btn {
    background: #8B1538;
    color: #fff;
    text-decoration: none;
    display: block;
    font-size: 14px;
    letter-spacing: 3px;
    width: 100%;
    text-align: center;
    padding: 4px;
}
.bottombar-btn.gold {
    background: #C9A961;
}
.bottombar-btn:hover {
    font-weight: bold !important;
}
@media (max-width: 768px) {
    .bottombar {
        display: flex;
        background: #8B1538;
        justify-content: space-around;
        z-index: 999;
    }
}



/*** お問い合わせ ***/
.wpcf7 {
	max-width: 800px;
	width: 100%;
}
.wpcf7 input[name="your-name"],
.wpcf7 input[name="your-kana"],
.wpcf7 input[name="your-email"],
.wpcf7 input[name="your-company"],
.wpcf7 input[name="your-cell"],
.wpcf7 input[name="your-phone"] {
	max-width: 800px;
	width: 100%;
}
#textarea-biko {
	background-color: #eee;
	font-size: .9rem;
}

@media (max-width: 768px) {
    .wpcf7 {
    	width: 90%;
    }
}

/*
*/
