@charset "utf-8";
/*
Theme Name:mrp-child
Template:mrp
Version: 1.0.0
*/
/*
DesignCode CSS: ver 0.01
*/
/*------------------------------------------------------
Theme Material
------------------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

:root {
    /*------â–¼åŸºæœ¬è¨¬å®šâ–¼------*/
    --color-background: #fff;
    --color-background02: #FFFBF7;
    --color-background-op70: #ffffffB3;
    --clr-FADCE7: #FADCE7;
    --clr-FFF600: #FFF600;
    --clr-EBF7D1: #EBF7D1;
    --clr-000: #000;
    --color-font: #161616;
    --color-font01: #111111;
    --color-primary: #B09B4A;
    --color-primary-shade: #B09B4A;
    --color-primary-tint: #D4C4B4;
    --color-secondary: #111111;
    --color-secondary-shade: #111111;
    --color-secondary-tint: #111111;
    --color-table-border: #CECECE;
    --color-table-background: #D4C4B4;
    --body-font-size: clamp(17px, calc(18px + ((1vw - 19.2px) * 0.0868)), 18px);
    /*1.6rem-1.4rem (1920-375)*/
    --body-font-family: "Noto Serif JP", "Noto Sans JP", sans-serif;
    --content-max-width: 1240px;
    /*------â–¼ãƒ˜ãƒƒãƒ€ãƒ¼è¨¬å®šâ–¼------*/
    --header-background: #000000;
    --header-color-font: #FFFFFF;
    --header-color-primary: #B09B4A;
    --header-color-second: #B09B4A;
    /*------â–¼ãƒ•ãƒƒã‚¿ãƒ¼è¨¬å®šâ–¼------*/
    --footer-background: #000000;
    --footer-color-font: #FFFFFF;
    --footer-color-primary: #FFFFFF;

    /*------â–¼ãƒ•ã‚©ãƒ³ãƒˆè¨¬å®šâ–¼------*/
    --font-family01: "Noto Sans JP", sans-serif;
    --font-family02: "Noto Serif JP", "Noto Sans JP", sans-serif;
    --font-family03: "Shippori Mincho", "Noto Sans JP", sans-serif;

    /*------â–¼pxãƒãƒªã‚¨ãƒ¼ã‚·ãƒ§ãƒ³â–¼------*/
    --px300: min(calc(300px + (1vw - 19.2px) * 10.356), 300px);
    /*300px-80px (1920-375)*/
    --px240: min(calc(240px + (1vw - 19.2px) * 10.356), 240px);
    /*240px-80px (1920-375)*/
    --px200: min(calc(200px + (1vw - 19.2px) * 6.4725), 200px);
    /*200px-100px (1920-375)*/
    --px180: min(calc(180px + (1vw - 19.2px) * 3.8835), 180px);
    /*180-120px (1920-375) */
    --px170: min(calc(170px + (1vw - 19.2px) * 6.4725), 170px);
    /*160px-60px (1920-375)*/
    --px160w: min(calc(160px + (1vw - 19.2px) * 5.178), 160px);
    /*160px-80px (1920-375)*/
    --px160: min(calc(160px + (1vw - 19.2px) * 6.4725), 160px);
    /*160px-60px (1920-375)*/
    --px160-40: clamp(40px, calc(160px + ((1vw - 19.2px) * 13.3929)), 160px);
    /* 160-40 (1920-1024) */
    --px150: min(calc(150px + (1vw - 19.2px) * 3.2362), 150px);
    /*150-100px (1920-375) */
    --px140: min(calc(140px + (1vw - 19.2px) * 6.4725), 140px);
    /*140px-40px (1920-375)*/
    --px130: min(calc(130px + (1vw - 19.2px) * 2.589), 130px);
    /*130px-90px (1920-375)*/
    --px120: min(calc(120px + (1vw - 19.2px) * 2.589), 120px);
    /*120px-80px (1920-375)*/
    --px120s: clamp(50px, calc(50px + ((1vw - 3.75px) * 4.5307)), 120px);
    /*120px-50px (1920-375)*/
    --px100w: min(calc(100px + (1vw - 19.2px) * 3.2362), 100px);
    /*100px-50px (1920-375)*/
    --px100: min(calc(100px + (1vw - 19.2px) * 3.8835), 100px);
    /*100px-40px (1920-375)*/
    --px100s: clamp(20px, calc(100px + ((1vw - 19.2px) * 5.178)), 100px);
    --px96: min(calc(96px + (1vw - 19.2px) * 3.1068), 96px);
    /*96px-48px (1920-375)*/
    --px90: min(calc(90px + (1vw - 19.2px) * 3.8835), 90px);
    /*90px-30px (1920-375)*/
    --px80w: min(calc(80px + (1vw - 19.2px) * 1.2945), 80px);
    /*80px-60px (1920-375)*/
    --px80: min(calc(80px + (1vw - 19.2px) * 2.589), 80px);
    /*80px-40px (1920-375)x*/
    --px70: min(calc(70px + (1vw - 19.2px) * 1.9417), 70px);
    /*60px-30px (1920-375)*/
    --px80s: min(calc(80px + (1vw - 19.2px) * 3.8835), 80px);
    /*80px-20px (1920-375)x*/
    --px60w: min(calc(60px + (1vw - 19.2px) * 1.2945), 60px);
    /*60px-40px (1920-375)*/
    --px60: min(calc(60px + (1vw - 19.2px) * 1.9417), 60px);
    /*60px-30px (1920-375)*/
    --px60s: clamp(20px, calc(60px + ((1vw - 19.2px) * 2.589)), 60px);
    /*60px-20px (1920-375)*/
    --px50: min(calc(50px + (1vw - 19.2px) * 1.2945), 50px);
    /*50px-30px (1920-375) */
    --px40w: min(calc(40px + (1vw - 19.2px) * 0.6472), 40px);
    /*40px-30px (1920-375)*/
    --px40: min(calc(40px + (1vw - 19.2px) * 1.2945), 40px);
    /*40px-20px (1920-375)*/
    --px35: min(calc(35px + (1vw - 19.2px) * 1.2945), 35px);
    /*35px-15px (1920-375)*/
    --px30w: min(calc(30px + (1vw - 19.2px) * 0.6472), 30px);
    /*30px-20px (1920-375)*/
    --px30: min(calc(30px + (1vw - 19.2px) * 0.9709), 30px);
    /*30px-15px (1920-375)*/
    --px24: min(calc(24px + (1vw - 19.2px) * 0.6472), 24px);
    /*24px-14px (1920-375)*/
    --px20: min(calc(20px + (1vw - 19.2px) * 0.6472), 20px);
    /*20px-10px (1920-375)*/
    --px18: min(calc(18px + (1vw - 19.2px) * 0.2589), 18px);
    /*18px-14px (1920-375)*/
    --px16: min(calc(16px + (1vw - 19.2px) * 0.1294), 16px);
    /*16px-14px (1920-375)*/
    --px14: min(calc(14px + (1vw - 19.2px) * 0.1294), 14px);
    /*14px-12px (1920-375)*/
    --px12: min(calc(12px + (1vw - 19.2px) * 0.0647), 12px);
    /*12px-11px (1920-375)*/
    /*------â–¼remãƒãƒªã‚¨ãƒ¼ã‚·ãƒ§ãƒ³â–¼------*/
    --rem120: min(calc(12rem + (1vw - 1.92rem) * 3.8835), 12rem);
    /*12rem-6rem (1920-375)*/
    --rem90: clamp(40px, calc(9rem + ((1vw - 19.2px) * 3.2362)), 90px);
    /*9rem-4rem (1920-375)x*/
    --rem80w: min(calc(8rem + (1vw - 1.92rem) * 1.2945), 8rem);
    /*8rem-6rem (1920-375)*/
    --rem80: min(calc(8rem + (1vw - 1.92rem) * 2.589), 8rem);
    /*8rem-4rem (1920-375)x*/
    --rem72: min(calc(7.2rem + (1vw - 1.92rem) * 1.9417), 7.2rem);
    /*7.2rem-4.2rem (1920-375)*/
    --rem70: min(calc(7rem + (1vw - 1.92rem) * 1.9417), 7rem);
    /*7rem-4.2rem (1920-375)*/
    --rem60: min(calc(6rem + (1vw - 1.92rem) * 1.5534), 6rem);
    /*6rem-3.6rem (1920-375)*/
    --rem60s: clamp(30px, calc(6rem + ((1vw - 19.2px) * 1.9417)), 60px);
    --rem56: min(calc(5.6rem + (1vw - 1.92rem) * 1.5534), 5.6rem);
    /*5.6rem-3.2rem (1920-375)*/
    --rem48w: min(calc(4.8rem + (1vw - 1.92rem) * 0.6472), 4.8rem);
    /*4.8rem-3.8rem*/
    --rem48: min(calc(4.8rem + (1vw - 1.92rem) * 1.5534), 4.8rem);
    /*4.8rem-2.4rem (1920-375)*/
    --rem42w: min(calc(4.2rem + (1vw - 1.92rem) * 0.6472), 4.2rem);
    /*4.2rem-3.2rem (1920-375)*/
    --rem42: min(calc(4.2rem + (1vw - 1.92rem) * 1.165), 4.2rem);
    /*4.2rem-2.4rem (1920-375)*/
    --rem42s: min(calc(4.2rem + (1vw - 1.92rem) * 1.4887), 4.2rem);
    /*4.2rem-1.9rem (1920-375)*/
    --rem40w: min(calc(4rem + (1vw - 1.92rem) * 0.6472), 4rem);
    /*4rem-3rem (1920-375)*/
    --rem40: min(calc(4rem + (1vw - 1.92rem) * 1.2945), 4rem);
    /*4rem-2rem (1920-375)*/
    --rem36: min(calc(3.6rem + (1vw - 1.92rem) * 0.7767), 3.6rem);
    /*3.6rem-2.4rem (1920-375)*/
    --rem30w: min(calc(3rem + (1vw - 1.92rem) * 0.3883), 3rem);
    /*3rem-2.4rem (1920-375)*/
    --rem30: min(calc(3rem + (1vw - 1.92rem) * 0.6472), 3rem);
    /*3rem-2rem (1920-375)*/
    --rem30s: min(calc(3rem + (1vw - 1.92rem) * 0.9709), 3rem);
    /*3rem-1.5rem (1920-375)*/
    --rem28: min(calc(2.8rem + (1vw - 1.92rem) * 0.6472), 2.8rem);
    /*2.8rem-1.8rem (1920-375)*/
    --rem26w: min(calc(2.6rem + (1vw - 1.92rem) * 0.3883), 2.6rem);
    /*2.6rem-1.8rem (1920-375)*/
    --rem24w: min(calc(2.4rem + (1vw - 1.92rem) * 0.3883), 2.4rem);
    /*2.4rem-1.8rem (1920-375)*/
    --rem24: min(calc(2.4rem + (1vw - 1.92rem) * 0.6472), 2.4rem);
    /*2.4rem-1.4rem (1920-375)*/
    --rem24s: clamp(14px, calc(2.4rem + ((1vw - 19.2px) * 0.7813)), 24px);
    --rem22w: min(calc(2.2rem + (1vw - 1.92rem) * 0.2589), 2.2rem);
    /*2.2rem-1.6rem (1920-375)*/
    --rem20w: min(calc(2rem + (1vw - 1.92rem) * 0.2589), 2rem);
    /*2rem-1.6rem (1920-375)*/
    --rem20: min(calc(2rem + (1vw - 1.92rem) * 0.3883), 2rem);
    /*2rem-1.4rem (1920-375)*/
    --rem18: min(calc(1.8rem + (1vw - 1.92rem) * 0.2589), 1.8rem);
    /*1.8rem-1.4rem (1920-375)*/
    --rem16: min(calc(1.6rem + (1vw - 1.92rem) * 0.1294), 1.6rem);
    /*1.6rem-1.4rem (1920-375)*/
    --rem15: clamp(1.4rem, calc(1.5rem + ((1vw - 19.2px) * 0.0647)), 1.5rem);
    --rem14: min(calc(1.4rem + (1vw - 1.92rem) * 0.1294), 1.4rem);
    /*1.4rem-1.2rem (1920-375)*/
    --rem12: min(calc(1.2rem + (1vw - 1.92rem) * 0.0647), 1.2rem);
    /*1.2rem-1.1rem (1920-375)*/

    /* add */
    --rem45-20: clamp(2rem, calc(4.5rem + ((1vw - 19.2px) * 1.6181)), 4.5rem);
    --px40-8-pc: clamp(8px, calc(40px + ((1vw - 19.2px) * 3.5714)), 40px);
    --px180-50: clamp(50px, calc(180px + ((1vw - 19.2px) * 8.4142)), 180px);
}

