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

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f9fbfb;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--narrow {
    max-width: 800px;
}

/* ==========================================================================
   Grid & Layout
   ========================================================================== */
.grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background-color: #00C3B2;
    /* Pairs エメラルドグリーン */
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 30px;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
    border: none;
}

.btn--main {
    background-color: #00C3B2;
    color: #ffffff;
}

.btn--main:hover {
    background-color: #00a899;
}

.btn--sub {
    background-color: #ffffff;
    color: #00C3B2;
    border: 2px solid #00C3B2;
}

.btn--sub:hover {
    background-color: #f0fdfb;
}

.btn--dark {
    background-color: #2b3940;
    color: #ffffff;
}

.btn--dark:hover {
    background-color: #1c252a;
}

.btn--hero {
    background: linear-gradient(135deg, #00D2C4 0%, #00B3A1 100%);
    color: #ffffff;
    font-size: 18px;
    padding: 16px 40px;
    box-shadow: 0 4px 15px rgba(0, 195, 178, 0.3);
}

.btn--hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 195, 178, 0.4);
}

.btn--full {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Header & Footer
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.header__logo a {
    font-size: 24px;
    font-weight: 900;
    color: #00C3B2;
}

.header__nav ul {
    display: flex;
    gap: 20px;
}

.header__nav a {
    font-weight: bold;
    color: #666;
}

.header__nav a.active,
.header__nav a:hover {
    color: #00C3B2;
}

.header__cta {
    display: flex;
    gap: 10px;
}

@media (max-width: 767px) {
    .header__nav {
        display: none;
        /* スマホ時はメニューを簡略化 */
    }
}

.footer {
    background-color: #1a2225;
    color: #99aab5;
    padding: 60px 20px 40px;
    margin-top: 100px;
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer__logo {
    font-size: 22px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__copy {
    font-size: 12px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background: radial-gradient(circle at 80% 20%, #e8fcf9 0%, #ffffff 100%);
    padding: 80px 0;
    overflow: hidden;
}

.hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero__content {
    flex: 1;
}

.hero__title {
    font-size: 42px;
    font-weight: 900;
    color: #1a2225;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero__lead {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.hero__note {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

.hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* スマホモックアップ */
.phone-mock {
    width: 280px;
    height: 560px;
    border: 12px solid #222;
    border-radius: 36px;
    background-color: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}

.phone-mock__screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00C3B2 0%, #0087a3 100%);
    /* 本来はここにアプリ画面の画像やモックを投影します */
}

@media (max-width: 767px) {
    .hero__inner {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero__title {
        font-size: 32px;
    }
}

/* ==========================================================================
   Features
   ========================================================================== */
.features {
    padding: 100px 0;
    background-color: #ffffff;
}

.feature-card {
    background-color: #f9fbfb;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #eef3f3;
    text-align: center;
    opacity: 0;
    /* JSでのフェードイン用 */
    transform: translateY(30px);
    /* JSでのフェードイン用 */
    transition: all 0.8s ease-out;
}

.feature-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card__num {
    font-size: 36px;
    font-weight: 900;
    color: #00C3B2;
    opacity: 0.3;
    margin-bottom: 15px;
}

.feature-card__title {
    font-size: 18px;
    margin-bottom: 15px;
}

.feature-card__text {
    font-size: 14px;
    color: #666;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq {
    padding: 100px 0;
    background-color: #f2f7f7;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq__item {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.faq__question {
    width: 100%;
    text-align: left;
    padding: 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq__question::after {
    content: "+";
    font-size: 20px;
    color: #00C3B2;
    font-weight: normal;
    transition: transform 0.3s;
}

.faq__item.is-active .faq__question::after {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq__answer p {
    padding-bottom: 20px;
    color: #666;
    font-size: 15px;
}

/* ==========================================================================
   Page Header (Common Lower Page)
   ========================================================================== */
.page-header {
    background-color: #00C3B2;
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-header__title {
    font-size: 32px;
    margin-bottom: 10px;
}

.page-header__lead {
    font-size: 16px;
    opacity: 0.9;
}

/* ==========================================================================
   Price Cards
   ========================================================================== */
.price-table-section {
    padding: 80px 0;
}

.price-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card--popular {
    border: 2px solid #00C3B2;
    transform: scale(1.03);
}

@media (max-width: 767px) {
    .price-card--popular {
        transform: none;
    }
}

.price-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00C3B2;
    color: #ffffff;
    padding: 4px 16px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
}

.price-card__plan {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.price-card__price {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    color: #1a2225;
    margin-bottom: 30px;
}

.price-card__price span {
    font-size: 16px;
    font-weight: normal;
    color: #666;
}

.price-card__features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-card__features li {
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
}

.price-card__features li.disabled {
    color: #a0aec0;
    text-decoration: line-through;
}