
/*--------------------------------------
  共通
*/

:root {
    --color-font-base: #333;
    --menu-hover-text-color: #333;
    
    --font-family-gothic: "Noto Sans JP","ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
    --font-family-mincho: "Noto Serif JP","ヒラギノ明朝 ProN"," Hiragino Mincho ProN","YuMincho Medium",serif;
    --font-family-content-header-lead: "游明朝", YuMincho, "Yu Mincho", "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "Noto Serif JP", serif;

    --color-contents-dark-red: #970811;
    --color-contents-dark-green: #00403f;
    --color-contents-gold: #a68244;

    --height-pc-header-height: 38px;
    --height-mobile-header-height: 58px;
    
    --color-seat-toshiba: #008a7c;
    --color-seat-green: #79bd28;
    --color-seat-smbc: #2a78b3;
    --color-seat-breeze: #32adc6;
    --color-seat-breeze-upper: #841c3b;
    --color-seat-right: #924a8f;
    --color-seat-left: #dc6a9a;
    --color-seat-green-premium: #92a424;
    --color-seat-green-upper: #841c3b;
    --color-seat-smbc-first: #e9b800;
    --color-seat-ivy: #eedb15;
    --color-seat-smbc-relax: #8c8008;
    --color-seat-panorama: #8c8008;
    --color-seat-secom: #8c8008;

    --sp-proposal-button-height: 96px;

    --width-contents: 1200px;
    --width-left-title: calc(var(--width-left-title-image) + var(--width-left-title-gap) + var(--width-left-title-text));
    --width-left-title-image: clamp(60px, calc(6.466vw + 10.4px), 88px);
    --width-left-title-gap: clamp(12px, calc(4.278vw - 11.34px), 40px);;
    --width-left-title-text: 20px;
    --width-left-title-right-margin: clamp(24px, calc(4.478vw - 4.59px), 50px);

    --height-scrolled-header: 54px;

    --color-transition-link-default:  linear-gradient(90deg, rgba(0, 57, 18, 1) 54.48%, rgba(0, 64, 23, 1) 63.57%, rgba(0, 82, 37, 1) 76.52%, rgba(0, 94, 45, 1) 82.78%);
    --color-transition-link-red: 
}

@media (max-width: 639px) {
    :root {
        --width-left-title-image: 40px;
    }
    
}

html {
    scroll-padding-top: 44px;
}

@media screen and (max-width: 959px) {
    html {
        scroll-padding-top: var(--height-mobile-header-height);
    }
}

body {
    font-family: var(--font-family-mincho);
    font-size: 16px;
    font-feature-settings: "palt";
}
@media screen and (min-width: 640px) {
    .sp {
        display: none !important;
    }
}

img {
    max-width: 100%;;
}

select {
    appearance: auto;
    -moz-appearance: listbox;
    -webkit-appearance: listbox;
}

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

@media screen and (min-width: 640px) and (max-width: 959px) {
    .tb {
        display: none !important;
    }
}

@media screen and (max-width: 639px) {
    .pc {
        display: none !important;
    }
}

@media screen and (min-width: 960px) {
    .sp-tb {
        display: none !important;
    }
}

@media screen and (max-width: 959px) {
    .pc-not-tb {
        display: none !important;
    }
}

@media screen and (max-width: 639px) {
    main {
        margin-top: var(--height-mobile-header-height);
        /*padding-top: 5px;*/
    }
    .contents-wrap {
        max-width: 95%;
        margin: 0 auto;
    }
    .contents-wrap.full {
        width: 100%;;
        max-width: 100%;
    }
    
}

@media screen and (min-width: 640px) and (max-width: 959px) {
    main {
        margin-top: var(--height-mobile-header-height);
    }
}

@media screen and (min-width: 960px) {
    main {
        padding-top: 134px;
        transition-property: margin-top;
        transition-duration: .5s;
    }
}

a:hover {
    filter: saturate(150%);
    transition: filter .3s;
}

.line {
    display: inline-block !important;
}

.heading img {
    max-width: 100%;
}

.topics-arrow {
    display: flex;
    align-items: center;
    font-family: var(--font-family-gothic);
    font-size: 12px;
    font-weight: bold;
    gap: 8px;
    position: absolute;
    right: 15px;
    bottom: 15px;
    color: #000;
    text-decoration: none;
}

.attn-small {
    font-size: 11px;
}

.underscore {
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: red;
    text-underline-offset: 4px;
    padding-bottom: 8px;
    line-height: 1.8;
}

.youtube-wrap {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 620 / 349;
}

.youtube-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/********** green box **********/
.green-box {
    border: 3px solid var(--color-contents-dark-green);
    position: relative;
}

