/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-noto-sans-cjk-jp);
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.pc-only {
    display: block !important;
}
.tab-only {
    display: none !important;
}
.sp-only {
    display: none !important;
}
.pc-1920-only{ 
    display: block !important;
}
.pc-1500-only{ 
    display: none !important;
}
.pc-1024-only{ 
    display: none !important;
}
.tab-grid {
    display: none !important;
}
.pc-grid {
    display: grid !important;
}
.tab-sp-grid {
    display: none !important;
}
.tab-sp-only {
    display: none !important;
}
.pc-tab-only {
    display: block !important;
}
.pc-sp-grid {
    display: grid !important;
}
.pc-sp-flex {
    display: flex !important;
}

.container {
    padding-top: 8.75rem !important;
}
/* マーカーは文字幅に追従させる */
.marker-blue,
.marker-white {
  display: inline-block;   /* ←文字幅ぴったり */
  padding: 0rem 0.5rem 0.15rem;   /* 帯の太さ */
  line-height: 1.3;        /* フォント差で沈むのを抑える */
  vertical-align: middle;  /* baselineズレ対策 */
}

/* 色 */
.marker-blue {
  background: var(--blue-gradation);
  color: var(--white);
}

.marker-white {
  background: var(--white);
  color: var(--primary-blue);
}
.marker-orange {
  background: var(--orange-gradation-40);
  color: var(--black);
  line-height: 1;
  padding: 0rem 0.5rem 0rem;
  vertical-align: baseline;
}

.fv-title .marker-blue,
.fv-title .marker-white {
    line-height: 1;
    padding: 0 0.5rem 0.7rem;
    vertical-align: baseline;
}

@media screen and (max-width: 1500px) {
    .pc-1500-only {
        display: block !important;
    }
    .pc-1920-only {
        display: none !important;
    }
    .fv-title .marker-blue,
    .fv-title .marker-white {
        padding: 0 0.5rem 0.5rem;
    }
}
@media screen and (max-width: 1200px) {
    .pc-only {
        display: none !important;
    }
    .tab-only {
        display: block !important;
    }
    .sp-only {
        display: none !important;
    }
    .tab-grid {
        display: grid !important;
    }
    .pc-grid {
        display: none !important;
    }
    .tab-sp-grid {
        display: grid !important;
    }
    .tab-sp-only {
        display: block !important;
    }
    .pc-tab-only {
        display: block !important;
    }
    .pc-sp-grid {
        display: none !important;
    }
    .pc-sp-flex {
        display: none !important;
    }
    
}
@media screen and (max-width: 1024px)  {
    .pc-1500-only {
        display: block  !important;
    }
}

@media screen and (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
    .tab-only {
        display: none !important;
    }
    .sp-only {
        display: block !important;
    }
    .tab-grid {
        display: none !important;
    }
    .pc-grid {
        display: none !important;
    }
    .tab-sp-grid {
        display: grid !important;
    }
    .tab-sp-only {
        display: block !important;
    }
    .pc-tab-only {
        display: none !important;
    }
    .pc-sp-grid {
        display: grid !important;
    }
    .pc-sp-flex {
        display: flex !important;
    }
    .pc-1500-only{ 
        display: none !important;
    }

    .container {
        padding-top: 5rem !important;
    }
}


/* ボタン ==============================================*/
.btn-contact {
    position: relative;
    background: transparent;
    color: white;
    padding: 0.75rem 2.5rem;
    border-radius: 2.9375rem;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.03375rem;
    transition: transform 0.4s ease;
    white-space: nowrap;
    border: 2px solid transparent;
    overflow: hidden;
    z-index: 1;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--orange-gradation);
    border-radius: 0;
    transition: transform 0.4s ease;
    z-index: -1;
}
.btn-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: -2;
}

.btn-contact:hover {
    color: var(--orange);
    border-color: var(--orange);
    background: var(--white);
}