html {
    scroll-behavior: smooth;

}


#header .logo {
    display: flex;
    align-items: center;
}

/* header navbar */
@media print,
screen and (min-width: 1024px) {
    #header .logo .logo-txt {
        font-size: clamp(14px, calc(2.2rem + ((1vw - 19.2px) * 0.8929)), 22px);
    }

    nav#mainNav ul li.pc_none {
        display: none;
    }

    #header {
        height: 100px;
        font-family: var(--font-family02);
        text-transform: uppercase;
    }

    #header .logo {
        display: flex;
        align-items: center;
        padding: var(--px12) clamp(10px, calc(60px + ((1vw - 19.2px) * 5.5804)), 60px);
    }

    body.mobile #header .logo img,
    #header .logo img {
        max-width: clamp(240px, calc(302px + ((1vw - 19.2px) * 6.9196)), 302px);
        max-height: 26px;
        width: 100%;
        height: 100%;
        object-fit: contain;
        min-width: 50px;
        /* margin-left: clamp(1px, calc(40px + ((1vw - 19.2px) * 4.3527)), 40px); */
        backface-visibility: visible;
    }

    #header .logo .logo-img img {
        max-height: 74px;
        min-width: 50px;
    }

    #header .logo .logo-wrap {
        display: flex;
        align-items: center;
        margin-left: var(--px40-8-pc);
        gap: var(--px20);
    }

    #header .logo .logo-wrap a {
        display: block;
        position: relative;
    }


    .sticky-header #header-layout {
        height: 80px;
        background: var(--header-background);
    }

    #header ul.header__contact {
        padding-left: clamp(10px, calc(30px + ((1vw - 19.2px) * 2.4554)), 30px);
        padding-right: clamp(10px, calc(20px + ((1vw - 19.2px) * 1.1161)), 20px);
    }

    nav#mainNav ul li.recruit-btn {
        margin-left: clamp(10px, calc(30px + ((1vw - 19.2px) * 2.4554)), 30px);
        display: flex;
        align-items: center;
        transition: all .3s ease;
    }

    nav#mainNav ul li.recruit-btn:hover a b {
        color: var(--color-secondary);
    }

    nav#mainNav ul li a {
        padding: var(--px20) clamp(10px, calc(30px + ((1vw - 19.2px) * 2.2321)), 30px);
    }

    nav#mainNav ul li a b {
        font-size: clamp(12px, calc(16px + ((1vw - 19.2px) * 0.4464)), 16px);
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0;
        color: var(--header-color-font);
    }

    nav#mainNav ul li.recruit-btn a b {
        font-weight: bold;
        color: var(--header-background);
        transition: all .3s ease;
    }

    #header a.head_btn::before {
        display: inline-block;
    }

    #header a.head_btn {
        /* border-radius: var(--px50); */
    }

    #header a.head_btn.tel_btn {
        color: var(--header-color-font);
        background: var(--header-background);
        width: 100%;
        min-width: var(--px240);
        position: relative;
        padding: var(--px16) clamp(10px, calc(20px + ((1vw - 19.2px) * 1.1161)), 20px);
    }

    #header a.head_btn .tel_text-sub {
        font-weight: bold;
        font-family: var(--font-family02);
        color: var(--header-color-font);
        font-size: var(--rem12);
        letter-spacing: 0;
        margin-bottom: 5px;
    }

    #header a.head_btn .tel_text-sub .note {}

    #header a.head_btn .tel_text-sub .note b {
        font-weight: bold;
        font-size: var(--rem12);
    }

    #header a.head_btn.tel_btn .tel_icon {
        font-size: var(--rem24w);
        font-family: var(--font-family02);
        font-weight: 700;
        display: flex;
        align-items: center;
        letter-spacing: 0;
        line-height: 1.2;
        /* padding-right: .5em; */
    }

    #header a.head_btn.tel_btn::before {
        content: none;
        position: absolute;
        left: 0;
        top: 15%;
        height: 70%;
        display: inline-block;
        width: 1px;
        background: #AEAEAE;
    }

    #header a.head_btn.tel_btn .tel_icon::before {
        content: "\f095";
        font-family: "FontAwesome";
        font-size: var(--rem18);
        line-height: 1.4;
        margin-top: 4px;
        margin-right: 6px;
        color: var(--header-color-primary);
    }

    #header a.head_btn.tel_btn:hover {
        color: var(--header-background);
        background: var(--header-color-primary);
    }

    #header a.head_btn:hover .tel_icon::before {
        color: inherit;
    }

    #header a.head_btn:hover .tel_text-sub {
        color: inherit;
    }

    #header a.head_btn.mail_btn .smaller-txt {
        display: block;
    }

    #header ul.header__contact li {
        padding: 0;
        /* margin-right: 10px; */
        display: flex;
        align-items: center;
    }

    #header a.head_btn.mail_btn,
    #header .recruit-btn>a {
        flex-direction: row;
        text-align: center;
        line-height: 1.2;
        min-width: var(--px200);
        background: var(--header-color-primary);
        color: var(--header-background);
        padding: var(--px16) clamp(15px, calc(30px + ((1vw - 19.2px) * 1.6741)), 30px);
        font-size: var(--rem14);
        font-weight: 700;
        font-family: var(--font-family02);
        letter-spacing: 0;
        border-radius: 50px;
        height: 60px;
        box-shadow: inset 0 0 0 1px var(--header-color-primary);
    }

    #header a.head_btn.reservation_btn {
        display: flex;
        flex-direction: row;
        text-align: center;
        line-height: 1.2;
        min-width: var(--px200);
        background: var(--color-background);
        color: var(--header-color-primary);
        padding: var(--px16) clamp(10px, calc(30px + ((1vw - 19.2px) * 2.2321)), 30px);
        font-size: var(--rem14);
        font-weight: 700;
        font-family: var(--font-family02);
        letter-spacing: 0;
        border: 2px solid var(--header-color-primary);
        border-radius: 50px;
        height: 60px;
    }

    #header .recruit-btn>a {
        background: var(--header-color-second) !important;
        transition: .3s all ease;
    }

    #header .recruit-btn:hover>a {
        background: var(--header-background) !important;
        color: var(--header-color-font);
    }

    #header a.head_btn.mail_btn::before {
        content: "\f0e0";
        font-family: "FontAwesome";
        font-size: var(--rem20);
        font-weight: 400;
        line-height: 1.2;
        color: var(--header-background);
        margin-right: 10px;
        margin-bottom: 0;
    }

    #header a.head_btn.reservation_btn::before {
        content: "\f133";
        font-family: "Font Awesome 6 Free", "FontAwesome";
        font-size: var(--rem20);
        font-weight: 900;
        line-height: 1.2;
        margin-right: 10px;
        margin-bottom: 0;
    }

    #header a.head_btn.mail_btn:hover {
        color: var(--header-color-primary);
        background: var(--header-background);
    }

    #header a.head_btn.mail_btn:hover::before {
        color: var(--header-color-primary);
    }

    #header a.head_btn.mail_btn:hover span::before {
        color: var(--header-background);
    }

    #header a.head_btn.reservation_btn:hover {
        color: var(--color-background);
        background: var(--header-color-primary);
        border-color: var(--color-background);
    }

    nav#mainNav ul ul.sub-menu {
        min-width: max-content;
    }

    nav#mainNav ul li ul.sub-menu li a,
    nav#mainNav ul li ul.sub-menu li a:hover,
    nav#mainNav ul li.current-menu-item ul.sub-menu li a,
    nav#mainNav ul li ul.sub-menu li.current-menu-item a {
        min-width: max-content;
        color: var(--color-font) !important;
        font-size: clamp(13px, calc(16px + ((1vw - 19.2px) * 0.4)), 16px);
        font-weight: 700;
    }

    nav#mainNav ul li ul.sub-menu li a:hover, 
	nav#mainNav ul li ul.sub-menu li.current-menu-item a {
        background: #F1EDDD;
    }

    nav#mainNav ul li.current-menu-item.recruit-btn a b,
    nav#mainNav ul li.recruit-btn a:hover b,
    nav#mainNav ul li.recruit-btn a:active b,
    nav#mainNav ul li.recruit-btn.current-menu-parent a b {
        color: var(--color-secondary);
    }

    nav#mainNav ul li a:active,
    nav#mainNav ul li a:hover,
    nav#mainNav ul li.current-menu-ancestor a,
    nav#mainNav ul li.current-menu-item a,
    nav#mainNav ul li.current-menu-parent a {
        color: var(--header-color-primary);
        background: var(--header-background);
    }

    nav#mainNav ul li.current-menu-item a b,
    nav#mainNav ul li a:hover b,
    nav#mainNav ul li a:active b,
    nav#mainNav ul li.current-menu-parent a b {
        background: var(--header-background);
    }
	nav#mainNav ul ul.sub-menu{
		width: calc(var(--px180) + 18px);
	}
}


