@charset "UTF-8";

:root {
    /*
    --color-primary: #444;
    --color-attention: #841617;
    --color-list: #a9afaf;
    --color-basic: #222;
    --color-dark: #666;
    --color-light: #AAA;
    --color-pale: #F7F7F7;
    --color-non: #FFF;
    --color-level0: #666;
    --color-level1: #777;
    --color-level2: #888;
    --color-here: #DDD;
    --color-line: #ccc;

    --font-family-ja: "Noto Sans JP", "游ゴシック Medium", Yu Gothic Medium, "游ゴシック体", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", 'PingFang SC', 'Microsoft YaHei', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    --font-family-ja-min: "Noto Serif JP", "游明朝", "游明朝", "YuMincho", "Yu Mincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", 'Noto Serif JP', serif;
    --font-family-en: "Roboto Condensed", sans-serif;
    --font-family-num: "Roboto", sans-serif;
    */

    --easing: cubic-bezier(.2, 1, .2, 1);
    --transition: .8s var(--easing);
    --box-shadow: 0 4rem 3rem -2rem hsl(200deg 0% 50% / 30%);
    --box-shadow-hover: 1rem 1rem 1.5rem rgba(0, 0, 0, .08), -1rem -1rem 1.5rem #fff;
    --gap: 10px;
    --n: 10px;
}

.df>article {
    flex: 3;
}

h1,
h2,
h3 {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: var(--font-serif-ja);
    font-weight: 400;
    line-height: 1.6;
}

h1 span,
h2 span,
h3 span {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: .1rem;
}

h1 {
    font-size: 1.4rem;
}

h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 1rem;
}



p {
    line-height: 2;
    margin: 0 0 2rem;
}

p span {
    font-weight: 600;
}

.responsive {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto
}

.center {
    display: block;
    text-align: center
}

.right {
    display: block;
    text-align: right
}

.lead {
    font-weight: 600;
    font-size: 1.8rem;
    margin: 2rem 0
}

.underline {
    text-decoration: none;
    border-bottom: 1px solid var(--color-basic);
    padding-bottom: 2px;
}

.sp {
    display: block !important;
}

.pc {
    display: none !important;
}

@media (min-width: 821px) {

    .sp {
        display: none !important;
    }

    .pc {
        display: block !important;
    }

}

/*//////////////////// A ////////////////////////*/

::-moz-selection {
    background: var(--color-light);
}

::selection {
    background: var(--color-light);
}

*:focus {
    outline: none;
}

:-webkit-any-link {
    color: var(--color-basic);
}

:-moz-any-link {
    color: var(--color-basic);
}

:any-link {
    color: var(--color-basic);
}

