@charset "utf-8";

/*==============================
    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: #000000;
    --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;
    --pcFontSize24: 2.4rem;
    --pcFontSize26: 2.6rem;
    --pcFontSize28: 2.8rem;
    --pcFontSize30: 3rem;
    --pcFontSize32: 3.2rem;
    --pcFontSize34: 3.4rem;
    --pcFontSize36: 3.6rem;
    --pcFontSize38: 3.8rem;
    --pcFontSize40: 4rem;
    --pcFontSize50: 5rem;
    --pcFontSize60: 6rem;
    --pcFontSize70: 7rem;

    /* line-height（PC） */
    --pcLineHeight10_15: calc(15 / 10); /* font-size:10; line-height:1.5; */
    --pcLineHeight11_16: calc(16 / 11); /* font-size:11; line-height:1.6; */
    --pcLineHeight12_17: calc(17 / 12); /* font-size:12; line-height:1.7; */
    --pcLineHeight12_30: calc(30 / 12);
    --pcLineHeight16_24: calc(24 / 16);
    --pcLineHeight16_26: calc(26 / 16);
    --pcLineHeight16_28: calc(28 / 16);
    --pcLineHeight16_30: calc(30 / 16);
    --pcLineHeight18_30: calc(30 / 18);
    --pcLineHeight18_34: calc(34 / 18);
    --pcLineHeight20_28: calc(28 / 20);
    --pcLineHeight20_36: calc(36 / 20);
    --pcLineHeight22_40: calc(40 / 22);
    --pcLineHeight28_44: calc(44 / 28);
    --pcLineHeight28_48: calc(48 / 28);

    /* letter-spacing（PC） */
    --pcLetterSpacing10_50: 0.05em; /* font-size:10; letter-spacing:0.05em; */
    --pcLetterSpacing11_100: 0.1em; /* font-size:11; letter-spacing:0.1em; */
    --pcLetterSpacing12_50: 0.05rem; /* font-size:12; letter-spacing:0.15em; */
    --pcLetterSpacing14_50: 0.05em;
    --pcLetterSpacing26_50: 0.05em;
    --pcLetterSpacing28_50: 0.05em;
    --pcLetterSpacing32_50: 0.05em;
    --pcLetterSpacing38_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));
    --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));
    --spFontSize60: calc((60 / 375) * var(--widthBase));
    --spFontSize70: calc((70 / 375) * var(--widthBase));

    /* line-height（SP） */
    --spLineHeight10_14: calc(14 / 10);
    --spLineHeight10_15: calc(15 / 10); /* font-size:10; line-height:1.5; */
    --spLineHeight11_16: calc(16 / 11); /* font-size:11; line-height:1.6; */
    --spLineHeight11_18: calc(18 / 11);
    --spLineHeight11_20: calc(20 / 11);
    --spLineHeight12_17: calc(17 / 12); /* font-size:12; line-height:1.7; */
    --spLineHeight12_20: calc(20 / 12);
    --spLineHeight12_22: calc(22 / 12);
    --spLineHeight14_22: calc(22 / 14);
    --spLineHeight14_26: calc(26 / 14);
    --spLineHeight16_24: calc(24 / 16);
    --spLineHeight16_26: calc(26 / 16);
    --spLineHeight18_28: calc(28 / 18);
    --spLineHeight18_30: calc(30 / 18);

    /* letter-spacing（SP） */
    --spLetterSpacing0: 0;
    --spLetterSpacing10_50: 0.05em; /* font-size:10; letter-spacing:0.05em; */
    --spLetterSpacing11_100: 0.1em; /* font-size:11; letter-spacing:0.1em; */
    --spLetterSpacing11__05: -0.05em;
    --spLetterSpacing12_150: 0.15rem; /* font-size:12; letter-spacing:0.15em; */
}

/*==============================
    基本設定
==============================*/
body{
    color:var(--textColor);
    font-size:var(--pcFontSize12);
    font-family:'YakuHanJP_Narrow','游ゴシック', YuGothic, 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', sans-serif;
    margin:0;
    padding:0;
    text-align:left;
    background:#f8f8f8;
    -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;}

/*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
-----------------------------------------------*/
.wrapper1620{
    width: calc(100% - 10rem);
    max-width: 162rem;
    margin: 0 auto;
}
.wrapper1280{
    width: calc(100% - 10rem);
    max-width: 128rem;
    margin: 0 auto;
}
@media only screen and (max-width:1215px){
    .wrapper1280,
    .wrapper1620{
        width: 100%;
        max-width: 100%;
    }
    .wrapperSp335{
        width: 89.334%;
        margin: 0 auto;
    }
}