@charset "utf-8";

/*==========================
common
==========================*/

.aboutpage-section-titlebox {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  /* 
    例: タイトル背景画像などを使う場合
    background-image: url(../../images/history-icon.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 110px auto;
  */
}

/*
.aboutpage-section-titlebox__skill {
  background-image: url(../../images/skill-icon.png);
}
.aboutpage-section-titlebox__experience {
  background-image: url(../../images/experience-icon.png);
}
.aboutpage-section-titlebox__book {
  background-image: url(../../images/book-icon.png);
}
.aboutpage-section-titlebox__life {
  background-image: url(../../images/life-icon.png);
}
*/

.title-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  z-index: -1;
}

.aboutpage-section-title {
  font-family: Montserrat;
  font-size: 7rem;
  font-weight: bold;
  text-align: left;
  position: relative;
  letter-spacing: 5px;

  /* 
    背景アイコンを使う場合は ::before などで設定
    background-image: url(../../images/experience-icon.png);
  */
}

.aboutpage-section-subtitle {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 3px;
}

.aboutpage-section-title::before {
  content: "";
  background-size: contain;
  display: block;
  width: 100px;
  height: 50px;
  margin-right: 15px;
}

/* タブレット対応 */
@media (max-width: 768px) {
  .aboutpage-section-titlebox {
    padding: 0 12px;
  }
  .aboutpage-section-title {
    font-size: 4rem;
  }
  .aboutpage-section-subtitle {
    font-size: 1.8rem;
  }
}


/*==========================
About Section
==========================*/