@media print,
screen and (max-width: 1300px) and (min-width: 1024px) {

    #header a.head_btn.mail_btn,
    #header a.head_btn.tel_btn,
    #header .recruit-btn>a {
        min-width: fit-content;
    }

    #header .logo .logo-txt {
        font-size: clamp(13px, calc(20px + ((1vw - 19.2px) * 1.3393)), 20px);
    }


}

@media print,
screen and (max-width: 1023px) {

    #header .logo .logo-txt {
        font-weight: bold;
        font-size: var(--rem24);
        color: var(--color-font);
        line-height: 1;
    }

    nav#mainNav ul li a:hover,
    nav#mainNav ul li.current-menu-item a {
        background: var(--header-background) !important;
    }

    #sp-header .inner #header-layout nav#sp-mainNav .inner ul li a {
        background: var(--header-background);
        color: var(--color-background);
    }

    #sp-header .inner #header-layout nav#sp-mainNav .inner ul li.current-menu-item a,
    #sp-header .inner #header-layout nav#sp-mainNav .inner ul li a:hover {
        color: var(--color-primary);
        background: var(--header-background);
    }

    #sp-header .inner #header-layout nav#sp-mainNav ul li li:last-child a {
        background: var(--header-background) url(/wp-content/themes/mrp/images/subLast.png) no-repeat 30px 50%;
    }

}

