:root {
    --color-base: #f5fff3ff;
    --color-font-green: #1db954;
    --color-orange: #f95a2c;
    --color-mint: #a8e6a1;
    --color-fresh-green: #3ed23e;
    --color-white: #ffffff;
    --color-black: #333333;
    --color-deep-green: #6d8b7e;
    --font-ja: 'Noto Sans JP';
    --font-en: Raleway;
    --font-subtitle: 'M PLUS Rounded 1c';
}

body {
    margin: 0;
    /* ★追加・変更★ */
    background-image: url('../images/ps_top.jpg'); /* ここに背景画像を設定 */
    background-size: cover; /* または contain */
    background-position: center;
    background-attachment: fixed; /* これで画像をビューポートに固定 */
    background-repeat: no-repeat;
}

a {
    text-decoration: none;
}

.text {
    color: var(--color-font-green);
    font-family: var(--font-ja);
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: linear-gradient(0deg, rgb(254, 251, 206) 0%, rgb(255, 255, 255) 100%);
}

.section-divider {
    width: 100%;
    height: 150px;
    background-image: url('../images/layered-waves-golf.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: var(--color-base);
    z-index: 1;
}

.is-hidden {
    visibility: hidden;
    opacity: 0;
}


.fixed-background-image {
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100lvh;
    z-index: -1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform;
}

/* JavaScriptで追加されるクラス */
.fixed-background-image.has-background {
    background-image: url('../images/ps_top.jpg');
}

.lp-content-wrapper {
    position: relative;
    z-index: 0;
}

.top-hero-section {
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
    overflow-y: hidden;
    padding: 0px 10px 0px 10px;
}

.hero-message-container {
    text-align: left;
    width: 100%; 
    padding-top: 2vh;
}

.top.text {
    font-size: clamp(28px, calc(8.7vw + 0.1vh), 45px);
    font-family: var(--font-ja);
    font-weight: 500;
    line-height: 1.4;
    margin: 0px 0px 0px 0px;
    padding: 0px 10px 0px 10px;
    text-shadow: 0px 0px 10px var(--color-mint);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ytb-container {
    flex-grow: 0;
    flex-shrink: 1;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-responsive {
    position: relative;
    border: none;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.hero-footer-text-container {
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center;
    padding-bottom: 5vh;
}

.hero-footer-text-container p.text {
    margin: 0; 
}

.text.subtitle {
    font-size: clamp(18px, calc(4.5vw + 0.5vh), 30px);
    color: var(--color-orange);
    font-family: var(--font-subtitle);
    font-weight: 700;
    line-height: 1.4;
}

.text.title {
    font-size: clamp(40px, calc(10vw + 1vh), 65px);
    color: var(--color-orange);
    font-family: var(--font-en);
    font-weight: 900;
    line-height: 1;
    text-shadow: 3px 3px 0px var(--color-base);
    margin-bottom: -15px;
}

.text.titlekana {
    font-size: clamp(30px, calc(8vw + 0.2vh), 50px);
    color: var(--color-orange);
    font-family: var(--font-ja);
    font-weight: 900;
    line-height: 1;
    text-shadow: 3px 3px 0px var(--color-base);
}

.button {
    margin: 30px 0px;
    max-width: 100%;
}
.text.button {
    color: var(--color-white);
    font-family: var(--font-ja);
    font-weight: 700;
    font-size: 22px;
    align-content: center;
    align-items: center;
    background: var(--color-orange);
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    border-radius: 12px;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    height: auto;
    width: auto;
    justify-content: center;
    margin: 50px 0px 10px 0px;
    padding: 10px 30px 10px;
    transition-duration: 300ms;
    max-width: 100%;
}

.about-section {
    padding: 100px 10px 60px 10px;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.about-image-container {
    margin-top: 40px; /* 上のコンテンツとの余白 */
    width: 90%; /* 親の幅いっぱいに広げる */
    max-width: 600px; /* 必要であれば最大幅を制限 */
    margin-left: auto;
    margin-right: auto; /* 中央寄せ */
}
.about-image-container img {
    display: block; /* 画像をブロック要素にして、余計な隙間をなくす */
    width: 100%; /* 親要素 (about-image-container) の幅に合わせる */
    height: auto; /* アスペクト比を維持 */
    object-fit: cover; /* 画像がコンテナにどのようにフィットするか（必要なら） */
    border-radius: 12px;
}
.about-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.about-title-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}
.about-title-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
}
.about-main-title {
    font-family: var(--font-en);
    font-size: 40px;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
    margin: 0; /* hタグのデフォルトマージンをリセット */
}
.about-sub-question {
    font-family: var(--font-ja);
    font-size: 22px;
    font-weight: bold;
    color: var(--color-white);
    line-height: 1;
    margin: 0;
}
.about-kana-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    height: auto;
}
.about-kana-name {
    font-family: var(--font-ja);
    font-size: 27px;
    color: var(--color-white);
    line-height: 1;
    margin: 0px;
}
.about-description {
    text-align: left;
    margin: 0px 20px 20px 20px;
    box-sizing: border-box;
}
.about-description .line {
    font-family: var(--font-ja);
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-white);
    text-align: left;
    display: block;
    opacity: 0; /* 最初は透明 */
    transform: translateY(var(--slide-distance-up-char, 15px));
}

.what-can-do-section {
    padding: 0px 10px 0px 10px;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
    height: 100vh;
    background: var(--color-base);
    box-sizing: border-box;
}
.section-header {
    margin-bottom: 20px;
}
.section-title {
    font-size: 4.4vh;
    font-weight: 900;
    color: var(--color-font-green);
    line-height: 1.2;
    margin-bottom: 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
}
.section-title .main-title {
    font-family: var(--font-en);
    margin-right: 5px;
}
.section-title .sub-title {
    font-family: var(--font-ja);
    font-size: 2.6vh;
    font-weight: 700;
}
.section-description {
    font-size: 3vh;
    font-weight: 700;
    color: var(--color-font-green);
    font-family: var(--font-ja);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 5px;
}
.features-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: clamp(7px, 2.0vw, 20px);
    margin-bottom: 20px;
}
.feature-item {
    color: var(--color-white);
    font-family: var(--font-ja);
    background: var(--color-fresh-green);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0.5vh;
    box-sizing: border-box;
    height: 30vh;
    text-align: left;
}
.feature-content {
    padding: 10px;
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
}
.feature-title {
    font-size: clamp(16px, calc(4vw + 0.1vh), 24px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0px;
}
.feature-description {
    font-size: clamp(13px, calc(3.5vw + 0.2vh), 18px);
    line-height: 1.3;
    margin: 10px 0px;
}
.feature-image {
    width: 100%;
    height: 30%;
    overflow: hidden;
}
.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をコンテナに合わせてトリミング */
    display: block;
}

