@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

@font-face {
    font-family: "Shippori_Antique";
    src: url("./ShipporiAntique-Regular.ttf") format(truetype) tech(variations);
}









/*----- 共通設定 */


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* スムーススクロール */
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    /* color: #666666; */
    font-family: /*"Shippori Mincho", */"Hiragino Kaku Gothic Pro W3", "ヒラギノ角ゴ Pro W3", "Osaka", "ＭＳ ゴシック";
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

footer img {
    width: 100%;
}

a {
    text-decoration: none;
    color: #000;
    transition: .3s;
}

a:hover {
    opacity: 0.7;
    transition: .3s;
}

footer section {
    padding-top: 40px;
    padding-bottom: 40px;
    width: 100%;
}

.fullwidth {
    margin-left: 20px;
    margin-right: 20px;
}

.basewidth {
    width: 100%;
    max-width: 1920px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    margin: 0 auto;
}

.sectitle {
    font-size: 1.6rem;
    font-weight: normal;
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}


.sectitle::before {
    content: attr(data-sectitle-en);
    font-size: 4rem;
    line-height: 1;
    position: absolute;
    bottom: 0;
    right: 0;
}


.cardLink .linkTitle {
    margin: 0;
    white-space: nowrap;
    padding: 2px 5px;
    min-width: 80px;
    font-size: 1.2rem;
    color: #fff;
    background-color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cardLink .linkTitle::before {
    content: attr(data-sectitle-en);
    position: absolute;
    top: -5.5rem;
    left: 0;
    font-size: 4rem;
    color: #ffffff;
}

footer .text {
    font-size: 1.6rem;
    line-height: 1.75;
}

.vertical-text {
    display: inline-block;
    writing-mode: vertical-rl;
}

.link-border {
    font-size: 1.4rem;
    position: relative;
}

.link-border::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -7rem;
    width: 6rem;
    height: 1px;
    margin-top: 0;
    background-color: #E9522A;
}

.mask::before {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .5) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.logoBlock .company__name {
    font-size: 1rem;
    /* color: #666666; */
}

.logoBlock .company__name .emphasis {
    font-size: 1.3rem;
    font-weight: normal;
    display: block;
}

footer .logo {
    margin-left: 0;
    margin-bottom: 0;
    width: 140px;
}

footer .logo img {
    width: 100%;
}

.icon {
    width: 20px;
    height: 20px;
}

/*----- ボタン */
.btnBlock {
    text-align: center;
}

footer .btn {
    margin-left: auto;
    margin-right: auto;
    padding: 5px 20px;
    font-size: 2rem;
    border: 1px solid #666666;
    display: inline-block;
}

/*----- サイド固定リンク */
.sideFixedBlock {
    display: none;
}

@media screen and (min-width: 767px) {
    .sideFixedBlock {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 35%;
        right: 40px;
        z-index: 1;
    }

    .sideFixedBlock .link {
        margin-bottom: 40px;
        font-size: 1.2rem;
        color: #666666;

    }

    .sideFixedBlock .mark-slash {
        position: relative;
    }

    .sideFixedBlock .mark-slash::after {
        content: "／";
        writing-mode: initial;
        position: absolute;
        bottom: -30px;
        left: 2px;
    }
}

/*----- firstview */
.firstview {
    display: none;
}

