@charset "UTF-8";
body {
    text-align: left;
    font-family: "Inter",sans-serif;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

.header {
    height: 90px;
    background-color: transparent;
    color: #000000;
}

.header.scrolled {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.subpage-header {
    background: linear-gradient(to right, #ffcccc, #ffffff);/* 薄い赤のグラデーション */
    padding: 10em 1em 5em;
    position: relative;
}

.subpage-header::before {
    content: "";
    display: block;
    width: 90%;/* 横幅を調整（例：90%） */
    height: 0.5px;
    background-color: #ccc;/* 線の色 */
    left: 50%;/* 横位置の基準を中央に */
    transform: translateX(-50%);
    position: absolute;
    bottom: 0;
}

.subpage-title {
    text-align: left;
    margin: 0;
    font-size: 5rem;
    font-weight: bold;
    color: #C61C20;
    padding-left: 10%;
    font-family: "Oswald", sans-serif;
}

.subpage-title span {
    display: block;
    color: #000000;
    font-size: 1.5rem;
}

.header__logo--sub img {
    width: clamp(30px, 8vw, 50px);
    height: auto;
}

.header__title--sub {
    color: #C61C20;
    font-family: Oswald;
    font-weight: bold;
    font-size: clamp(9px, 1vw, 13px);
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* 薄い赤い文字 */
.has-bg-text-intro {
    position: relative;
    z-index: 1;
}

.has-bg-text-intro::before {
    font-family: "Bebas Neue", sans-serif;
    content: attr(data-bg-text);
    position: absolute;
    bottom: -240px;
    right: -1em;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 15vw, 200px);
    color: rgba(255, 0, 0, 0.2);
    font-weight: bold;
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
}

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

    .has-bg-text-intro::before {
        bottom: -1em;
    }
}

@media screen and (max-width: 400px) {
    .has-bg-text-intro::before {
        right: -2em;
    }
}

@media screen and (max-width: 600px) {
    .subpage-header {
        padding: 7em 0.5em 4em;
    }
}
