@charset "UTF-8";

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-weight: normal;
}

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #333;
    overflow-x: hidden;
}

video {
    /* iPhone safariの枠線を消す */
    filter: drop-shadow(0px 0px rgba(0, 0, 0, 0));
    /* PCのChromeの枠線を消す */
    outline: none;
    border: none;
}

body main section {
    max-width: 1346px;
    margin: auto;
}

section div h1 {
    font-size: 80px;
}

h2,
h3 {
    font-family: "Zen Old Mincho", serif;
    color: #000;
}

section div h2,
section h2 {
    font-size: 48px;
}

section div h3 {
    font-size: 32px;
}

section div h4 {
    font-size: 18px;
    color: #000;
}

section .modal-content h3 {
    font-size: 24px;
}

.text_mincho {
    font-family: "Zen Old Mincho", serif;
}

.text_ic_lg {
    font-size: 24px;
}

.text_ic_base {
    font-size: 18px;
}

.text_ic_sm {
    font-size: 14px;
}


@media screen and (min-width: 768px) {
    body main section {
        padding-left: 60px;
        padding-right: 60px;
    }

    body main section.hero {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 768px) {
    body main section {
        padding-left: 32px;
        padding-right: 32px;
    }

    body main section.hero,
    body main section.ic_feature,
    body main section.ic_form {
        padding-left: 0;
        padding-right: 0;
    }

    .functions_title,
    .functions_modal {
        padding-left: 32px;
        padding-right: 32px;
    }

    section div h2,
    section h2 {
        font-size: 32px;
    }

    .consultant h3 {
        font-size: 28px;
    }

    h2.phase_title,
    .ic_info h3 {
        font-size: 24px;
    }

}

@media screen and (max-width: 375px) {
    body main section {
        padding-left: 24px;
        padding-right: 24px;
    }

    body main section.hero {
        padding-left: 0;
        padding-right: 0;
    }
}

/* color: 変数 */
:root {
    --black: #000000;
    --d_grey: #333333;
    --grey: #666666;
    --l_grey: #999999;
    --l_grey_2: #E6E6E6;
    --ul_grey: #F7F7F7;

    /*テクロスカラ-*/
    --tcross: #5E8000;
    --tcross_light: #AACE45;
}

/* color */
.bg_gray {
    background-color: var(--l_grey_2);
}

.border_gray {
    border-color: var(--l_grey_2);
}

.border_info_gray {
    border-color: var(--l_grey);
}

.bg_l_gray {
    background-color: var(--l_grey);
}


/* フェードイン */
.element,
.first_element {
    /* 最初は非表示 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 2s, visibility 2s, transform 2s;
}

.is_fadein {
    /* フェードイン時に入るクラス */
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 共通ここまで↑↑ */



/* ----------- ヒーローエリア ----------- */
/* メインビジュアル */
body main section.hero {
    position: relative;
    max-width: 100vw;
    height: 100vh;
    padding-left: 0;
    padding-right: 0;
    z-index: -1;
}

.video_container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    margin-left: calc(-50vw + 50%);
}

#main_video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video_container::after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.4);
    background: linear-gradient(to top right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 100%);
}

.video_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    transition: none;
    /* アニメーションを一時停止するためにtransitionを一旦解除 */
    backdrop-filter: blur(20px);
    /* ぼかしを適用 */
    -webkit-backdrop-filter: blur(20px);
    /* -webkit-backdrop-filter を追加 */
    transform: translateX(-33%) skew(-25deg);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

.foot_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    overflow: hidden;
    z-index: 3;
    opacity: 0;
}

.hero_text {
    position: absolute;
    bottom: 5%;
    left: 5%;
    opacity: 0;
    /* animation: fadeInText 4s ease forwards 2.5s; */
    animation: fadeInText 2s ease forwards 1s; /*画像の時はこちらを指定*/
    z-index: 3;
}

nav {
    opacity: 0;
    /* animation: fadeInText 4s ease forwards 2.5s; */
    animation: fadeInText 2s ease forwards 2s; /*画像の時はこちらを指定*/
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.gradation {
    position: absolute;
    bottom: 0px;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 1) 100%);
    opacity: 0;
    /* 初期は透明にする */
    pointer-events: none;
    /* gradationが他の要素の上に来てもクリックイベントを無視する */
    z-index: 4;
}

