/* ========================================
   リセットと基本設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #4a3933;
    background-color: #f0f9fc;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(194, 24, 91, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(214, 233, 245, 0.5) 0%, transparent 50%);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* レスポンシブ改行制御 */
.br-desktop {
    display: none;
}

.br-mobile {
    display: inline;
}

@media (min-width: 769px) {
    .br-desktop {
        display: inline;
    }
    
    .br-mobile {
        display: none;
    }
}

/* ========================================
   レイアウト
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ========================================
   改行制御
   ======================================== */
.br-desktop {
    display: inline;
}

@media (max-width: 768px) {
    .br-desktop {
        display: none;
    }
}

/* ========================================
   共通セクションスタイル
   ======================================== */
section {
    padding: 5rem 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(194, 24, 91, 0.1), transparent);
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #4a3933;
    line-height: 1.5;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #c2185b, #ff6b9d);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        width: 40px;
        height: 3px;
    }
}

/* ========================================
   ファーストビューセクション
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #f0f9fc 0%, #d6e9f5 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(194, 24, 91, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-section::after {
        width: 300px;
        height: 300px;
        top: -30%;
        right: -20%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text-center {
    text-align: center;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .hero-text-center {
        margin-bottom: 3rem;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a3933;
    margin-bottom: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b5b54;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* スマホ表示時に画像を先に表示 */
    .hero-grid .hero-image-box {
        order: -1;
    }
}

.hero-text-box {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .hero-text-box {
        padding: 1.5rem;
    }
}

.hero-greeting {
    font-size: 1.3rem;
    font-weight: 600;
    color: #c2185b;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-greeting {
        font-size: 1.15rem;
    }
}

.hero-paragraph {
    margin-bottom: 2rem;
    color: #4a3933;
    line-height: 1.9;
}

.hero-paragraph b {
    color: #c2185b;
    font-weight: 700;
    position: relative;
    padding: 0 2px;
}

.hero-paragraph b::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(194, 24, 91, 0.3), rgba(255, 107, 157, 0.3));
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hero-paragraph {
        margin-bottom: 2.5rem;
    }
}

.hero-quote {
    font-size: 1.3rem;
    font-weight: 600;
    color: #c2185b;
    margin: 2rem 0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero-quote {
        font-size: 1.15rem;
    }
}

.hero-image-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ========================================
   共感セクション
   ======================================== */
.empathy-section {
    background-color: #fff;
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .empathy-section {
        padding: 3rem 0;
    }
}

.empathy-content {
    max-width: 900px;
    margin: 0 auto;
}

.empathy-card {
    background-color: #f0f9fc;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .empathy-card {
        padding: 2rem 1.5rem;
    }
}

.empathy-list {
    margin-bottom: 2.5rem;
}

.empathy-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 2px solid transparent;
}

.empathy-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(194, 24, 91, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(194, 24, 91, 0.2);
}

.check-icon {
    width: 28px;
    height: 28px;
    color: #c2185b;
    flex-shrink: 0;
    margin-top: 0.2rem;
    background: linear-gradient(135deg, rgba(194, 24, 91, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%);
    border-radius: 50%;
    padding: 4px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.empathy-item:hover .check-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(194, 24, 91, 0.2) 0%, rgba(255, 107, 157, 0.2) 100%);
}

.empathy-item span {
    color: #4a3933;
    line-height: 1.7;
    font-weight: 700;
}

.empathy-text {
    color: #6b5b54;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .empathy-text {
        line-height: 1.9;
    }
    
    /* brタグの行間を詰める */
    .empathy-text br {
        display: block;
        content: "";
        margin-bottom: -1.5em;
    }
}

/* ========================================
   価値提供セクション
   ======================================== */
.value-section {
    background: linear-gradient(135deg, #d6e9f5 0%, #e0f2f7 100%);
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .value-section {
        padding: 3rem 0;
    }
}

.value-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.value-text {
    font-size: 1.1rem;
    color: #4a3933;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .value-text {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* ========================================
   サンプルコンテンツセクション
   ======================================== */
.sample-section {
    background-color: #fff;
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .sample-section {
        padding: 3rem 0;
    }
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .sample-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.sample-card {
    background-color: #f0f9fc;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.sample-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #c2185b, #ff6b9d);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sample-card:hover::before {
    transform: scaleY(1);
}

.sample-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(194, 24, 91, 0.15);
    border-color: rgba(194, 24, 91, 0.2);
}

@media (max-width: 768px) {
    .sample-card {
        padding: 2rem 1.5rem;
    }
}

.sample-header {
    margin-bottom: 2rem;
}

.sample-label {
    display: inline-block;
    background-color: #c2185b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.sample-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4a3933;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .sample-title {
        font-size: 1.25rem;
    }
}

.sample-body {
    color: #6b5b54;
    line-height: 1.9;
}

.sample-body p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .sample-body p {
        margin-bottom: 2rem;
    }
}

.sample-body p:last-child {
    margin-bottom: 0;
}

/* ========================================
   著者メッセージセクション
   ======================================== */