/********** green box **********/
.orange-box {
    border: 3px solid #d48000;
    position: relative;
}

/*****************************/

.contents-wrap .contents {
    width: var(--width-contents);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;;
}

.one-column {
    display: grid;
    grid-template-columns: 1fr;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.three-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.four-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}


.forty-sixty {
    display: grid;
    grid-template-columns: minmax(auto, 40%) minmax(auto, 60%);
    gap: 30px;
}

.sixty-forty {
    display: grid;
    grid-template-columns: minmax(auto, 60%) minmax(auto, 40%);
    gap: 30px;
}


.contents-wrap .contents-inner {
    width: 100%;
    max-width: 900px;
}

@media screen and (min-width: 640px) {
    .contents-wrap {
        width: 1200px;
        max-width: 95%;
        margin: 0 auto;
    }
    .contents-wrap.full {
        width: 100%;
        max-width: 100%;
    }
}


@media screen and (min-width: 640px) and (max-width:860px) {
    .contents-wrap {
        max-width: 95%;
    }
}

@media screen and (max-width: 639px) {
    .contents-wrap .contents {
        grid-template-columns: 1fr;
    }
    .two-column,
    .three-column,
    .forty-sixty,
    .sixty-forty,
    .four-column  {
        grid-template-columns: 1fr;
    }
}



/*--------------------------------------
  余白
*/

#main-contents {
    padding-bottom: 60px;
}

.contents-wrap {
    margin-top: 40px;
}

#main-contents section.contents-wrap:first-of-type {
    margin-top: 0;
}

.contents-wrap h1 {
    margin-bottom: 30px;
}

.contents-wrap h2 {
    font-size: 29px;
    margin-top: 100px;
    margin-bottom: 40px;
    text-align: center;
    min-height: 60px;
}

.contents-wrap h3 {
    margin-top: 60px;
    margin-bottom: 15px;
    text-align: center;
}

.contents-wrap h4 {
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 5px;
}


@media screen and (max-width: 639px) {
    .contents-wrap h1,
    .contents-wrap h2,
    .contents-wrap h3,
    .contents-wrap h4 {
        padding-left: 10px;
        padding-right: 10px;
    }
}
/*--------------------------------------
  グローバルナビ
*/
header {
    background: #fff;;
}

header.main-header {
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    transition-property: top;
    transition-duration: .5s;
}

header.main-header,
header.main-header a {
color: var(--color-font-base);
}

header.main-header .main-header-wrap {
    padding: 10px 0 0 0;
    width: 100%;;
    margin: 0 auto;
    transition-property: align-items;
    transition-duration: .5s;
}

header.main-header .site-logo {
    display: flex;
    align-items: flex-end;
    transition-property: padding;
    transition-duration: .5s;
}

header.main-header .site-logo img {
    width: 400px;
}

/*
  スクロール時のヘッダナビ
*/
@media screen and (min-width: 960px) {
    header.main-header.scrolled {
        top: -90px;
    }

    main.scrolled {
        margin-top: var(--height-scrolled-header);
    }
}


header.main-header #global-nav {
    width: 100%;
}

header.main-header .navi-items {
    list-style: none;
    display: flex;
    width: 100%;;
    justify-content: space-between;
    align-items: center;
}


header.main-header .lower-navi > .navi-items {
    height: 100%;
    
}

header.main-header .navi-item a {
    font-family: var(--font-family-gothic);
}


header.main-header .lower-navi > .navi-items > .navi-item {
    width: 100%;;
    position: relative; /* メニューを下に表示 */
}

header.main-header .lower-navi > .navi-items > .navi-item > a {
    font-family: var(--font-family-mincho);
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: var(--color-font-base);
    position: relative;
}

header.main-header .lower-navi > .navi-items > .navi-item.selected > a:after,
header.main-header .lower-navi > .navi-items > .navi-item > a:hover:after {
    content: '';
    display: block;
    position: absolute;
    width: 90%;
    height: 1px;
    left: calc(50% - (90% / 2));
    bottom: -7px;
    background: var(--color-font-base);
}

header.main-header .lower-navi>.navi-items>.navi-item:last-child > a {
    border-right-width: 0;
}

header.main-header .lower-navi>.navi-items>.navi-item:hover>a,
header.main-header .lower-navi>.navi-items>.navi-item.selected>a {
    color: var(--menu-hover-text-color);
}

header.main-header .navi-item a {
    text-decoration: none;
    width: 100%;
    text-align: center;;
}

header.main-header .main-header-wrap .main-header-top {
    display: flex;
    justify-content: space-between;
}

header.main-header .main-header-wrap .upper-navi {
    display: flex;
    justify-content: space-between;
}