.text_hero_lg {
    font-size: 24px;
}

.text_hero_base {
    font-size: 18px;
}

.scroll_down {
    opacity: 0;
    animation: fadeInText 0.5s ease forwards 4s;
    z-index: 3;
}

.scroll_down span {
    display: inline-block;
    position: absolute;
    right: 40px;
    bottom: 0;
    z-index: 2;
    padding: 10px 10px 110px;
    color: #fff;
    font-size: 14px;
    font-family: "Josefin Sans", sans-serif;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-lr;
    transition: 0.2s;
    overflow: hidden;
}

.scroll_down span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 100px;
    background: #fff;
}

.scroll_down span:hover {
    opacity: 0.5;
}

.scroll_down span::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.4);
}

.scroll_down span::after {
    animation: sdl06 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl06 {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

@media screen and (max-width: 768px) {
    #main_video {
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        overflow: hidden;
    }

    .video_container::after {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 100%);
    }

    .video_overlay {
        transform: translateX(-20%) skew(-10deg);
    }

    .hero_text {
        /* left: 0;
        bottom: 20%; */
        padding-left: 32px;
        padding-right: 32px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    .text_hero_lg {
        font-size: 18px;
    }

    .text_hero_base {
        font-size: 14px;
    }

    .scroll_down span {
        right: 50%;
        bottom: 0px;
        writing-mode: horizontal-tb;
        transform: translateX(50%);
        animation: fadeInText 4s ease forwards;
    }
}

/* ----------- ヒーローエリアここまで ↑ ----------- */




/* ----------- プレスリリースエリア ----------- */
/* .press_modal {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
} */

.press_modal a {
    border-bottom: 1px solid #ccc;
}
/* 
.press_modal a:last-child {
    border: none;
} */

/* ----------- 導入エリア ----------- */
.intro_video_container {
    position: relative;
}

.intro_video_container video {
    max-width: 200%;
}

#intro_video {
    position: absolute;
    top: 70%;
    left: 30%;
    transform: translateX(-50%) translateY(-45%);
    width: 120%;
    height: auto;
}

@media screen and (max-width: 1280px) {
    .intro_video_container video {
        max-width: 200%;
    }

    #intro_video {
        top: 70%;
        left: 35%;
        transform: translateX(-50%) translateY(-45%);
        width: 120%;
        height: auto;
    }
}

@media screen and (max-width: 1023px) {
    .intro_video_container {
        position: static;
    }

    .intro_video_container video {
        max-width: 200%;
    }

    #intro_video {
        position: static;
        transform: translateX(0%) translateY(0%);
        width: 100%;
        height: auto;
    }
}





/* ----------- phase3:ビデオ ----------- */
.video_container video::-webkit-media-controls {
    display: none !important;
    /* Chrome, Safari, Edgeなどのブラウザ用にコントロールを非表示にする */
}

/* 他のブラウザに対するコントロール非表示のスタイル */
.video_container video::-webkit-media-controls-enclosure {
    display: none !important;
}

.fade_out {
    animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}




/* ----------- Phase_f ----------- */
/* 全体位置の設定と固定 */
.phase1_bg {
    position: sticky;
    top: 0;
    right: 0px;
    width: 130%;
    z-index: 0;
    aspect-ratio: 12 / 9.3;
    transform: translateX(-20%);
}

.phase1_bg>div {
    position: relative;
    height: 100%;
    width: 100%;
    contain: paint;
}

@media screen and (max-width: 768px) {
    .phase1_bg {
        position: relative;
        left: 0;
        width: 100%;
        z-index: 0;
        aspect-ratio: 12 / 9.3;
        transform: translateY(-10vh);
    }

    .phase1_bg>div {
        position: relative;
        height: 100%;
        width: 100%;
        contain: paint;
    }

    .phase1_bg span:last-child {
        background-color: peachpuff;
        top: 12.6%;
        left: 43.1%;
        height: 55px;
        width: 55px;
        z-index: 5;
        opacity: 0;
    }
}

/* 描画 - Line and Circle- */
.phase1_bg span {
    background-color: var(--l_grey_2);
    display: block;
}