@media screen and (min-width: 1280px) {
    .firstview {
        min-height: 740px;
        height: 100vh;
        background: url(../images/common/airand.gif) no-repeat center;
        background-size: contain;
        display: flex;
        justify-content: space-between;
        position: relative;
    }

    .firstview .basewidth {
        width: min(1280px, 100vw - 140px);
        margin-left: auto;
        margin-right: auto;
    }

    .firstview .logoBlock {
        position: absolute;
        left: 20px;
        bottom: 20px;
    }

    .firstview .basewidth {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .firstview .upper {
        display: flex;
        justify-content: space-between;
    }

    .firstview .h1title {
        padding-top: 120px;
        padding-left: 120px;
        font-size: 2rem;
        line-height: 1.5;
        font-weight: normal;
        line-height: 2.5;
        letter-spacing: 0.25rem;
        color: #666666;
        text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff;
    }

    .firstview .nav__menu {
        padding-left: 0;
        display: flex;
    }

    .firstview .nav__menu .nav__item {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 1.3em;
    }

    .firstview .nav__menu .nav__link {
        padding-top: 100px;
        position: relative;
        text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 3px #ffffff;
    }

    .firstview .nav__menu .nav__link::before {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 1px;
        height: 0;
        margin-top: 0;
        background-color: #E9522A;
        transition: all 0.3s;
    }

    .firstview .nav__menu .nav__link:hover::before {
        height: 90px;
        transition: all 0.3s;
    }

    .firstview .lower {
        padding-bottom: 20px;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }



    .firstview .iconBlock .link {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/*----- header  */

.g-header {
    padding-top: 20px;
    padding-bottom: 20px;
}

.g-header .fullwidth {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.g-header .logoBlock {
    display: flex;
    flex-direction: column-reverse;
}

.g-header .logo {
    margin: 0;
    width: 140px;
    min-width: 140px;
    aspect-ratio: 288 / 97;
}

.g-header .logoBlock .company__name {
    margin: 0;
    font-size: 1.3rem;
    color: #666666;
}

.g-header .logoBlock .company__name .emphasis {
    font-size: 1.3rem;
    font-weight: normal;
    display: inline-block;
}


.g-header .logo img {
    width: 100%;
}

@media screen and (min-width: 1280px) {
    .g-header {
        padding-top: 40px;
        padding-bottom: 40px;
        background-color: #fff;
    }

    .g-header .logoBlock .company__name {
        display: none;
    }
}


/*----- ハンバーガーメニュー */

/* オーバーレイの初期設定 */
.hamburger-overlay {
    display: none;
    /* 初期状態は非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    /* 背景を半透明の黒に設定 */
    z-index: 9998;
    /* メニューの背後に配置（必要に応じて調整） */
}

/* メニュー展開時のオーバーレイ表示 */
.hamburger-overlay.is-show {
    display: block;
}


.hamburger {
    height: 60px;
    z-index: 9999;
    width: 60px;
    border: none;
    background-color: #F0ECE8;
    border-radius: 100vh;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger .hamburger__line {
    display: none;
}

.hamburger.-active .hamburger__line {
    display: block;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    background-color: #172e59;
    transition: 0.4s;
    opacity: 1;
}

.hamburger.-active .hamburger__line:before,
.hamburger.-active .hamburger__line:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #172e59;
    transition: inherit;
}

.hamburger.-active .hamburger__line {
    background-color: transparent;
}

.hamburger.-active .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger.-active .hamburger__line::after {
    top: 0;
    transform: rotate(-45deg);
}


.hamburger__text {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger__text::before {
    content: "MENU";
    text-align: center;
    color: #666666;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
}

.hamburger.-active .hamburger__text::before {
    content: none;
}

@media screen and (min-width: 1280px) {

    .hamburger {
        display: none;
    }
}


/*----- グローバルメニュー */

.header__nav-area {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 9;
    height: 100vh;
    width: 80%;
    visibility: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    transition: 0.4s;
}

.header__nav-area.-active {
    right: 0;
    visibility: visible;
}


@media screen and (min-width: 1280px) {
    .header__nav-area {
        position: relative;
        height: auto;
        width: 100%;
        visibility: visible;
        top: inherit;
        right: inherit;
        padding-top: 0;
        padding-bottom: 0;
        background-color: #ffffff;
    }
}

.g-nav {
    height: 100%;
    overflow-y: scroll;
}

.g-nav__menu {
    padding-top: 80px;
    padding-left: 0;
    display: flex;
    flex-direction: column;
}

.g-nav__item {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 40px;
    list-style: none;
    position: relative;
}

.g-nav__link {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    transition: .3s;
    position: relative;
    padding: 0 10px;
    transition: .3s;
}

.g-nav__link::after {
    content: '';
    display: block;
    height: 1px;
    width: 0%;
    background: #E9522A;
    position: absolute;
    bottom: -20px;
    left: 0;
    transition: .3s;
}

.g-nav__link:hover::after {
    width: 100%;
}

.g-nav__item .toggle {
    display: none;
}

.g-nav__item .g-nav__submenu {
    padding-top: 20px;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.g-nav__item .g-nav__subitem {
    list-style: none;

}

.g-nav__item .g-nav__sublink {
    display: flex;
    flex-direction: column;
}

.g-nav__item .g-nav__subitem .imgWrapper {
    display: none;
}

.g-nav__item .g-nav__subitem .imgWrapper img {
    display: none;
}

.g-nav__item .g-nav__subitem .link-text {
    margin-left: 1rem;
    font-size: 1.6rem;
    color: #666666;
    width: 100%;
    position: relative;
    transition: color .3s;
}

.g-nav__item .g-nav__subitem .link-text::before {
    padding-right: 10px;
    content: "-";
}

@media screen and (min-width: 1280px) {
    .g-nav {
        height: auto;
        overflow-y: initial;
    }

    .g-nav__menu {
        padding-top: 0;
        padding-right: 40px;
        display: flex;
        flex-direction: row;
    }

    .g-nav__item {
        padding-bottom: 0;
    }

    .g-nav__item .toggle {
        display: block;
        cursor: pointer;
        padding: 0;
        font-size: 2.2rem;
        color: #666666;
        position: absolute;
        right: 5px;
        top: -5px;
    }

    .g-nav__item .toggle::after {
        content: '';
        display: block;
        height: 1px;
        width: 0%;
        background: #E9522A;
        position: absolute;
        bottom: -15px;
        left: 0;
        transition: .3s;
    }

    .g-nav__item.__product .toggle::after {
        bottom: -16px;
        left: -89px;
    }

    .g-nav__item.__kodawari .toggle::after {
        bottom: -16px;
        left: -169px;
    }

    .g-nav__item.__product .g-nav__link:hover::after,
    .g-nav__item.__product .toggle:hover::after {
        width: 100px;
    }

    .g-nav__item.__kodawari .g-nav__link:hover::after,
    .g-nav__item.__kodawari .toggle:hover::after {
        width: 180px;
    }

    .g-nav__item .g-nav__submenu {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-right: 80px;
        padding-left: 80px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100vw;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        background-color: #fff;
        z-index: 1;
    }

    .g-nav__item .g-nav__submenu.show {
        max-height: 200px;
        opacity: 1;
    }

    .g-nav__item .g-nav__sublink {
        width: 100%;
        display: flex;
        flex-direction: column;
    }



    .g-nav__item .g-nav__sublink:hover {
        transition: all .3s;
    }

    .g-nav__item .g-nav__subitem {
        padding-left: 20px;
        padding-right: 20px;
        min-width: calc((100% - 80px) / 4);
        display: flex;
        flex-direction: column;
    }

    .g-nav__item .g-nav__subitem .imgWrapper {
        padding: 0;
        margin: 0;
        width: 100%;
        height: 120px;
        overflow: hidden;
        display: block;
    }

    .g-nav__item .g-nav__subitem .imgWrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }


    .g-nav__item .g-nav__subitem .link-text:after {
        content: "→";
        font-size: 1.6rem;
        position: absolute;
        right: 16px;
    }

    .g-nav__item .g-nav__subitem:hover .link-text {
        color: #E9522A;
        transition: color .3s;
    }

    .g-nav__item .g-nav__subitem .link-text::before {
        content: none;
    }
}




/* 追従ヘッダー */
.fixed-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
    visibility: visible;
    background: rgba(255, 255, 255, 0.7);
}

@media screen and (min-width: 1280px) {

    /* 追従ヘッダー */
    .fixed-header {
        width: 100%;
        position: fixed;
        top: -80px;
        left: 0;
        z-index: 9999;
        transition: all 0.3s ease-in-out;
        visibility: hidden;
        background: #ffffff;
    }

    .fixed-header.is-show {
        top: 0;
        visibility: visible;
    }
}




/*------ モバイル版追従nav --------*/



.mobile-menu {
    width: 100%;
    display: none;
    position: fixed;
    bottom: 0;
    background-color: rgba(255, 245, 233, 0.7);
    z-index: 99;
    align-items: center;
}

.mobile-menu a {
    width: 33.3%;
    text-align: center;
}

footer .border {
    border-left: solid 1px black;
}


@media screen and (max-width:767px) {
    .mobile-menu {
        width: 100%;
        display: flex;
        position: fixed;
        bottom: 0;
        background-color: rgb(255, 245, 233, 0.7);
        z-index: 99;
        align-items: center;
        padding: 4% 0;
    }

    .mobile-menu a {
        width: 33.3%;
        text-align: center;
    }

    .border {
        border-left: solid 1px black;
    }

}








/*-------------------------------
	footer
-------------------------------*/
.footer {
    padding-top: 40px;
    padding-bottom: 0;
    background-color: #F2EEEA;
    border-radius: 40px 40px 0 0;
}

.footer .basewidth {
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.footer .company__info img {
    width: 250px;
}

.footer .g-nav__menu {
    padding-top: 0;
}

.footer .g-nav__item {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 20px;
}

.footer .g-nav__item .g-nav__submenu {
    padding-top: 10px;
}

.footer .g-nav__item .g-nav__subitem .link-text {
    margin: 0;
    line-height: 2;
}

.footer .g-nav__item .g-nav__subitem .link-text::before {
    padding-right: 5px;
    content: "・";
}

.footer .g-nav__link::after {
    content: none;
}

.footer .company__info {
    padding-top: 60px;
    padding-left: 10px;
}

.footer .company__info .company {
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.footer .company__info .address {
    margin: 0 0 30px 0;
}

.footer .company__info .address .map {
    margin-left: 10px;
    padding: 4px 10px;
    display: inline-block;
    border: 1px solid #666666;
    border-radius: 16px;
    font-size: 1.2rem;
}

.footer .company__info .tel {
    margin: 0;
    font-size: 2.2rem;
}

.footer .footer__nav {
    padding-top: 40px;
    padding-left: 10px;
    font-size: 1.2rem;
}

.footer .copyright {
    display: block;
    padding-top: 40px;
    padding-left: 10px;
    font-size: 1rem;
}

.footer__bg {
    width: 100%;
    height: auto;
    background: url(./footer02.jpg) no-repeat center;
    background-size: cover;
    overflow: hidden;
}

.footer__bg-title {
    margin: 0;
    font-size: 17vw;
    line-height: 1;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

@media screen and (min-width: 767px) {

    .footer .upper {
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    .footer .g-nav__menu {
        width: 100%;
        padding-top: 80px;
        padding-left: 0;
        display: flex;
    }

    .footer .g-nav__item {
        padding-left: 24px;
        padding-right: 24px;
        padding-bottom: 40px;
        list-style: none;
        position: relative;
    }

    .footer .g-nav__link {
        font-size: 1.6rem;
        display: flex;
        align-items: center;
        position: relative;
        padding: 0;
        white-space: nowrap;

    }

    .footer .g-nav__link::after {
        content: none;
    }

    .footer .g-nav__link:hover::after {
        width: 100%;
    }

    .footer .g-nav__item .toggle {
        display: none;
    }

    .footer .g-nav__item .g-nav__submenu {
        max-height: inherit;
        opacity: 1;
        position: inherit;
        top: inherit;
        left: inherit;
        flex-direction: column;
        overflow: auto;
        padding-left: 20px;
        padding-right: 20px;
        width: auto;
        background-color: transparent;

    }

    .footer .g-nav__block {
        margin: 0;
    }

    .footer .g-nav__item .g-nav__subitem {
        list-style: none;
        padding-top: 10px;
        width: 100%;

    }

    .footer .g-nav__item .g-nav__sublink {
        display: flex;
        flex-direction: column;
    }

    .footer .g-nav__item .g-nav__subitem .link-text {
        width: 100%;
        position: relative;
        white-space: nowrap;
    }

    .footer .g-nav__item .g-nav__subitem .link-text::before {
        padding-right: 0;
        content: "・";
    }

    .footer .g-nav__item .g-nav__subitem .link-text:after {
        content: none;
    }

    .footer .company__info {
        width: 100%;
        padding-top: 80px;
        padding-left: 80px;
    }

    .footer .company__info .company {
        margin-top: 0;
    }

    .footer .lower {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .footer .footer__nav {
        display: flex;
        align-items: center;
    }

    .footer .footer__nav .g-nav__sublink {
        margin-right: 40px;
    }
}