@charset "UTF-8";

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.zen-kaku-gothic-new-regular {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zen-kurenaido-regular {
    font-family: "Zen Kurenaido", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.source-code-pro-bold {
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

:root {
    --clr-blk: #01233d;
    --clr-sub-02: #007ddd;
}


/* ALL */
body {
    font-size: 20px;
    font-family: "ZenKakuGothicNew", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    counter-reset: number;
    overflow-x: hidden;
}

*:before,
*:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
}

main {
    position: relative;
}

.wrapper {
    max-width: 100%;
    padding: 10px;
}

p {
    margin: 1.3rem 0;
}

/* header */
header {
    background: linear-gradient(180deg, #b0e6ff, rgba(176, 230, 255, 0.4));
    padding: 0 20px;
}

.flexbox1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 img {
    width: 200px;
}

/* nav */
ul.nav {
    margin: 0 20px;
    padding: 0;
}

ul.nav li {
    width: 130px;
    display: inline-block;
    list-style-type: none;
    position: relative;
}

ul.nav a {
    background-color: rgba(0, 0, 0, 0);
    color: rgba(0, 46, 81, 1);
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

ul.nav a:hover {
    color: rgba(14, 77, 196, 0.9);
}

ul.nav ul {
    display: none;
    position: absolute;
    margin: 0;
    padding: 0;
    z-index: 100;
}

ul.nav li:hover ul {
    display: block;
}

ul.nav ul li {
    width: 200px;
    border-top: 1px solid #FFFFFF;
}

ul.nav ul li a {
    line-height: 35px;
    text-align: center;
    font-weight: normal;
    background-color: rgba(0, 46, 81, 0.6);
    color: #FFFFFF;
    padding: 10px 8px;
}

ul.nav ul li a:hover {
    background-color: rgba(247, 247, 248, 0.8);
    color: rgba(0, 46, 81, 1);
}



/* ハンバーガーメニュー非表示 */

.hamburger-fade {
    display: none;
}

.nav-fade {
    display: none;
}






/* main */
.area_flex {
    display: flex;
    justify-content: space-between;
}


.title-area {
    position: relative;
    margin: 0 30px;
}

.rotating-logo {
    width: 780px;
    padding: 10px;
    animation: spin 40s linear infinite;
    transform-origin: center center;
    opacity: 0.3;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: absolute;
    top: 50px;
    left: 50px;
}

.title_en {
    font-size: 8rem;
    font-weight: bold;
    font-family: "Source Code Pro", monospace;
    line-height: 0.85;
    letter-spacing: -0.3rem;
    margin: 250px 0 0 50px;
    color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(18deg, var(--clr-blk) 70%, var(--clr-sub-02) 80%);
    background-size: 200%;
    background-position: 100% center;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: grade_anime 2.5s ease-out infinite alternate;
}

@keyframes grade_anime {
    0% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.title_ja1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: rgba(51, 51, 51, 0.7);
    position: absolute;
    top: 480px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.slide_r {
    opacity: 0;
    transform: translateX(220px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    position: relative;
}

.slide_r.active {
    opacity: 1;
    transform: translateX(-80px);
}

.slide_r img {
    width: 780px;
    opacity: 0.8;
    padding: 20px;
    border-radius: 25px;
    margin: 480px 80px 0 0;
}

.text-area {
    width: 100%;
    padding: 0 80px;
}

h3 {
    font-size: 2.5rem;
    width: fit-content;
    color: #fff;
    background: linear-gradient(to right, #002E51, #0068B7);
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
    border: none;
    padding: 1.2% 7% 1.2% 3%;
    position: relative;
    white-space: nowrap;
    margin-top: 3rem;
}

.slide-in-l {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-l.visible {
    opacity: 1;
    transform: translateX(0);
}

.text_wrapper {
    width: 100%;
    padding: 0 80px;
}

.text_wrapper p {
    width: 100%;
    padding: 0 300px;
    margin: 3rem 0;
    font-size: 1.4rem;
}

.flow_design {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0 0 3rem;
}

.flow_design ul {
    padding: 0;
}

.flow_design li {
    list-style-type: none;
}

.flow_design dd {
    margin-left: 0;
}

.flow {
    position: relative;
}

.flow::before {
    content: "";
    width: 15px;
    height: 100%;
    background: #eee;
    margin-left: -129px;
    display: block;
    position: absolute;
    top: 0;
    left: 120px;
    border-radius: 20px;
}

.flow>li {
    position: relative;
}

.flow>li:not(:last-child) {
    margin-bottom: 60px;
}

.flow>li .icon {
    font-size: 0.8em;
    width: 2em;
    height: 2em;
    line-height: 2;
    text-align: center;
    font-weight: bold;
    border-radius: 100vh;
    color: #fff;
    background: #0068B7;
    display: inline-block;
    margin-right: 0.3em;
}

.flow>li dl {
    padding-left: 70px;
    position: relative;
}

.flow>li dl::before,
.flow>li dl::after {
    content: "";
    display: block;
    position: absolute;
    top: 15px;
}

.flow>li dl::before {
    width: 7px;
    height: 7px;
    margin-top: -3px;
    background: #0068B7;
    border-radius: 50%;
    left: -4px;
}

.flow>li dl::after {
    width: 50px;
    border-bottom: 1px dashed #999;
    position: absolute;
    left: 5px;
}

.flow>li dl dt {
    font-size: 1.3em;
    font-weight: 600;
    color: #0068B7;
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
}

h5 {
    position: relative;
    padding: 0.5em 3em;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 125, 221, 0.8)0%, rgba(0, 125, 221, 0.3)80%);
    font-size: 2rem;
    margin: 6rem 0 0 8rem;
    width: fit-content;
}

h5::before {
    position: absolute;
    top: 0;
    right: 15px;
    content: '';
    height: 100%;
    border-right: 20px double #fff;
}

.btn_box {
    display: flex;
    justify-content: center;
    gap: 5%;
    margin: 8rem 0;
}

.btn {
    width: 220px;
    /* .announce解除時、 height:44.2rem;を削除*/
    height: 4.2rem;
    padding: 15px 0;
    background-color: rgba(30, 94, 214, 0.7);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.6;
    text-decoration: none;
    transition: .2s;
    box-sizing: border-box;
    border-radius: 100px;
    transition-duration: .4s;
    text-align: center;
    align-items: center;
}

.btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

/* 光のスタイル */
.btn-flash {
    overflow: hidden;
}

.btn-flash::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 80%);
    transition: .5s;
}

.btn-flash:hover::before {
    top: 0;
    left: 100%;
}

.temporary {
    width: 800px;
    margin-bottom: 80px;
    position: absolute;
    left: 550px;
}

/* .announc解除時、#footer margin-top:100px;も削除 */
.announce {
    font-weight: bold;
    color: crimson;
}


/* TOPへ */
.page-top {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.85s ease, visibility 0s linear 0.85s;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    pointer-events: none;
}

.page-top.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.page-top .text {
    display: inline-block;
    font-size: 1.5rem;
    writing-mode: vertical-rl;
    text-decoration: none;
    height: 85px;
    margin: 0;
    letter-spacing: 5px;
    text-align: right;
    position: relative;
    transform: rotate(-360deg);
    transform-origin: left top;
    color: #000;
    text-shadow: 0 0 2px #fff, 0 0 5px #fff, 6px 6px 8px rgba(255, 255, 255, 0.6);
    transition: none;
}

.page-top .text::before {
    content: "";
    position: absolute;
    top: 0px;
    right: -6px;
    width: 1.4px;
    height: 20px;
    background: #000;
    transform: skewX(-150deg);
}

.page-top .text::after {
    content: "";
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 1px;
    height: 85px;
    background: #000;
}


/* #footer */
#footer {
    max-width: 1920px;
    background: linear-gradient(180deg, rgba(176, 230, 255, 0.3), #b0e6ff);
    padding-top: 120px;
    margin-top: 150px;
}

.footer_wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.footer_wrapper p {
    font-size: 1.2rem;
    padding-left: 1.5rem;
    margin: 0;
    white-space: nowrap;
}

.flexbox5 {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5rem;
}

.box9 {
    width: 400px;
}

.box9 h1 img {
    width: 300px;
    margin-bottom: 0.8rem;
}

.flexbox6 {
    display: flex;
    gap: 30px;
    margin: 3rem 0;
}

.box9 .mail {
    display: block;
    width: 200px;
    padding: 16px 0;
    background-color: rgba(30, 94, 214, 0.7);
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    transition: .3s;
}

.box9 .mail:hover {
    background: #fff;
    color: rgba(30, 94, 214, 0.7);
    transform: scale(1.1);
}

.box9 .line {
    width: 60px;
}

.box9 a {
    display: block;
    width: 300px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    border-radius: 100px;
}

.box9 .bold {
    font-weight: bold;
    margin-top: 0.5rem;
}

.box10 {
    width: 600px;
}

.flexbox7 {
    display: flex;
    justify-content: flex-end;
}

.box11,
.box12 {
    width: 300px;
    text-align: left;
}

.footer_nav li {
    list-style: none;
}

.footer_nav li a,
.footer_nav .ul_2 li a {
    position: relative;
    display: inline-block;
    font-size: 1.3rem;
    line-height: 2;
    color: #001c51;
    text-align: left;
    text-decoration: none;
    padding-bottom: 2px;
}

/* 下線のアニメーション */
.footer_nav li a::after,
.footer_nav .ul_2 li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: rgba(30, 94, 214, 0.7);
    transition: width 0.5s ease;
}

.footer_nav li a:hover::after,
.footer_nav .ul_2 li a:hover::after {
    width: 100%;
}

.footer_nav .ul_2 li a {
    margin-left: 1rem;
}

.copy {
    display: block;
    background-color: #001c51;
    color: #FFFFFF;
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
}












/* 連絡先SP版 */
.contact_flex {
    display: none;
}








/* レスポンシブ*/
/* TB */

/* max-width: 884px */
@media (max-width: 884px) {

    /* スクロール非表示 */
    .scroll {
        display: none;
    }

    /* ハンバーガーメニュー */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 0 8px;
        background-color: rgba(255, 255, 255, 0.8);
    }

    .header.header-scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        transition: background-color 0.3s ease;
    }

    h1 img {
        width: 120px;
    }

    header .box2 ul.nav {
        display: none;
    }

    .hamburger-fade {
        display: block;
        position: fixed;
        top: -1%;
        right: 0px;
        z-index: 1000;
        width: 60px;
        height: 60px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 1100;
    }

    .hamburger-fade_wrapper {
        position: relative;
        width: 30px;
        height: 20px;
        margin: 20px auto;
    }

    .hamburger-fade_line {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #001c51;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .hamburger-fade_line:nth-child(1) {
        top: 0;
    }

    .hamburger-fade_line:nth-child(2) {
        top: 9px;
    }

    .hamburger-fade_line:nth-child(3) {
        top: 18px;
    }

    .hamburger-fade.active .hamburger-fade_line {
        background-color: #001c51;
    }

    .hamburger-fade.active .hamburger-fade_line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger-fade.active .hamburger-fade_line:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .hamburger-fade.active .hamburger-fade_line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-fade {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
        z-index: 900;
    }

    .nav-fade_bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 85vh;
        background-color: rgba(0, 46, 81, 0.8);
        opacity: 0;
        transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }

    /* メニューを開いたとき */
    .nav-fade.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-fade.active .nav-fade_bg {
        opacity: 1;
    }

    .nav-fade_wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 90%;
        padding: 5vh 10vw;
    }

    .nav-fade_list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-fade_item {
        position: relative;
        margin-bottom: 0.8vh;
        padding-left: 60px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .nav-fade.active .nav-fade_item {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-fade.active .nav-fade_item:nth-child(1) {
        transition-delay: 0.2s;
    }

    .nav-fade.active .nav-fade_item:nth-child(2) {
        transition-delay: 0.3s;
    }

    .nav-fade.active .nav-fade_item:nth-child(3) {
        transition-delay: 0.4s;
    }

    .nav-fade.active .nav-fade_item:nth-child(4) {
        transition-delay: 0.5s;
    }

    .nav-fade_link {
        display: inline-block;
        color: #fff;
        font-size: 1.6rem;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .nav-fade_link:hover {
        color: #02ffff;
    }

    .ul_sub li {
        list-style: none;
        margin: 0.8rem 0 0.8rem 1.5rem;
    }

    .ul_sub li a span {
        color: #FFFFFF;
        margin-left: 1rem;
    }

    .ul_sub li a {
        color: #FFFFFF;
        font-size: 1.6rem;
        text-decoration: none;
        white-space: nowrap;
    }

    .ul_sub li a:hover {
        color: #02ffff;
    }

    .nav-fade_info {
        margin-top: auto;
        padding-left: 60px;
        color: #666;
        font-size: 14px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.6s;
    }

    .nav-fade.active .nav-fade_info {
        opacity: 1;
        transform: translateY(0);
    }

    .rotating-logo {
        margin-top: 24px;
    }

    .title_en {
        width: 390px;
        font-size: 4.7rem;
        margin: 108px 0px 0px -16px;
    }

    .title_ja1 {
        font-size: 2.5rem;
        top: 232px;
        left: 36px;
    }

    .slide_r img {
        width: 760px;
        margin: 266px 0 0 50px;
    }

    .slide_r.active {
        transform: translateX(-50px);
    }

    .slide_r {
        opacity: 0;
        transform: translateX(100px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        position: relative;
    }

    h3 {
        font-size: 1.8rem;
        margin-top: 1rem;
    }

    .slide-in-l {
        transform: translateX(-86px);
        transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    }

    .text-area {
        padding: 0 50px;
    }

    .text_wrapper p {
        width: 600px;
        padding: 0;
        font-size: 1.3rem;
    }

    h5 {
        font-size: 1.5rem;
        margin: 0;
    }

    .flow>li dl dt {
        font-size: 1.13em;
    }

    .list {
        padding: 0;
    }

    /* footer */
    .footer_wrapper {
        max-width: 768px;
        margin: 0 auto;
    }

    .flexbox5 {
        gap: 30px;
    }

    .box11,
    .box12 {
        width: 204px;
    }
}

/* max-width: 834px */
@media (max-width: 834px) {
    .title_en {
        margin: 98px 0 0 -23px;
    }

    .slide_r img {
        margin-left: 30px;
    }

    h3 {
        font-size: 1.6rem;
        margin-top: 0.8rem;
    }

    .text_wrapper p,
    .flow dd,
    .list li {
        font-size: 1.3rem;
    }

    h5 {
        font-size: 1.5rem;
    }

    .flow_design {
        margin: 3rem 0 0 0;
    }

    .flow>li dl dt {
        font-size: 1.1em;
    }
}

/* max-width: 820px */
@media (max-width: 820px) {
    .text_wrapper p {
        width: 550px;
    }

    .text_wrapper p,
    .flow dd,
    .list li {
        font-size: 1.2rem;
    }

    .title_ja1 {
        left: 22px;
    }
}

/* max-width: 768px */
@media (max-width: 768px) {
    .footer_wrapper {
        max-width: 690px;
    }

    .box9 h1 img {
        width: 285px;
    }

    .box11,
    .box12 {
        width: 160px;
        white-space: nowrap;
    }

    .footer_nav li a,
    .footer_nav .ul_2 li a {
        font-size: 1rem;
    }
}






/* SP版 */
/* max-width: 440px */
@media (max-width: 440px) {

    /* topへ戻る非表示 */
    .page-top {
        display: none;
    }

    /* 連絡先SP版分の余白 */
    .copy {
        margin-bottom: 50px;
    }

    .nav-fade_wrapper {
        height: 70%;
    }

    .hamburger-fade {
        top: -12px;
        right: 22px;
        width: 24px;
        padding: 0;
    }

    h1 img {
        width: 100px;
    }

    .nav-fade_bg {
        height: 100vh;
    }

    .nav-fade_wrapper {
        height: 99%;
    }

    .nav-fade_item a,
    .ul_sub li a {
        font-size: 1.6rem;
    }

    .nav-fade_list {
        line-height: 2;
        margin-left: -1.3rem;
    }


    /* 連絡先SP版 */
    .contact_flex {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px;
        display: flex;
        font-size: 1.2rem;
        margin: 0;
        padding: 0;
        list-style: none;
        opacity: 0;
        pointer-events: none;
        transform: translateY(100%);
        transition: opacity 0.4s ease, transform 0.4s ease;
        z-index: 9999;
    }

    .contact_flex.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }


    .contact_btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact_btn1,
    .contact_btn2 {
        width: 190px;
    }

    .contact_btn1 {
        background-color: #0068b7;
    }

    .contact_btn2 {
        background-color: #80b4db;
    }

    .contact_btn3 {
        width: 60px;
        background-color: rgba(255, 255, 255, 0.8);
    }

    .contact_btn1 a,
    .contact_btn2 a {
        color: #FFFFFF;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        font-weight: 500;
    }

    .contact_btn3 a {
        color: #000;
        font-size: 1rem;
    }

    .title_en {
        width: 200px;
        font-size: 2.5rem;
        margin: 14px 0 0 -60px;
    }

    .title_ja1 {
        font-size: 1.35rem;
        top: 114px;
        left: -60px;
    }

    .slide_r img {
        width: 1028px;
        margin: 120px 0 0 40px;
    }

    .slide_r img {
        width: 930px;
        margin: 120px 0 0 50px;
    }

    h3 {
        font-size: 1.15rem;
        margin-top: 0rem;
        white-space: normal;
    }

    .text-area {
        padding: 0 30px;
    }

    .text_wrapper {
        padding: 0;
    }

    .text_wrapper p {
        width: 350px;
        margin: 2rem 0;
    }

    .text_wrapper p,
    .flow dd,
    .list li {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1.12rem;
        padding: 0.25rem 3rem 0.25rem 0.8rem;
    }

    .flow::before {
        width: 8px;
        margin-left: -125px;
    }

    .flow>li dl dt {
        font-size: 0.9em;
        line-height: 1.1;
    }

    .flow>li dl {
        padding-left: 44px;
    }

    .flow>li dl::after {
        width: 30px;
        left: 6px;
        top: 15px;
    }

    .btn {
        width: 170px;
        padding: 9px 0;
    }

    .btn_box {
        margin: 6rem 0;
    }

    /* footer */
    .flexbox5,
    .flexbox7 {
        display: block;
    }

    .box9 {
        text-align: center;
    }

    .footer_wrapper h1 img {
        width: 260px;
        margin: 0 66px;
    }

    .flexbox6 {
        margin: 1rem 6rem;
    }

    .box9 .mail {
        width: 250px;
        padding: 10px 0;
    }

    .box9 .line {
        width: 96px;
    }

    .box11,
    .box12 {
        width: 390px;
        margin-left: 110px;
    }

    .footer_nav li a,
    .footer_nav .ul_2 li a {
        font-size: 1rem;
        line-height: 2.5;
        white-space: nowrap;
    }

    .footer_nav .ul_2 li a {
        margin-left: 2rem;
    }

    .copy {
        margin-bottom: 50px;
    }
}




/* max-width: 428px */
@media (max-width: 428px) {
    .nav-fade_wrapper {
        height: 98%;
    }

    .text-area {
        padding: 0 48px;
    }
}



/* max-width: 414px */
@media (max-width: 414px) {
    .text-area {
        padding: 0 36px;
    }
}



/* max-width: 393px */
@media (max-width: 393px) {

    .nav-fade_item a,
    .ul_sub li a {
        font-size: 1.5rem;
    }

    .nav-fade_list {
        line-height: 1.8;
        margin-left: -2.4rem;
    }

    .nav-fade_bg {
        height: 90vh;
    }

    .nav-fade_wrapper {
        height: 95%;
    }

    .title_en {
        width: 168px;
        font-size: 2.2rem;
        margin: 16px 0 0 -42px;
    }

    .title_ja1 {
        font-size: 1.1rem;
        top: 72px;
        left: -26px;
    }

    .slide_r img {
        width: 1150px;
        margin: 120px 0 0 34px;
    }

    .title-area {
        margin: 0 16px;
    }

    .rotating-logo {
        width: 950px;
    }

    h3 {
        font-size: 1rem;
    }

    .text_wrapper p {
        width: 300px;
        margin: 1.5rem 0;
    }

    h5 {
        font-size: 0.93rem;
    }

    .text_wrapper p,
    .flow dd,
    .list li {
        font-size: 1.1rem;
    }

    .flow>li dl {
        padding-left: 42px;
    }

    .btn {
        width: 150px;
        padding: 7px 0;
    }

    .btn_box {
        margin: 3rem 0;
    }

    .btn_box a {
        font-size: 1rem;
    }

    /* footer */
    .footer_wrapper h1 img {
        width: 230px;
        margin: 0 60px;
    }

    .box9 .mail {
        width: 300px;
        padding: 10px 0;
        font-size: 1rem;
    }

    .box11 {
        margin-top: 2rem;
    }

    .footer_nav li a,
    .footer_nav .ul_2 li a {
        line-height: 2rem;
    }

    .copy {
        margin-bottom: 50px;
    }
}



/* max-width: 390px */
@media (max-width: 390px) {

    .nav-fade_item a,
    .ul_sub li a {
        font-size: 1.4rem;
    }

    .nav-fade_list {
        line-height: 1.7;
        margin-left: -2rem;
    }

    .nav-fade_bg {
        height: 80vh;
    }

    .nav-fade_wrapper {
        height: 85%;
    }

    .footer_wrapper a {
        width: 230px;
    }
}

/* max-width: 384px */
@media (max-width: 384px) {
    .nav-fade_wrapper {
        height: 84%;
    }
}

/* max-width: 375px */
@media (max-width: 375px) {
    .nav-fade_bg {
        height: 85vh;
    }

    .nav-fade_wrapper {
        height: 90%;
        margin-left: -0.2rem;
    }

    .flow>li dl {
        padding-left: 26px;
    }

    .flow>li dl::before {
        margin-top: 2px;
    }

    .flow>li dl::after {
        width: 14px;
        left: 6px;
        top: 20px;
    }

    /* footer */
    .footer_wrapper h1 img {
        width: 260px;
        margin: 0 60px;
    }

    .flexbox6 {
        gap: 20px;
        margin-left: 5rem;
    }

    .box9 {
        width: 350px;
    }

    .box9 .mail {
        width: 300px;
        padding: 12px 0;
    }

    .box9 .line {
        width: 130px;
    }
}



/* max-width: 360px */
@media (max-width: 360px) {

    .nav-fade_item a,
    .ul_sub li a {
        font-size: 1.3rem;
    }

    .nav-fade_list {
        margin-left: -2.5rem;
    }

    .title_en {
        width: 170px;
        font-size: 1.85rem;
        letter-spacing: -0.15rem;
    }

    .title_ja1 {
        font-size: 0.9rem;
        top: 72px;
    }

    .slide_r img {
        width: 1420px;
        margin: 94px 0 0 32px;
    }

    .text-area {
        padding: 0 16px;
    }

    h3 {
        font-size: 1rem;
    }

    .text_wrapper p {
        width: 280px;
        margin: 1rem 0;
    }

    h5 {
        font-size: 0.9rem;
        padding: 0.25rem 3rem 0.25rem 0.8rem;
    }

    .text_wrapper p,
    .flow dd,
    .list li {
        font-size: 1rem;
    }

    .flow_design {
        margin: 2rem 0 0 0;
    }

    .flow>li dl {
        padding-left: 20px;
    }

    .flow>li:not(:last-child) {
        margin-bottom: 30px;
    }

    .flow>li dl::before,
    .flow>li dl::after {
        position: absolute;
        top: 14px;
    }

    .flow>li dl::after {
        width: 12px;
        left: 6px;
    }

    .flow>li dl::after {
        width: 12px;
        left: 6px;
    }

    .flow>li dl dt {
        font-size: 0.85em;
        line-height: 1.15;
    }

    .btn {
        width: 130px;
        padding: 6px 0;
    }

    .footer_wrapper h1 img {
        width: 180px;
        margin-left: 5rem;
    }

    .footer_wrapper p {
        font-size: 0.8rem;
        padding-left: 3rem;
    }

    .box9 {
        width: 300px;
    }

    .flexbox6 {
        margin: 1rem 4rem;
    }

    .box9 .mail {
        width: 140px;
        padding: 8px 0;
    }

    .box9 .line {
        width: 60px;
    }
}



/* max-width: 320px */
@media (max-width: 320px) {
    h1 img {
        width: 80px;
    }

    .hamburger-fade_wrapper {
        width: 24px;
        height: 4px;
        margin: 1px auto;
    }

    .hamburger-fade {
        top: -25px;
        right: 12px;
    }

    .nav-fade_bg {
        height: 94vh;
    }

    .nav-fade_wrapper {
        height: 100%;
        margin-left: 0;
    }

    .nav-fade_item a,
    .ul_sub li a {
        font-size: 1.2rem;
        line-height: 1.45;
    }

    .title_en {
        margin-top: 6px;
    }

    .title_ja1 {
        top: 52px;
    }

    h3 {
        font-size: 0.95rem;
        white-space: normal;
    }

    .flow>li dl dt {
        margin-top: 1rem;
        font-size: 0.78em;
    }

    .flow>li dl::before {
        position: absolute;
        top: 6px;
    }

    .flow>li dl::after {
        position: absolute;
        top: 12px;
    }

    .footer_wrapper h1 img {
        margin-left: 3.5rem;
    }

    .box9 {
        width: 270px;
    }

    .box9 .mail {
        width: 130px;
        padding: 10px 0;
        margin-left: 1rem;
    }

    .box9 .line {
        width: 50px;
    }

    .flexbox6 {
        margin: 1rem 2rem;
    }

    .copy {
        margin-bottom: 34px;
    }
}