.about-section {
  margin: 0 auto;
  padding-left: 4.3%;
  background: linear-gradient(0deg, #F5F1D9 0%, #FFD37F 33.5%, #C7DFF5 90%);
}

/* About タイトルボックス */
.about-title-box {
  text-align: left;
  font-family: Montserrat;
  padding-top: 85px;
}

/* 大きな「About」タイトル */
.about-title {
  font-size: 17rem;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  opacity: 0.9;
}

/* メインコンテンツ */
.about-content {
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.about-text-box {
  bottom: -73px;
  background-color: #fff;
  border-radius: 24px;
  padding: 50px;
  width: 509px;
  position: absolute;
}

/* テキスト情報（左側） */
.about-text {
  flex: 1;
  text-align: left;
  max-width: 40%;
}

.about-name-box {
  display: flex;
  gap: 23px;
  align-items: center;
  border-bottom: 1px solid #152736;
}

/* 名前 */
.about-name {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 読み（例:英名など） */
.about-en {
  font-size: 2.5rem;
  font-weight: 600;
}

/* プロフィール情報 */
.profile-info {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.8;
}

/* プロフィール画像（右端いっぱいに広げる） */
.profile-img {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  height: 502px;
}
.profile-img img {
  width: 100%;
  max-width: 1144px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  object-position: 0 -56px;
}

/* 右からフェードイン */
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.fade-in-right {
  opacity: 0;
  animation: fadeInRight 1.2s ease-out forwards;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .about-section {
    padding-top: 30px;
  }
  .about-title {
    font-size: 6rem;
  }
  .about-name {
    font-size: 1.6rem;
  }
  .about-en {
    font-size: 1.4rem;
  }
  .profile-info {
    font-size: 1.6rem;
    text-align: left;
  }
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-text-box {
    max-width: 100%;
    text-align: center;
  }
  .profile-img {
    height: 320px;
  }
  .profile-img img {
    width: 90%;
    object-position: 0 -20px;
  }
  .about-text-box {
    width: 261px;
    height: 106px;
    top: 200px;
  }
}

@media (max-width: 425px) {
  .about-title {
    font-size: 5rem;
  }
  .about-subtitle {
    font-size: 1.6rem;
  }
  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .about-text {
    max-width: 100%;
    text-align: center;
  }
  .profile-img {
    height: 218px;
  }
  .profile-img img {
    width: 100%;
  }
  .about-text-box {
    width: 228px;
    height: 120px;
    top: 140px;
    padding: 20px 20px;
  }
}


/*==========================
コンテナの基本レイアウト
==========================*/
.history-container {
  margin: 0 auto;
  padding: 0 2%;
}


/*==========================
左側メニュー（追従）
==========================*/
.history-menu {
  position: sticky;
  top: 150px;
  left: 0;
  width: 150px;
  font-size: 2.5rem;
  font-family: Montserrat;
}
.history-menu ul {
  list-style: none;
  padding: 0;
}
.history-menu li {
  margin-bottom: 10px;
}
.history-menu a {
  text-decoration: none;
  color: #222;
  font-weight: bold;
  transition: color 0.3s;
}
.history-menu a:hover {
  color: #ff7f50;
}

@media (max-width: 768px) {
  .history-menu {
    display: none;
  }
  .history-container {
    padding: 0;
  }
}


/*==========================
右側コンテンツ
==========================*/
.history-container .aboutpage-section-title span{
  color: #FFBA52;
}
.profile-wraper {
  background: linear-gradient(
    180deg,
    rgba(201, 185, 63, 0.20) 0%,
    rgba(217, 199, 63, 0.20) 35%,
    rgba(202, 181, 9, 0.20) 81%
  );
  padding-top: 150px;
}

/* タイムラインのリスト */
.history-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
  margin: 0 auto;
  max-width: 1200px;
}
.history-timeline li {
  padding: 20px;
  font-size: 1.6rem;
  display: flex;
  width: 100%;
}
.history-timeline .year {
  font-size: 1.6rem;
  margin-right: 16px;
}

@media (max-width: 768px) {
  .history-timeline {
    gap: 0;
    margin: 12px;
    padding-left: 0;
  }
  .history-timeline li {
    flex-direction: column;
  }
  .profile-wraper {
    padding-top: 80px;
  }
}


/*==========================
Skill Section
==========================*/

.skill-container {
  background: linear-gradient(180deg, #F6F2D5 0%, #D3EBCF 19.5%, #CEE9E3 100%);
  margin: 0 auto;
  padding: 100px 20px;
}

.skill-container .aboutpage-section-title span{
  color: #5CB956;
}

/* スキルリスト */
.skill-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.skill-category {
  padding: 20px;
  max-width: 280px;
  /* width: 100%; */
  text-align: left;
}
.skill-title {
  background: #F4A640;
  color: #fff;
  padding: 15px;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
}
.skill-items {
  font-size: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 18px;
  font-weight: 400;
  line-height: 1.8;
}


/* タブレット */
@media (max-width: 768px) {
  .skill-title {
    font-size: 1.8rem;
  }
  .skill-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .skill-category {
    text-align: center;
  }
}

/* スマホ */
@media (max-width: 480px) {
  .skill-container {
    padding: 40px 20px;
  }
  .skill-list {
    grid-template-columns: 1fr;
    /* max-width: 100%; */
  }
  /* .skill-category {
    max-width: 100%;
  } */
}


/*==========================
Experience Section
==========================*/

.experience-section {
  background: linear-gradient(180deg, #CEE9E3 0%, #D7E2F2 21.5%, #EBF1F9 89.5%, #FFF 100%);
}

.experience-section .aboutpage-section-title span{
  color: #71ACF6;
}

/* グリッドレイアウト */
.experience-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.experience-category {
  padding: 20px;
  text-align: left;
}

.experience-title {
  background: #D1AA65;
  color: #fff;
  padding: 15px;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
}

.experience-items {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 400;
  padding-top: 18px;
  font-size: 2rem;
  line-height: 1.8;
}



/* レスポンシブ */
@media (max-width: 768px) {
  .experience-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
  .experience-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .experience-list {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .experience-category {
    text-align: center;
  }
}


/*==========================
Book Section
==========================*/

.book-section {
  background: linear-gradient(180deg, #FFF 0%, #EAD7C8 21%, #EAD8C8 100%);
  padding: 100px 0;
  position: relative;
}

.book-container {
  max-width: 100%;
  margin: 0 auto;
}

.book-container .aboutpage-section-title span{
  color: #E1977F;
}

/* グリッドレイアウト */
.book-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  justify-content: center;
  background-image: url("../../images/book_backgraund.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.book-item {
  background: #1B3D2F;
  border: 5px solid #A18759;
  padding: 15px;
  text-align: center;
  position: relative;
  border-radius: 5px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.book-item:hover {
  transform: translateY(-10px);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

.book-item img {
  object-fit: cover;
  display: block;
  margin-top: 30px;
  max-width: 90%;
}

.book-item h3 {
  background: #fff;
  font-size: 1.8rem;
  padding: 5px 10px;
  font-weight: bold;
  color: #333;
  width: 90%;
  text-align: center;
  border-radius: 5px;
  transition: color 0.3s ease;
}

.book-item:hover h3 {
  color: #A18759;
}

/* タブレット */
@media (max-width: 768px) {
  .book-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .book-item h3 {
    font-size: 1.6rem;
    padding: 5px;
  }

}

/* スマホ */
@media (max-width: 425px) {
  .book-list {
    grid-template-columns: 1fr;
    background-image: none !important; /* 背景画像を非表示 */
  }
  .book-item {
    margin: 0 auto;
  }
}


/*==========================
LIFE Section
==========================*/

.life-section {
  background: linear-gradient(180deg, #EAD8C8 0%, #F2F2F2 36%, #F5F5F5 100%);
}

.life-box {
  padding: 0 2.3%;
  overflow: hidden;
}

.life-section  .aboutpage-section-title span{
  color: #CAB509;
}

.life-section-text {
  font-size: 1.6rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: left;
}
.life-section-text-box {
  background-color: #fff;
  padding: 85px 64px;
  border-radius: 67px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 40px auto;
}

.article-link {
  text-align: end;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 40px;
  font-size: 1.8rem;
}
.article-link p {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: right;
}

.article-link-btn{
  display: inline-flex;
}

.article-link img {
  width: 36px; 
  height: auto;
  padding-left: 10px;
}
.article-link em {
  display: block;
  font-size: 1.6rem;
  color: #666;
  text-align: right;
  margin-bottom: 10px;
}
.article-link a:hover {
  text-decoration: underline;
}

.life-photo {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 100px;
  max-width: 1040px;
  margin: 0 auto;
}
.life-photo img {
  width: 30%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Slickスライダー */
.slick-slider {
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 0 !important;
}
.slick-slider img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* スライダー矢印ボタン */
.slick-prev,
.slick-next {
  z-index: 10;
  width: 40px;
  height: 40px;
}
.slick-prev::before,
.slick-next::before {
  color: #333;
  font-size: 24px;
}

/* タブレット対応 */
@media (max-width: 768px) {
  #life p {
    font-size: 1.6rem;
  }
  .article-link {
    padding: 20px;
  }
  .article-link p {
    font-size: 1.4rem;
  }
  .life-photo {
    flex-direction: column;
    align-items: center;
  }
  .life-photo img {
    width: 80%;
  }
  .life-section-text-box {
    padding: 25px 38px;
    margin: 12px 17px;
  }
  .slick-slider {
    max-width: 100%;
  }
}

/* スマホ対応 */
@media (max-width: 425px) {
  #life p {
    font-size: 1.6rem;
    text-align: left;
  }
  .article-link {
    text-align: end;
  }
  .life-photo img {
    width: 100%;
  }
}