/* =====================================================
   DAISO インターンシップ - 店舗経営体験ページ固有CSS
   ===================================================== */

/* =====================================================
   ヒーロー
   ===================================================== */
.shop-hero {
  position: relative;
  background: url("../images/hero_bg01.svg")no-repeat top right/1920px;
  background-color: var(--color-bg-gray);
  /* fixed header 35px + height ~60px + margin */
  padding-top: 80px;
  padding-bottom: 0;
}

.shop-hero-title {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 24px;
}

.shop-hero-illust {
  margin-bottom: -100px;
  position: relative;
  z-index: 9999;
}

.shop-hero-desc {
  font-size: 1.25rem;
  color: var(--color-text);
  line-height: 1.8;
}

.shop-hero-illust {
  text-align: center;
  position: relative;
  z-index: 1;
}

.shop-hero-illust img {
  max-width: 100%;
  height: auto;
}

.reccomennd-images {
  max-width: 340px;
  margin: auto;
  bottom: -455px;
  position: relative;
}

/* =====================================================
   DAISO店舗経営仕事体験とは？
   ===================================================== */
.about {
  background:
    url(../images/slash_bg.svg)no-repeat top left/100% 50%,
    url("../images/slash_bg02.svg")no-repeat top 70% left 0/60% auto;
  background-color: var(--color-white);
  padding: 250px 0 200px;
}

.about-desc {
  font-size: 1.25rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* 特徴アイコン列 */
.features {
  display: flex;
  justify-content: space-around;
  gap: 1%;
  margin: 60px 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 16%;
  text-align: center;
  background: #f2f2f2;
  border-radius: 10px;
  padding: 1.5rem 1rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}

.about-box {
  background:
    url("../images/about-box.svg")no-repeat top left/100% 100%;
  padding: 2rem 3rem 1rem 2rem
}

.about-images {}

.about-images img {
  aspect-ratio: 9/14;
  object-fit: cover;
  object-position: center center;
}

/* 写真ギャラリー（無限スクロール） */
.photos-wrap {
  overflow: hidden;
  width: 100%;
  margin-top: 48px;
}

.photos-track {
  display: flex;
  width: max-content;
  animation: shopPhotoScroll 20s linear infinite;
  will-change: transform;
}

.photo-item {
  flex-shrink: 0;
  width: 400px;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 30px;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-item--single {
  padding: 20px 0;
}

/* 縦2枚並び */
.photo-item--double {
  display: flex;
  flex-direction: column;
  gap: 26px;
  background: none;
  overflow: visible;
}

.photo-item--double .illust-placeholder,
.photo-item--double img {
  flex: 1;
  width: 60%;
  border-radius: 8px;
  object-fit: cover;
  overflow: hidden;
}

.photo-item--double img:last-child {
  margin-left: auto;
}

@keyframes shopPhotoScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .photos-track {
    animation: none;
  }
}

/* =====================================================
   ストーリー
   ===================================================== */
.story {
  background:
    url(../images/program_bg01.svg) no-repeat top center / 1400px;
  background-color: var(--color-bg-gray);
  padding: 250px 0 200px;
}

.story-heading {
  color: var(--color-text);
  text-align: center;
}

.story-sub {
  font-size: 1.25rem;
  text-align: center;
  font-weight: 600;
}

.story-box {
  background: url("../images/shop-story-box-bg.svg")no-repeat bottom right/40%;
  background-color: var(--color-white);
  border: 2px solid #000000;
  box-shadow: 16px 16px 0 rgb(0 0 0/.1);
  padding: 40px 10%;
  position: relative;
  margin-bottom: 48px;
}

.story-box::before,
.story-box::after {
  content: '';
  background: url("../images/shop-story-box-icon.svg")no-repeat top left/100%;
  position: absolute;
  width: 110px;
  height: 51.5px;
  top: -16px;
}

.story-box::before {
  left: 10%;
}

.story-box::after {
  right: 10%;
}

.story-box-title {
  font-size: 2rem;
  text-align: center;
}

.story-box-title-sec {
  color: var(--color-text);
  font-size: 2rem;
  text-align: start;
  border-bottom: 2px solid var(--color-primary);
}

.story-box .gray-box {
  background: #ededed;
  border-radius: 5px;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.5rem 1rem;
}

.story-text {
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* =====================================================
   こんな人におすすめ
   ===================================================== */
.recommend {
  background: url("../images/hero_bg01.svg")no-repeat top right/130%, url("../images/hero_bg02.svg")no-repeat bottom left/50%;
  background-color: var(--color-primary);
  padding: 200px 0 250px;
}

.recommend-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 60px;
}

.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.recommend-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: var(--color-white);
  padding: .5rem;
}

