/*
Theme Name: はじめてのドローン撮影体験テーマ
Author: hajimetenodrone
Description: はじめてのドローン撮影体験ウェブサイト用のオリジナルテーマです。
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
    --bg-color: #FDFBF5; 
    --text-color: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}

blockquote {
    margin: 40px 0; /* 上下の余白 */
    padding: 20px 30px; /* 内側の余白（特に左側でインデント） */
    background-color: #f7f7f7; /* 背景色を少し変える */
    border-left: 5px solid #00BFFF; /* 左側に青い線を引く */
    font-style: italic; /* テキストを斜体にする */
    color: #555; /* テキストの色を少し濃いグレーに */
    border-radius: 0 8px 8px 0; /* 右側の角を少し丸める */
}

blockquote p {
    margin: 0; /* 引用内の段落の余白をなくす */
}

.article-container b {
    margin: 60px 0 0;
    display: block;
}



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

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.site-logo {
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    z-index: 100;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 35px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    padding-bottom: 5px;
    transition: border-color 0.3s;
}

.main-nav a:hover {
    border-bottom: 2px solid var(--text-color);
}

.header-cta {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #87CEEB 0%, #00BFFF 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.5);
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 120px 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 20px 0;
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
}

/* Main Visual */
.main-visual {
    margin: -60px auto 0 auto;
    max-width: 1280px;
    padding: 0 20px;
}

.main-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Content Sections */
.content-section {
    padding: 120px 0;
}
.content-section h2, .gallery-section h2, .blog-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.section-subtitle {
    text-align: center;
    color: #555;
    margin-top: -15px;
    margin-bottom: 60px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.feature-item {
    text-align: center;
}
.feature-item h3 {
    font-size: 1.5rem;
}

/* Plan Section */
.plan-section {
    background-color: #fff;
}
.plan-section h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-top: 80px;
    margin-bottom: 30px;
}
.plan-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 60px auto;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
}
.plan-table th, .plan-table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}
.plan-table th {
    background-color: #f9f9f9;
    width: 30%;
    font-weight: 700;
}

/* Flow/Steps Section */
.flow-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    counter-reset: step-counter;
}
.flow-list::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 30px;
    width: 4px;
    height: calc(100% - 40px);
    background-color: #87CEEB;
}
.flow-list li {
    position: relative;
    padding: 0 0 40px 80px;
}
.flow-list li::before {
    content: "step" counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: -5px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #00BFFF;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--bg-color);
}
.flow-list h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}
.flow-list p {
    margin: 0;
    color: #555;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
}
.scrolling-wrapper {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}
.scrolling-inner {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollAnimation 40s linear infinite;
}
.scrolling-inner img {
    height: 300px;
    width: auto;
    border-radius: 10px;
}
@keyframes scrollAnimation {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.blog-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease;
}
.blog-item:hover {
    transform: translateY(-5px);
}
.blog-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.blog-content {
    padding: 20px;
}
.blog-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}
.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.blog-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}
.blog-button-area {
    text-align: center;
    margin-top: 60px;
}
.blog-button {
    display: inline-block;
    background-color: #e0e0e0;
    color: var(--text-color);
    padding: 15px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}
.blog-button:hover {
    background-color: #d0d0d0;
}

/* CTA Section */
.cta-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, #87CEEB 0%, #00BFFF 100%);
    text-align: center;
    color: white;
}
.cta-section h2 {
    font-size: 2.2rem;
    margin: 0 0 20px 0;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}
.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
}
.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #00BFFF;
    padding: 20px 40px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 50px 20px;
    color: #888;
    font-size: 0.9rem;
}
.site-footer p {
    margin: 10px 0;
}
.site-footer a {
    color: #666;
    text-decoration: underline;
}
.site-footer a:hover {
    color: #000;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }
    .site-header {
        padding: 15px 20px;
    }
    .site-logo {
        font-size: 1.2rem;
    }
    .menu-toggle {
        display: block;
        position: relative;
        width: 30px;
        height: 25px;
        cursor: pointer;
        z-index: 100;
        border: none;
        background: transparent;
        padding: 0;
    }
    .menu-toggle span {
        display: block;
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--text-color);
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }
    .menu-toggle span:nth-child(1) { top: 0; }
    .menu-toggle span:nth-child(2) { top: 11px; }
    .menu-toggle span:nth-child(3) { bottom: 0; }

    .menu-toggle.is-active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(253, 251, 245, 0.95);
        backdrop-filter: blur(5px);
        z-index: 10;
    }
    .main-nav.is-active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        height: 100%;
    }
    .main-nav a {
        font-size: 1.5rem;
    }
    .header-cta {
        display: none;
    }
    .hero {
        padding: 80px 0;
    }
    .content-section h2, .gallery-section h2, .blog-section h2, .cta-section h2 {
        font-size: 1.8rem;
    }
    .plan-section h3 {
        font-size: 1.5rem;
    }
    .flow-list {
        padding-left: 10px;
    }
    .flow-list::before {
        left: 20px;
    }
    .flow-list li {
        padding: 0 0 30px 60px;
    }
    .flow-list li::before {
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
        border-width: 3px;
    }
    .scrolling-inner img {
        height: 200px;
    }
    .cta-section {
        padding: 60px 20px;
    }
}

