/* 全体のスタイル */
:root {
    --primary-color: #4db6ac;
    --secondary-color: #80cbc4;
    --accent-color: #ffb74d;
    --light-color: #f5f7fa;
    --dark-color: #455a64;
    --gradient-start: #4db6ac;
    --gradient-end: #b2dfdb;
    --border-radius: 12px;
    --box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* フォント設定 */
    --handwritten-font: 'Yusei Magic', sans-serif;
    --logo-font: 'Yomogi', cursive;
    --content-font: 'M PLUS Rounded 1c', sans-serif;
}

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--content-font);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f9f9f9;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234db6ac' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--content-font);
    font-weight: 600;
    line-height: 1.3;
}

p {
    font-family: var(--content-font);
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--content-font);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-light {
    background-color: white;
    color: var(--dark-color);
}

.btn-light:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

/* ヘッダー */
.site-header {
    background-color: white;
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ロゴ */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo a:hover {
    color: var(--dark-color);
    transform: scale(1.05);
}

.logo h1 {
    font-family: var(--logo-font);
    font-size: 1.8rem;
    margin: 0;
    margin-left: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ナビゲーション */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 1rem;
}

.main-nav a {
    color: var(--dark-color);
    text-decoration: none;
    font-family: var(--content-font);
    font-weight: 600;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* ヒーローセクション */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-text h2 {
    font-family: var(--handwritten-font);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-text p {
    font-family: var(--content-font);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* セクション共通 */
.section-title {
    font-family: var(--handwritten-font);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* 人気ツールセクション */
.popular-tools-section {
    padding: 60px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tool-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tool-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tool-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tool-badge.is-new {
    background-color: var(--primary-color);
}

.tool-content {
    padding: 20px;
}

.tool-content h3 {
    font-family: var(--handwritten-font);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.tool-content p {
    margin-bottom: 20px;
    color: var(--dark-color);
    opacity: 0.8;
    font-family: var(--content-font);
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tool-rating i {
    color: #ffc107;
}

.more-tools {
    text-align: center;
}

/* 会員セクション */
.membership-section {
    background-color: var(--light-color);
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.plan-card {
    background-color: white;
    border-radius: var(--border-radius);
    border: 2px solid #eee;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    transition: var(--transition);
    position: relative;
}

.plan-card::before {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    z-index: -1;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.plan-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-header h3 {
    font-family: var(--handwritten-font);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.plan-price {
    font-family: var(--handwritten-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-features {
    margin-bottom: 25px;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
    font-family: var(--content-font);
}

.plan-features li i {
    color: var(--primary-color);
}

.plan-action {
    text-align: center;
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-family: var(--handwritten-font);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-family: var(--content-font);
}

/* フッター */
.site-footer {
    background-color: white;
    padding: 60px 0 30px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-family: var(--handwritten-font);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
    font-family: var(--content-font);
}

.footer-links h4 {
    font-family: var(--handwritten-font);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
    opacity: 0.7;
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--handwritten-font);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 検索セクション */
.search-section {
    background-color: white;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    width: 100%;
    max-width: 600px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
}

.search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: var(--secondary-color);
}

.filter-tabs {
    display: flex;
    justify-content: center;
}

.filter-tabs ul {
    display: flex;
    border-bottom: 1px solid #eee;
}

.filter-tabs li {
    margin: 0 15px;
}

.filter-tabs a {
    display: block;
    padding: 10px 5px;
    position: relative;
    font-weight: 500;
    cursor: pointer;
}

.filter-tabs li.active a {
    color: var(--primary-color);
}

.filter-tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* ツール一覧セクション */
.tools-section {
    padding: 50px 0;
    background-color: var(--light-color);
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.tag {
    background-color: #f0f0f0;
    color: var(--dark-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.no-results {
    text-align: center;
    padding: 40px 0;
}

.no-results p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

/* お問い合わせフォーム */
.contact-section {
    background-color: white;
    padding: 60px 0;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
}

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.required {
    color: #e74c3c;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.input-icon input,
.input-icon select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.input-icon input:focus,
.input-icon select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.success-message {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    margin-top: 30px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #3c763d;
    cursor: pointer;
    font-size: 1.2rem;
}

.success-icon {
    font-size: 3rem;
    color: #3c763d;
    margin-bottom: 15px;
}

.success-message h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* FAQ セクション */
.faq-section {
    background-color: var(--light-color);
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
}

.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px 15px;
    color: var(--dark-color);
    opacity: 0.8;
}

.faq-more {
    text-align: center;
    margin-top: 30px;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav li {
        margin: 0.5rem 0;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .filter-tabs ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-tabs li {
        margin: 5px 10px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
}

.philosophy-item p {
    padding-left: 40px;
    color: var(--dark-color);
    opacity: 0.8;
}

.philosophy-image {
    flex: 1;
    text-align: center;
}

.philosophy-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 992px) {
    .philosophy-content {
        flex-direction: column;
    }
    
    .philosophy-image {
        order: -1;
        margin-bottom: 30px;
    }
}

/* お問い合わせページのスタイル */
.contact-info-section {
    background-color: var(--light-color);
    padding: 60px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
}

.contact-info-card p {
    margin-bottom: 20px;
    color: var(--dark-color);
    opacity: 0.8;
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.guide-launch {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  gap: 2px;
  background: #fff;
  color: #1976d2;
  border-radius: 12px;
  padding: 3px 10px 3px 10px;
  font-size: 0.97em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 4px rgba(25,118,210,0.07);
  min-height: 28px;
  min-width: 60px;
}
.guide-launch i {
  color: #1976d2;
  font-size: 1em;
  margin-right: 2px;
  transition: color 0.2s;
}
.guide-launch span {
  color: #1976d2;
  font-size: 0.88em;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.guide-launch:hover {
  background: #e3f2fd;
}
.guide-launch:hover i,
.guide-launch:hover span {
  color: #1565c0;
}