.what-we-do-section {
    padding: 30px 10px 0px 10px;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
    height: 100vh;
    background: var(--color-base);
    box-sizing: border-box;
}
.activities-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
    margin-bottom: 20px;
}
.activity-item {
    color: var(--color-font-green);
    font-family: var(--font-ja);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 0.5vh;
    box-sizing: border-box;
    height: 30vh;
    text-align: left;
}
.activity-content {
    padding: 0px;
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
}
.activity-title {
    font-size: clamp(16px, calc(4vw + 0.1vh), 24px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0px;
}
.activity-description {
    font-size: clamp(13px, calc(3.5vw + 0.2vh), 18px);
    line-height: 1.2;
    margin: 5px 0px 10px 0px;
}
.activity-image { 
    width: 100%;
    height: 30vh; 
    overflow: hidden;
    border-radius: 12px;
}
.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.price-plan-section {
    width: 100%;
    height: auto;
    background-color: var(--color-fresh-green);
    text-align: center;
    max-width: 600px; /* スマホで大きくなりすぎないように最大幅は設定 */
    margin: 0 auto;
    padding: 60px 0;
    box-sizing: border-box;
}
.price-plan-section .section-header {
    margin-bottom: 20px;
}
.price-plan-section .section-title {
    font-size: 30px;
    font-weight: 700;
    font-family: var(--font-ja);
    color: var(--color-white);
    line-height: 1.2;
    margin: 0px;
    box-sizing: border-box;
}
.price-card-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 20px;
}
.price-card {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 4vh 5vw;
    width: 90%;
    height: auto;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
.price-display {
    display: flex;
    align-items: flex-end;
    margin-bottom: 3vh;
    margin: 0;
    font-family: var(--font-ja);
}
.price-unit {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}
.price-amount {
    font-size: 64px; 
    font-weight: 700;
    line-height: 1;
    margin: 0 2vw;
}
.price-tax {
    font-size: 20px;
    font-weight: 400;
    align-self: flex-end;
    margin: 0;
}
.price-feature-list {
    list-style: none; /* デフォルトのリストスタイルをなくす */
    padding: 0;
    margin: 3vh 0;
    width: 100%;
    text-align: left;
}
.price-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5vh;
}
.price-feature-item:last-child {
    margin-bottom: 0;
}
.price-feature-item .icon {
    font-family: 'Material Icons';
    font-size: 18px;
    margin-right: 2vw;
    flex-shrink: 0;
}
.price-feature-item .feature-text {
    font-family: var(--font-ja);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}