header.main-header .main-header-wrap .upper-navi .navi-items {
    width: 320px;
    height: 43px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;;
    gap: 0;
}


header.main-header .main-header-wrap .upper-navi .navi-item {
    font-size: 13px;
    text-align: center;
}

header.main-header .main-header-wrap .upper-navi .navi-item:nth-child(3n+1) {
    width: 90px;
    flex-shrink: 0;
}

header.main-header .main-header-wrap .upper-navi .navi-item:nth-child(3n+2) {
    width: 100px;
    flex-shrink: 0;
}

header.main-header .main-header-wrap .upper-navi .navi-item:nth-child(3n) {
    width: 130px;
    flex-shrink: 0;
}

header.main-header .main-header-wrap .upper-navi .navi-item a {
    font-family: var(--font-family-mincho);
    width: 100%;
    display: inline-block;
    border-style: solid;
    border-width: 0 1px 0 0;
    line-height: 1;
}
header.main-header .main-header-wrap .upper-navi .navi-item.selected a,
header.main-header .main-header-wrap .upper-navi .navi-item a:hover {
    background: #efe4c9;
}

header.main-header .main-header-wrap .upper-navi .navi-item:nth-child(3n+1) a {
    border-left-width: 1px;
}

header.main-header .main-header-wrap .upper-right {
    display: flex;
    align-items: center;
}


.application-link a {
    transition: filter .3s;
    display: block;
    position: relative;
    overflow: hidden;
}

.application-link a:before {
    content: '';
    background-image: linear-gradient( 130deg, rgba(255,255,255,0) 20%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 80% );
    position: absolute;
    width: 200%;
    height: 200%;
    top: -100%; 
    left: -200%;
}

.application-link a:hover {
    opacity: 1;
    filter: brightness(1.5);
}

header.main-header .main-header-wrap .application-link {
    flex-shrink: 0;
    margin-left: 18px;
}

header.main-header .main-header-wrap .application-link a:hover:before {
    top: 0%;
    left: 100%;
    transition: all 0.5s;
}



header.main-header .main-header-wrap .contractors-link {
    margin-left: 18px;
}

header.main-header .main-header-wrap .contractors-link img {
    width: 184px;
}


header.main-header .main-header-wrap .lower-navi {
    padding-top: 15px;
    display: flex;
    align-items: center;
}

header.main-header .main-header-wrap .lower-navi>.navi-items>.navi-item {
    font-size: 16px;
    height: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 15px;
}

