@charset "utf-8";

@font-face{
    font-family:'Zen Old Mincho';
    font-style:normal;
    font-weight:400;
    src:url(../fonts/Zen_Old_Mincho/ZenOldMincho-Regular.woff2) format('woff2'),
        url(../fonts/Zen_Old_Mincho/ZenOldMincho-Regular.woff) format('woff'),
        url(../fonts/Zen_Old_Mincho/ZenOldMincho-Regular.ttf) format('truetype');
}
@font-face{
    font-family:'Zen Old Mincho';
    font-style:normal;
    font-weight:700;
    src:url(../fonts/Zen_Old_Mincho/ZenOldMincho-Bold.woff2) format('woff2'),
        url(../fonts/Zen_Old_Mincho/ZenOldMincho-Bold.woff) format('woff'),
        url(../fonts/Zen_Old_Mincho/ZenOldMincho-Bold.ttf) format('truetype');
}

/*==============================
    remの基準
==============================*/
html{
    font-size: 10px;
}
@media only screen and (max-width:1500px){
    html{
        font-size: calc((10 / 1500) * 100vw);
    }
}
@media only screen and (max-width:1215px){
    html{
        font-size: 10px;
    }
}

/*==============================
    変数設定
==============================*/
/* 幅の基準 */
:root {
    --widthBase : 192rem;
}
@media only screen and (max-width:1920px){
    :root {
        --widthBase : 100vw;
    }
}
@media only screen and (max-width:1400px){
    :root {
        --widthBase : 1400px;
    }
}
@media only screen and (max-width:1215px){
    :root {
        --widthBase : 375px;
    }
}
@media only screen and (max-width:374px){
    :root {
        --widthBase : 100vw;
    }
}