.phase1_bg span:first-child {
    /*background-color: white;*/
    position: absolute;
    top: 50%;
    left: 0;
    height: 1px;
    width: 100%;
    z-index: -1;
}

.is-fadein .phase1_bg span:first-child::before {
    animation: left-to-right-liner 2s ease-in-out 2.2s 1 normal forwards;
    background-color: var(--l_grey_2);
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 100%;
    transform: translateX(-100%);
    z-index: 0;
}

@keyframes left-to-right-liner {
    0% {
        transform-origin: top left;
        transform: scaleX(0) translateX(-100%);
    }

    100% {
        transform-orogin: top left;
        transform: scaleX(1) translateX(0);
    }
}

.phase1_bg span:nth-of-type(2) {
    /*background-color: white;*/
    position: absolute;
    top: 0%;
    left: 60%;
    height: 100%;
    width: 1px;
    z-index: -1;
}

.is-fadein .phase1_bg span:nth-of-type(2)::before {
    animation: top-to-bottom-liner 2s ease-in-out 2.8s 1 normal forwards;
    background-color: var(--l_grey_2);
    content: "";
    display: block;
    height: 100%;
    width: 1px;
    transform: translateY(-100%);
    z-index: 1;
}

@keyframes top-to-bottom-liner {
    0% {
        transform-origin: top;
        transform: scaleY(0) translateY(-100%);
    }

    100% {
        transform-origin: top;
        transform: scaleY(1) translateY(0);
    }
}

.phase1_bg span:not(:first-child),
.phase1_bg span:not(:nth-of-type(2)) {
    border-radius: 50%;
    position: absolute;
    z-index: 0;
    /*opacity: 0;*/
}

.is-fadein .phase1_bg span:not(:first-child),
.is-fadein .phase1_bg span:not(:nth-of-type(2)) {
    animation: opacity-circle 1s ease 2s 1 normal forwards;
}