header.main-header .main-header-wrap .lower-navi a {
    display: inline-flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

/* サブメニュー */
header.main-header .child-menu {
    background: #fff;
}

header.main-header .pc-menu .child-menu {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    display: none;
    flex-wrap: wrap;
    justify-content: flex-start;
}

header.main-header .pc-menu .child-menu .navi-item {
    padding: 10px 5px;
    width: 100%;;
    background: #fff;
}

header.main-header .pc-menu .child-menu .navi-item:not(:last-child) {
    border-bottom: 1px solid rgba(238, 235, 226, 1);
}

header.main-header .pc-menu .child-menu .navi-item:hover {
    background: #efe4c9;
}

header.main-header .pc-menu .child-menu a {
    color: var(--color-font-base);
    font-weight: bold;
    font-size: 15px;
}

header.main-header .pc-menu .navi-item:hover .child-menu,
header.main-header .pc-menu .navi-item .child-menu:hover {
    display: flex;
}


header.main-header .pc-menu .child-menu li {
    min-width: 0
}

@media screen and (max-width: 959px) {
    header.main-header {
        height: var(--height-mobile-header-height);
    }
    header.main-header .main-header-wrap {
        padding: 4px 5px 4px 10px;
        display: flex;
        justify-content: space-between;
    }

    header.main-header .main-header-wrap .upper-navi {
        
    }
    header.main-header .main-header-wrap .upper-navi .navi-items {
        display: none;
    }
    header.main-header .site-logo {
        align-items: center;;
    }
    header.main-header .site-logo img {
        max-width: 100%;
        height: 40px;
        width: auto;
    }
    #global-nav-sp {
        display: none;
        background: #fff;
        position: fixed;
        top: var(--height-mobile-header-height);
        width: 100%;
        z-index: 199;
        overflow-y: scroll;
        max-height: calc( 100vh - var(--height-mobile-header-height) );
    }

    #global-nav-sp ul {
        list-style: none;
    }

    #global-nav-sp .navi-item {
        border-top: 1px solid #ccc;
        position: relative;
    }
    #global-nav-sp .navi-item a {
        padding: 10px 15px;
        display: block;
        width: 100%;
        font-family: var(--font-family-mincho);
    }
    #global-nav-sp .child-menu .navi-item a {
        padding-left: 32px;
    }
    #global-nav-sp .navi-item:last-child {
        border-bottom: 1px solid #ccc;
    }
    #global-nav-sp a {
        color: var(--color-font-base);
        text-decoration: none;
    }

    /* サブメニュー */
    #global-nav-sp .mobile-menu .navi-item.collapse > a + .child-menu {
        /* display: none; */
    }
    #global-nav-sp .mobile-menu .navi-item.has-child > a {
        display: flex;
        justify-content: space-between;
    }


    #global-nav-sp .mobile-menu .expand-button {
        width: 40px;
        height: 40px;
        background: url(../img/common/icon-minus.svg) no-repeat;
        background-size: contain;
        background-position: center;
        margin-right: 10px;
        background-size: 20px 20px;
        position: absolute;
        top: 2px;
        right: 0;
    }

    #global-nav-sp .mobile-menu .navi-item.has-child.collapse .expand-button {
        background-image: url(../img/common/icon-plus.svg);
    }

    #global-nav-sp .mobile-menu .navi-item.has-child.collapse > a:after {
        background: url(../img/icon-plus.svg) no-repeat;
    
    }

    #global-nav-sp .mobile-menu .navi-item.has-child > .child-menu {
        display: none;
        background: #efe4c9;
    }

    #global-nav-sp .mobile-lower {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        background: #e1e5d7;
        column-gap: 5%;
        padding: 10% 5%;
    }

    #global-nav-sp .mobile-lower li {
        list-style: none;
        width: 40%;
    }

    #global-nav-sp .mobile-lower li.application-link {
        padding-top: 1.5em;
        width: 50%;
    }
    #global-nav-sp .mobile-lower li.application-link img {
        width: 100%;
    }

    #global-nav-sp .mobile-lower li a {
        color: #000;
        text-align: center;
    }

    #global-nav-sp .mobile-lower li:last-child {
        width: 100%;
        background : linear-gradient(90deg, rgba(237, 234, 225, 1) 0%, rgba(255, 255, 255, 1) 54.38%, rgba(238, 235, 226, 1) 100%);
        margin-top: 30px;
    }

}

@media screen and (max-width: 640px) {
    #global-nav-sp .mobile-lower li.application-link {
        width: 70%;
    }
}

@media screen and (min-width: 960px) {
    header.main-header .main-header-wrap {
        width: 1200px;
        max-width: 100%;
    }
}



/*--------------------------------------
  ハンバーガーメニュー
*/
@media screen and (max-width: 959px) {

    #menu-toggle .toggle {
        position: relative;
        /*ボタン内側の基点となるためrelativeを指定*/
        background: #fff;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 5px;
    }

    /*ボタン内側*/
    #menu-toggle .toggle span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: var(--color-font-base);
        width: 45%;
    }

    #menu-toggle .toggle span:nth-of-type(1) {
        top: 13px;
    }

    #menu-toggle .toggle span:nth-of-type(2) {
        top: 19px;
    }

    #menu-toggle .toggle span:nth-of-type(3) {
        top: 25px;
    }

    #menu-toggle .toggle span:nth-of-type(3)::after {
        content: "Menu";
        position: absolute;
        top: 5px;
        left: -2px;
        font-size: 0.6rem;
        text-transform: uppercase;
    }

    #menu-toggle .toggle.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    #menu-toggle .toggle.active span:nth-of-type(2) {
        opacity: 0;
    }

    #menu-toggle .toggle.active span:nth-of-type(3) {
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    #menu-toggle .toggle.active span:nth-of-type(3)::after {
        content: "Close";
        /*3つ目の要素のafterにClose表示を指定*/
        transform: translateY(0) rotate(-45deg);
        top: 5px;
        left: 4px;
    }

}


/*--------------------------------------
  メインビジュアル
*/

#main-visual {
    position: relative;
    width: 100%;
}

#main-visual img {
    display: block;
}
#main-visual .header-contents {
    width: 1000px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

#main-visual .header-contents h1 img {
    height: 60px;
    width: auto;
}

#main-visual .header-contents h1 img {
     display:inline-block;
     filter:
        drop-shadow(0 0  .5px rgba(255,255,255,.9))
        drop-shadow(0 0  1.5px rgba(255,255,255,.6))
        drop-shadow(0 0 4px rgba(255,255,255,.3));
}

#main-visual .header-contents h2 {
    margin-top: 35px;
    margin-bottom: 25px;
    padding-left: 7px;
    line-height: 1.8;
}