:root {
    /* フッターの上の余白 */
    --footerPc: 15rem;
    --footerSp: 8rem;

    /* 色 */
    --textColor: #212528;
    --keyColor: #018cd4;
    --ColorWhite: #fff;

    /* フォントサイズ（PC） */
    --pcFontSize10: 1rem;
    --pcFontSize11: 1.1rem;
    --pcFontSize12: 1.2rem;
    --pcFontSize13: 1.3rem;
    --pcFontSize14: 1.4rem;
    --pcFontSize15: 1.5rem;
    --pcFontSize16: 1.6rem;
    --pcFontSize17: 1.7rem;
    --pcFontSize18: 1.8rem;
    --pcFontSize19: 1.9rem;
    --pcFontSize20: 2rem;
    --pcFontSize22: 2.2rem;
    --pcFontSize23: 2.3rem;
    --pcFontSize24: 2.4rem;
    --pcFontSize25: 2.5rem;
    --pcFontSize26: 2.6rem;
    --pcFontSize28: 2.8rem;
    --pcFontSize30: 3rem;
    --pcFontSize31: 3.1rem;
    --pcFontSize32: 3.2rem;
    --pcFontSize34: 3.4rem;
    --pcFontSize36: 3.6rem;
    --pcFontSize37: 3.7rem;
    --pcFontSize38: 3.8rem;
    --pcFontSize40: 4rem;
    --pcFontSize50: 5rem;
    --pcFontSize60: 6rem;
    --pcFontSize70: 7rem;
    --pcFontSize115: 11.5rem;

    /* line-height（PC） */
    --pcLineHeight10_15: calc(15 / 10);
    --pcLineHeight11_16: calc(16 / 11); 
    --pcLineHeight12_17: calc(17 / 12);
    --pcLineHeight13_26: calc(26 / 13);
    --pcLineHeight15_30: calc(30 / 15);
    --pcLineHeight17_34: calc(34 / 17);
    --pcLineHeight18_36: calc(36 / 18);
    --pcLineHeight20_40: calc(40 / 20);
    --pcLineHeight22_40: calc(40 / 22);
    --pcLineHeight22_46: calc(46 / 22);
    --pcLineHeight23_46: calc(46 / 23);
    --pcLineHeight26_55: calc(55 / 26);
    --pcLineHeight26_70: calc(70 / 26);
    --pcLineHeight30_45: calc(45 / 30);
    --pcLineHeight37_55: calc(55 / 37);
    --pcLineHeight115_137: calc(137 / 115);

    /* letter-spacing（PC） */
    --pcLetterSpacing10_50: 0.05em; 
    --pcLetterSpacing11_100: 0.1em;
    --pcLetterSpacing12_150: 0.15rem; 
    --pcLetterSpacing13_50: 0.05em;
    --pcLetterSpacing13_100: 0.1em;
    --pcLetterSpacing13_150: 0.15em;
    --pcLetterSpacing16_50: 0.05em; 
    --pcLetterSpacing16_100: 0.1em; 
    --pcLetterSpacing17_50: 0.05em;
    --pcLetterSpacing18_50: 0.05em;
    --pcLetterSpacing18_350: 0.35rem; 
    --pcLetterSpacing20_100: 0.1em;
    --pcLetterSpacing22_50: 0.05em;
    --pcLetterSpacing22_100: 0.1em;
    --pcLetterSpacing23_100: 0.1em;
    --pcLetterSpacing24_100: 0.1em;
    --pcLetterSpacing25_100: 0.1em;
    --pcLetterSpacing26_100: 0.1em;
    --pcLetterSpacing30_50: 0.05em;
    --pcLetterSpacing30_100: 0.1em;
    --pcLetterSpacing30_200: 0.2em;
    --pcLetterSpacing31_100: 0.1em;
    --pcLetterSpacing32_100: 0.1em;
    --pcLetterSpacing37_100: 0.1em;
    --pcLetterSpacing50_50: 0.05em;
    --pcLetterSpacing60_50: 0.05em;

    /* フォントサイズ（SP）*/
    --spFontSize10: calc((10 / 375) * var(--widthBase));
    --spFontSize11: calc((11 / 375) * var(--widthBase));
    --spFontSize12: calc((12 / 375) * var(--widthBase));
    --spFontSize13: calc((13 / 375) * var(--widthBase));
    --spFontSize14: calc((14 / 375) * var(--widthBase));
    --spFontSize15: calc((15 / 375) * var(--widthBase));
    --spFontSize16: calc((16 / 375) * var(--widthBase));
    --spFontSize17: calc((17 / 375) * var(--widthBase));
    --spFontSize18: calc((18 / 375) * var(--widthBase));
    --spFontSize19: calc((19 / 375) * var(--widthBase));
    --spFontSize20: calc((20 / 375) * var(--widthBase));
    --spFontSize22: calc((22 / 375) * var(--widthBase));
    --spFontSize24: calc((24 / 375) * var(--widthBase));
    --spFontSize25: calc((25 / 375) * var(--widthBase));
    --spFontSize26: calc((26 / 375) * var(--widthBase));
    --spFontSize28: calc((28 / 375) * var(--widthBase));
    --spFontSize30: calc((30 / 375) * var(--widthBase));
    --spFontSize32: calc((32 / 375) * var(--widthBase));
    --spFontSize34: calc((34 / 375) * var(--widthBase));
    --spFontSize36: calc((36 / 375) * var(--widthBase));
    --spFontSize38: calc((38 / 375) * var(--widthBase));
    --spFontSize40: calc((40 / 375) * var(--widthBase));
    --spFontSize50: calc((50 / 375) * var(--widthBase));
    --spFontSize53: calc((53 / 375) * var(--widthBase));
    --spFontSize60: calc((60 / 375) * var(--widthBase));
    --spFontSize70: calc((70 / 375) * var(--widthBase));

    /* line-height（SP） */
    --spLineHeight10_15: calc(15 / 10);
    --spLineHeight10_18: calc(18 / 10);
    --spLineHeight11_16: calc(16 / 11);
    --spLineHeight12_17: calc(17 / 12); 
    --spLineHeight12_22: calc(22 / 12);
    --spLineHeight12_24: calc(24 / 12); 
    --spLineHeight13_20: calc(20 / 13);
    --spLineHeight13_23: calc(23 / 13);
    --spLineHeight13_30: calc(30 / 13); 
    --spLineHeight14_23: calc(23 / 14); 
    --spLineHeight14_28: calc(28 / 14); 
    --spLineHeight15_30: calc(30 / 15); 
    --spLineHeight16_28: calc(28 / 16); 
    --spLineHeight53_66: calc(66 / 53); 

    /* letter-spacing（SP） */
    --spLetterSpacing0: 0; 
    --spLetterSpacing10_50: 0.05em; 
    --spLetterSpacing10_100: 0.1em; 
    --spLetterSpacing11_50: 0.05em; 
    --spLetterSpacing11_100: 0.1em; 
    --spLetterSpacing12_50: 0.05em;
    --spLetterSpacing12_150: 0.15rem; 
    --spLetterSpacing13_50: 0.05em;
    --spLetterSpacing13_100: 0.1em; 
    --spLetterSpacing14_50: 0.05em; 
    --spLetterSpacing14_100: 0.1em; 
    --spLetterSpacing15_50: 0.05em;
    --spLetterSpacing16_50: 0.05em;
    --spLetterSpacing18_50: 0.05em; 
    --spLetterSpacing18_100: 0.1em; 
    --spLetterSpacing20_50: 0.05em; 
    --spLetterSpacing20_100: 0.1em; 
    --spLetterSpacing18_100: 0.1em; 
    --spLetterSpacing25_50: 0.05em; 
    --spLetterSpacing26_50: 0.05em; 
}

