/* ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

body {
    background-color: #fff;
    color: #000000;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #000000;
    transition: all 0.3s ease;
}

section {
    padding: 80px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #000000;
}

/* ヘッダースタイル */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

header.scrolled {
    background-color: #ea536b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.social-icons {
    display: flex;
    align-items: center;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.social-icons a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.2rem;
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-align: center;
    background-color: #fcf9f9;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fcf9f9;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #ea536b;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #d73e56;
    transform: translateY(-3px);
}

/* プロフィールセクション */
.profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.profile-image {
    width: 40%;
    padding: 20px;
}

.profile-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.profile-content {
    width: 55%;
    padding: 20px;
}

.profile-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ea536b;
}

.profile-info {
    margin-bottom: 20px;
}

.profile-info p {
    margin-bottom: 10px;
}

/* 経歴セクション */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ea536b;
}

.timeline-item {
    padding: 20px 30px;
    position: relative;
    background-color: #fcf9f9;
    border-radius: 6px;
    width: calc(50% - 40px);
    margin-bottom: 20px;
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #ea536b;
    border-radius: 50%;
    top: 20px;
}

.timeline-item:nth-child(odd)::before {
    left: -47.5px;
}

.timeline-item:nth-child(even)::before {
    right: -47.5px;
}

.date {
    font-weight: 600;
    color: #ea536b;
    margin-bottom: 10px;
}

/* 政策セクション */
.policies {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.policy-card {
    background-color: #fcf9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.policy-icon {
    font-size: 2.5rem;
    color: #ea536b;
    margin-bottom: 20px;
}

.policy-card h3 {
    margin-bottom: 15px;
    color: #ea536b;
}

/* 講演会セクション */
.events {
    text-align: center;
}

.event-list {
    margin-bottom: 40px;
}

.event-card {
    background-color: #fcf9f9;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.event-date {
    font-weight: 600;
    color: #ea536b;
    margin-bottom: 10px;
}

.event-location {
    font-style: italic;
    margin-bottom: 10px;
}

.google-form {
    max-width: 800px;
    margin: 0 auto;
}

.google-form h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}

.google-form iframe {
    width: 100%;
    height: 1000px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* SNSセクション */
.social-section {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20px;
}

.social-icon {
    width: 60px;
    height: 60px;
    background-color: #ea536b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: #d73e56;
}

.portrait-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.portrait-wrapper-container {
  text-align: center;
}

.portrait {
  width: 350px;     /* ← 好きなサイズに調整！ */
  max-width: 90%;   /* スマホでも崩れないように */
  height: auto;
  display: block;
  border-radius: 8px; /* オプションで角丸も */
}

.portrait-wrapper .copyright {
  display: block;
  font-size: 0.7rem; /* ← 文字を小さく */
  color: #555;
  text-align: center;
  margin-top: 4px;
}

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

.footer-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px; 
    max-width: none; 
}

.footer-social i {
    color: white;
    font-size: 2rem; /* お好みで調整。例: 1.5rem, 2rem, 2.5remなど */
    margin: 0 10px;   /* アイコンの間隔調整 */
}

.copyright {
    margin-top: 20px;
    font-size: 1.2rem;
    color: white;
}

/* カウントダウンスタイル */
.countdown-container {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.countdown-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ea536b;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item div:first-child,
.countdown-item span:first-child {
    font-size: 3.5rem;
    width: 90px;
    height: 90px;
    font-weight: 700;
    color: #ea536b;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}


.countdown-label {
    font-size: 1.5rem;
    color: #666;
}

.countdown-finished {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ea536b;
}

/* アニメーション関連スタイル */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

/* モバイルメニュースタイル */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* フォームバリデーションスタイル */
.is-invalid {
    border-color: #ea536b !important;
}

.error-message {
    color: #ea536b;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    header {
        padding: 15px 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        padding: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .profile-image, .profile-content {
        width: 100%;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        margin-left: 40px !important;
    }
    
    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: -32.5px;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item span:first-child {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
  .countdown-item div:first-child,
  .countdown-item span:first-child {
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
  }

  .countdown-label {
    font-size: 0.9rem;
  }

  .countdown {
    gap: 10px;
  }
}