@keyframes opacity-circle {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.phase1_bg span:nth-of-type(3) {
    top: 57%;
    left: 8.6%;
    height: 19px;
    width: 19px;
}

.phase1_bg span:nth-of-type(4) {
    top: 38.2%;
    left: 16.5%;
    height: 19px;
    width: 19px;
}

.phase1_bg span:nth-of-type(5) {
    top: 17.1%;
    left: 26.7%;
    height: 10px;
    width: 10px;
}

.phase1_bg span:nth-of-type(6) {
    top: 53.0%;
    left: 33.9%;
    height: 14px;
    width: 14px;
}

.phase1_bg span:nth-of-type(7) {
    top: 31.9%;
    left: 37.5%;
    height: 24px;
    width: 24px;
}

.phase1_bg span:nth-of-type(8) {
    top: 71.9%;
    left: 38.6%;
    height: 24px;
    width: 24px;
}

.phase1_bg span:nth-of-type(9) {
    top: 65%;
    left: 40.2%;
    height: 10px;
    width: 10px;
}

.phase1_bg span:nth-of-type(10) {
    top: 62.5%;
    left: 48.3%;
    height: 14px;
    width: 14px;
}

.phase1_bg span:nth-of-type(11) {
    top: 54%;
    left: 50%;
    height: 18px;
    width: 18px;
}

.phase1_bg span:nth-of-type(12) {
    top: 33.8%;
    left: 50.2%;
    height: 14px;
    width: 14px;
}

.phase1_bg span:nth-of-type(13) {
    top: 20.7%;
    left: 56.1%;
    height: 10px;
    width: 10px;
}

.phase1_bg span:nth-of-type(14) {
    top: 82.1%;
    left: 59.5%;
    height: 10px;
    width: 10px;
}

.phase1_bg span:nth-of-type(15) {
    top: 38.6%;
    left: 65%;
    height: 14px;
    width: 14px;
}

.phase1_bg span:nth-of-type(16) {
    top: 75.9%;
    left: 67.8%;
    height: 10px;
    width: 10px;
}

.phase1_bg span:nth-of-type(17) {
    top: 59.4%;
    left: 71.7%;
    height: 18px;
    width: 18px;
}

.phase1_bg span:nth-of-type(18) {
    top: 35.7%;
    left: 80.1%;
    height: 18px;
    width: 18px;
}

.phase1_bg span:nth-of-type(19) {
    top: 24.5%;
    left: 83.6%;
    height: 19px;
    width: 19px;
}

.phase1_bg span:nth-of-type(20) {
    top: 72.1%;
    left: 86.9%;
    height: 19px;
    width: 19px;
}

.phase1_bg span:nth-of-type(21) {
    top: 52.8%;
    left: 93.5%;
    height: 14px;
    width: 14px;
}

.phase1_bg span:nth-of-type(22) {
    background-color: var(--l_grey);
    top: 47.6%;
    left: 76.1%;
    height: 34px;
    width: 34px;
    z-index: 5;
}

.phase1_bg span:nth-of-type(22)::before {
    animation: wave-circle 2s linear infinite 2s;
    border: 1px solid var(--l_grey);
    border-radius: 50%;
    content: " ";
    display: block;
    height: 44px;
    width: 44px;
    position: absolute;
    top: -5px;
    left: -5px;
    transform: scale(1.0);
}

@keyframes wave-circle {
    0% {
        opacity: 1;
        transform: scale(1.0);
    }

    80% {
        opacity: .2;
        transform: scale(1.5);
    }

    100% {
        opacity: 0;
        transform: scale(1.7);
    }
}

.phase1_bg span.js-fix.is-fixed {
    background-color: #f7e1f0;
    top: 12.6%;
    left: 43.1%;
    height: 55px;
    width: 55px;
    z-index: 5;
    opacity: 0;
    animation-name: blink-circle;
    animation-duration: .3s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

@keyframes blink-circle {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

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


/* ----------- Phase_Video ----------- */
/*
#videoPhase {
    background-color:transparent;
    position: relative;
    width: 100vw;
    height: 100vh;
    画面全体に広がるように設定 
    overflow: hidden;
    z-index: 0;
}
#background-video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.is-fadein #background-video{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -2;
    opacity: 1;
    animation: video-fade-out 1s ease 2s 1 normal forwards;
}
@keyframes video-fade-out{
    70%{ opacity: 1;}
    100%{
        filter: blur(10px);
        opacity: 0;
    }
}
.is-fadein #phase3{
    animation: opacity-section 2s 1.5s forwards;
    transform: translateY(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    opacity: 0;
}

@keyframes opacity-section{
    0%  { opacity: 0;}
    70%  { opacity: 0;}
    100% { opacity: 1; transform: translateY(0);}
}

#videoPhase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 15%,rgba(255,255,255,0) 85%, rgba(255,255,255,1) 100%);
    z-index: -1;
}
*/

/* ----------- consultant ----------- */
/* consultantのボタンの三角 */
.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 10px solid #333333;
    border-right: 0;
    top: 40%;
    right: 3%;
}

/* +ボタン */
.plus-icon {
    position: absolute;
    right: 1rem; /* 右端に配置（調整可） */
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
}

.plus-icon::before,
.plus-icon::after {
    content: "";
    position: absolute;
    background-color: #333; /* ボーダーと同じ色 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plus-icon::before {
    width: 100%;
    height: 2px;
}

.plus-icon::after {
    width: 2px;
    height: 100%;
}


/* ----------- FAQ ----------- */
.faq-tabs {
    display: flex;
    margin-bottom: 1rem;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-tabs button {
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid #666;
}

.faq-tabs button:hover {
    background-color: #eee;
}

.faq-tabs button.active {
    background-color: #eee;
}

.faq-section {
    display: none;
}

.faq-section.active {
    display: block;
}

.faq-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    border-top: 1px solid #ccc;
}
.faq-item {
    border-bottom: 1px solid #ccc;
}
.faq-question__button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    appearance: none;
    text-align: inherit;
    width: 100%;
    padding: 20px 60px;
    font-weight: bold;
    font-size: 18px;
}
.faq-question__button::before {
    content: "Q";
    color: #ccc;
    font-size: 26px;
    vertical-align: middle;
    width: 40px;
    height: 100%;
    position: absolute;
    left: 18px;
    top: 12px;
}
.faq-answer__body {
    height: 0;
    overflow: hidden;
    transition: all 0.5s;
}
.faq-answer__text {
    padding: 0 60px 20px 60px;
}

.icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    position: relative;
    right: -40px;
}

