@charset "utf-8";
:root{
    --color-black: #323231;
    --color-white: #fff;
    --color-gray: #575757;
    --color-graylight: #6D6D6D;
}

.section--about{
    padding: 80px 5.3% 120px;
}

.name-en{
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.name-jp{
    font-size: 2.4rem;
    margin-bottom: 24px;
}

.profile__txt{
    font-size: 1.3rem;
    line-height: 1.77;
}

.abouticon{
    display: flex;
    gap: 8px;
    margin: 9px 0 9px;
}

.abouticon img{
    width: 12px;
}

/* これまでの歩み */
.career-container{
    padding-top: 72px;
}

.career-title{
    font-size: 2.7rem;
    font-family: 'EB Garamond' ,'sans-serif';
    display: flex;
    margin-bottom: 24px;
}

.sub-title{
    font-size: 1rem;
    margin-bottom: 8px;
}

.timeline {
  position: relative;
  border-left: 1px solid var(--color-gray);
  padding-left: 30px;
  margin-left: 10px;
}

/* 各項目 */
.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

/* 黄色のドット */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33.5px;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: #EDAC0A;
  border-radius: 50%;
}

/* 日付部分 */
.date {
  font-size: 1.2rem;
  color: var(--color-gray);
  margin-right: 18px;
}

/* テキスト内容 */
.content {
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

/* 最後の項目の下の余白を調整 */
.timeline-item:last-child {
  margin-bottom: 0;
}

.aboutborder{
    border: 0.5px solid #81807F;
    margin-top: 40px;
}

.myphoto{
    width: 50vw;
    margin-bottom: 24px;
}

/* アバウト　タブレット　769px */
@media screen and (min-width:769px){
    .section--about{
        padding: 120px 8.1% 200px;
    }

    .section__subtitle--about{
        font-size: 1.7rem;
        margin-bottom: 8px;
    }

    .profile{
        display: flex;
        gap: 90px;
        justify-content: center;
        align-items: flex-start;
        margin: 0 auto;
        padding: 0 11% 0;
    }

    .name-jp{
        font-size: 3.2rem;
    }

    .profile__txt{
        font-size: 1.5rem;
        line-height: 1.533;
    }

    .sub-title{
        font-size: 1.3rem;
    }

    .career-title{
        font-size: 3.6rem;
    }

    .career--contents{
        display: flex;
    }

    .career-container{
        padding: 72px 11% 0;
    }

    .date{
        font-size: 1.6rem;
        margin-right: 87px;
    }

    .content{
        font-size: 1.5rem;
    }

    .aboutborder{
        margin-top: 98px;
    }
}

@media screen and (min-width: 1025px){
    .career-container{
        display: flex;
        gap: 6.25vw;
        justify-content: flex-end;
    }
}

/* スキル */
.skill-container{
    padding-top: 80px;
}

.skill-title{
    font-size: 3.2rem;
    margin-bottom: 40px;
}

.category-title {
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

/* アイコン画像の設定 */
.skill-icon {
  width: 14px;
  height: auto;
  margin-right: 8px;
    animation-name: spin;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 説明文 */
.description {
  line-height: 1.77;
  font-size: 1.3rem;
  margin-bottom: 24px;
}

/* タグのコンテナ */
.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.45vw;
}

/* スキルタグ単体 */
.skill-tag {
  border: 1px solid #81807F;
  padding: 7px 12px;
  font-size: 1.4rem;
}

.skill-category{
    margin-bottom: 72px;
}

/* スキル　タブレット　769px */
@media screen and (min-width: 769px){
    .skill-title{
        font-size: 5.6rem;
        margin-bottom: 98px;
    }

    .skill-detail{
        display: flex;
        gap: 10.5vw;
        padding: 0 11% 0;
    }

    .description{
        font-size: 1.4rem;
        line-height: 1.71;
        margin-bottom: 32px;
    }
}

/* 大切にしていること */
.value-container{
    padding: 80px 0 ;
}

/* 大切にしていること　769px */
@media screen and (min-width: 769px){
    .value-detail{
        display: flex;
        gap: 5.55vw;
        width: 75.694vw;
        margin: 0 auto;
    }

    .category-title{
        margin-bottom: 33px;
        font-weight: 500;
        font-size: 3.2rem;
    }
}

/* イラストレータースライダー */
.irare-txt{
    margin-bottom: 60px;
    text-align: center;
    font-size: 1.3rem;
}

.illustrator{
    display: flex;
    gap: 12px;
}

.illustrator img{
    width: 24.8vw;
}

.illustrator-wrapper {
  overflow: hidden;
  width: 100%;
}

.illustrator {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: loop-scroll 20s linear infinite;
}

.illustrator img {
  width: 24.8vw;
  flex-shrink: 0;
}

/* ループアニメーションの定義 */
@keyframes loop-scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* 半分（1セット分）進んだら最初に戻る */
    transform: translateX(calc(-50% - 6px)); /* 6pxはgapの半分 */
  }
}

/* テキストのスタイル（既存コード） */
.irare-txt {
  margin-bottom: 60px;
  text-align: center;
  font-size: 1.3rem;
}

/* イラストレーター　769px */
@media screen and (min-width: 769px){
    .irare-txt{
        font-size: 1.6rem;
        padding-top: 100px;
    }

    .illustrator{
        gap: 3.33vw;
    }

    .illustrator img{
        width: 17.91vw;
    }
}