/*==============================
    基本設定
==============================*/
body{
    color:var(--textColor);
    font-size:var(--pcFontSize12);
    /* サイトに応じで使用するフォントを読込み */
    font-family:YakuHanMP,'Zen Old Mincho', serif;
    margin:0;
    padding:0;
    text-align:left;
    background:#fff;
    -webkit-text-size-adjust:100%;
    -webkit-tap-highlight-color:rgba(0,0,0,0.25);
    position:relative;
    word-break:break-all;
    min-width:1180px;
}
@media only screen and (max-width:1215px){
    body{
        min-width:0;
    }
}

body *, body *::before, body *::after{box-sizing:border-box;}
img{vertical-align:bottom;}
h1,h2,h3,h4,h5,h6{font-weight:normal;}
th{
    font-weight:normal;
    text-align:left;
}

/*font layout*/
.fBold{font-weight:bold;}
.fSerif{font-family:'Noto Serif Japanese', serif;}
.fGaramond{font-family: "EB Garamond", serif;}

/*rollover*/
.ro a:hover,
a.ro:hover,
a .ro:hover,
.cursorPointer:hover{ opacity:0.8; }
.ro a,
a.ro,
a .ro,
.cursorPointer{
    transition:opacity 0.2s ease-out;
}
.cursorPointer{cursor:pointer;}
@media only screen and (max-width:1215px){
    .ro a:hover,
    a.ro:hover,
    a .ro:hover,
    .cursorPointer:hover{ opacity:1; }
}

/*rollover(brightnessによる変化)*/
.cursorPointer.brt:hover,.cursorPointer .brt:hover,
.brt a:hover,a.brt:hover,a .brt:hover{ -webkit-filter: brightness(1.1);filter: brightness(1.1); }
.cursorPointer.brt,.cursorPointer .brt,
.brt a,
a.brt,
a .brt{
    transition:filter 0.2s ease-out;
}
@media only screen and (max-width:1215px){
    .cursorPointer.brt:hover,.cursorPointer .brt:hover,
    .brt a:hover,a.brt:hover,a .brt:hover{ filter:none; }
}

/*ro無効化*/
.ro .no_ro a:hover,
.ro a.no_ro:hover,
.ro .no_ro .cursorPointer:hover,
.ro .cursorPointer.no_ro:hover{ opacity:1; }

/* 電話リンクの無効化 */
a[href^="tel:"]{
    pointer-events:none;
    cursor:default;
}
@media only screen and (max-width:1215px){
    a[href^="tel:"]{
        pointer-events:auto;
        cursor:pointer;
    }
}

a{color: inherit;text-decoration: none;}

/* container */
#container{
    overflow:hidden;
    max-width:1920px;
    width: 100%;
    margin:0 auto;
}

/*========================================
    レスポンシブ用(不要な場合は削除)
========================================*/
.spOnly,
.brSp,
.imgSp{
    display:none;
}
.img100{
    width:100%;
    height:auto;
}
@media only screen and (max-width:1215px){
    .spNone,
    .brPc,
    .imgPc{
        display:none;
    }
    .spOnly{
        display:block;
    }
    .brSp,
    .imgSp{
        display:inline;
    }
    .imgR{
        width:100%;
        height:auto;
    }
}

/*-----------------------------------------------
    imgCover
-----------------------------------------------*/
/* imgCover */
.imgCover,
.imgCont{
    position:relative;
}
.imgCover img {
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    object-fit:cover;
}
.imgCont img{
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
    display:block;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
}

/*-----------------------------------------------
    wrapper
-----------------------------------------------*/
.wrapper{
    width: calc(100% - 10rem);
    margin: 0 auto;
}
.wrapper1320{
    max-width: 132rem;
}
.wrapper1380{
    max-width: 138rem;
}
.wrapper1460{
    max-width: 146rem;
}
@media only screen and (max-width:1215px){
    .wrapper{
        width: 100%;
    }
    .wrapper1320,
    .wrapper1460{
        max-width: 100%;
    }
    .wrapperSp335{
        width: calc((335 / 375) * 100%);
    }
    .wrapperSp{
        width: calc((345 / 375) * 100%);
    }
}