@charset 'UTF-8';

/* Box sizing rules */

*,
*::before,
*::after
{
    box-sizing: border-box;
}

/* Remove default margin */

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd
{
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */

ul,
ol
{
    margin: 0;
    padding: 0;

    list-style: none;
}

/* Set core root defaults */

html:focus-within
{
    scroll-behavior: smooth;
}

/* Set core body defaults */

body
{
    line-height: 1.5;

    min-height: 100vh;

    text-rendering: optimizeSpeed;
}

/* A elements that don't have a class get default styles */

a:not([class])
{
    -webkit-text-decoration-skip: ink;
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */

img,
picture
{
    max-width: 100%;
}

/* Inherit fonts for inputs and buttons */

input,
button,
textarea,
select
{
    font: inherit;
}

button
{
    padding: 0;

    border: none;
    outline: none;
    background: none;
}

button:focus
{
    outline: none;
}

button:disabled
{
    opacity: 1;
}

button:disabled:hover
{
    opacity: 1;
}

:root
{
    --color: #000;
}

/* ==========================================================================
  アニメーション
========================================================================== */

@keyframes menuFadeIn
{
    0%
    {
        opacity: 0;
    }
    100%
    {
        opacity: 1;
    }
}

@keyframes menuFadeOut
{
    0%
    {
        opacity: 1;
    }
    99%
    {
        opacity: 0;
    }
    100%
    {
        display: none;

        opacity: 0;
    }
}

@keyframes fadeIn
{
    0%
    {
        opacity: 0;
    }
    100%
    {
        opacity: 1;
    }
}

/* ==========================================================================
   roboto
========================================================================== */

.roboto
{
    font-family: 'Roboto', serif;
    font-style: normal;

    font-optical-sizing: auto;
    font-variation-settings: 'wdth' 100;
}

/* ==========================================================================
   exo
========================================================================== */

.exo
{
    font-family: 'Exo', serif;
    font-style: normal;

    font-optical-sizing: auto;
}

/* ==========================================================================
   ibm
========================================================================== */

.ibm
{
    font-family: 'IBM Plex Sans JP', serif;
    font-style: normal;
}

/* ==========================================================================
   quicksand
========================================================================== */

.quicksand
{
    font-family: 'Quicksand', serif;
    font-style: normal;

    font-optical-sizing: auto;
}

/* ==========================================================================
   共通設定
========================================================================== */

html
{
    font-size: 62.5%;

    overflow-y: scroll;

        -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body
{
    font-family: 'Noto Sans','Noto Sans JP','Noto Sans CJK JP','ヒラギノ角ゴ ProN W3','游ゴシック', '游ゴシック体','メイリオ',Meiryo,sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;

    overflow: hidden;

    width: 100%;
    min-width: 960px;

    text-align: justify;
    text-justify: inter-ideograph;

    color: #000;
    color: var(--color);
    background: #f7f7f7;

    font-feature-settings: 'pkna';
    font-optical-sizing: auto;
}

img
{
    max-width: 100%;
    height: auto;

    vertical-align: bottom;

    backface-visibility: hidden;
}

a
{
    display: inline-block;

    transition: all .1s linear;
    text-decoration: none;

    color: #000;
    color: var(--color);
}

a:hover
{
    opacity: .8;
}

.spShow
{
    display: none;
}

.pcShow
{
    display: inline-block;
}

.container
{
    display: grid;

    min-height: 100vh;

    grid-template-columns: 100%;
    grid-template-rows: 154px 1fr auto;
}

.mainHeader
{
    grid-column: 1;
    grid-row: 1;
}

.pageContainer
{
    grid-column: 1;
    grid-row: 2;
}

.mainFooter
{
    grid-column: 1;
    grid-row: 3;
}

/* ==========================================================================
   header
========================================================================== */

.mainHeader
{
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;

    display: grid;

    width: 100%;
    min-width: 960px;
    height: 154px;
    padding: 0 20px;

    transition: all .1s linear;

    background: #f7f7f7;

    grid-template-columns: 100%;
    grid-template-rows: 90px 64px;
}

.mainHeader .headerTop
{
    display: flex;

    width: 100%;
    max-width: 1156px;
    margin: 0 auto;

    grid-column: 1;
    grid-row: 1;
    justify-content: space-between;
}

.mainHeader .headerTop .logo
{
    line-height: 1;

    display: flex;

    flex: 0 1 560px;
    align-items: center;
    gap: 0 27px;
}

.mainHeader .headerTop .logo a
{
    flex: 0 0 130px;
}

.mainHeader .headerTop .logo .textLine
{
    display: flex;

    flex-flow: column;
    gap: 7px 0;
}

.mainHeader .headerTop .logo .ja
{
    font-size: 1.8rem;
    font-weight: 700;

    display: flex;

    align-items: center;
}

.mainHeader .headerTop .logo .ja .small
{
    font-size: 1.4rem;

    margin-right: 4px;
}

.mainHeader .headerTop .logo .en
{
    font-size: 1.2rem;
    font-weight: 400;
}

.mainHeader .headerTop .lang
{
    font-size: 1.6rem;

    display: flex;

    justify-content: center;
    align-items: center;
}

.mainHeader .headerTop .lang li + li
{
    display: inline-flex;

    align-items: center;
}

.mainHeader .headerTop .lang li + li::before
{
    width: 1px;
    height: 9px;
    margin: 0 16px;

    content: '';

    background: #000;
    background: var(--color);

    flex-shrink: 0;
}

.mainHeader .headerTop .lang .current
{
    font-weight: 700;

    position: relative;
}

.mainHeader .headerTop .lang .current::after
{
    position: absolute;
    bottom: -7px;
    left: 50%;

    width: 6px;
    height: 4px;

    content: '';

    background: #000;
    background: var(--color);

    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    translate: -50% 0;
}

.mainHeader .headerTop .lang a
{
    font-weight: 300;

    position: relative;
}

.mainHeader .headerTop .lang a:hover
{
    font-weight: 700;

    opacity: 1;
}

.mainHeader .gNav
{
    width: 100%;

    grid-column: 1;
    grid-row: 2;
}

.isScrolled .mainHeader
{
    height: 110px;

    grid-template-rows: 70px 40px;
}

/* ==========================================================================
   gNav
========================================================================== */

/* height: 64px; */

.gNav .pageLink
{
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;

    display: flex;

    height: 100%;

    justify-content: center;
    align-items: flex-end;
    gap: 0 80px;
}

.gNav .pageLink li a
{
    padding-bottom: 5px;

    border-bottom: 3px solid transparent;
}

@media (hover: hover)
{
    .gNav .pageLink li a:hover
    {
        opacity: 1;
        border-color: #000;
        border-color: var(--color);
    }
}

.gNav .pageLink li .current
{
    border-color: #000;
    border-color: var(--color);
}

/* ==========================================================================
   footer
========================================================================== */

.mainFooter
{
    display: flex;

    height: 40px;

    color: #fff;
    background: #000;
    background: var(--color);

    justify-content: center;
    align-items: center;
}

.mainFooter .copyrigth
{
    font-size: 1.2rem;
    font-weight: 700;
}

.mainFooter .pagetop
{
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 20px;
}

.mainFooter .pagetop:hover
{
    opacity: 1;
}

/* ==========================================================================
   英語サイト
========================================================================== */

.bodyEN
{
    font-family: 'Noto Sans','Noto Sans JP',Meiryo,sans-serif;

    text-align: left;
}

/* ==========================================================================
   header
========================================================================== */

.mainHeader .headerTop .logoEN
{
    gap: 0 17px;
}

.mainHeader .headerTop .logoEN .textLine
{
    display: block;
}

.mainHeader .headerTop .logoEN .en
{
    font-size: 1.8rem;
    font-weight: 600;
}

/* ==========================================================================
   gNav
========================================================================== */

.bodyEN .gNav .pageLink
{
    font-size: 2rem;

    gap: 0 83px;
}

/* ==========================================================================
   end
========================================================================== */

@media only screen and (max-width: 767px)
{
    html
    {
        font-size: 2.41546vw;
    }
    body
    {
        min-width: 0;
    }
    a:hover
    {
        opacity: 1;
    }
    img
    {
        width: 100%;
        max-width: none;
    }
    button:hover
    {
        opacity: 1;
    }
    .spShow
    {
        display: inline-block;
    }
    .pcShow
    {
        display: none;
    }
    .container
    {
        padding: 0;

        grid-template-rows: 14.49275vw 1fr auto;
    }
    .pageContainer
    {
        grid-row: 2;
    }
    .mainFooter
    {
        grid-row: 3;
    }
    /* ==========================================================================
   header
========================================================================== */
    .mainHeader
    {
        display: block;

        min-width: 0;
        height: 14.49275vw;
        padding: 0 0 0 3.38164vw;
    }
    .mainHeader .headerTop
    {
        max-width: none;
        height: 100%;
        margin: 0;
        padding: 0;

        align-items: flex-end;
    }
    .mainHeader .headerTop .logo
    {
        padding-bottom: 2.89855vw;

        flex: 0 1 auto;
        gap: 0 2.657vw;
    }
    .mainHeader .headerTop .logo a
    {
        flex: 0 0 18.11594vw;
    }
    .mainHeader .headerTop .logo .textLine
    {
        display: flex;

        flex-flow: column;
        gap: .96618vw 0;
    }
    .mainHeader .headerTop .logo .ja
    {
        font-size: 1.3rem;
        font-weight: 700;

        display: flex;

        align-items: center;
    }
    .mainHeader .headerTop .logo .ja .small
    {
        font-size: .8rem;

        margin-right: 1.20773vw;
    }
    .mainHeader .headerTop .logo .en
    {
        font-size: .8rem;
    }
    .mainHeader .headerTop .lang
    {
        display: none;
    }
    .mainHeader .headerTop .menuBtn
    {
        height: 9.90338vw;

        background: #000;
        background: var(--color);

        flex: 0 0 8.9372vw;
        align-self: flex-end;
    }
    .mainHeader .headerTop .menuBtn .inner
    {
        display: grid;

        grid-template-rows: .25641vw .25641vw .25641vw;
        grid-gap: 1.61836vw 0;
    }
    .mainHeader .headerTop .menuBtn .line1,
    .mainHeader .headerTop .menuBtn .line2,
    .mainHeader .headerTop .menuBtn .line3
    {
        width: 5.07246vw;
        height: .24155vw;

        background: #fff;
    }
    .mainHeader .headerTop .menuBtn .line1
    {
        transition: rotate .2s linear;

        grid-column: 1;
        grid-row: 1;
        justify-self: center;
    }
    .mainHeader .headerTop .menuBtn .line2
    {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
    }
    .mainHeader .headerTop .menuBtn .line3
    {
        transition: rotate .2s linear;

        grid-column: 1;
        grid-row: 3;
        justify-self: center;
    }
    .mainHeader .headerTop .menuBtnOpen .line1
    {
        grid-row: 2;
        rotate: 45deg;
    }
    .mainHeader .headerTop .menuBtnOpen .line2
    {
        opacity: 0;
    }
    .mainHeader .headerTop .menuBtnOpen .line3
    {
        grid-row: 2;
        rotate: -45deg;
    }
    .isScrolled .mainHeader
    {
        height: 14.49275vw;
    }
    /* ==========================================================================
   gNav
========================================================================== */
    .gNav
    {
        position: fixed;
        z-index: 1000;
        top: 14.49275vw;
        left: 0;

        display: none;
        overflow-y: auto;

        width: 100%;
        height: calc(100dvh - 14.49275vw);
        padding: 11.35266vw;

        color: #fff;
        background: #000;
        background: var(--color);

        overscroll-behavior-y: none;
    }
    .gNav a
    {
        color: #fff;
    }
    .gNav .pageLink
    {
        font-size: 2rem;

        display: block;

        height: auto;
    }

    .gNav .pageLink li + li
    {
        margin-top: 7.24638vw;
    }
    .gNav .pageLink li a
    {
        padding-bottom: 0;

        border-bottom: none;
    }
    .gNav .lang
    {
        font-size: 2.3rem;
        font-weight: 700;

        display: flex;

        margin-top: 14.00966vw;
    }
    .gNav .lang li + li
    {
        display: inline-flex;

        align-items: center;
    }
    .gNav .lang li + li::before
    {
        width: .24155vw;
        height: 3.38164vw;
        margin: 0 6.03865vw;

        content: '';

        background: #fff;

        flex-shrink: 0;
    }
    .gNav .lang .current
    {
        font-weight: 700;

        position: relative;
    }
    .gNav .lang .current::after
    {
        position: absolute;
        bottom: -2.89855vw;
        left: 50%;

        width: 2.2657vw;
        height: 1.50966vw;

        content: '';

        background: #fff;

        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
        translate: -50% 0;
    }
    .gNav .lang a
    {
        font-weight: 300;

        position: relative;
    }
    .gNav .lang a:hover
    {
        font-weight: 700;

        opacity: 1;
    }
    .navOpen
    {
        display: block;

        animation: menuFadeIn .4s 1 0s linear forwards;
    }
    .navClose
    {
        animation: menuFadeOut .3s 1 0s ease-out forwards;
    }
    /* ==========================================================================
   footer
========================================================================== */
    .mainFooter
    {
        height: 9.66184vw;
    }
    .mainFooter .pagetop
    {
        right: 0;
        bottom: 4.83092vw;

        width: 12.07729vw;
        height: 12.07729vw;
    }
    /* ==========================================================================
   header
========================================================================== */
    .mainHeader .headerTop .logoEN
    {
        gap: 0 2.24638vw;
    }
    .mainHeader .headerTop .logoEN .textLine
    {
        display: block;
    }
    .mainHeader .headerTop .logoEN .en
    {
        font-size: 1.2rem;
    }
    /*end*/
}