.author-section {
    background: linear-gradient(135deg, #f0f9fc 0%, #d6e9f5 100%);
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .author-section {
        padding: 3rem 0;
    }
}

.author-content {
    max-width: 900px;
    margin: 0 auto;
}

.author-message {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .author-message {
        padding: 2rem 1.5rem;
    }
}

.author-message p {
    color: #4a3933;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .author-message p {
        margin-bottom: 2rem;
    }
}

.author-message p:last-of-type {
    margin-bottom: 2.5rem;
}

.author-signature {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid #d6e9f5;
}

.signature-text {
    font-size: 1.2rem;
    color: #6b5b54;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.signature-image {
    max-width: 200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .signature-image {
        max-width: 150px;
    }
}

/* 右寄せ署名スタイル（手紙風） */
.author-signature-right {
    text-align: right;
    margin-top: 2rem;
}

.author-signature-right .signature-message-image {
    max-width: 250px;
    margin: 0 0 0.5rem auto;
    display: block;
}

.author-signature-right .signature-image {
    max-width: 150px;
    margin: 0 0 0 auto;
}

@media (max-width: 768px) {
    .author-signature-right .signature-message-image {
        max-width: 200px;
    }
    
    .author-signature-right .signature-image {
        max-width: 120px;
    }
}

/* ファーストビュー用署名（小さめ） */
.hero-signature-right {
    text-align: right;
    margin-top: 1.5rem;
}

.signature-image-small {
    max-width: 120px;
    margin: 0 0 0 auto;
}

@media (max-width: 768px) {
    .signature-image-small {
        max-width: 100px;
    }
}

/* 共感セクション用署名（さらに小さめ・右寄せ） */
.empathy-signature-right {
    text-align: right;
    margin-top: 1.5rem;
}

.empathy-signature-right .signature-image-small {
    max-width: 100px;
    margin: 0 0 0 auto;
}

@media (max-width: 768px) {
    .empathy-signature-right .signature-image-small {
        max-width: 80px;
    }
}

/* ========================================
   登録特典セクション
   ======================================== */
.bonus-section {
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .bonus-section {
        padding: 3rem 0;
    }
}

.bonus-content {
    max-width: 1000px;
    margin: 0 auto;
}

.bonus-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.bonus-intro p {
    font-size: 1.1rem;
    color: #4a3933;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .bonus-intro p {
        font-size: 1rem;
        line-height: 1.8;
    }
}

.bonus-image-wrapper {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.bonus-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.bonus-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .bonus-items {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.bonus-item {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bonus-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(194, 24, 91, 0.15);
    border-color: rgba(194, 24, 91, 0.2);
}

@media (max-width: 768px) {
    .bonus-item {
        padding: 1.5rem;
    }
}

.bonus-item-header {
    margin-bottom: 1.5rem;
}

.bonus-label {
    display: inline-block;
    background-color: #c2185b;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.bonus-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4a3933;
    line-height: 1.6;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .bonus-item-title {
        font-size: 1.15rem;
    }
}

.bonus-item-text {
    color: #6b5b54;
    line-height: 1.9;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .bonus-item-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

.bonus-note {
    text-align: center;
    color: #6b5b54;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .bonus-note {
        font-size: 0.9rem;
    }
}

/* ========================================
   登録フォームセクション
   ======================================== */
.register-section {
    background-color: #fff;
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .register-section {
        padding: 3rem 0;
    }
}

.register-content {
    max-width: 800px;
    margin: 0 auto;
}

.register-arrow {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 2s infinite;
}

.register-arrow svg {
    width: 50px;
    height: 50px;
}

@media (max-width: 768px) {
    .register-arrow svg {
        width: 40px;
        height: 40px;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.form-container {
    background-color: #f0f9fc;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 2px solid rgba(194, 24, 91, 0.1);
}

.form-container::before {
    content: '無料';
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #c2185b 0%, #ff6b9d 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(194, 24, 91, 0.3);
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .form-container::before {
        right: 20px;
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 2rem 1.5rem;
    }
}

.register-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #4a3933;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-required {
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
}

.form-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-name-grid {
        grid-template-columns: 1fr;
    }
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0d4cf;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
    background-color: white;
}

.form-input:focus {
    outline: none;
    border-color: #c2185b;
}

.form-input::placeholder {
    color: #b0a8a4;
}

.form-submit {
    margin-top: 2rem;
}

.submit-button {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #c2185b 0%, #ff6b9d 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.4);
    letter-spacing: 0.05em;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.5s ease;
    animation: shine 3s infinite;
}

.submit-button:hover::before {
    left: 100%;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.submit-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: sparkle 2s infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(194, 24, 91, 0.5);
    background: linear-gradient(135deg, #d81b60 0%, #ff7ba8 100%);
}

.submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.4);
}

@media (max-width: 768px) {
    .submit-button {
        padding: 1.25rem;
        font-size: 1.1rem;
    }
}

.form-privacy {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #6b5b54;
    line-height: 1.6;
}

.privacy-link {
    color: #c2185b;
    text-decoration: underline;
    font-weight: 500;
}

.privacy-link:hover {
    opacity: 0.8;
}

/* ========================================
   プロフィールセクション
   ======================================== */
.profile-section {
    background-color: #f0f9fc;
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .profile-section {
        padding: 3rem 0;
    }
}

.profile-content {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-nav {
        gap: 1.5rem;
    }
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #d6e9f5;
    opacity: 1;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