#main-visual .header-contents p {
    line-height: 1.8;
    font-size: 15px;
    padding-left: 7px;
}

#main-visual:has(.header-contents){
    height: 520px;
    padding: 80px 40px 0 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@media (max-width: 639px) {
    #main-visual {
        text-align: center;
    }
    #main-visual .header-contents h1 img {
        height: 45px;
        margin: 0 auto;
    }
    #main-visual .header-contents h2 {
        margin-top: 10px;
        margin-left: 0;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    #main-visual .header-contents p {
        margin-left: 0;
        line-height: 1.6;
    }
    #main-visual:has(.header-contents) {
        padding: 50px 20px 20px;
        aspect-ratio: 1280 / 1000;
        height: auto;
    }
}


/*--------------------------------------
  フッタ
*/
#copyright {
    width: 100%;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #040000;
    font-size: 14px;
}

#main-footer .footer-menu-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 110px 0 50px 0;
    gap: 20px;
    background: #000;
}

#main-footer .footer-menu {
    width: 1200px;
    max-width: 95%;
}

#main-footer .footer-menu .footer-menu-cell-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 40px;
    margin: 0 auto;
    max-width: 100%;
    justify-content: center;
    justify-items: center;
}
#main-footer .footer-menu .footer-menu-cell {
    width: 360px;
    aspect-ratio: 360 / 124;
    background: #fff;
    border-radius: 360px;
    padding: 22px 0;
    transition: .15s all;
}
#main-footer .footer-menu .footer-menu-cell:hover {
    /* background : linear-gradient(90deg, rgba(237, 234, 225, 1) 0%, rgba(255, 255, 255, 1) 54.38%, rgba(238, 235, 226, 1) 100%); */
    background: #cf8800;
}
#main-footer .footer-menu .footer-menu-cell:hover img {
    filter: brightness(200%);
}

#main-footer .footer-menu .footer-menu-cell a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    line-height: 1.3;
}

#main-footer .footer-menu .footer-menu-cell .footer-cell-contents {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    height: 70px;
    gap: 0;
}

#main-footer .footer-menu .footer-menu-cell p {
    width: 100%;
    text-align: center;
}

#main-footer .footer-menu .footer-menu-cell img {
    display: block;
    margin: 0 auto;
}

#main-footer .footer-menu .footer-cell-contents > :first-child img {
    height: 19px;
}

#main-footer .footer-contact-wrap {
    background: #000;
    color: #fff;
    padding: 30px 0;
    border-top :1px solid #fff;
}
#main-footer .footer-contact-wrap a {
    color: #fff;
    text-decoration: none;
}

#main-footer .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    font-family: var(--font-family-gothic);
}

#main-footer .footer-content .footer-content-left {
    font-family: var(--font-family-mincho);
    flex-shrink: 0;
}

#main-footer .footer-content .footer-content-left .footer-contact-title {
    font-size: 24px;
}
#main-footer .footer-content .footer-content-left .footer-contact-text {
    font-size: 17px;
}
#main-footer .footer-content .footer-content-right {
    display: flex;
    align-items: center;
    gap: 10px;
    
}
#main-footer .footer-content .footer-tel {
    font-family: 'Oswald', sans-serif;
    font-size: 37px;
    font-weight: bold;
}

#main-footer .footer-content .footer-koshien {
    font-family: var(--font-family-gothic);
}

#main-footer .footer-content .footer-koshien span:first-child {
    font-size: 24px;
}
#main-footer .footer-content .footer-koshien span:last-child {
    font-size: 11px;
}

#main-footer .footer-menu .footer-menu-cell .circle-arrow {
    width: 30px;
}

@media screen and (min-width: 960px) {
    #main-footer .footer-content {
        width: 1200px;
        max-width: 95%;
        margin: 0 auto;
    }
    #main-footer .footer-content .footer-content-right {
        flex-shrink: 1;
        width: 615px;
    }
}



@media screen and (max-width: 959px) {

    #main-footer .footer-menu-wrap {
        gap: 0;
    }
    #main-footer .footer-menu {
        
        border-width: 0;
    }
    #main-footer .footer-menu .footer-menu-cell {
        width: 300px;
    }
    
    #main-footer .footer-menu:last-child {
        border-bottom-width: 1px;
    }

    #main-footer .footer-contact-wrap {
        padding: 20px 12px;
    }
    #main-footer .footer-content {
        flex-wrap: wrap;
        justify-content: center;;
    }
    #main-footer .footer-content .footer-content-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0;
    }
    #main-footer .footer-content .footer-content-right>* {
        width: 70%;
        text-align: center;
    }

    #main-footer .footer-content .footer-content-right .footer-koshien span:first-child {
        font-size: 42px;
    }
    #main-footer .footer-content .footer-content-right .footer-koshien span:last-child {
        font-size: 18px;
    }
    
}


