/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


@import url('./css/contact.css');


/*縦線 */
.vertical-line {
  width: 2px;          /* 線の太さ */
  height: 100px;       /* 線の長さ */
  background-color: #fff; /* 線の色 */
}




/* ==========================
CSS
========================== */

/* タイムライン全体 */
.timeline {
  position: relative;
  margin: 10px;
  padding: 0 20px;
  max-width: 700px;
  font-family: "Noto Sans JP", sans-serif;
  color: #3b3128;
}

/* 縦線 */
.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50px;
  width: 2px;
  height: 100%;
  background: #cba96b;
}

/* 各アイテム */
.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 150px;
}

/* 年の部分 */
.timeline-year {
  position: absolute;
  left: 70px;
  width: 80px;
  font-size: 20px;
  font-weight: 700;
  color: #4b3822;
}

/* 内容部分 */
.timeline-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

/* 丸アイコン */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 25px;
  width: 15px;
  height: 15px;
  background: #cba96b;
  border-radius: 50%;
}

/* --- View More ボタン --- */
.view-more-wrapper {
  text-align: left; /* ← 左寄せに変更 */
  margin-top: 10px;
  margin-left: 10px; /* タイムラインの線に合わせて少し右に寄せる調整値 */
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px; /* テキストと矢印の間隔 */
  color: #000000; /* テキスト白 */
  background: none; /* 背景なし */
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s;
  text-decoration: none;
}

.view-more-btn:hover {
  opacity: 0.7;
}

/* 矢印部分 */
.view-more-btn .arrow {
  font-size: 18px;
  transition: transform 0.3s;
}



/* --- ポップアップ --- */
.popup-toggle {
  display: none;
}

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.popup-toggle:checked + .popup-overlay {
  display: flex;
}

.popup-content {
  position: relative;
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* 閉じるボタン */
.popup-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  color: #888;
  cursor: pointer;
  transition: color 0.3s;
}
.popup-close:hover {
  color: #333;
}

/* タイトル */
.popup-content h2 {
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
  color: #4b3822;
}

/* ポップアップ内タイムラインも同じデザインで */
.popup-timeline::before {
  background: #cba96b;
}

/* --- レスポンシブ対応（スマホ）--- */
@media screen and (max-width: 600px) {
  .timeline {
    padding-left: 10px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 100px;
  }

  .timeline-year {
    left: 30px;
    width: 60px;
    font-size: 18px;
  }

  .timeline-item::before {
    left: 2px;
  }

  .timeline-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .popup-content {
    padding: 20px;
  }
}
