@import "/front/css/animate.min-c72dd5a5d8e464624c06eb3a2bd5c28f.css";

:root {
    --primary-gradient: linear-gradient(135deg, #03c8b4 0%, #61318d 100%);
    --primary-gradient-2: linear-gradient(0deg, #03c8b4 0%, #61318d 50%, #03c8b4 100%);
    --primary-gradient-3: linear-gradient(-135deg, #61318d 0%, #1fa4b1 25%, #03c8b4 50%, #1fa4b1 75%, #61318d 100%);
    --primary-gradient-4: linear-gradient(180deg, #03c8b4 0%, #61318d 100%);
    --primary-gradient-5: linear-gradient(180deg, #03c8b4 0%, #0b6a60 100%);
    --text-color: #052428;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    /* アニメーション速度（管理画面から上書き） */
    --solution-anim-duration: 2.4s;
    --feature-anim-duration: 1s;
    --stats-display-duration: 1s;
    --merit-anim-duration: 1s;
    --company-anim-duration: 1s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.grecaptcha-badge { visibility: hidden !important; }
body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100vw;
}
section{
    width: 100% !important;
}
.row{
    display: flex;
}
.mx-0{
    margin-left: 0;
    margin-right: 0;
}
.ms-10{
    margin-left: 10px;
}
.me-10{
    margin-right: 10px;
}
.px-0{
    padding-left: 0;
    padding-right: 0;
}
.ps-0{
    padding-left: 0;
}
.pe-0{
    padding-right: 0;
}
.pb-15{
    padding-bottom: 15px;
}
.desktop-container{
    display: block;
}
.mobile-container{
    display: none;
}

#wave_svg1, #wave_svg2, #wave_svg3 {
    width: 50vw;
}

.wave-container {
    animation: float 5s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.wave-container.start-animation {
    opacity: 1;
}

#wave_svg1 g {
    fill:none;
    stroke-width:0.5px;
    stroke:url(#gradient_svg1)
}
#wave_svg2 g {
    fill:none;
    stroke-width:0.5px;
    stroke:url(#gradient_svg2)
}
#wave_svg3 g {
    fill:none;
    stroke-width:0.5px;
    stroke:url(#gradient_svg3)
}
#wave_svg1{
    position: absolute;
    left: -180px;
    top: 175px;
}
#wave_svg2{
    position: absolute;
    left: -170px;
    top: 175px;
}
#wave_svg3{
    position: absolute;
    left: -161px;
    top: 172px;
}
#wave_svg1{
    transform-origin: left center;
    transform: rotate(10deg);
}
#wave_svg2{
    transform-origin: left center;
    transform: rotate(-5deg);
}
#wave_svg3{
    transform-origin: left center;
    transform: rotate(-20deg);
}