@media screen and (max-width: 639px) {
    #main-footer .footer-menu-wrap {
        padding-top: 60px;
    }
    #copyright {
        text-align: center;
    }

    #main-footer .footer-menu .footer-menu-cell-wrap {
        row-gap: 10px;
    }

    #main-footer .footer-menu .footer-menu-cell {
        position: relative;
        height: auto;;
    }

    #main-footer .footer-menu .footer-menu-cell .footer-cell-contents {
        height: auto;
        gap: 6px;
    }

    #main-footer .footer-menu .footer-menu-cell a>div {
        justify-content: center;
    }

    #main-footer .footer-menu .footer-menu-cell:last-child {
        border-right-width: 0;
    }

    #main-footer .footer-menu .footer-menu-cell p {
        text-align: left;
    }

    #main-footer .footer-content .footer-content-left {
        text-align: center;
        width: 100%;
    }

    #main-footer .footer-content .footer-koshien {
        margin-top: 10px;
    }

    #main-footer .footer-content .footer-koshien span:first-child {
        font-size: 28px;
        padding-top: 10px;
    }

    #main-footer .footer-content .footer-koshien span:last-child {
        font-size: 13px;
    }

    #main-footer .footer-content .footer-content-left span:last-child {
        font-size: 14px;
    }

    #main-footer .footer-content .footer-content-left .footer-contact-text {
        font-size: 16px;
    }

    #main-footer .footer-content .footer-tel {
        font-size: 34px;
        padding-top: 10px;
    }

    #main-footer .footer-content .footer-koshien span {
        display: block;
    }

    #main-footer .footer-content .footer-content-right .site-logo {
        width: 90%;
    }
    
}



/*--------------------------------------
  カバー
*/
#cover {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
}

#cover .cover-inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cover .cover-inner .card-wrap .card {
    max-height: 80vh;
    overflow-y: auto;
}

#cover .card {
    background: #fff;
    padding: 80px 45px 45px;
    position: relative;
}

#cover .card {
    display: none;
}

#cover .card.show {
    display: block !important;
}

#cover .card .card-close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}




@media screen and (min-width: 640px) {
    #cover .card {
        width: 1000px;
    }
}

@media screen and (max-width: 1000px) {
    #cover .card {
        width: 90%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 639px) {
    #cover .card {
        width: 90%;
        margin: 0 auto;
        padding: 20px;
        max-height: 90vh;
        overflow-y: scroll;
    }

    #cover .card .card-close {
        width: 30px;
        height: auto;
    }
}


/*--------------------------------------
  提案書バナー
*/
#side-proposal {
    width: 73px;
    position: fixed;
    top: 20%;
    right: 0;
    background-color: rgba(255,255,255,.8);
    z-index: 99;
    right: -80px;
    transition: right .5s;
    box-shadow: 0 0 10px #ccc;
    border-radius: 24px 0 0 24px;
    padding-bottom: 6px;
}

#side-proposal .pc {
    display: flex;
    flex-direction: column;
}

#side-proposal.show {
    right: 0;
}

#side-proposal .side-proposal-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

#side-proposal .side-proposal-home {
    height: 50px;
}

#side-proposal .side-proposal-top {
    height: 48px;
    padding-bottom: 8px;
}
#side-proposal .pc .side-proposal-proposal {
    height: 170px;   
}

#side-proposal .pc a:nth-child(n+3) {
    border-top: 1px solid #fff;
}

#side-proposal .pc .side-proposal-application {
    display: flex;
    /*flex-direction: row;
    align-items: center;*/
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    width: 100%;
    height: fit-content;
    text-decoration: none;
    font-family: var(--font-family-gothic);
    font-weight: bold;
    writing-mode: vertical-lr;
    font-size: 18px;
    color: #000;
}

#side-proposal .pc .side-proposal-application img {
    width: 60px;
    height: auto;
    margin-bottom: 8px;
}