.btn-contact:hover::before {
    transform: translateX(100%);
}
.btn-contact-mobile {
    display: none;
}
.btn-contact-arrow {
    display: inline-block;
    width: 1.625rem;
    margin-left: 0.62rem;
}
#contact .contact-button {
    padding: 1.12rem 5.31rem;
}
#contact .phone-number {
    justify-content: center;
    align-items: center;
    margin-top: 1.88rem;
}
#contact .phone-text {
    font-size: 2.53719rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 2.2px;
}
#contact .phone-hours {
    font-size: 1.0475rem;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0.05rem;
    padding-left: 22px;
}

@media screen and (max-width: 1400px) {
    .btn-contact-mobile-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .btn-contact-mobile {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        background: transparent;
        color: white;
        padding: 0 1rem 0 2rem;
        font-weight: 500;
        font-size: 0.95rem;
        transition: color 0.4s ease;
        white-space: nowrap;
        border: 2px solid var(--orange-gradation);
        overflow: hidden;
        z-index: 1;
    }
.btn-contact-mobile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--orange-gradation);
        transition: transform 0.4s ease;
        z-index: -1;
        border: 2px solid var(--orange-gradation);
    }
}
@media screen and (max-width: 768px) {
    .btn-contact-mobile {
        padding: 0 1rem;
    }
    .btn-contact-arrow {
        display: none;
    }
}
/* Appear Animation Styles ==============================================*/
/* パターン1: 下から上に出現するアニメーション */
.appear-from-bottom {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}
.appear-from-bottom.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Section Title Styles ==============================================*/
.section-title-black {
    color: var(--black);
    font-family: var(--font-noto-sans-cjk-jp);
}
.section-title-blue {
    position: relative;
    background: var(--blue-gradation);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}
.section-title-white {
    line-height: 1.5;
    color: var(--white);
}

.section-title {
    position: relative;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    z-index: 0;
}
.contact .section-title {
    font-size: 1.75rem;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9.99894rem;
    font-family: var(--font-saira-condensed);
    font-weight: 700;
    line-height: 140%;
    color: transparent;
    z-index: -1;
    white-space: nowrap;
}

.problem .section-title::before {
    content: 'PROBLEM';
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: rgba(217, 217, 217, 0.70);
    -webkit-text-stroke-width: 1px;
}

.feature .section-title {
    z-index: auto;
}

.feature .section-title::before {
    content: 'FEATURE';
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.80);
    -webkit-text-stroke-width: 1px;
    z-index: -1;
}

.feature .section-title .section-title-blue {
    position: relative;
    z-index: 0;
    isolation: isolate;
}
.forecast .section-title::before {
    content: 'FORECAST';
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: rgba(14, 70, 181, 0.15);
    -webkit-text-stroke-width: 1px;
    z-index: 1;
}
.flow .section-title::before {
    content: 'FLOW';
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: rgba(49, 110, 169, 0.15);
    -webkit-text-stroke-width: 1px;
    z-index: 1;
}
.faq .section-title::before {
    content: 'Q&A';
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.80);
    -webkit-text-stroke-width: 1px;
    z-index: -1;
}

.contact .section-title::before {
    content: 'CONTACT';
    color: transparent;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.20);
    -webkit-text-stroke-width: 1px;
}
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .problem .section-title {
        font-size: 1.5rem;
    }
    .contact .section-title {
        font-size: 1.375rem;
    }

    .section-title::before {
        font-size: 5.89831rem;
    }
    .contact .section-title::before {
        top: 10%;
    }

}

/* JS対応 */
.scroll-hint-icon-white:before {
    background-image: url(../assets/scoll-hint-icon.svg) !important;
}
.scroll-hint-icon-white:after {
    background-image: url(../assets/scroll-hint-arrow.svg) !important;
    width: 43px !important;
    top: 20px !important;
}
.scroll-hint-icon-white {
    background: rgba(235, 235, 235, 0.75);
    box-shadow: 0 4px 5px #0003;
}
.scroll-hint-icon-white .scroll-hint-text {
    color: var(--black) !important;
}
.scroll-hint-shadow-wrap:before {
    display: none !important;
}
.scroll-hint-icon {
    padding: 2.25rem 0.5rem 1rem !important;
}