.recommend-icon {
  width: 130px;
  height: 130px;
  border-radius: 3px;
  flex-shrink: 0;
  background-color: var(--color-bg-gray);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.recommend-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recommend-text {
  font-size: 1.6875rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
}

/* =====================================================
   ISの流れ
   ===================================================== */
.schedule {
  background-color: var(--color-white);
  padding: 200px 0;
}

.schedule-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 48px;
}

/* タブ */
.tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 700;
  background-color: #e0e0e0;
  color: var(--color-text-light);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-align: center;
  width: 50%;
  line-height: 1.2;
  border: 2px solid #fff;
  position: relative;
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.tab-btn.active::before {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 12px 0 12px;
  border-color: var(--color-primary) transparent transparent transparent;
}

/* タイムライン */
.timeline {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  background: #b2b2b2;
  top: 0;
  left: 50px;
  z-index: 1;
}

.timeline-item {
  background: #f6f6f6;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 20px 0;
  margin-bottom: 10px;
  position: relative;
}


.tab-content-area {
  position: relative;
}

#tab-keiei::before,
#tab-other::before {
  content: "";
  position: absolute;
  top: -40px;
  right: 30px;
  height: 185px;
  width: 175px;
  background: url("../images/schedule_img01.svg")no-repeat top center/100%;
  z-index: 2;
}

#tab-other::before {
  background: url("../images/schedule_img03.svg")no-repeat top center/100%;
  top: -20px;
}


#tab-keiei::after,
#tab-other::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: 30px;
  height: 150px;
  width: 365px;
  background: url("../images/schedule_img02.svg")no-repeat top center/100%;
  z-index: 2;
}

.timeline-item:last-child::before {}

.timeline-dot {
  width: 24px;
  height: 24px;
  background-color: var(--color-primary);
  border: 4px solid #f6f6f6;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-left: 40px;
  z-index: 1;
}

.timeline-time {
  width: 110px;
  font-size: 2.125rem;
  font-weight: 900;
  color: var(--color-text);
  text-align: left;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
}

.timeline-label {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.timeline-note {
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.6;
}

/* =====================================================
   参加者の声
   ===================================================== */
.voices {
  background:
    url(../images/slash_bg.svg) no-repeat top left / 200% 100%;
  background-color: white;
  padding: 200px 0;
}

.voices-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 60px;
}

.voice-card {
  background: url("../images/voices_img.svg")no-repeat top center/100% 100%;
  border-radius: 12px;
  padding: 32px 40px 200px 22px;
  height: 100%;
  position: relative;
}

.voice-card.one::before,
.voice-card.two::before,
.voice-card.thr::before,
.voice-card.fou::before,
.voice-card.fiv::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: 20px;
}

.voice-card.one::before {
  background: url("../images/voices_icon01.svg")no-repeat top center/100%;
  width: 133px;
  height: 230px;
}

.voice-card.two::before {
  background: url("../images/voices_icon02.svg")no-repeat top center/100%;
  width: 163px;
  height: 215px;
}

.voice-card.thr::before {
  background: url("../images/voices_icon03.svg")no-repeat top center/100%;
  width: 258px;
  height: 233px;
}

.voice-card.fou::before {
  background: url("../images/voices_icon04.svg")no-repeat top center/100%;
  width: 200px;
  height: 211px;
}

.voice-card.fiv::before {
  background: url("../images/voices_icon05.svg")no-repeat top center/100%;
  width: 175px;
  height: 197px;
}

.voice-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.voice-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.8;
  text-align: start;
}

/* =====================================================
   FAQ - ori
   ===================================================== */
.faq-section {
  padding-top: 50px;
}

/* =====================================================
   レスポンシブ
   ===================================================== */