/* header navbar */
#thumbImg::before,
header#h1Header::before {
}
header#h1Header h1.title {
	font-family: var(--font-family02);
	font-size: 43px;
}
@media print, screen and (max-width: 1023px){
	#thumbImg, header#h1Header{
		height: 235px;
	}
	 #h1Header #thumb {
        width: 100%;
        height: 100%;
        background: url('/wp-content/uploads/eyecatch-6.png') center center / cover no-repeat;
    }

    body.page-kyodo-calligraphy-class #h1Header #thumb {
        width: 100%;
        height: 100%;
        background: url('/wp-content/uploads/eyecatch-4.png') center center / cover no-repeat;
    }

    body.page-gotokuji-calligraphy-class #h1Header #thumb {
        width: 100%;
        height: 100%;
        background: url('/wp-content/uploads/eyecatch-5.png') center center / cover no-repeat;
    }
	
	body.category #h1Header #thumb {
        width: 100%;
        height: 100%;
        background: url('/wp-content/uploads/eyecatch-8.png') center center / cover no-repeat;
    }
	body.page-contact #h1Header #thumb {
        width: 100%;
        height: 100%;
        background: url('/wp-content/uploads/eyecatch-10.png') center center / cover no-repeat;
    }
	
    #h1Header #thumb img {
        display: none;
    }
}
/* newslistスタイル 基本パターン */
.postlist {
    .post_text {
        padding: 26px 0;
        font-weight: 500;
    }

    li {
        border-bottom: 1px solid #DDDDDD;
    }
}