/* Mobile CTA Button */
.mobile-cta {
    display: none;
}
@media (max-width: 900px) {
    .mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.2;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, #87CEEB 0%, #00BFFF 100%);
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.9rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        z-index: 90;
    }
}

/* スマホ用（幅 768px 以下） */
@media (max-width: 768px) {
    .hero-title {
      font-size: 2rem;  /* スマホは少し小さめ */
      line-height: 1.3;
    }
  
    /* PC用改行はスマホで非表示 */
    .br-pc { display: none; }
  
    /* スマホ専用改行は表示 */
    .br-sp { display: inline; }
  }
  
  /* PC用（幅 769px 以上） */
  @media (min-width: 769px) {
    .br-pc { display: inline; }
    .br-sp { display: none; }
  }


/* WordPress固定ページ用CSS - わたしたちについて */
.about-page-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(135deg, #e6f3ff 0%, #b3d9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 -20px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 300;
    color: #2c5282;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* 背景装飾 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="grad" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.3)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="20" cy="20" r="2" fill="rgba(59,130,246,0.3)"/><circle cx="80" cy="30" r="1.5" fill="rgba(59,130,246,0.2)"/><circle cx="60" cy="70" r="1" fill="rgba(59,130,246,0.4)"/><circle cx="30" cy="80" r="1.2" fill="rgba(59,130,246,0.3)"/></svg>');
    opacity: 0.6;
}

/* メインコンテンツ */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* セクションタイトル */
.section-title {
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    color: #2d3748;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

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

/* カードコンテナ */
.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* サービスカード */
.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

/* カード画像エリア */
.card-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.personal-card .card-image {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.business-card .card-image {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.card-icon {
    font-size: 4rem;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* カードコンテンツ */
.card-content {
    padding: 40px 30px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.card-category {
    font-size: 0.9rem;
    color: #a0aec0;
    margin-bottom: 20px;
    font-weight: 300;
}

.card-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 30px;
    font-weight: 300;
}

.card-features {
    list-style: none;
    margin-bottom: 35px;
}

.card-features li {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-weight: 300;
}

.card-features li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #4299e1;
    border-radius: 50%;
}

/* CTA ボタン */
.card-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-align: center;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: block;
    width: 100%;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.personal-card .card-cta {
    background: linear-gradient(135deg, #ff9a56 0%, #ffad56 100%);
}

.business-card .card-cta {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.card-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.service-card:hover .card-cta:before {
    left: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 450px;
        margin: 0 -16px;
    }

    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .main-content {
        padding: 60px 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
        max-width: none;
    }

    .card-content {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .card-image {
        height: 160px;
    }

    .card-icon {
        font-size: 3.2rem;
    }

    .card-content {
        padding: 24px 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }
    .site-footer p {
        font-size: 10px;
    }
    .cta-section p {
        font-size: 1rem;
    }
    .cta-button {
        font-size: 1rem;
    }
}

/* アニメーション */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 追加の装飾要素 */
.decorative-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: 1;
}

.business-card .decorative-element {
    background: rgba(78, 205, 196, 0.1);
}

.personal-card .decorative-element {
    background: rgba(255, 154, 86, 0.1);
}

/* WordPressテーマとの競合回避 */
.about-page-wrapper * {
    box-sizing: border-box;
}

.about-page-wrapper a {
    text-decoration: none;
}

.about-page-wrapper a:hover {
    text-decoration: none;
}

#page {
    overflow: hidden;
}

.article-container p b, .article-container p strong {
    display: block;
    margin: 2em 0 1em 0;
    font-weight: 700;
}