/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
    background-color: #FFFFFF;
    margin: 0;
    padding-top: 80px; /* ヘッダーの高さ分 */
}

/* カラー設定 */
:root {
    --accent-color: #EE4D2D;
    --text-color: #333333;
    --base-bg-color: #FFFFFF;
    --footer-bg-color: #2c3e50;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background-color: var(--base-bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 80px;
}

.header-logo a {
    display: flex; /* Flexboxを適用 */
    align-items: center; /* 垂直方向中央揃え */
    text-decoration: none; /* リンクの下線を消す */
    color: inherit; /* 親要素の色を継承 */
}

.header-logo img {
    height: 50px; /* ロゴの高さを指定 */
    width: auto;
    margin-right: 15px; /* ロゴとテキストの間隔 */
}

.header-logo-text {
    font-size: 18px; /* テキストのサイズ */
    font-weight: 700; /* テキストの太さ */
    line-height: 1.2;
}

.header-nav {
    margin-left: auto; /* ボタンを左に寄せる */
    margin-right: 20px; /* 右側に余白をさらに追加 */
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #d44024;
}

/* レスポンシブ対応 */
 @media (max-width: 768px) {
    .header {
        flex-direction: row; /* 横並びに戻す */
        height: auto;
        padding: 15px 0px; /* 左右のパディングをなくす */
        align-items: center; /* 垂直方向中央揃え */
        justify-content: flex-start; /* コンテンツを左端に寄せる */
        padding-left: 0; /* 左パディングを強制的に0にする */
    }

    .header-logo {
        margin-left: 0; /* ロゴを左端に寄せる */
        padding-left: 0; /* ロゴの左パディングをなくす */
    }

    .header-logo h1 {
        font-size: 20px;
    }

    .header-logo-text {
        font-size: 16px; /* スマホでのフォントサイズを調整 */
    }

    .header-nav {
        display: block; /* スマホでボタンを表示 */
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #EE4D2D 0%, #ff6b4a 100%);
    color: white;
    padding: 60px 20px;
    overflow: hidden; /* for illustration */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero-illustration {
    flex: 1;
    max-width: 650px; /* コンテナを拡大 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 450px; /* 高さを確保 */
}

.hero-illustration img {
    width: 100%; /* SVGの幅をコンテナに合わせる */
    height: auto;
    max-width: 500px; /* 最大幅を設定 */
    padding: 20px; /* SVGの周りに余白を追加 */
    position: relative; /* z-indexを有効にするため */
    z-index: 3; /* イラストを最前面に */
}

 @keyframes float-animation {
    0% {
        transform: translateY(0px) rotate(var(--r-start));
    }
    50% {
        transform: translateY(-20px) rotate(var(--r-end));
    }
    100% {
        transform: translateY(0px) rotate(var(--r-start));
    }
}

.bg-shape {
    position: absolute;
    border-radius: 20px; /* 角丸を少し強く */
    animation-name: float-animation;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* 1枚目の背景: 塗りの四角 */
.shape1 {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* 白味を強く */
    z-index: 1;
    --r-start: -8deg;
    --r-end: -12deg;
    animation-duration: 10s;
}

/* 2枚目の背景: 線画の四角 */
.shape2 {
    width: 95%;
    height: 105%;
    background-color: transparent;
    border: 4px solid rgba(255, 255, 255, 0.8); /* 白味を強く、線を太く */
    z-index: 2;
    --r-start: 12deg;
    --r-end: 8deg;
    animation-duration: 12s;
    animation-delay: -2s; /* アニメーション開始をずらす */
}

/* 3枚目の背景: アクセントの塗りの四角 */
.shape3 {
    width: 105%;
    height: 90%;
    background-color: rgba(255, 255, 255, 0.3); /* 白味を強く */
    z-index: 1;
    --r-start: 5deg;
    --r-end: 0deg;
    animation-duration: 9s;
    animation-delay: -4s; /* アニメーション開始をずらす */
}

 

.hero-badges {
    margin-bottom: 20px;
}

.hero-badges .badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 0 10px 0 0;
    font-size: 14px;
    display: inline-block;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta-buttons .cta-button {
    margin-right: 20px;
    margin-bottom: 10px; /* for mobile */
    padding: 15px 30px;
    font-size: 16px;
}

.hero-cta-buttons .cta-button.primary {
    background-color: white;
    color: var(--accent-color);
    border: 2px solid white;
}

.hero-cta-buttons .cta-button.primary:hover {
    background-color: transparent;
    color: white;
}

.hero-cta-buttons .cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.hero-cta-buttons .cta-button.secondary:hover {
    background-color: white;
    color: var(--accent-color);
}

 @media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        text-align: left; /* 左寄せに戻す */
        max-width: 100%;
        margin-bottom: 40px;
    }
    .hero h1 {
        font-size: 36px;
    }
}

 @media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-buttons .cta-button {
        margin: 10px 0;
        width: 80%;
    }

    .hero-title-wrapper {
        display: none; /* スマホで非表示 */
    }

    .hero-badges {
        margin-right: 10px; /* バッジとH1の間にスペース */
        margin-bottom: 0; /* 縦並びの時のマージンをリセット */
    }
}

    .hero-badges {
        margin-right: 10px; /* バッジとH1の間にスペース */
        margin-bottom: 0; /* 縦並びの時のマージンをリセット */
    }
}