.postlist li:first-child {
    border-color: #DDDDDD;
}

.post .time,
.postlist .time,
.post2b .time,
.post4b .time {
    background: var(--clr-000);
    font-family: var(--font-family02);
    font-size: 12px;
}

.postlist .time {
    padding-top: .5em;
    font-weight: 400;
}

.postlist .ttls,
.postlist .date {
    font-size: 100%;
    line-height: 2;
}

#front_top_content,
#front_bottom_content {
    background: transparent;
    padding: calc(var(--px100) + 10px) 0 0;
    color: var(--color-font);
}

/* footer */
#footer {
    padding: var(--px80) 0 var(--px60);
}

#footer .footer__logo img {

    max-height: 26px;
    max-width: 302px;
    min-height: 26px;
}

#footer .footer__logo:not(:last-child) {
    margin-bottom: var(--px30);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#footer .logo-txt {
    margin-left: 0;
}

#footer .footnav:not(:last-child) {
    margin-bottom: 0;
}

#footer .socialicon {
    margin-bottom: var(--px20);
}

#footer .footnav ul {
    font-weight: 700;
    font-family: var(--font-family02);
}

#copyright {
    font-weight: 300;
    margin-top: 0;
}

/**------------------------------------------
Anchor Point
*------------------------------------------*/

.anchor_link::before {
    content: "";
    display: block;
    padding-top: 150px;
    margin-top: -150px;
}

.content-inner {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* CTA */
#contact-bottom,
#contact-foreign{
    clear: both;
}


.clr-FFF {
    color: var(--color-background) !important;
}
body{
	font-weight: 600;
}

body.home #contact-bottom,
body #contact-foreign,
body.page-calligraphy-for-foreigners #contact-bottom{
    display: none;
}
body.page-calligraphy-for-foreigners #contact-foreign{
	display: block;
}
body.page-contact {
    background: url(/wp-content/uploads/contact-1.png) no-repeat center/ cover;
}

body.page-kyodo-calligraphy-class,
body.page-gotokuji-calligraphy-class {
    background: url(/wp-content/uploads/kyodo-calligraphy-class-1.png) no-repeat center / cover;
}

.cta01 {
    background: url(/wp-content/uploads/top-8.png) no-repeat center / cover;
    position: relative;
    z-index: 0;
    padding: calc(var(--px100) + 12px) 0 var(--px100);
}

.cta01 .cta01_wrap {
    max-width: 1415px;
    width: 90%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.79);
    padding: var(--px100) var(--px40) calc(var(--px100) + 13px);
    position: relative;
    z-index: 3;
}

.cta01 .cta01_wrap h2,
.cta01 .cta01_wrap h1,
.cta01 .cta01_wrap .main-ttl {
    text-align: center;
}

.cta01 .cta01_wrap p {
    font-size: clamp(17px, calc(18px + ((1vw - 19.2px) * 0.0868)), 18px);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 2;
}

.cta01 .ctabtnlist {
    justify-content: center;
    max-width: 1260px;
    margin: var(--px50) auto 0 auto;
}

.cta01 .ctabtnlist li {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
}

#contact-foreign .cta01 .ctabtnlist li{
	max-width: 420px;
}

.cta01 a.item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 34px var(--px20) 33px;
    text-align: center;
    box-sizing: border-box;
    color: var(--color-font);
    border-radius: 0;
    transition: all ease .15s;
    border: 0;
    background: transparent;
    font-family: var(--font-family02);
}

.cta01 a.item:hover {
    opacity: 0.8;
}

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

    .cta01 .ctabtnlist li,
    .cta01 .ctabtnlist a.item {
        width: 100%;
    }
}

/* ボタン共通パーツ */
.cta01 .btnttl {
    display: block;
    font-weight: 700;
}

.cta01 .infotxt {
    font-size: 16px;
    font-weight: 500;
}