@media (max-width: 991.98px) {

  .shop-hero {
    padding-top: 110px;
  }

  .shop-hero .g-5 {
    --bs-gutter-y: 1.5rem;
    --bs-gutter-x: 1.5rem;
  }

  .shop-hero .col-lg-6:first-child {
    overflow: hidden;
  }

  .about,
  .story,
  .recommend,
  .schedule,
  .voices {
    padding: 80px 0;
  }

  /* SHOP-HERO */
  .shop-hero-illust {
    max-width: 620px;
    margin: auto;
  }

  /* about */
  .about {
    background:
      url(../images/slash_bg.svg)no-repeat top left/400% 90%,
      url("../images/slash_bg02.svg")no-repeat top 95% left 0/80% auto;
    background-color: var(--color-white);
  }

  .about-images img {
    aspect-ratio: 3/2;
    object-fit: cover;
    object-position: center center;
  }

  /* story */
  .story {
    background:
      url(../images/program_bg01.svg) no-repeat top center / 180%,
      url(../images/program_bg02.svg) no-repeat bottom center / 180%;
    background-color: var(--color-bg-gray);
  }

  /* recommend */
  .reccomennd-images {
    bottom: -220px;
  }

  /* feature */
  .about-box {
    background:
      url("../images/about-box_sp.svg")no-repeat top left/100% 100%;
    padding: 4rem 3rem 5rem 2rem;
  }

  .features {
    gap: 2%;
    margin: 60px 0 20px;
    flex-wrap: wrap;
  }

  .feature-item {
    width: 48%;
    margin-bottom: 12px;
  }

  .photo-item {
    width: 300px;
    height: 220px;
  }

  /* story */
  .story-box {
    padding: 32px 28px;
    margin-bottom: 0;
  }

  /* Schedule */
  .schedule {
    overflow: hidden;
  }

  #tab-keiei::before,
  #tab-other::before {
    top: 3px;
    right: -50px;
    width: 130px;
    height: 122px;
  }

  #tab-other::before {
    top: 19px;
    right: -65px;
  }

  .timeline-item:last-child {
    padding-bottom: 150px;
  }

  #tab-keiei::after,
  #tab-other::after {
    bottom: -2px;
    right: 30px;
    height: 113px;
    width: 280px;
  }

  /* VOICE */
  .voices {
    overflow: hidden;
  }

  .voice-card {
    width: 85%;
    margin: auto;
  }

  .voice-title {
    font-size: 1.15rem;
  }

  .voice-text {
    font-size: .875rem;
  }

  .voice-card.one::before,
  .voice-card.two::before,
  .voice-card.thr::before {
    bottom: 15px;
    right: -15px;
  }

  .voice-card.one::before {
    width: 117px;
    height: 186px;
  }

  .voice-card.two::before {
    width: 149px;
    height: 182px;
  }

  .voice-card.thr::before {
    width: 205px;
    height: 180px;
  }

  /*  */
}

@media (max-width: 767.98px) {

  /* COMMON */
  .about,
  .story,
  .recommend,
  .schedule,
  .voices {
    padding: 80px 0;
  }

  /* HERO */
  .shop-hero {
    background: url(../images/hero_bg01.svg) no-repeat top right / 290%;
    background-color: var(--color-bg-gray);
    padding: 112px 0 0;
  }

  .shop-hero-illust {
    width: 90%;
    margin-bottom: -30px;
  }

  /* about */
  .about-box {
    padding: 2rem 1.75rem 2.5rem 1rem;
  }

  .feature-item {
    padding: 1rem;
    gap: 8px;
  }

  .feature-icon {
    margin-bottom: .5rem;
  }

  .feature-label {
    font-size: 1rem;
  }

  .photo-item {
    width: 240px;
    height: 180px;
  }

  /* Story */
  .story-sub {
    text-align: start;
  }

  .story-box .gray-box {
    margin: auto;
    margin-bottom: 1rem;
    width: 85%;
  }

  .story-box {
    padding: 60px 1rem 150px;
    margin-bottom: 0;
    background: url(../images/shop-story-box-bg.svg) no-repeat bottom right / 80%;
    background-color: var(--color-white);
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-col-body:nth-child(odd) {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  /* RECOMMEND */
  .recommend {
    padding-bottom: 0;
    overflow: hidden;
  }

  .recommend-item {
    padding: 15px 15px;
    gap: 15px;
  }

  .recommend-icon {
    width: 115px;
    height: 115px;
    padding: 1rem;
  }

  .reccomennd-images {
    width: 60%;
    margin: auto;
    margin-bottom: 0px;
    bottom: 0;
  }

  .recommend-text {
    font-size: 1rem;
  }

  /* TIMELINE */
  .timeline-item {
    gap: 10px;
  }

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

  .timeline-dot {
    margin-left: 8px;
  }

  .timeline-label {
    font-size: 1.25rem;
  }

  .timeline-time {
    width: 80px;
    font-size: 1.75rem;
  }

  .timeline-note {
    font-size: .875rem;
  }

  #tab-keiei::before,
  #tab-other::before {
    top: 31px;
    right: -5%;
    width: 25%;
    height: 91px;
  }

  #tab-other::before {
    top: 43px;
    right: -2%;
  }

  #tab-keiei::after,
  #tab-other::after {
    bottom: -2px;
    right: 20px;
    height: 90px;
    width: 55%;
  }

  /* VOICE */
  .voices {
    background: url(../images/slash_bg.svg) no-repeat top left / 600% 100%;
    background-color: white;
  }

  /* Other */
  .other-contact-section p {
    font-size: 1rem;
  }

}

@media (max-width: 413px) {

  /* Common */
  .story-box-title-sec {
    padding-bottom: 10px;
  }

  /* about */
  .about {
    background:
      url(../images/slash_bg.svg)no-repeat top left/900% 80%,
      url("../images/slash_bg02.svg")no-repeat top 95% left 0/80% auto;
    background-color: var(--color-white);
  }

  .about-desc {
    font-size: 1rem;
  }

  /* Story */
  .story-sub {
    font-size: 1rem;
  }

  /* Recommend */
  .recommend-text {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  /* Schedule */
  .tab-btn {
    padding: 8px 8px;
    font-size: .775rem;
  }
}