a {
    text-decoration: none;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: opacity .8s ease !important;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

@media (min-width: 1025px) {

    a[href^="tel:"] {
        pointer-events: none;
    }

}

/*
.ha li a {
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1.6;
    cursor: pointer;
    width: 100%;
    color: var(--color-basic);
    padding: 1.5rem;
    margin: 0;
    font-family: var(--font-family-en);
    text-align: center;
}
*/
@media (min-width: 821px) {

    .ha li a::before {
        position: absolute;
        left: 0;
        content: '';
        width: 100%;
        height: 2px;
        bottom: -1px;
        transform: scale(0, 1);
        transform-origin: left top;
        transition: transform 0.3s;
    }

    .ha li a:hover {
        color: var(--color-corporate);
    }

    .ha li a:hover::before {
        transform: scale(1, 1);
    }

    .ha li a::after {
        display: none;
    }

}

/*//////////////////// FLEX ////////////////////////*/

.dfx {
    display: flex;
    flex-direction: column;
}

.dfx>* {
    position: relative;
    width: 100%;
    flex: 1;
}

@media (min-width: 821px) {

    .dfx {
        flex-direction: row;
    }

    .odd>.dfx:nth-child(odd),
    .even>.dfx:nth-child(even) {
        flex-direction: row-reverse;
    }

}

@media (min-width: 821px) {

    .df {
        display: flex;
    }

    .df>* {
        position: relative;
        flex: 1;
    }

    .odd>.df:nth-child(odd),
    .even>.df:nth-child(even) {
        flex-direction: row-reverse;
    }

}

@media (min-width: 821px) {

    .aic {
        align-items: center;
    }

    .jcc {
        justify-content: center;
    }

}

/*//////////////////// X ////////////////////////*/

@media (min-width: 821px) {

    .dfx>*.x2,
    .df>*.x2 {
        flex: 2;
    }

    .dfx>*.x3,
    .df>*.x3 {
        flex: 3;
    }

    .dfx>*.x4,
    .df>*.x4 {
        flex: 4;
    }

}

/*//////////////////// MXW ////////////////////////*/

@media (min-width: 821px) {

    .mxw-600 {
        max-width: 600px;
        margin: auto;
    }

    .mxw-800 {
        max-width: 800px;
        margin: auto;
    }

    .mxw-1000 {
        max-width: 1000px;
        margin: auto;
    }

}

/*//////////////////// GAP ////////////////////////*/

.g1 {
    gap: var(--gap);
}

.g2 {
    gap: calc(var(--gap) * 2);
}

.g3 {
    gap: calc(var(--gap) * 3);
}

.g4 {
    gap: calc(var(--gap) * 4);
}

.g5 {
    gap: calc(var(--gap) * 5);
}

.g6 {
    gap: calc(var(--gap) * 6);
}

.g10 {
    gap: calc(var(--gap) * 10);
}

/*//////////////////// INNER ////////////////////////*/

.inner {
    margin: 5rem auto;
}

.inner.w109 {
    width: 100%;
}

.inner.w98 {
    width: 90%;
}

.inner.w987 {
    width: 90%;
}

@media (min-width: 821px) {

    .inner {
        margin: 10rem auto;
    }

    .inner.w109 {
        width: 90%;
    }

    .inner.w98 {
        width: 80%;
    }

    .inner.w987 {
        width: 80%;
    }

}

@media (min-width: 980px) {

    .inner {
        margin: 12rem auto;
    }

    .inner.w987 {
        width: 70%;
    }

}

/*//////////////////// GUTTER ////////////////////////*/

.mt {
    margin: 1rem 0 0;
}

.mb {
    margin: 0 0 1rem;
}

.mtb {
    margin: 1rem 0;
}

@media (min-width: 600px) {

    .mt {
        margin: 2rem 0 0;
    }

    .mb {
        margin: 0 0 2rem;
    }

    .mtb {
        margin: 2rem 0;
    }

}

/*//////////////////// DL DT DD ////////////////////////*/

dt {
    color: var(--color-basic);
    font-weight: 600;
    padding: 0 .5rem .5rem 0;
    margin: 0;
}

dd {
    padding: 0 .5rem .5rem 0;
    margin: 0;
}

@media (min-width: 821px) {

    dl {
        display: flex;
        flex-wrap: wrap;
        line-height: 1.8;
        margin: 0;
    }

    dt {
        width: 25%;
        border-bottom: 1px solid var(--color-light);
        text-align: left;

        padding: 1rem;
        margin: 0;
    }

    dd {
        width: 75%;
        border-bottom: 1px solid var(--color-light);

        padding: 1rem;
        margin: 0;
    }

    dl.col3 dt {
        width: 30%;
    }

    dl.col3 dd:nth-of-type(2n) {
        width: 10%;
    }

    dl.col3 dd:nth-of-type(2n+1) {
        width: 60%;
    }

    dl.col4 dt {
        width: 30%;
    }

    dl.col4 dd:nth-of-type(3n) {
        width: 10%;
    }

    dl.col4 dd:nth-of-type(3n+1) {
        width: 50%;
    }

    dl.col4 dd:nth-of-type(3n+2) {
        width: 10%;
    }

}

/*//////////////////// ASIDE STICKY ////////////////////////*/

@media (min-width: 941px) {

    aside.sticky {
        position: sticky;
        top: 100px;
        height: fit-content;
    }

}

aside .inner-contents {
    margin-left: 0;
}

aside .inner-contents li.current>a {
    background: var(--color-primary);
    color: var(--color-non);
}

aside .inner-contents .category li {
    position: relative;
    border-bottom: 1px solid var(--color-light);
    margin: 0;
}

/*
aside .inner-contents .category li:first-child {
    border-top: 1px solid var(--color-light);
}
*/
@media (min-width: 821px) {

    aside .inner-contents li.parent span {
        display: block;
        font-family: var(--font-family-en);
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: .03rem;
    }

}

/*//////////////////// HOVER ACTION 

.ha li a {
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1.6;
    cursor: pointer;
    width: 100%;
    background: var(--color-non);
    color: var(--color-basic);
    padding: 1.5rem;
    margin: 0;
    font-family: var(--font-serif);
    text-align: center;
}

@media (min-width: 821px) {

    .ha li a::before {
        position: absolute;
        left: 0;
        content: '';
        width: 100%;
        height: 2px;
        background: var(--color-corporate-dark);
        bottom: -1px;
        transform: scale(0, 1);
        transform-origin: left top;
        transition: transform 0.3s;
    }

    .ha li a:hover {
        color: var(--color-corporate-dark);
    }

    .ha li a:hover::before {
        transform: scale(1, 1);
    }

    .ha li a::after {
        display: none;
    }

}
////////////////////////*/
/*//////////////////// CARD ////////////////////////*/

.card-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 821px) {

    .card-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }

}

.card-wrapper .card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr 1fr auto 30px;
    overflow: hidden;
    box-sizing: border-box;
}

.card-wrapper .card a {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
}

.card-wrapper .card figure {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /*background: url(/content/images/1/carousel/02.jpg) no-repeat center/cover;*/
    transition: transform 0.4s ease;
}

@media (hover: hover) {

    .card-wrapper .card a:hover figure {
        transform: scale(1.15);
    }

}