/* 電話ボタン */
.cta01 .telnum {
    font-size: var(--rem36);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.cta01 .telbtn .btnttl {
    font-size: clamp(17px, calc(20px + ((1vw - 19.2px) * 0.2604)), 20px);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.cta01 a.telbtn {
    background: var(--color-background);
    color: var(--color-font);
    border: 1px solid var(--color-primary);
}


/* メールボタン */
.cta01 .mailbtn .btnttl {
    font-size: clamp(17px, calc(20px + ((1vw - 19.2px) * 0.2604)), 20px);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.cta01 a.mailbtn {
    background: var(--color-primary);
    color: var(--color-background);
}

.cta01 a.mailbtn .infotxt {
    font-weight: 500;
}

.cta01 .reservationbtn .btnttl {
    font-size: clamp(17px, calc(20px + ((1vw - 19.2px) * 0.2604)), 20px);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.cta01 a.reservationbtn {
    background: var(--color-primary-tint);
    color: var(--color-font);
}

/* ボタンアイコン */
.cta01 .telnum::before,
.cta01 .mailbtn .btnttl::before,
.cta01 .reservationbtn .btnttl::before {
    content: '';
    display: inline-block;
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    margin-right: 1rem;
}

.cta01 .telnum::before {
    content: '\f095';
    font-size: var(--rem28);
    color: var(--color-primary);
}

.cta01 .mailbtn .btnttl::before {
    content: '\f0e0';
    font-size: calc(var(--rem28) + 1px);
}

.cta01 .reservationbtn .btnttl::before {
    content: '\f133';
    font-size: var(--rem26w);
}

/* main title */
.post h2,
.cta01 h2 {
	font-size: clamp(34px, calc(36px + ((1vw - 19.2px) * 0.1736)), 36px);
    font-family: var(--font-family03);
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    letter-spacing: .04em;
    padding: 0;
    margin: 0 auto var(--px50);
    color: var(--color-font);
}

.post h2.heading {
    font-weight: 500;
    font-size: calc(var(--rem30w) + 2px);
    letter-spacing: 0;
    color: var(--color-primary);
}

.home h2,
.cta01 h2 {
    font-size: clamp(34px, calc(40px + ((1vw - 19.2px) * 0.5208)), 40px);
}


.home h2::after,
.post h2.heading::after {
    content: none;
}

.lh1-4 {
    line-height: 1.4 !important;
}

.lh1-8 {
    line-height: 1.8 !important;
}

.lh2 {
    line-height: 2;
}

.lh2-4 {
    line-height: 2.4;
}

.lh2-5 {
    line-height: 2.5;
}

.ls10 {
    letter-spacing: 0.1em;
}

.fw500 {
    font-weight: 500 !important;
}

.fw900 {
    font-weight: 900 !important;
}

.fs20 {
    font-size: 20px !important;
}

.fs28 {
    font-size: var(--rem28) !important;
}

.fs24 {
    font-size: var(--rem24w) !important;
}

.fs30w {
    font-size: 30px !important;
}

.fs32 {
    font-size: 32px !important;
}

.fs36 {
    font-size: var(--rem36) !important;
}

.ff03 {
    font-family: var(--font-family03);
}

.bg-FFF {
    background: var(--color-background);
}

.clr-primary {
    color: var(--color-primary);
}

@media print,
screen and (max-width: 768px) {
    .lh2-5 {
        line-height: 2;
    }
}

.front_contents .wrapper_content {
    position: relative;
    z-index: 2;
    width: 90%;
}

.imgarea img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#content01 {
    background: url(/wp-content/uploads/top-9.jpg) no-repeat center / cover;
    padding: calc(var(--px80) + 5px) 0 var(--px180);
	position: relative;
}
#content01::before{
	content:'';
	display: block;
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 1;
	background-color: #ffffff;
}

#content03 {
    background: url(/wp-content/uploads/top-10.png) no-repeat center / cover;
    padding: calc(var(--px100) + 10px) 0 calc(var(--px100) + 19px);
}

.media-flex-1 .txtarea {
    padding: var(--px40) 5%;
}

.media-flex-2 .txtarea {
    padding: var(--px40) 5%;
}

@media print,
screen and (min-width: 1024px) {
    .media-flex-1 .txtinner {
        max-width: 511px;
        margin: 0 auto;
        width: 100%;
    }

    .media-flex-2 .txtinner {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media print,
screen and (min-width: 769px) {
    .media-flex-1 .imgarea {
        width: calc(1169 / 1920 * 100%);
    }

    .media-flex-1 .txtarea {
        width: calc(751 / 1920 * 100%);
        padding: var(--px40);
    }

    .media-flex-2 .imgarea {
        width: calc(567 / 1240 * 100%);
    }

    .media-flex-2 .txtarea {
        width: calc(673 / 1240 * 100%);
        padding: var(--px40);
    }
}

.post .txtstyle01 {
    font-family: var(--font-family02);
    font-size: clamp(17px, calc(28px + ((1vw - 19.2px) * 0.9549)), 28px);
    font-weight: 700;
    line-height: 1.6;
}

#content01 .wrapper_content {
    max-width: 1174px;
}

#content03 .wrapper_content {
    max-width: 1236px;
}

#content03 .class-info {
    background: rgba(255, 255, 255, 0.89);
    padding: calc(var(--px70) + 8px) var(--px40) calc(var(--px90) + 4px);
}

.col_list {
    position: relative;
    display: flex;
    gap: var(--px40);
    flex-wrap: wrap;
}

@media print,
screen and (max-width: 768px) {
    .col_list>li {
        width: calc((100% - var(--px40)) / 2);
    }
}

@media print,
screen and (max-width: 480px) {
    .col_list>li {
        width: 100%;
    }
}


@media print,
screen and (min-width: 769px) {
    .post .col2_list {
        gap: calc(var(--px40) + 5px);
    }

    .post .col2_list>li {
        width: calc((100% - calc(var(--px40) + 5px)) / 2);
    }

    .class-img_list.col2_list {
        gap: calc(var(--px50) + 8px);
    }

    .class-img_list.col2_list>li {
        width: calc((100% - calc(var(--px50) + 8px)) / 2);
    }

    .post .col3_list {
        gap: calc(calc(var(--px50) + 5px) / 2);
    }

    .post .col3_list>li {
        width: calc((100% - calc(calc(var(--px50) + 5px) / 2) * 2) / 3);
    }

    .gallery_list.col3_list {
        gap: var(--px12);
    }

    .gallery_list.col3_list>li {
        width: calc((100% - var(--px12) * 2) / 3);
    }

}

ul.classroom_list {
    max-width: 825px;
    margin: 0 auto;
}
.classroom_list>li{
	display: flex;
    flex-direction: column;
}