@media screen and (max-width: 639px) {
    #side-proposal {
        width: 100%;
        height:  var(--sp-proposal-button-height);
        bottom: 0;
        left: 0;
        top: unset;
        display: flex;
        align-items: center;
    }

    #side-proposal .sp a {
        font-size: 22px;
        font-family: var(--font-family-gothic);
        font-weight: bold;
        color: #000;
        text-decoration: none;
        line-height: 1.2;
    }


    #side-proposal .application,
    #side-proposal .proposal {
        padding: 5px 10px;
    }

    #side-proposal .proposal {
        border-left: 2px dotted #000;
    }

    #side-proposal .side-proposa-sp {
        width: 100%;
        display: flex;
    }

    #side-proposal .side-proposa-sp > a {
        width: 50%;
        display: flex;
        flex-direction: column;
    }

    #side-proposal .sp img {
        max-width: 100%;
    }

    #side-proposal .img-for-business-wrap,
    #side-proposal .proposal-label {
        text-align: center;
    }

    #side-proposal .proposal-label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex-grow: 1;
    }

    #side-proposal .icon-mail-wrap {
        display: grid;
        justify-content: center;
        align-items: center;
    }

    #side-proposal .img-pdf-wrap {
        display: grid;
        align-items: center;
        justify-self: left;
    }

    #side-proposal .sp .img-for-business {
        height: 20px;
    }

    #side-proposal .sp img.img-pdf {
        height: 45px;
        width: auto;
    }
    #side-proposal .sp .application .icon-news,
    #side-proposal .sp .application .proposal-label {
        text-align: center;
    }
    #side-proposal .sp .icon-news img {
        height: 24px;
        width: auto;
    }

    footer {
        margin-bottom: var(--sp-proposal-button-height);
    }

}

@media screen and (max-width: 639px) {
    #side-proposal {
        display: none !important
    }
    footer {
        margin-bottom: 0 !important
    }
}

/*--------------------------------------
  新規資料請求受付開始バナー
*/
.banner-application-link {
    transition: filter .3s;
}
.banner-application-link:hover {
    filter: brightness(1.15);
    opacity: 1;
}



/*--------------------------------------
  Swiper
*/
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
}


/*--------------------------------------
  ヘッダ部 - How To、Benefit、Voice、Enjoy 共通
*/
.content-header {
    padding-left: 50px;
    padding-bottom: 55px;
    width: 1200px;
    max-width: 100%;
}

.content-header h1 {
    margin-bottom: 0;
}

.content-header h1 img {
    display: block;
    max-width: 100%;
}

.content-header h2 {
    font-size: 40px;
    font-weight: 400;
    text-align: left;
    margin: 35px 0 12px;
}

.content-header .content-header-lead {
    font-family : var(--font-family-content-header-lead);
    font-size: 19px;
    line-height: 1.8;
    text-shadow: 0 0 5px #fff, 5px 5px 5px #fff, 5px 0 5px #fff, 0 5px 5px #fff, -5px -5px 5px #fff,
    0 0 5px #fff, 5px 5px 5px #fff, 5px 0 5px #fff, 0 5px 5px #fff, -5px -5px 5px #fff,
    0 0 5px #fff, 5px 5px 5px #fff, 5px 0 5px #fff, 0 5px 5px #fff, -5px -5px 5px #fff,
    0 0 5px #fff, 5px 5px 5px #fff, 5px 0 5px #fff, 0 5px 5px #fff, -5px -5px 5px #fff;
}

.content-header .content-header-lead span {
    display: block;
}
    

@media screen and (min-width: 640px) {
    .content-header {
        min-height: 400px;
    }
    .content-header h1 img {
        height: 60px;
        width: auto;
    }
}

@media screen and (max-width: 639px) {
    .content-header {
        padding: 0 5% 140px;
    }
    .content-header h2 {
        font-size: 32px;
    }
}


/*--------------------------------------
  アンカー位置調整
*/
@media screen and (min-width: 960px) {

    .anchor-absolute {
        margin: 0 !important;
        padding: 0 !important;
        position: absolute;
        top: calc(var(--height-pc-header-height) * -1);
    }
}

@media screen and (max-width: 959px) {

    .anchor-absolute {
        margin: 0 !important;
        padding: 0 !important;
        position: absolute;
        top: calc(var(--height-mobile-header-height) * -1);
    }
}


.hover-action:hover {
    animation:hover-action 0.4s ease;
}

@keyframes hover-action {
    0%   { transform:rotate(0); }
    20%  { transform:rotate(2deg); }
    40%  { transform:rotate(-1deg); }
    60%  { transform:rotate(2deg); }
    80%  { transform:rotate(-1deg); }
    100% { transform:rotate(0deg); }
}





/* 重要なお知らせ */
#important {
    margin-bottom: 40px;
    
}

#important,
#important p {
    font-family: var(--font-family-gothic) !important;
}
  
  
#important .important-contents-wrap {
    background: #fff;
    color: #000;
}

#important .important-header {
    border-style: solid;
    border-color: #FE2913;
    border-width: 5px 5px 0 5px;

    background: #FE2913;
    color: #fff;
    text-align: center;
    padding: .7rem 0 .7rem;
    font-size: 1.5em;
}