.icon::before,
.icon::after {
    content: '';
    position: absolute;
    background-color: #000;
    transition: transform 0.3s ease;
}
.icon::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
}
.icon::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
}
.icon.open::after {
    transform: translateX(-50%) rotate(90deg) scaleY(50%);
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .faq-tabs {
        justify-content: start;
        flex-wrap: nowrap;
    }
}
@media screen and (max-width: 767px) {
    .faq-tabs {
        justify-content: start;
        flex-wrap: nowrap;
        overflow: scroll;
    }
    .faq-question__button {
        padding: 20px 46px;
    }
    .faq-question__button::before {
        left: 8px;
    }
    .faq-answer__text {
        padding: 0 10px 20px 10px;
    }
}




/* ----------- お問い合わせ ----------- */


/*リンクを右下に固定*/
#contact_area_pc {
    position: fixed;
    right: 10px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/*　上に上がる動き　*/
/* #contact_area_pc {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

/*　下に下がる動き　*/

/* #contact_area_pc {
    animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(100px);
    }
} */

/***************************************************
				モーダル
***************************************************/

/* モーダルと背景の指定 */
.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* text-align: center; */
    background: rgba(0,0,0,60%);
    padding: 40px 20px;
    /* overflow: auto; */
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
    z-index: 9999;
}

/* モーダルの擬似要素の指定 */
.modal:before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    /* height: 100%; */
    margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active{
    opacity: 1;
    visibility: visible;
}

/* body.no_scroll{
    overflow: hidden;
} */

/* モーダル内側の指定 */
.modal-container{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    max-width: 60%;
    min-width: 300px;
    height: 100%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* モーダルを閉じるボタンの指定 */
.modal-close{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    color: #333;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* モーダルのコンテンツ部分の指定 */
.modal-content{
    background: #fff;
    text-align: left;
    line-height: 1.8;
    padding: 60px;
    overflow: auto;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 0.5rem;
}

.modal-content-title {
    position: relative;
    z-index: 2;
    padding-left: 2rem;
}

.modal-content-title::before {
    position: absolute;
    top: -20px;
    left: -4px;
    z-index: -1;
    opacity: 60%;
    color: #d2d2d2;
    font-size: 3.5em;
    line-height: 1;
    content: attr(data-number);
    pointer-events: none;
}

@media screen and (max-width: 1023px), print {
    /* モーダル内側の指定 */
    .modal-container{
        position: relative;
        display: inline-block;
        vertical-align: middle;
        width: 100%;
        max-width: 90%;
        min-width: 300px;
        height: 100%;
        max-height: 650px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* モーダルのコンテンツ部分の指定 */
    .modal-content{
        padding: 20px;
        width: 100%;
        height: 100%;
    }

    .modal-content-title::before {
        top: -15px;
        font-size: 3em;
    }
}


/***************************************************
				header
***************************************************/

/* header-------------全体設定-------------*/
body>header {
    background-color: transparent;
}


/* header -- sp nav ------------------ */
@media screen and (max-width: 1023px), print {

header>nav {
    height: 100%;
}

#navigation {
    /* margin-top: -1px; */
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-top: 4rem;
    padding-right: 1rem;
    height: 100%;
}

/* logo + btn */
#header__logo {
    height: 100%;
}

#header__logo .custom-logo-link {
    display: block;
    height: auto;
    margin-left: 8px;
    margin-top: 6px;
    width: 38px;
}

#header__logo .custom-logo-link:hover {
    opacity: .8;
}

#header__logo .logo_pc img {
    display: none;
}

#header__logo .logo_sp img {
    display: inline-block;
    width: 65px;
    height: autox;
    margin-left: 4px;
    margin-top: 10px;
    /* width: auto;
    height: 100%; */
}

/* header > button */
#header__logo>button {
    border-left: 1px solid var(--main-color);
    cursor: pointer;
    display: block;
    height: 65px;
    margin-left: auto;
    position: fixed;
    top: 0px;
    z-index: 40 !important;
    width: 65px;
}

/* hamburger button */
.hamburger {
    background-color: var(--main-color);
    right: 0px;
}

.hamburger.-active .hamburger__line {
    background-color: #333;
}

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

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