.classroom_list>li .txtarea {
    padding: var(--px20) var(--px20) 0;
	display: flex;
    flex-direction: column;
    flex: 1;
}

.classroom_list .description {
    flex: 1;
}

/* BTN */
.linkBtn,
.post .linkBtn,
a.linkBtn,
.post .subimitarea .linkBtn input[type="submit"] {
    position: relative;
    display: inline-block;
    width: 100%;
    font-size: clamp(17px, calc(18px + ((1vw - 19.2px) * 0.0868)), 18px);
    color: var(--color-background);
    text-align: center;
    background: var(--clr-000);
    padding: 16px 36px 16px 20px;
    margin: 0 auto 0;
    border: 0;
    border-radius: 0;
    transition: all .3s;
    font-family: var(--font-family03);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 2;
}

.home .linkBtn {
    max-width: 240px;
}

.post .linkBtn::after,
.linkBtn::after,
a.linkBtn::after {
    display: block;
    content: '\f0a9';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--color-background);
    position: absolute;
    top: 50%;
    right: 20px;
    width: auto;
    height: auto;
    border: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-top: 0;
    transition: all .3s;
}

.post .linkBtn:hover,
.linkBtn:hover,
a.linkBtn:hover,
.post .subimitarea .linkBtn input[type="submit"]:hover {
    color: var(--color-background);
    background: var(--clr-000);
    opacity: 0.8;
}


.subimitarea>.linkBtn {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.post .subimitarea .linkBtn input[type="submit"] {
    margin-top: 0;
}

#content02 {
    background: url(/wp-content/uploads/top-7.png) no-repeat center / cover;
    padding: calc(var(--px120) + 3px) 0;
}

.imgarea iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*------------------------------------------------------
  Table Style
  ------------------------------------------------------*/
.post table {
    font-size: 100%;
    border: 0;
}

.post table th,
.post table td {
    padding: var(--px20) var(--px60);
    letter-spacing: 0;
    border-color: var(--color-table-border);
    border-width: 1px;
    border-style: solid;
    font-size: clamp(16px, calc(22px + ((1vw - 19.2px) * 0.5208)), 22px);
    line-height: 2;
    font-weight: 500;
    font-family: var(--font-family02);
    vertical-align: middle;
    text-align: left;
    background: var(--color-background);
}

.post table th {
    vertical-align: middle;
    background-color: var(--color-table-background);
    width: 29%;
    text-align: center;
}

.post .table-info {
    border: 0;
    margin: 0;
}

.post .table-info th,
.post .table-info td {
    font-family: var(--font-family02);
    font-size: clamp(16px, calc(18px + ((1vw - 19.2px) * 0.1736)), 18px);
    background: none;
    border: 0;
    padding: var(--px20);
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0;
    color: var(--color-font);
    border-bottom: 1px solid var(--color-table-border);
}

.post .table-info th {
    width: 19%;
    font-weight: 700;
    padding-left: 0;
    line-height: 1.2;
    white-space: nowrap;
	text-align: left;
}

.media-flex-2 .imgarea {
    aspect-ratio: 567 / 452;
    overflow: hidden;
}

.media-flex-2 .flexbox+.flexbox {
    margin-top: 17px;
}

.post .txtstyle02 {
    font-size: var(--rem30);
    font-weight: 700;
    line-height: 1.4;
}

.post .txtstyle03 {
    font-size: 22px;
    font-weight: 500;
}

.bg-before,
.bg-caution {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bg-before::before {
    content: '';
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--color-primary);
}

.bg-caution::before {
    content: '※';
    position: relative;
    display: inline-block;
    color: var(--color-primary);
}

.bg02 {
    background: var(--color-background02) !important;
}

.post table.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.post table.schedule-table th,
.post table.schedule-table td {
    text-align: center;
	 padding: var(--px20) var(--px30);
}

.post table.schedule-table th:first-child,
.post table.schedule-table td:first-child {
    width: 37%;
	white-space: nowrap;
}

.post table.schedule-table th:last-child,
.post table.schedule-table td:last-child {
    width: 63%;
}

.media-flex-3 {
    max-width: 1222px;
    margin: 0 auto;
}

.media-flex-3 .imgarea {
    display: flex;
    gap: 15px;
    overflow: hidden;
    align-items: flex-start;
    justify-content: center;
}

.media-flex-3 .imgarea img {
    display: block;
    width: 100%;
    height: auto;
}

@media print,
screen and (min-width: 1024px) {
    .media-flex-3 .txtinner {
        max-width: 620px;
        width: 100%;
    }
}

.post .txtstyle04 {
    font-size: var(--rem36);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.txtstyle04:has(>span) {
    display: flex;
    align-items: center;
    gap: var(--px30);
}

.txtstyle04:has(>span) span {
    font-size: var(--rem24w);
    font-weight: 400;
}

.testimonial_list>li {
    border: 1px solid var(--color-primary);
    padding: var(--px35) var(--px35) var(--px70);
    border-radius: 20px;
	background: var(--color-background);
}

.testimonial_list>li .imgarea img {
    border-radius: 10px;
    flex: 0;
}

.testimonial_list>li .imgarea {
    display: flex;
    align-items: center;
    gap: var(--px14);
}

.gallery {
    gap: var(--px40);
}

.gallery-columns-3 .gallery-item img {
    max-width: 100%;
}

@media print,
screen and (max-width: 768px) {
    .gallery-columns-3 .gallery-item {
        width: calc((100% - var(--px40)) / 2) !important;
    }
}

@media print,
screen and (max-width: 480px) {
    .gallery-columns-3 .gallery-item {
        width: 100% !important;
    }
}

@media print,
screen and (min-width: 769px) {
    .gallery {
        gap: calc(calc(var(--px50) + 5px) / 2);
    }

    .gallery-columns-3 .gallery-item {
        width: calc((100% - calc(calc(var(--px50) + 5px) / 2) * 2) / 3) !important;
    }
}

.staff-box {
    max-width: 623px;
    margin: 0 auto;
    background: var(--color-background);
    border: 1px solid var(--color-primary);
    border-radius: 20px;
    padding: var(--px40);
}

.max_w429 {
    max-width: 429px;
    margin: 0 auto;
}

.jc_end {
    justify-content: end;
}

.staff-box .imgarea {
    aspect-ratio: 147 / 178;
    overflow: hidden;
    max-width: 147px;
    margin-right: auto;
    margin-left: auto;
}

@media print,
screen and (max-width: 768px) {
    .staff-box {
        padding: var(--px40) 5%;
    }
}

.widecolor {
    margin-right: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100vw - 100%) / 2) * -1);
    padding: var(--px90) calc((100vw - 100%) / 2) var(--px100);
    margin-top: min(calc(120px + (1vw - 19.2px) * 2.5890), 120px);
}