#important .important-contents {
    border-style: solid;
    border-color: #FE2913;
    border-width: 5px;
    padding: .5em;
}

#important .important-contents ul {
    padding-left: 1em;
}

#important .important-contents ul:first-child {
    margin-bottom: 1em;
}

#important .important-contents ul li {
    list-style: none;
}

#important .important-contents > ul > li > .strong:before {
    content: '';
    display: block;
    width: 1.2em;
    height: 1.2em;
    margin-right: 1.5em;
    background: url(../img/common/attention.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: 3px;
    left: -8px;
}

#important .important-contents .emphasis > span:before {
    content: '';
    margin-right: .3em;
    background: url(../img/common/attention.png) no-repeat center / contain;
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    position: relative;
    top: 3px;
}

#important .important-contents > ul ul {
    margin-left: 1.2em;
    padding-left: 1.2em;
}
#important .important-contents > ul ul li {
    text-indent: -1.2em;
}
#important .important-contents > ul ul li:before {
    content: '※';
}

#important .strong {
    font-weight: bold;
    color: #f00;
    text-decoration: underline;
    display: flex;
    position: relative;
    padding-left: 1.2em;
}

#important .emphasis {
    font-weight: bold;
    text-align: center;
    position: relative;
    font-size: 21px;
}

@media screen and (max-width: 999px) {
    .flex-br {
        display: none;
    }
}


/* 左タイトルレイアウト */
.contents-layout-left-title {
    width: calc(50vw + var(--width-contents) / 2);
    max-width: 100%;
    margin-left: 0;
    display: flex;
    align-items: flex-start;
}

.contents-layout-left-title .left-title {
    position: sticky;
    left: 0;
    top: calc(var(--height-scrolled-header) + .625rem);
    width: var(--width-left-title);
    flex-shrink: 0;
}
.contents-layout-left-title .left-title .left-title-contents {
    margin-top: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    column-gap: var(--width-left-title-gap);
}
.contents-layout-left-title .left-title-image {
    width: var(--width-left-title-image);
}

.contents-layout-left-title .left-title-text {
    font-size: clamp(14px, calc(1.378vw + 3.19px), 20px);;
    writing-mode: vertical-rl;
    line-height: 1;
    width: 1em;
    letter-spacing: .1em;
}

.contents-layout-left-title .contents {
    margin-left: auto;
    margin-right: 0;
    padding-left: var(--width-left-title-right-margin);
    width: calc(var(--width-contents) - var(--width-left-title));
    flex-shrink: 1;
    flex-grow: 0;
}

/* 右画像がブラウザ幅フルに位置する場合 */
.contents-layout-left-title.full .contents.full {
  width: clamp(1000px, 100%, 1400px);
  max-width: 100%;
  margin-right: 0;
  margin-left: auto;
}

/* 従来のレイアウトに対するフォールバック */
.contents-layout-left-title .contents .contents {
    width: 100%;
}


/* トランジションリンク */
.anchor-transition {
    display: inline-block;
    --transition: all .25s ease-out;
    position: relative;
    max-width: 100%;
    margin-top: 15px;
}
.anchor-transition a {
    display: inline-block;
    font-family: 'EB Garamond', "Noto Serif JP", "ヒラギノ明朝 ProN", " Hiragino Mincho ProN", "YuMincho Medium", serif;
    font-style: italic;
    font-size: 15px;
    text-decoration: none;
    color: var(--color-font-base);
    padding: 25px 90px 22px 22px;
    position: relative;
    width: 100%;
    border-bottom: 1px solid var(--color-font-base);
    transition: var(--transition);
}

.anchor-transition a:after {
    content: '';
    display: block;
    width: 45px;
    height: 7px;
    position: absolute;
    right: 13px;
    top: calc(50% - 3px);
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='45.1' height='6.93' viewBox='0 0 45.1 6.93'><polyline fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='.5' points='0 6.68 44.5 6.68 38 .18'/></svg>") no-repeat top / contain;
    transition: var(--transition);
}

.anchor-transition:hover a {
    border-bottom-color: transparent;
    color: #fff;
}

.anchor-transition:before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--color-transition-link-default);
    transition: var(--transition);
}

.anchor-transition:hover:before {
    width: 100%;
}

@media (min-width: 1025px) {
    .anchor-transition:hover a:after {
    transform: translateX(30px);
}
}

@media (max-width: 1024px) {

    .anchor-transition a {
        border-bottom-color: transparent;
        color: #fff;
        padding-top: 18px;
        padding-bottom: 16px;
        padding-right: 50px;
    }
    .anchor-transition a:after {
        filter: invert(100%);
    }
    .anchor-transition:before {
        width: 100%;
    }
}