/* --- Header --- */
header {
    align-items: center;
    padding: 20px;
    position: fixed;
    width: 100vw;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-container{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.logo-group {
    display: flex;
    flex-direction: column;
}

.logo-group img{
    height: 50px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2d3e91;
    line-height: 1;
}

.sub-logo {
    font-size: 10px;
    letter-spacing: 1px;
    color: #666;
}
nav{
    align-self: center;
}
nav ul {
    display: flex;
    list-style: none;
    margin-bottom: 0;
}

nav ul li {
    padding-left: 10px;
    padding-right: 10px;
}
nav ul li:not(:last-child){
    border-right: 2px solid var(--text-color);
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: color 0.3s;
    font-weight: bold;
    cursor: pointer;
}

nav ul li a:hover {
    color: #4eb7b6;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(78, 183, 182, 0.1), transparent),
    radial-gradient(circle at bottom left, rgba(45, 62, 145, 0.1), transparent);
    display: flex;
    align-items: center;
    padding: 120px 5% 60px;
}
.hero::before {
    content: "";
    position: absolute;
    top: 90px;
    left: 0;
    width: 600px;
    height: 400px;

    background-image: url('/front/img/main/left_use_phone-f7f71fe3f0979830762da319d4fac4b7.jpg');
    background-size: cover;
    background-position: center;
    mask-image:
        linear-gradient(to right, black 50%, transparent 100%),
        linear-gradient(to bottom, black 50%, transparent 100%),
        linear-gradient(to top, transparent 0%, black 30%);

    mask-composite: intersect;

    -webkit-mask-image:
            linear-gradient(to right, black 50%, transparent 100%),
            linear-gradient(to bottom, black 50%, transparent 100%),
            linear-gradient(to top, transparent 0%, black 30%);
    -webkit-mask-composite: source-in;

    filter: blur(2px);

    z-index: -1;
    pointer-events: none;

    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.hero.bg-before-visible::before {
    opacity: 1;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 600px;
    height: 400px;

    background-image: url('/front/img/main/right_use_phone-2f707b3ddb27747632456c1befe140c6.jpg');
    background-size: cover;
    background-position: center;
    mask-image:
            linear-gradient(to left, black 50%, transparent 100%),
            linear-gradient(to top, black 50%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, black 30%);

    mask-composite: intersect;

    -webkit-mask-image:
            linear-gradient(to left, black 50%, transparent 100%),
            linear-gradient(to top, black 50%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, black 30%);
    -webkit-mask-composite: source-in;

    filter: blur(2px);

    z-index: -1;
    pointer-events: none;

    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.hero.bg-after-visible::after {
    opacity: 1;
}

.hero-content {
    flex: 1;
    z-index: 2;
    text-align: center;
    place-items: center;
    overflow: visible;
}
.double-btn, .double-btn-2{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.double-btn.start-animation, .double-btn-2.start-animation {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    white-space: pre-line;
}

.cta-buttons-desktop {
    display: block;
    gap: 20px;
    margin-top: 40px;
}
.cta-buttons-desktop a{
    border: none;
}
.cta-buttons-mobile{
    display: none;
}

.btn {
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s;
    background: var(--primary-gradient);
    text-align: center;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(45, 62, 145, 0.2);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 62, 145, 0.3);
    color: #ffffff;
}

.catalog-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn._shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;

    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);

    animation: shine 3s infinite ease-in-out;
}
.btn._shine_2::before {
    animation-delay: .3s;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    30% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-container {
    width: 300px;
    animation: float 5s ease-in-out infinite;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.phone-container.start-animation {
    opacity: 1;
    transform: translateY(0);
    animation: float 5s ease-in-out infinite 0.8s;
}
.room-img-container {
    width: 500px;
    position: relative;
    height: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.room-img-container.start-animation {
    opacity: 1;
    transform: translateY(0);
}

.room-img-container.start-animation {
    opacity: 1;
    animation: fadeInExt 1.5s ease-in forwards;
}
@keyframes fadeInExt {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes rotateInDownLeft {
    from { opacity: 0; transform: rotate(-30deg) translateX(-50px); transform-origin: left bottom; }
    to   { opacity: 1; transform: rotate(0) translateX(0); transform-origin: left bottom; }
}
@keyframes rotateInDownRight {
    from { opacity: 0; transform: rotate(30deg) translateX(50px); transform-origin: right bottom; }
    to   { opacity: 1; transform: rotate(0) translateX(0); transform-origin: right bottom; }
}
@keyframes bounceInLeft {
    0%   { opacity: 0; transform: translateX(-180px); }
    60%  { opacity: 1; transform: translateX(20px); }
    80%  { transform: translateX(-8px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes bounceInRight {
    0%   { opacity: 0; transform: translateX(180px); }
    60%  { opacity: 1; transform: translateX(-20px); }
    80%  { transform: translateX(8px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes bounceIn {
    0%   { opacity: 0; transform: scale(0.5); }
    60%  { opacity: 1; transform: scale(1.08); }
    80%  { transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes fadeInLeftBig {
    from { opacity: 0; transform: translateX(-120px); }
    to   { opacity: 1; transform: translateX(0); }
}

.is-loading {
    opacity: 0;
    transform: translateY(20px);
}

.room-img-container img {
    object-fit: cover;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.room-img-container .room-img-1{
    position: absolute;
    right: 120px;
    top: 120px;
    animation: float1 4s ease-in-out infinite;
}
.room-img-container .room-img-2{
    position: absolute;
    right: 0;
    top: 0;
    animation: float2 5s ease-in-out infinite;
}
.room-img-container .room-img-3{
    position: absolute;
    right: 0;
    top: 270px;
    animation: float3 6.5s ease-in-out infinite;
}
.room-img-container .room-img-4{
    position: absolute;
    right: -20px;
    top: 160px;
    animation: float4 6s ease-in-out infinite;
}
.room-img-container .room-img-5{
    position: absolute;
    right: 65px;
    top: 340px;
    animation: float5 4.5s ease-in-out infinite;
}
.room-img-container .room-img-6{
    position: absolute;
    right: 150px;
    top: 220px;
    animation: float6 5.5s ease-in-out infinite;
}
.room-img-container img{
    object-fit: cover;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.phone-mockup {
    /*width: 100%;*/
    border-radius: 40px;
    /*box-shadow: 0 30px 60px rgba(0,0,0,0.15);*/
    /*rotate: -7deg;*/
    left: -45px;
    position: absolute;
}

/* --- Problems Section --- */
.solutions {
    padding: 80px 5%;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.6rem;
    font-weight: bold;
    line-height: 2;
    color: #2d3e91;
}
.solutions-anim {
    opacity: 0;
    will-change: transform, opacity;
}

.solutions-anim-left.is-animated {
    opacity: 1;
    animation: bounceInLeft var(--solution-anim-duration) ease-in-out forwards;
}

.solutions-anim-center.is-animated {
    opacity: 1;
    animation: bounceIn var(--solution-anim-duration) ease-out forwards;
}

.solutions-anim-right.is-animated {
    opacity: 1;
    animation: bounceInRight var(--solution-anim-duration) ease-in-out forwards;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    overflow: hidden;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card h3 {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/*.card h3::before {*/
/*    content: "Q.";*/
/*    font-style: italic;*/
/*    font-size: 1.8rem;*/
/*    opacity: 0.3;*/
/*}*/
.card-ul-container{
    background: var(--primary-gradient);
    padding: 1rem;
    border-radius: 20px;
    color: #ffffff;
    min-height: 200px;
    align-content: center;
}
.w-100{
    width: 100%;
}
.align-self-center{
    align-self: center;
}
.align-self-end{
    align-self: end;
}
.svg-icon-1, .svg-icon-2, .svg-icon-3 {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
/*.svg-icon-1 {*/
/*    -webkit-mask-image: url('/front/img/hotel/double_bed-6e91ff6455751ee1372b28a7aac54a49.svg');*/
/*    mask-image: url('/front/img/hotel/double_bed-6e91ff6455751ee1372b28a7aac54a49.svg');*/
/*}*/
/*.svg-icon-2 {*/
/*    -webkit-mask-image: url('/front/img/hotel/agenda-57ed5fa8443e629f8de73933dfea6d6a.svg');*/
/*    mask-image: url('/front/img/hotel/agenda-57ed5fa8443e629f8de73933dfea6d6a.svg');*/
/*}*/
/*.svg-icon-3 {*/
/*    -webkit-mask-image: url('/front/img/hotel/bell_boy-bf67d781d6bad94387b1d60284ef7fb1.svg');*/
/*    mask-image: url('/front/img/hotel/bell_boy-bf67d781d6bad94387b1d60284ef7fb1.svg');*/
/*}*/

.solution-icon{
    width: 60px;
    height: 60px;
    font-size: 45px;
    background: var(--primary-gradient);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card ul {
    list-style: none;
    margin-bottom: 0;
}

.card ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 1.6rem;
    /*display: -webkit-box;*/
    /*-webkit-line-clamp: 2;*/
    /*-webkit-box-orient: vertical;*/
    /*overflow: hidden;*/
}
.card ul li:last-child{
    margin-bottom: 0;
}

.card ul li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
}

/* --- Features Section --- */
.features {
    padding: 80px 5%;
    background: var(--primary-gradient);
}

.features .section-title{
    color: #ffffff;
}

/* --- Features 統一レイアウト --- */

/* アニメーション初期状態 */
.features-left-group,
.features-right-group,
.features-phone-wrap {
    opacity: 0;
    will-change: transform, opacity;
}
.features-left-group.is-animated {
    opacity: 1;
    animation: rotateInDownLeft var(--feature-anim-duration) ease-out forwards;
}
.features-right-group.is-animated {
    opacity: 1;
    animation: rotateInDownRight var(--feature-anim-duration) ease-out forwards;
}
.features-phone-wrap.is-animated {
    opacity: 1;
    animation: zoomIn var(--feature-anim-duration) ease-out forwards;
}

/* PC: flex row — 左2列 | 電話 | 右2列 */
@media (min-width: 992px) {
    .features-body {
        display: flex;
        align-items: center;
        gap: 0;
    }
    .features-left-group,
    .features-right-group {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .features-phone-wrap {
        flex: 0 0 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }
    .features-phone-wrap img {
        width: 460px;
    }
}

/* モバイル: 縦積み — 電話を先頭、左右グループを2列グリッドで続ける */
@media (max-width: 991px) {
    .features-body {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .features-phone-wrap {
        order: -1;
        align-self: center;
        padding: 0;
        position: absolute;
    }
    .features-phone-wrap img {
        width: 150px;
    }
    .features-left-group,
    .features-right-group {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .features-left-group .feature-item:nth-child(1),
    .features-left-group .feature-item:nth-child(3) {
        padding-right: 66px;
    }
    .features-left-group .feature-item:nth-child(2),
    .features-left-group .feature-item:nth-child(4) {
        padding-left: 66px;
    }
}


.feature-item {
    padding: 30px 10px;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    height: 170px;
    cursor: pointer;

    border: 0 solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline: rgba(255, 255, 255, .5) solid 1px;
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

.feature-item:hover {
    background: #cbffff;
    border: 1px solid #0f9090;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
}

.feature-item i {
    font-size: 4rem;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item p {
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* --- Stats Section --- */
.stats {
    padding: 80px 5%;
    background: var(--primary-gradient);
    color: white;
    justify-content: center;
    gap: 100px;
    text-align: center;
    position: relative;
}
.stats .section-title{
    color: #ffffff;
}
.stats-card-1, .stats-card-2{
    opacity: 0;
    will-change: transform, opacity;
}
.stats-card-1.is-animated{
    opacity: 1;
    animation: slideInLeft var(--stats-display-duration) ease-out forwards;
}
.stats-card-2.is-animated{
    opacity: 1;
    animation: slideInRight var(--stats-display-duration) ease-out forwards;
}
.stats-container{
    padding: 80px 5%;
    color: white;
    justify-content: center;
    gap: 50px;
    text-align: center;
    display: flex;
    overflow: hidden;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.stat-number span{
    font-size: 2rem;
}

.stat-label {
    font-size: 1.5rem;
    opacity: 0.9;
}



.swiper {
    width: 50%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.swiper-wrapper{
    width: 50%;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.vision-section {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--primary-gradient-3);
}

.vision-section .section-title {
    color: #ffffff;
}
.vision-section img{
    max-height: 600px;
    max-width: 95vw;
    object-fit: contain;
}
.main-title {
    font-size: 2.5rem;
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.hero-image-placeholder {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
    position: relative;
    border-radius: 20px;
}

.catchphrase {
    font-size: 2.6rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #ffffff;
}

/* メリットセクション */
.merit-section {
    padding: 80px 5%;
    background: var(--primary-gradient-2);
    place-items: center;
    display: grid;
}

.merit-section .section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.merit-content {
    display: flex;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
    justify-content: center;
    justify-self: center;
    /*overflow: hidden;*/
    padding: 0 200px;
    overflow: visible;
}

.phone-mockup-2 {
    border-radius: 40px;
    opacity: 0;
    will-change: transform, opacity;
    padding-top: 80px;
    padding-bottom: 80px;
}
.phone-mockup-2 img{
    height: 500px;
    filter: drop-shadow(0 0 30px rgba(77, 234, 217, 0.8));
}
.phone-mockup-2::before{
    background: url('/front/img/main/light_bg_3-5cf39be8dc3dcf74cbed76f92a00bed8.png') no-repeat center;
    background-size: contain;

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-blend-mode: overlay;
    transform: scale(1.9);
    z-index: -1;
}

.phone-mockup-2.is-animated {
    opacity: 1;
    animation: fadeInLeftBig 1s ease-out forwards;
}

.merit-list {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    overflow: hidden;
}

.merit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    opacity: 0;
    will-change: transform, opacity;
}
.merit-item.is-animated{
    opacity: 1;
    animation: slideInRight var(--merit-anim-duration) ease-out forwards;
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    align-self: center;
}

.icon::before {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    /*clip-path: circle(50%);*/
    color: #ffffff;
}

.merit-item h3 {
    font-size: 1.7rem;
    margin-top: 12px;
    margin-bottom: 5px;
    color: #ffffff;
}

.merit-item p {
    font-size: 1.3rem;
    color: #ddd;
}

.company-info {
    display: flex;
    justify-content: center;
}

.glass-card {
    position: relative;
    margin-top: 80px;
    padding: 50px 100px;
    width: 100%;
    max-width: 800px;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;

    box-shadow:
            0 0 30px rgba(0, 229, 255, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: url('/front/img/main/rainbow_circle-e24238e78cc7ed8311c14e458477adb8.png') no-repeat center;
    background-size: cover;

    background-color: rgba(0, 0, 0, 0.25);
    background-blend-mode: overlay;

    filter: blur(2px);

    transform: scale(1.05);

    z-index: -1;
}

.glass-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(
            to right,
            rgba(0, 229, 255, 0) 0%,
            rgba(0, 229, 255, 0) 15%,
            rgba(0, 229, 255, 0.8) 30%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(0, 229, 255, 0.8) 70%,
            rgba(0, 229, 255, 0) 85%,
            rgba(0, 229, 255, 0) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.glass-card h2 {
    font-size: 3rem;
    margin-top: 5px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgb(255, 255, 255);
    display: inline-block;
    padding-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
}
.info-details{
    overflow: hidden;
}
.info-details tr {
    margin: 15px 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: left;
    color: #ffffff;
    opacity: 0;
    will-change: transform, opacity;
}

.info-details tr.is-animated {
    opacity: 1;
    animation: slideInRight var(--company-anim-duration) ease-out forwards;
}

.info-details {
    border-collapse: collapse;
    border: none;
    width: 100%;
}

.info-details td {
    padding: 8px;
    vertical-align: middle;
}

.info-details .label-cell {
    font-weight: bold;
    width: 100px;
    white-space: nowrap;
}
/* お知らせセクション */
.news-section {
    padding: 80px 20px;
    background: var(--primary-gradient);
}

.news-section .section-title {
    color: #fff;
}

/* グラデ背景上のアイテム色上書き */
.news-section .news-list {
    border-top-color: rgba(255, 255, 255, 0.25);
}
.news-section .news-item {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}
.news-section .news-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.news-section .news-date {
    color: rgba(255, 255, 255, 0.75);
}
.news-section .news-badge {
    background: #fff;
    color: #3081a2;
}
.news-section .news-title {
    color: #fff;
}
.news-section .news-arrow {
    color: rgba(255, 255, 255, 0.55);
}
.news-section .btn-news-all {
    color: #fff;
}
.news-section .btn-news-all:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

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

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e0e0e0;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 12px;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

/* date + badge のグループ */
.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.news-item:hover {
    background: #eef4ff;
    text-decoration: none;
    color: #333;
}

.news-date {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    min-width: 90px;
    text-align: center;
}

.news-badge {
    font-size: 11px;
    background: #3081a2;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    white-space: nowrap;
}

.news-title {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.news-arrow {
    color: #aaa;
    font-size: 12px;
}

.news-new-badge {
    display: inline-block;
    background: #e63946;
    color: #fff;
    font-size: 10px;
    font-style: italic;
    font-weight: bold;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    letter-spacing: 0.5px;
    vertical-align: middle;
    line-height: 1.6;
}
.news-section .news-new-badge {
    background: transparent;
    color: #e63946;
}

.news-all-link {
    text-align: center;
    padding: 24px 0 0;
}

.btn-news-all {
    display: inline-block;
    padding: 10px 28px;
    border: none;
    border-radius: 50px;
    color: #3081a2;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    background: none;
}
.btn-news-all:hover {
    background: rgba(48, 129, 162, 0.1);
    color: #3081a2;
    text-decoration: none;
}

/* お知らせ一覧ページ */
.news-all-section {
    padding: 120px 20px 80px;
    min-height: 100vh;
    background: #f8f9fa;
}
.news-all-section .section-title {
    margin-bottom: 40px;
}

/* --- News Modal --- */
.news-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}
.news-modal-overlay.active {
    display: flex;
}
.news-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    padding: 0;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    animation: zoomIn 0.2s ease-out;
    display: flex;
    flex-direction: column;
}
.news-modal-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 30px 40px;
    flex-shrink: 0;
    background: #fff;
    z-index: 1;
}
.news-modal-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.news-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
    padding: 0 4px;
    flex-shrink: 0;
}
.news-modal-close:hover {
    color: #333;
}
.news-modal-date {
    font-size: 13px;
    color: #999;
}
.news-modal-footer {
    text-align: center;
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    background-color: #fff;
}
.btn-news-modal-close {
    display: inline-block;
    padding: 10px 40px;
    border: none;
    border-radius: 50px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-news-modal-close:hover {
    opacity: 0.85;
}
.news-modal-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
    padding: 0 40px 16px;
    border-bottom: 2px solid #eee;
    line-height: 1.5;
    flex-shrink: 0;
    background-color: #fff;
}
.news-modal-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 24px 40px;
}
.news-modal-body p {
    margin-bottom: 14px;
    line-height: 1.85;
    font-size: 15px;
    color: #333;
}
.news-modal-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 14px 0;
    display: block;
}
.news-modal-body h1,.news-modal-body h2,.news-modal-body h3,
.news-modal-body h4,.news-modal-body h5,.news-modal-body h6 {
    font-weight: bold;
    margin: 20px 0 10px;
    color: var(--text-color);
}
.news-modal-body ul,.news-modal-body ol {
    padding-left: 22px;
    margin-bottom: 14px;
}
.news-modal-body li {
    margin-bottom: 6px;
    line-height: 1.75;
    font-size: 15px;
}
.news-modal-body hr {
    margin: 24px 0;
    border: none;
    border-top: 2px solid #eee;
}
.news-modal-body blockquote {
    border-left: 4px solid #3081a2;
    padding: 8px 16px;
    color: #666;
    font-style: italic;
    margin: 14px 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
}
@media (max-width: 767px) {
    .news-modal-content {
        max-height: 90vh;
        border-radius: 12px;
    }
    .news-modal-header-bar {
        padding: 20px 20px;
    }
    .news-modal-title {
        font-size: 17px;
        padding: 0 20px 14px;
    }
    .news-modal-body {
        padding: 18px 20px;
    }
    .news-modal-footer {
        padding: 14px 20px;
    }
}

/* --- Page Transition Overlay --- */
#page-transition {
    position: fixed;
    inset: 0;
    background: var(--primary-gradient);
    z-index: 10000;
    pointer-events: none;
    transform: translateX(100%);
}
#page-transition.slide-in-from-right {
    pointer-events: all;
    animation: ptFromRight 0.4s ease-in-out forwards;
}
#page-transition.slide-in-from-left {
    pointer-events: all;
    animation: ptFromLeft 0.4s ease-in-out forwards;
}
@keyframes ptFromRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0%); }
}
@keyframes ptFromLeft {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0%); }
}

/* --- Contact Section --- */
.contact {
    padding: 100px 5%;
    background: var(--primary-gradient-4);
}
.contact .section-title{
    color: #ffffff;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
    border: 2px solid #ffffff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 1.3rem;
    color: #ffffff;
}

.form-group label span {
    color: #e63946;
    margin-left: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.6rem;
}
.textarea-form-group{
    margin-bottom: 0;
}

.btn-contact {
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s;
    background: var(--primary-gradient-5);
    text-align: center;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(45, 62, 145, 0.4);
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 62, 145, 0.5);
    color: #ffffff;
}

#scrollTopBtn {
    width: 60px;
    height: 60px;
    display: none;
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s, opacity 0.3s;
}

#scrollTopBtn:hover {
    background-color: #555;
}

/* --- Footer --- */
footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 5% 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.bottom-nav{
    justify-content: center;
    display: flex;
}
.bottom-nav ul li a{
    color: #ffffff;
}
.bottom-nav ul li:not(:last-child) {
    border-right: 2px solid #ffffff;
}

.copyright {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #777;
}
.legal-links {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 0.75rem;
}
.legal-links a {
    color: #999;
    text-decoration: none;
}
.legal-links a:hover { color: #fff; }
.legal-links span { margin: 0 6px; color: #666; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes float1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float5 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes float6 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    /*header nav { display: none; }*/
    header{
        width: 100vw;
        left: 0;
        top: 0;
    }
    .header-container{
        width: 100%;
        display: flex;
    }
    .section-title {
        font-size: 2rem;
    }

    .desktop-container{
        display: none;
    }
    .mobile-container{
        display: block;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        position: relative;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: var(--text-color);
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        left: 0;
        width: 100vw;
        background-color: #f8f8f8;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none;
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu.active {
        display: block;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 999;
        cursor: pointer;
    }
    .mobile-menu-overlay.active {
        display: block;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        justify-content: center;
    }
    .mobile-menu li {
        border-bottom: 1px solid #eee;
    }
    .mobile-menu a {
        display: block;
        padding: 12px 10px;
        text-decoration: none;
        color: #333;
        font-size: 10px;
    }
    .logo-group img{
        height: 40px;
    }
    nav ul li {
        padding-left: 5px;
        padding-right: 5px;
    }
    nav ul li a{
        font-size: 12px;
    }
    .hero {
        min-height: 60vh;
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
        overflow: hidden;
    }
    .hero::before {
        top: 280px;
        width: 50vw;
        height: 15vh;

        mask-image:
                linear-gradient(to right, black 70%, transparent 100%),
                linear-gradient(to bottom, black 70%, transparent 100%),
                linear-gradient(to top, black 70%, transparent 100%);

        mask-composite: intersect;

        -webkit-mask-image:
                linear-gradient(to right, black 70%, transparent 100%),
                linear-gradient(to bottom, black 70%, transparent 100%),
                linear-gradient(to top, black 70%, transparent 100%);
        -webkit-mask-composite: source-in;

    }
    .hero::after {
        top: 600px;
        width: 50vw;
        height: 15vh;

        mask-image:
                linear-gradient(to left, black 70%, transparent 100%),
                linear-gradient(to bottom, black 70%, transparent 100%),
                linear-gradient(to top, black 70%, transparent 100%);

        mask-composite: intersect;

        -webkit-mask-image:
                linear-gradient(to left, black 70%, transparent 100%),
                linear-gradient(to bottom, black 70%, transparent 100%),
                linear-gradient(to top, black 70%, transparent 100%);
        -webkit-mask-composite: source-in;
    }
    .hero-title {
        font-size: 2.2rem;
        line-height: 2;
        margin-bottom: 75px;
    }

    #wave_svg1, #wave_svg2, #wave_svg3 {
        width: 800px;
    }
    #wave_svg1{
        left: -102px;
        top: 185px;
    }
    #wave_svg2{
        left: -92px;
        top: 186px;
    }
    #wave_svg3{
        left: -85px;
        top: 183px;
    }
    .hero-image{
        width: 90%;
        zoom: .6;
        margin-top: 80px;
    }
    .card{
        padding: 20px;
    }
    .card h3{
        font-size: 1.8rem;
    }
    .card ul li {
        font-size: 1.3rem;
    }
    .feature-item{
        padding: 20px;
        height: 140px;
    }
    .feature-item p{
        font-size: 1.2rem;
    }
    .cta-buttons-desktop{
        display: none;
    }
    .cta-buttons-mobile {
        display: flex;
        gap: 20px;
        margin-top: 40px;
        width: 100%;
    }
    .cta-buttons-mobile .btn{
        display: block;
        border: none;
        padding: 18px 25px;
        font-size: 12px;
        min-width: 35%;
    }

    .swiper {
        width: 100%;
    }
    .swiper-slide img {
        height: 300px;
    }
    .btn { width: 100%; }
    .stats { flex-direction: column; gap: 40px; }
    .merit-content {
        flex-direction: column;
        padding: 0;
    }
    .catchphrase {
        font-size: 2rem;
    }
    .contact-container { padding: 20px; }

    .glass-card {
        padding: 20px;
        border-image: linear-gradient(
                to right,
                rgba(0, 229, 255, 0) 0%,
                rgba(0, 229, 255, 0) 15%,
                rgba(0, 229, 255, 0.8) 30%,
                rgba(255, 255, 255, 0.9) 50%,
                rgba(0, 229, 255, 0.8) 70%,
                rgba(0, 229, 255, 0) 85%,
                rgba(0, 229, 255, 0) 100%
        ) 1;
    }
    .glass-card::before {
        right: 0;
        width: 100%;
    }
    .glass-card h2{
        margin-bottom: 15px;
        font-size: 2rem;
    }
    .info-details tr{
        font-size: 1.3rem;
    }
    #scrollTopBtn{
        bottom: 50px;
        right: 20px;
        width: 40px;
        height: 40px;
        padding: 7px;
        font-size: 18px;
    }
    .phone-mockup-2 img{
        height: 360px;
    }
    .phone-mockup-2::before{
        /*transform: scale(2);*/
    }
    .news-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    .news-meta {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        min-width: 80px;
    }
    .news-arrow {
        display: none;
    }
}