.open-class {
    background: url(/wp-content/uploads/kyodo-calligraphy-class-11.png) no-repeat center / cover;
}

.open-class_inner {
    background: rgba(255, 255, 255, 0.79);
    padding: var(--px80) var(--px40) var(--px40);
}

.bigBtn.linkBtn {
    max-width: 374px;
}

@media print,
screen and (max-width: 768px) {
    .open-class_inner {
        padding: var(--px80) 5% var(--px40);
    }
}

.post .txtstyle06 {
    font-size: 20px;
    font-weight: 600;
    line-height: 2;
}

.class-info_list>li {
    background: var(--color-background);
    border-radius: 20px;
    border: 1px solid var(--color-primary);
    padding: var(--px40) var(--px35);
}

.class-ttl {
    background: var(--color-primary-tint);
    max-width: 274px;
    margin: 0 auto;
    padding: 8px var(--px20) 7px;
}

.smallBtn.linkBtn {
    max-width: 240px;
}

.post .table-info-2 th,
.post .table-info-2 td {
    font-family: var(--font-family02);
    font-size: 16px;
    background: none;
    border: 0;
    padding: var(--px24) var(--px16);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--color-font);
    border-bottom: 1px solid var(--color-table-border);
    border-top: 1px solid var(--color-table-border);
}

.post .table-info-2 th {
    width: 25%;
    font-size: clamp(16px, calc(24px + ((1vw - 19.2px) * 0.6944)), 24px);
    padding-left: var(--px24);
    vertical-align: middle;
    white-space: nowrap;
    text-align: left;
}

.post .table-info-2 td {
    text-align: right;
}

.fw_contents .page_contents_inner:nth-child(even) {
    background: url(/wp-content/uploads/calligraphy-for-foreigners-2.png) no-repeat center / cover;
}

.fw_contents .page_contents_inner:nth-child(odd) {
    background: url(/wp-content/uploads/calligraphy-for-foreigners-1.png) no-repeat center / cover;
}

.media-flex-4 .imgarea {
    position: relative;
    display: inline-block;
    z-index: 2;
    margin-bottom: 54px;
}

.media-flex-4 .imgarea::before {
    content: "";
    position: absolute;
    right: calc(calc(var(--px50) + 7px) * -1);
    bottom: calc(calc(var(--px50) + 4px) * -1);
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/calligraphy-for-foreigners-4.png) no-repeat center/cover;
    z-index: -1;
}

.media-flex-4 .txtarea {
    padding-right: var(--px16);
}

@media print,
screen and (min-width: 1024px) {
    .media-flex-4 .txtinner {
        max-width: 604px;
        width: 100%;
    }
}

@media print,
screen and (max-width: 768px) {
    .media-flex-4 .txtarea {
        padding: 0 5%;
    }
}

.time-row {
    display: grid;
    grid-template-columns: var(--px180) 1fr;
    gap: var(--px16);
}

.time-row span:first-child {
    white-space: nowrap;
}

.reservationBtn {
    position: relative;
    display: inline-block;
    width: 100%;
    font-size: var(--rem20w);
    color: var(--color-font);
    text-align: center;
    background: var(--color-primary-tint);
    padding: 34px 20px 33px 20px;
    margin: 0 auto 0;
    border: 0;
    border-radius: 0;
    transition: all .3s;
    font-family: var(--font-family03);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    max-width: 360px;
}

.reservationBtn::before {
    content: "\f133";
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-size: var(--rem26w);
    font-weight: 900;
    line-height: 1.2;
    margin-right: 10px;
    margin-bottom: 0;
}

.wpcf7-form .must {
    background: #ff0000;
}

.wpcf7-form p,
.wpcf7-form span {
    font-size: var(--rem20);
    font-weight: 500;
}

.wpcf7-form table.responsive th {
    border: 0;
    background: transparent;
    color: var(--color-font);
    padding: var(--rem26w) var(--rem16);
    width: 30%;
    text-align: left;
    font-size: var(--rem20);
    font-weight: 500;
	vertical-align: top;
}

.wpcf7-form table.responsive td {
    border: 0;
    background: transparent;
    color: var(--color-font);
    padding: var(--rem26w) var(--rem16);
    text-align: left;
    font-size: var(--rem20);
    font-weight: 500;
}

.wpcf7-form table.responsive {
    border: 0;
	width: 100%;
}

.wpcf7-form table.responsive tr {
    border-bottom: 1px solid var(--color-table-border);
}

.wpcf7-form .subimitarea .linkBtn input[type="submit"],
.wpcf7-form .subimitarea>.linkBtn{
	max-width: 346px;
	background: #B09B4A !important;
}

.wpcf7-form .subimitarea>.linkBtn::after{
	content:"\f105";
	right: 30px;
	font-size: 1.2rem;
}

input[type="text"], 
input[type="tel"], 
input[type="email"], 
input[type="date"], 
input[type="url"], 
input[type="number"], 
select{
	height: 55px;
}