.hamburger.-active .hamburger__text::before {
    content: 'CLOSE';
    color: #333;
}

.hamburger__line {
    display: block;
    height: 2px;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    background-color: white;
    transition: 0.4s;
}
/* スクロールした後のスタイル */
header.scrolled .hamburger__line {
    display: block;
    height: 2px;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    background-color: #333;
    transition: 0.4s;
}

.hamburger__line:before,
.hamburger__line:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: white;
    transition: inherit;
}
/* スクロールした後のスタイル */
header.scrolled .hamburger__line:before,
header.scrolled .hamburger__line:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #333;
    transition: inherit;
}

.hamburger__line:before {
    top: -6px;
}

.hamburger__line:after {
    top: 6px;
}

.hamburger__text {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.hamburger__text::before {
    content: "MENU";
    text-align: center;
    color: white;
    font-size: 10px;
    font-weight: 900;
}
/* スクロールした後のスタイル */
header.scrolled .hamburger__text::before {
    content: "MENU";
    text-align: center;
    color: #333;
    font-size: 10px;
    font-weight: 900;
    transition: all 0.4s;
}

/* logo + btn */
/* 初期状態: ナビゲーションは非表示 */
.header__nav-area {
    background-color: white;
    opacity: 0;
    position: fixed;
    /* position: fixed; */
    /* top: -100%; */
    /* transition: all 0.4s ease-in-out; */
    top: 0;
    transition: all 0.4s;
    z-index: 10;
    visibility: hidden;
    width: 100%;
}

/* 表示時: ボタンがアクティブでナビゲーション表示 */
.header__nav-area.-active {
    opacity: 1;
    top: 0;
    /*top: 65px;  ナビゲーション表示位置 */
    visibility: visible;
    transition: all 0.4s;
}


/* ハンバーガーボタンのアクティブ時のスタイル */
.hamburger.-active .hamburger__line {
    background-color: #333;
}

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

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


/* navigation */
.header__nav-area .global-navigation {
    padding: 5px 12px;
}

.global-navigation__list a {
    text-align: center;
}
.global-navigation__list a {
    color: #333;
    display: block;
    padding: 20px;
    border-bottom: 1px dotted var(--l_grey_2);
}

.global-navigation__list a:hover {
    color: var(--room_d);
}

.global-navigation__list .box_btn a,
.global-navigation__list.circle_btn a {
    color: var(--main_color);
    background-color: var(--white);
}

.global-navigation__list .box_btn,
.global-navigation__list .circle_btn {
    display: inline-block;
    line-height: 2.5rem;
    margin-top: 2rem;
    height: 2.5rem;
    vertical-align: bottom;
}

.global-navigation__list .box_btn a {
    border-radius: 3px;
    display: inline;
    padding: 6px 1rem;
}

.global-navigation__list .circle_btn a {
    background-color: var(--white);
    border-radius: 50%;
    color: var(--main_color);
    display: inline-block;
    font-weight: bold;
    font-size: 32px;
    height: 2.0rem;
    line-height: 2.0rem;
    margin-left: 0.3rem;
    text-align: center;
    vertical-align: middle;
    width: 2.0rem;
}


}

/* header -- pc nav ------------------ */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .global-navigation__list li a {
        display: block;
        height: 100%;
        width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        letter-spacing: 0.05rem;
    }

    header.scrolled .global-navigation__list li a {
        display: block;
        height: 100%;
        width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    header.scrolled .global-navigation__list li a:hover {
        background: var(--ul_grey);
        cursor: pointer;
    }

    /* 英語版用のpadding調整 - 9項目を1行に収めるため */
    [lang="en"] .global-navigation__list li a {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.95rem;
        letter-spacing: 0.02rem;
    }

    [lang="en"] header.scrolled .global-navigation__list li a {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.95rem;
        letter-spacing: 0.02rem;
    }
}

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

/* 初期状態 */
header {
    background: transparent;
    transition: background 0.5s ease, color 0.5s ease;
    color: white;
}

/* スクロールした後のスタイル */
header.scrolled {
    background: white;
    color: #333;;
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

header>nav {
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 100%;
    /* padding: 0 40px; */
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    line-height: 4rem;
    align-items: center;
}

#navigation {
    align-self: center;
    height: 100%;
    width: calc(100% - 40px); /* 60px → 40px 英語版の9項目に対応 */
}