/* 我々が選ばれる理由 */
.reasons {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 60px;
    font-weight: 700;
    text-align: center; /* 中央揃えを追加 */
}

.reasons-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.reason-item {
    flex-basis: 30%;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center; /* アイコンと見出しを中央揃え */
}

.reason-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.reason-icon {
    margin-bottom: 20px;
}

.reason-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--accent-color);
}

.reason-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.5;
}

.reason-item p {
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

 @media (max-width: 992px) {
    .reasons-container {
        flex-direction: column;
        align-items: center;
    }

    .reason-item {
        flex-basis: 80%;
        max-width: 500px;
    }
}

 @media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .reason-item h3 {
        font-size: 20px;
    }
}

/* お悩みセクション */
.problems {
    background-color: #F7F7F7;
    padding: 80px 20px;
}

.problems-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.problems h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
}

.problems ul {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.problems li {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.checkmark {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

.checkmark svg {
    width: 100%;
    height: 100%;
    fill: var(--accent-color);
}

.sp-only {
    display: none;
}

 @media (max-width: 768px) {
    .problems h2 {
        font-size: 24px;
    }

    .problems li {
        font-size: 16px;
    }

    .sp-only {
        display: block;
    }
}

/* 料金プランセクション */
.plans {
    padding: 80px 20px;
    text-align: center;
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch; /* 高さを揃える */
}

.plan-card {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.plan-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.plan-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    min-height: 3em; /* 高さを確保 */
}

.plan-header p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.plan-price {
    margin-bottom: 30px;
}

.plan-price p {
    margin: 0;
    font-size: 16px;
}

.plan-price span {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
}

.plan-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.plan-features li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features span:last-child {
    font-weight: 700;
}

    .plan-button {
        margin-top: auto; /* ボタンを下に配置 */
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }

    /* お試しプランの詳細 */
    .plan-details {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
    }

    .plan-details ul {
        list-style: none;
        padding: 0;
        text-align: left;
        margin-bottom: 15px;
    }

    .plan-details ul li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 8px;
        font-size: 15px;
    }

    .plan-details ul li::before {
        content: '✓';
        color: var(--accent-color);
        position: absolute;
        left: 0;
        font-weight: 700;
    }

    .plan-details .plan-summary {
        font-size: 16px;
        font-weight: 700;
        color: var(--accent-color);
        text-align: center;
        margin-top: 15px;
    }

    /* おすすめプラン */
.plan-card.recommended {
    border-color: var(--accent-color);
    border-width: 3px;
}

/* お試しスタンプ */
.stamp {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 80px;
    height: 80px;
    background-color: #d9534f; /* 少し暗めの赤 */
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    line-height: 80px;
    border-radius: 50%;
    transform: rotate(15deg);
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.plan-card.recommended .plan-header h3 {
    color: var(--accent-color);
}







.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

 @media (max-width: 992px) {
    .plans-container {
        flex-direction: column;
        align-items: center;
    }

    .plan-card {
        width: 80%;
        max-width: 500px;
    }
}

 @media (max-width: 768px) {
    .plan-header h3 {
        font-size: 20px;
        min-height: auto;
    }

    .plan-price span {
        font-size: 32px;
    }
}

/* なぜ今Shopeeなのかセクション */
.why-shopee {
    background-color: #F7F7F7;
    padding: 80px 20px;
    text-align: center;
}

.why-shopee .section-title {
    color: #333; /* タイトルカラーを通常に */
}


.why-shopee-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 40px auto;
}

.shopee-point-item {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 90%;
    margin: 0 auto 60px auto; /* アイテム間のマージンを調整 */
}

.shopee-point-item:nth-child(even) {
    flex-direction: row-reverse;
}

.shopee-point-icon {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shopee-point-icon img {
    max-width: 380px; /* 画像サイズを拡大 */
    height: auto;
}

.shopee-point-text {
    flex: 3;
    text-align: left;
}

.shopee-point-text h3 {
    font-size: 32px; /* フォントサイズを拡大 */
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.shopee-point-text p {
    font-size: 18px; /* フォントサイズを拡大 */
    color: #555;
    line-height: 1.8;
}

.shopee-point-item .highlight {
    color: var(--accent-color);
    font-weight: 700;
}

 @media (max-width: 992px) {
    .why-shopee-container {
        flex-direction: column;
        align-items: center;
    }

    .shopee-point-item {
        flex-basis: 80%;
        max-width: 500px;
    }
}

 @media (max-width: 768px) {
    .shopee-point-item h3 {
        font-size: 22px;
    }

    .shopee-point-item p {
        font-size: 16px;
    }
}

/* ご利用の流れセクション */
.flow {
    padding: 80px 20px;
    text-align: center;
}

.flow .section-title {
    color: #333;
}

.flow-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-item {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.flow-step {
    background-color: var(--accent-color);
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
}

.flow-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.flow-item p {
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

.flow-arrow {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-top: 80px; /* アイテムの高さに合わせて調整 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath fill='%23333333' d='M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

 @media (max-width: 992px) {
    .flow-container {
        flex-direction: column;
        align-items: center;
    }

    .flow-item {
        max-width: 500px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
}

 @media (max-width: 768px) {
    .flow-item h3 {
        font-size: 20px;
    }
}

/* よくあるご質問セクション */
.faq {
    background-color: #F7F7F7;
    padding: 80px 20px;
}

.faq .section-title {
    text-align: center;
    color: #333;
}

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

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.faq-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.faq-question {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    width: 100%;
}

.faq-question::-webkit-details-marker {
    display: none; /* Chrome, Safari */
}

.q-icon {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 700;
    margin-right: 20px;
}

.q-text {
    flex: 1;
}

.faq-question::after {
    content: '+';
    font-size: 28px;
    font-weight: 300;
    margin-left: 20px;
    transition: transform 0.3s;
}

.faq-item[open] > .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 20px 0 0 45px; /* Qアイコンの分インデント */
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

 @media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 15px;
    }
}

/* お問い合わせフォームセクション */
.contact {
    padding: 80px 20px;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact .section-title {
    color: #333;
    font-size: 36px;
}

.contact-lead {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-form {
    text-align: left;
    padding: 0 30px; /* 左右にパディングを追加 */
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group .required, .form-group .optional {
    font-size: 12px;
    font-weight: 400;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 8px;
}

.form-group .required {
    background-color: #EE4D2D;
    color: white;
}

.form-group .optional {
    background-color: #777;
    color: white;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    box-sizing: border-box; /* パディングとボーダーを幅に含める */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(238, 77, 45, 0.3);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-submit .cta-button {
    width: 100%;
    max-width: 400px;
    padding: 18px;
    font-size: 20px;
    border: none;
    cursor: pointer;
}

 @media (max-width: 768px) {
    .contact .section-title {
        font-size: 28px;
    }
}

/* フッター */
.site-footer {
    background-color: var(--footer-bg-color);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
    margin: 0 10px; /* リンク間のスペース */
}

.footer-links a:hover {
    opacity: 0.8;
}

.copyright {
    font-size: 12px;
    color: #aaa;
    margin-top: 30px;
}

/* 特定商取引法に基づく表記ページ用スタイル */
.tokushoho-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    line-height: 1.8;
}

.tokushoho-container h1 {
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

.tokushoho-container h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    color: var(--text-color);
}

.tokushoho-container p,
.tokushoho-container ul {
    font-size: 16px;
    margin-bottom: 10px;
}

.tokushoho-container ul {
    list-style-type: disc;
    padding-left: 20px;
}

.tokushoho-container ul ul {
    list-style-type: circle;
    margin-top: 5px;
}

.tokushoho-container a {
    color: var(--accent-color);
    text-decoration: none;
}

.tokushoho-container a:hover {
    text-decoration: underline;
}

 @media (max-width: 768px) {
    .tokushoho-container {
        margin: 20px;
        padding: 15px;
    }
    .tokushoho-container h1 {
        font-size: 28px;
    }
    .tokushoho-container h2 {
        font-size: 20px;
    }
    .tokushoho-container p,
    .tokushoho-container ul {
        font-size: 14px;
    }
}