/* アットマリー 共通スタイル */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif;
    line-height: 1.7;
    color: #4a4a4a;
    background-color: #fefefe;
}

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

/* ヘッダー */
header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #d4a574;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d4a574;
}

.cta-button {
    background: linear-gradient(135deg, #f4c2a1, #d4a574);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
}

/* メインコンテンツ */
main {
    margin-top: 80px;
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f1eb 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-weight: 300;
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: #7a7a7a;
    font-weight: 300;
}

/* ファーストビュー（トップページ専用） */
.hero {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f1eb 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.3;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: #7a7a7a;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ボタンスタイル */
.btn-primary {
    background: linear-gradient(135deg, #f4c2a1, #d4a574);
    color: white;
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    display: inline-block;
}

.btn-secondary {
    background: white;
    color: #d4a574;
    padding: 18px 36px;
    border: 2px solid #d4a574;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.btn-white {
    background: white;
    color: #d4a574;
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline {
    background: transparent;
    color: #d4a574;
    padding: 15px 30px;
    border: 2px solid #d4a574;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover, 
.btn-secondary:hover, 
.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.btn-outline:hover {
    background: #d4a574;
    color: white;
    transform: translateY(-2px);
}

/* セクション共通スタイル */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-weight: 300;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7a7a7a;
    margin-bottom: 60px;
    font-weight: 300;
}

/* 共感メッセージ */
.empathy {
    background: #f9f7f4;
}

.empathy-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.empathy-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.empathy-item:hover {
    transform: translateY(-5px);
}

.empathy-item .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.empathy-item h3 {
    font-size: 1.3rem;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.empathy-item p {
    color: #7a7a7a;
    line-height: 1.6;
}

.empathy-conclusion {
    text-align: center;
    font-size: 1.4rem;
    color: #d4a574;
    font-weight: bold;
    margin-top: 40px;
}

/* 特徴・安心ポイント */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #faf8f5, #f5f1eb);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card .icon {
    font-size: 4rem;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.feature-card p {
    color: #7a7a7a;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 利用者の声 */
.testimonials {
    background: #f9f7f4;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #d4a574;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
    color: #7a7a7a;
    font-weight: bold;
}

/* サービスプラン */
.plans {
    background: white;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.plan-card {
    background: linear-gradient(135deg, #faf8f5, #f5f1eb);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
    border: 3px solid transparent;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: #d4a574;
}

.plan-title {
    font-size: 1.8rem;
    color: #4a4a4a;
    margin-bottom: 15px;
    font-weight: bold;
}

.plan-subtitle {
    font-size: 1.2rem;
    color: #d4a574;
    margin-bottom: 25px;
}

.plan-description {
    color: #7a7a7a;
    line-height: 1.7;
    margin-bottom: 30px;
}

.plan-price {
    font-size: 1.4rem;
    color: #4a4a4a;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 安心メッセージ */
.reassurance {
    background: #f9f7f4;
    text-align: center;
}

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

.reassurance-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 40px;
}

.reassurance-highlight {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.reassurance-highlight h3 {
    color: #d4a574;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.reassurance-message {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 0 auto;
}

.reassurance-message h2 {
    color: #d4a574;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.reassurance-message p {
    text-align: center;
    line-height: 1.8;
}

/* アバウト */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-size: 1.8rem;
    color: #4a4a4a;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #7a7a7a;
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
    color: #4a4a4a;
}

.about-features li:before {
    content: "✓ ";
    color: #d4a574;
    font-weight: bold;
    margin-right: 10px;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 特徴詳細 */
.features-detail {
    background: #f9f7f4;
}

.feature-detail-item {
    background: white;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.feature-detail-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}

.feature-detail-icon {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #faf8f5, #f5f1eb);
}

.feature-detail-icon .icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.feature-detail-icon h3 {
    font-size: 1.5rem;
    color: #4a4a4a;
}

.feature-detail-text {
    padding: 40px;
}

.feature-detail-text h4 {
    font-size: 1.3rem;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.feature-detail-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #7a7a7a;
    margin-bottom: 15px;
}

.feature-detail-text ul {
    list-style: none;
    margin-top: 20px;
}

.feature-detail-text ul li {
    padding: 8px 0;
    color: #4a4a4a;
}

.feature-detail-text ul li:before {
    content: "• ";
    color: #d4a574;
    font-weight: bold;
    margin-right: 10px;
}

/* プラン詳細 */
.plans-detail {
    background: white;
}

.plans-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.plan-detail-card {
    background: linear-gradient(135deg, #faf8f5, #f5f1eb);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.plan-detail-card:hover {
    border-color: #d4a574;
    transform: translateY(-5px);
}

.plan-detail-card.recommended {
    border-color: #d4a574;
    position: relative;
}

.plan-detail-card.recommended:before {
    content: "おすすめ";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4a574;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-price-note {
    font-size: 0.9rem;
    color: #7a7a7a;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    font-size: 1.1rem;
    color: #4a4a4a;
}

.plan-features li:before {
    content: "✓ ";
    color: #d4a574;
    font-weight: bold;
    margin-right: 10px;
}

.plan-recommended {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.plan-recommended h4 {
    color: #d4a574;
    margin-bottom: 10px;
}

.plan-recommended p {
    color: #7a7a7a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 利用の流れ */
.flow {
    background: #f9f7f4;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.flow-step {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.flow-step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4a574;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.flow-step h3 {
    font-size: 1.4rem;
    color: #4a4a4a;
    margin: 20px 0 15px;
}

.flow-step p {
    color: #7a7a7a;
    line-height: 1.6;
    margin-bottom: 15px;
}

.flow-step-detail {
    background: #f9f7f4;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.flow-step-detail strong {
    color: #d4a574;
}

/* 相談フロー（consultation.html専用） */
.consultation-flow {
    background: white;
    padding: 80px 0;
}

.consultation-flow .flow-step-number {
    background: #d4a574;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0 auto 20px;
    position: static;
    transform: none;
}

/* 安心ポイント */
.safety-points {
    background: white;
    padding: 80px 0;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.safety-item {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #faf8f5, #f5f1eb);
    border-radius: 20px;
    transition: transform 0.3s;
}

.safety-item:hover {
    transform: translateY(-5px);
}

.safety-item .icon {
    font-size: 4rem;
    margin-bottom: 25px;
}

.safety-item h3 {
    font-size: 1.4rem;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.safety-item p {
    color: #7a7a7a;
    line-height: 1.6;
}

/* 相談内容例 */
.consultation-examples {
    background: #f9f7f4;
    padding: 80px 0;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.example-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #d4a574;
}

.example-card h3 {
    color: #d4a574;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.example-card ul {
    list-style: none;
}

.example-card ul li {
    padding: 8px 0;
    color: #4a4a4a;
    position: relative;
    padding-left: 20px;
}

.example-card ul li:before {
    content: "•";
    color: #d4a574;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 無料相談セクション */
.consultation {
    background: linear-gradient(135deg, #d4a574, #f4c2a1);
    color: white;
    text-align: center;
}

.consultation .section-title {
    color: white;
}

.consultation-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.consultation-feature {
    text-align: center;
}

.consultation-feature .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.consultation-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.consultation-feature p {
    opacity: 0.9;
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(135deg, #d4a574, #f4c2a1);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta-section .section-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* FAQ */
.search-section {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #d4a574;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #7a7a7a;
    font-size: 1.2rem;
}

.category-nav {
    background: #f9f7f4;
    padding: 30px 0;
    text-align: center;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.category-btn {
    background: white;
    color: #4a4a4a;
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.category-btn:hover,
.category-btn.active {
    background: #d4a574;
    color: white;
    border-color: #d4a574;
}

.faq-section {
    padding: 60px 0;
}

.faq-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.8rem;
    color: #4a4a4a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #d4a574;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-icon {
    font-size: 2rem;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #4a4a4a;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #d4a574;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 1000px;
}

.faq-answer p {
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer strong {
    color: #d4a574;
}

.faq-item.priority {
    border-left: 5px solid #d4a574;
}

.faq-item.priority .faq-question {
    background: linear-gradient(135deg, #faf8f5, #f5f1eb);
}

.faq-link {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.faq-card {
    background: #f9f7f4;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.faq-card h3 {
    color: #4a4a4a;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.faq-card p {
    color: #7a7a7a;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* フォーム */
.form-section {
    background: linear-gradient(135deg, #faf8f5, #f5f1eb);
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-title {
    text-align: center;
    font-size: 2rem;
    color: #4a4a4a;
    margin-bottom: 30px;
    font-weight: 300;
}

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

.form-group label {
    display: block;
    font-weight: bold;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.required {
    color: #d4a574;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-note {
    font-size: 0.9rem;
    color: #7a7a7a;
    margin-top: 5px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 30px 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
    line-height: 1.6;
}

.submit-button {
    background: linear-gradient(135deg, #f4c2a1, #d4a574);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 20px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.form-footer {
    text-align: center;
    margin-top: 30px;
    color: #7a7a7a;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* フッター */
footer {
    background: #4a4a4a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

/* ユーティリティクラス */
.hidden {
    display: none;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .plans-grid,
    .features-grid,
    .about-grid,
    .feature-detail-content,
    .plans-comparison {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-detail-content {
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .safety-grid,
    .examples-grid,
    .flow-steps {
        grid-template-columns: 1fr;
    }
    
    .category-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 80%;
        max-width: 300px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-white {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

/* 新しいページ用のスタイル */

/* 比較テーブル（features.html） */
.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: linear-gradient(135deg, #f8f6f0 0%, #f0ede5 100%);
    font-weight: bold;
    padding: 20px;
    border-bottom: 2px solid #e8e5de;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-item {
    padding: 20px;
    text-align: center;
    border-right: 1px solid #f0f0f0;
}

.comparison-item:last-child {
    border-right: none;
}

.comparison-item.highlight {
    background: linear-gradient(135deg, #fff8f0 0%, #fef5eb 100%);
    color: #8b4513;
    font-weight: 600;
}

.feature-name {
    font-weight: bold;
    background: #f8f6f0;
    color: #6b4423;
}

/* 特徴詳細（features.html） */
.feature-detail-item {
    margin: 60px 0;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-detail-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.feature-detail-icon {
    text-align: center;
}

.feature-detail-icon .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-detail-icon h3 {
    font-size: 1.5rem;
    color: #8b4513;
    margin-bottom: 10px;
}

.feature-detail-text h4 {
    font-size: 1.3rem;
    color: #6b4423;
    margin-bottom: 15px;
}

.feature-benefits {
    margin: 30px 0;
    padding: 25px;
    background: #fefcf8;
    border-radius: 10px;
    border-left: 4px solid #d4a574;
}

.feature-benefits h5 {
    color: #8b4513;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature-benefits ul {
    list-style: none;
    padding: 0;
}

.feature-benefits li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.feature-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
}

.feature-testimonial {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f6f0 0%, #f0ede5 100%);
    border-radius: 10px;
    border-left: 4px solid #d4a574;
}

.testimonial-text {
    font-style: italic;
    color: #6b4423;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.testimonial-author {
    text-align: right;
    color: #8b4513;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 技術グリッド（features.html） */
.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.technology-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.technology-card:hover {
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.technology-card h3 {
    color: #8b4513;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.technology-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 20px;
}

.technology-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.technology-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
}

/* 実績グリッド（features.html） */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.achievement-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d4a574;
    margin-bottom: 10px;
}

.achievement-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #8b4513;
    margin-bottom: 15px;
}

/* 会社情報（company.html） */
.company-info-grid {
    display: grid;
    gap: 20px;
    margin: 40px 0;
}

.company-info-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.company-info-item dt {
    font-weight: bold;
    color: #8b4513;
    padding: 10px 0;
}

.company-info-item dd {
    padding: 10px 0;
    margin: 0;
}

/* 企業理念（company.html） */
.philosophy-content {
    margin: 40px 0;
}

.philosophy-main {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.philosophy-main h3 {
    color: #8b4513;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.philosophy-values {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.philosophy-values h4 {
    color: #8b4513;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 20px;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-item h5 {
    color: #8b4513;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* サービスへの想い（company.html） */
.thoughts-content {
    margin: 40px 0;
}

.thought-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.thought-item h3 {
    color: #8b4513;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* セキュリティ対策（company.html） */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.security-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.security-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.security-item h3 {
    color: #8b4513;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.security-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.security-item li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.security-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
}

/* アクセス情報（company.html） */
.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.access-details {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.access-details h3 {
    color: #8b4513;
    margin-bottom: 15px;
    margin-top: 25px;
}

.access-details h3:first-child {
    margin-top: 0;
}

.access-details ul {
    list-style: none;
    padding: 0;
}

.access-details li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.access-details li:before {
    content: "🚃";
    position: absolute;
    left: 0;
}

.map-placeholder {
    background: linear-gradient(135deg, #f8f6f0 0%, #f0ede5 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.map-notice {
    text-align: center;
    color: #8b4513;
}

.map-notice p:first-child {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* プライバシーポリシー・利用規約（privacy.html, terms.html） */
.privacy-content,
.terms-content {
    margin: 40px 0;
}

.privacy-text,
.terms-text {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    line-height: 1.8;
}

.privacy-intro,
.terms-intro {
    font-size: 1.1rem;
    color: #6b4423;
    margin-bottom: 40px;
    padding: 25px;
    background: #fefcf8;
    border-radius: 10px;
    border-left: 4px solid #d4a574;
}

.privacy-section,
.terms-section {
    margin: 40px 0;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.privacy-section:last-child,
.terms-section:last-child {
    border-bottom: none;
}

.privacy-section h2,
.terms-section h2 {
    color: #8b4513;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0ede5;
}

.privacy-section ol,
.terms-section ol {
    padding-left: 20px;
}

.privacy-section ul,
.terms-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-section li,
.terms-section li {
    margin: 8px 0;
    line-height: 1.7;
}

.contact-info {
    background: #fefcf8;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.contact-info p {
    margin: 8px 0;
}

/* プライバシー保証（privacy.html） */
.privacy-assurance {
    background: linear-gradient(135deg, #f8f6f0 0%, #f0ede5 100%);
}

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

.assurance-content h2 {
    color: #8b4513;
    margin-bottom: 20px;
}

.assurance-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.assurance-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.assurance-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.assurance-item h3 {
    color: #8b4513;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* 利用規約ハイライト（terms.html） */
.terms-highlights {
    background: linear-gradient(135deg, #f8f6f0 0%, #f0ede5 100%);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.highlight-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.highlight-item h3 {
    color: #8b4513;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.highlight-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.highlight-item li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.highlight-item li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
}

/* 新しいページ用のレスポンシブ対応 */
@media (max-width: 768px) {
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-item {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .feature-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .technology-grid,
    .achievements-grid,
    .values-grid,
    .security-grid,
    .assurance-features,
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .access-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .company-info-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .privacy-text,
    .terms-text {
        padding: 20px;
    }
}

/* アクティブなナビゲーションリンクのスタイル */
.nav-links a.active {
    color: #d4a574;
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #d4a574;
    border-radius: 1px;
} 