/* navigation */
.global-navigation__list {
    display: flex;
    justify-content: center;
    /* justify-content: flex-end; */
    position: relative;
    height: 100%;
    align-items: center;
}

.global-navigation__list li a svg {
    display: inline-block;
    vertical-align: inherit;
    margin-left: 2px;
}

.global-navigation__list li a:hover {
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}
}

@media screen and (min-width: 1440px) {
    .global-navigation__list li a {
        display: block;
        height: 100%;
        width: 100%;
        padding-left: 3rem;
        padding-right: 3rem;
        letter-spacing: 0.05rem;
    }

    header.scrolled .global-navigation__list li a {
        display: block;
        height: 100%;
        width: 100%;
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    header.scrolled .global-navigation__list li a:hover {
        background: var(--ul_grey);
        cursor: pointer;
    }

    /* 英語版用のpadding調整 - より快適な間隔を確保 */
    [lang="en"] .global-navigation__list li a {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    [lang="en"] header.scrolled .global-navigation__list li a {
        padding-left: 2rem;
        padding-right: 2rem;
    }

}




/*-- 下層ページ --*/

body main#case .title-area {
    max-width: 100vw;
    width: 100%;
}

body main#case {
    font-family: "Zen Kaku Gothic New", sans-serif;
}
#case .title_text {
    max-width: 1346px;
    margin: auto;
    padding-left: 60px;
    padding-right: 60px;
}

#case .case_fv {
    padding-left: 32px;
    padding-right: 32px;
    position: relative;
}

#case .case_fv::before {
    position: absolute;
    top: 0px;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    bottom: 0px;
    z-index: -1;
    transform: skewY(-4deg);
    background-color: #f1f3f4;
    content: "";
}

#case h1 {
    font-size: 3rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.case_title_sub {
    font-size: 1.5rem;
    margin-top: 0.75rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

#case section h2 {
    font-size: 2rem;
    margin-top: 2rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
}
#case h3 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-family: "Zen Kaku Gothic New", sans-serif;
}
#case section h4 {
    font-size: 1.2rem;
    font-weight: 500;
}
#case section p {
    padding-top: 1rem;
    line-height: 1.8;
}

.case_card p {
    line-height: 1.8;
}

.content_title {
    position: relative;
    padding-top: 1.5em;
    color: #333333;
}

.content_title::before {
    position: absolute;
    bottom: 0;
    left: -30px;
    z-index: -1;
    color: #f1f3f4;
    font-size: 3em;
    line-height: 1;
    content: attr(data-number);
    pointer-events: none;
}

.case_card {
    position: relative;
    overflow: hidden;
    isolation: isolate; /* mix-blendの影響を閉じ込める */
}

.case_card img {
    display: block;
    width: 100%;
    filter: grayscale(25%) brightness(90%) contrast(95%) saturate(95%);
    opacity: 0.9;
}

/* モヤ青グレーのヴェール */
.case_card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(160, 180, 200, 0.25);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.case_card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle,
        transparent 60%,          /* 中央は透明（＝暗く見える） */
        rgba(255, 255, 255, 0.6) 100%  /* 外側を白くフェードさせる */
    );
    mix-blend-mode: screen;  /* 白をふんわり重ねる */
    pointer-events: none;
}

/* 最後の1枚だけフィルターを外す */
.case_card:last-child img {
    filter: none;
    opacity: 1;
}
.case_card:last-child::before,
.case_card:last-child::after {
    content: none;
}

.voice_title {
    display: inline-block;
    position: relative;
    padding-left: 3.5em;
    color: #333333;
}

.voice_title::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    margin-right: 2px;
    background-color: #676767;
}

.voice_title::before {
    left: 0;
}

@media only screen and (max-width : 956px) {
    #case h1 {
        font-size: 2.5rem;
    }

    .case_title_sub {
        font-size: 1.25rem;
        margin-top: 1rem;
    }

    #case .case_fv::before {
        transform: skewY(-6deg);
        top: -10vw; /* ← 上方向に少し余裕を足す */
        bottom: 0vw; /* ← 下にも少し余裕を足す */
    }
}