.additional-info {
    text-align: left;
    font-family: var(--font-ja);
}
.additional-info .info-main {
    font-size: 16px;
    font-weight: 700;
    margin: 1vh 0;
}
.additional-info .info-sub {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-font-green);
    margin: 0;
}
.faq-section {
    padding: 100px 10px 50px 10px;
    background-color: var(--color-base);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}
.faq-section .section-title {
    font-family: var(--font-ja);
    font-size: 27px;
}
.faq-list {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 20px;
    text-align: left;
    overflow: hidden;
}
.faq-item:last-child {
    margin-bottom: 0;
}
.faq-question-text {
    font-family: var(--font-ja);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-font-green);
    margin-bottom: 10px;
    line-height: 1.2;
}
.faq-answer-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    height: auto;
}
.faq-answer-text {
    font-family: var(--font-ja);
    background-color: var(--color-fresh-green);
    color: var(--color-white);
    font-size: 18px;
    line-height: 1.4;
    padding: 15px;
    border-radius: 24px;
    width: 80%;
    max-width: 90%;
}
.faq-answer-image {
    width: 100px;
    height: auto;
    max-width: 100px;
    overflow: hidden;
    align-self: flex-end;
    margin-top: 30px;
    box-sizing: border-box;
}
.faq-answer-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-top: 30px;
}
.faq-answer-image.right {
    margin-left: -30px;
}
.faq-answer-image.left {
    margin-right: -20px;
    z-index: 1;
}

.flow-section {
    padding: 50px 30px;
    background-color: var(--color-base);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-font-green)
}
.flow-section .section-header {
    margin-bottom: 40px;
}
.flow-section .section-title {
    font-family: var(--font-ja);
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 0;
}
.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: left;
}
.flow-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 390px;
    margin-bottom: 35px;
}
.flow-item:last-child {
    margin-bottom: 0; /* 最後のアイテムの下マージンは不要 */
}
.step-header {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    margin-right: 20px; 
    width: 60px;
}
.step-number {
    font-family: var(--font-ja);
    font-size: 18px;
    font-weight: 900;
    margin: 5px 0;
    flex-shrink: 0;
    color: var(--color-black);
}
.step-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--color-font-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}
.step-icon-wrapper .icon {
    font-size: 45px;
    color: var(--color-white);
}
.step-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background-color: var(--color-font-green);
    z-index: 1;
    margin: 5px 0;
}
.flow-item:last-child .step-icon-wrapper::after {
    display: none;
}
.step-description {
    font-family: var(--font-ja);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: var(--color-white);
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-video-section .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* コンテンツより背面に配置 */
}
.hero-video-section .video-background iframe {
    display: block;
    width: 400%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-base);
}
.hero-video-section .video-background .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(109, 139, 126, 0.7); 
    z-index: 0; 
}
.hero-video-section .hero-content {
    position: relative; /* z-index を有効にする */
    z-index: 10; /* 動画より前面に配置 */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.hero-video-section .hero-content .text-container {
    margin-bottom: 30px;
}
.hero-video-section .hero-content .text-container .main-message {
    font-family: var(--font-ja);
    font-size: 43px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}
.hero-video-section .hero-content .text-container .sub-message {
    font-family: var(--font-ja);
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 0;
    white-space: pre-line; /* 改行を反映 */
}