@charset "UTF-8";

/* =========================================
   1. Base Background (全体デザイン)
   ========================================= */
body {
  /* ドットパターンを全体に敷く（寂しさを解消） */
  background-color: #fff;
  background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
  background-size: 30px 30px; /* ドットの間隔 */
  background-attachment: fixed; /* スクロールしても背景は固定 */
}

/* =========================================
   2. Hero Section (Top)
   ========================================= */
/* =========================================
   1. Hero Section (Top) - フルスクリーン版
   ========================================= */
#top {
  position: relative;
  height: 100vh;      /* 画面の高さ100% */
  min-height: 600px;
  width: 100%;        /* 横幅も100% */
  
  /* Flexboxの中央寄せは解除（画像がabsoluteになるため） */
  display: block; 
  
  background: #fff;
  overflow: hidden;
  
  /* 斜めカットのデザインは維持 */
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: -50px;
  z-index: 10;
}

.green{
  color: #237255;
}

#top2 {
  position: relative;
  min-height: 600px;
  width: 100%;        /* 横幅も100% */
  
  /* Flexboxの中央寄せは解除（画像がabsoluteになるため） */
  display: block; 
  
  background: #fff;
  overflow: hidden;
  
  /* 斜めカットのデザインは維持 */
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: -50px;
  z-index: 10;
}

/* 背景エフェクト（画像の上に重ねるなら z-index を上げる） */
.top_bg_effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 画像の上にうっすら網掛けや色を乗せたい場合はここで調整 */
  z-index: 2; /* 画像より手前 */
  pointer-events: none;
}

.top_image {
  position: absolute; /* 絶対配置で全面に */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* 最背面 */
  margin: 0;  /* 余白削除 */
}

.top_image picture,
.top_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 比率を保ったまま隙間なく埋める */
  object-position: center center; /* 画像の中心を表示 */
}

/* スクロールダウンの矢印 */
.scroll_down {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: #fff; /* 画像の上なので白文字に変更 */
  text-shadow: 0 2px 5px rgba(0,0,0,0.5); /* 視認性アップ */
  writing-mode: vertical-rl;
  z-index: 5; /* 一番手前 */
}

.scroll_down::after {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: #fff; /* 線も白に */
  margin-top: 10px;
  animation: scrollLine 1.5s infinite;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

@keyframes scrollLine {
  0% { height: 0; opacity: 0; }
  50% { height: 60px; opacity: 1; }
  100% { height: 0; opacity: 0; transform: translateY(60px); }
}
.scroll_down {
  position: absolute;
  background: #fb7a00;
    padding: 16px;
    border-radius: 100px;
  bottom: 115px; /* 斜めカットに合わせて少し上げる */
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: #fff;
  writing-mode: vertical-rl;
  z-index: 5;
}

.scroll_down::after {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: #ffffff;
  margin-top: 10px;
  animation: scrollLine 1.5s infinite;
}

@keyframes scrollLine {
  0% { height: 0; opacity: 0; }
  50% { height: 60px; opacity: 1; }
  100% { height: 0; opacity: 0; transform: translateY(60px); }
}

/* =========================================
   3. Typography & Layout
   ========================================= */
.section_title_area {
  position: relative;
  text-align: center;
  margin-bottom: 80px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.main_ttl, .b_main_ttl {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 12rem; /* 少し大きく */
  color: #5697881a;
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
}

.main_ttl2, .b_main_ttl2 {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(to right, var(--color-main), #ffaf5f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.b_main_ttl2 {
  font-size: 35px;
  font-weight: bold;
  background: linear-gradient(to right, var(--color-green), #237255);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.inner {
    z-index: 2;
}

.normal_text{
  text-align: left;
  font-size: 17px;
  line-height: 2;
  font-weight: bold;
  margin-bottom: 100px;
}
.top_link_txt{
  font-size: 16px;
  border-bottom: 1px solid #e7e7e7;
  margin-top: 15px;
  font-weight: bold;
  color: #237255;
}

/* =========================================
   4. Section Backgrounds (リズムを作る)
   ========================================= */

/* 全セクション共通 */
section {
    padding: 120px 0; /* 上下余白を広めに */
    position: relative;
}

/* 奇数番目のセクション（白ベース） */
section:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.9); /* ドットを少し透過させる */
    backdrop-filter: blur(5px);
}

/* 偶数番目のセクション（薄いグレーで区切る） */
section:nth-of-type(even) {
    background: linear-gradient(135deg, #fff5ea 0%, #f4fff8 100%);
    box-shadow: inset 0 10px 30px rgba(0,0,0,0.02); /* 内側に影を落として奥行きを出す */
    clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%); /* 上部を斜めに */
    padding-top: 160px; /* 斜め分の余白確保 */
    margin-top: -5vw; /* 前のセクションに食い込ませる */
    padding-bottom: 140px;
    z-index: 1;
}

/* Introduction / Message エリア */
#introduction, #description {
  position: relative;
}
/* アクセントとして右上に大きな円を配置 */
#introduction::before, #description::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 201, 177, 0.2) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* =========================================
   5. Components Styles
   ========================================= */

/* About */
.introduction_contents {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}
.introduction_contents .big {
  font-size: 4rem;
  font-weight: 700;
  display: block;
  margin-top: 50px;
  margin-bottom: 40px;
  text-align: left;
  line-height: 1.6;
  color: var(--color-text);
}
.top_link {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.top_link_box {
  flex: 1;
  min-width: 280px;
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  border: 1px solid #f0f0f0;
}
.top_link_box:hover {
  transform: translateY(-5px);
  border-color: var(--color-main);
}
.top_link_ttl {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-main);
  font-size: 1.8rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--color-main);
  display: inline-block;
}

/* Feature (Grid Layout) */
.link_box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.link_box .box {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid #eee;
}
.link_box .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--color-green);
}
.link_box .box .in {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.link_box .box .num img {
  width: 250px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
}
.link_box .box .text {
  font-weight: 700;
  font-size: 2rem;
}
.arrow_icon {
  margin-top: -10px;
  color: var(--color-main);
  font-weight: bold;
  transition: transform 0.3s;
}
.link_box .box:hover .arrow_icon {
  transform: translateX(10px);
}

/* Feature (Grid Layout) */
.link_box2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.link_box2 .box {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid #eee;
}
.link_box2 .box .in {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.link_box2 .box .num img {
  width: 320px;
  height: 255px;
  object-fit: contain;
  margin-bottom: 20px;
}
.link_box2 .box .text {
  font-weight: 700;
  font-size: 2rem;
}

/* Member */
.osusume_list {
  margin-top: 40px;
}
.osusume_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-direction: row-reverse;
  padding: 60px;
}
.osusume_img {
  flex: 1;
  max-width: 500px;
}
.osusume_img img {
  border-radius: 20px;
}
.osusume_description {
  flex: 1;
}
.osusume_sub_headline {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
  display: inline-block;
}
.osusume_text{
  font-size: 17px;
  line-height: 2;
  font-weight: bold;
}
.before_after_text_b{
  font-size: 3rem;
  margin: 50px auto 10px;
  font-weight: bold;
  max-width: 800px;
  text-align: left;
}
.before_after_text{
  font-size: 1.7rem;
  margin: 15px auto 50px;
  font-weight: bold;
  max-width: 800px;
  text-align: left;
}

/* Blog */
.article_ichiran {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.article {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  border: 1px solid #eee;
}
.article:hover {
  transform: translateY(-5px);
  border-color: var(--color-main);
}
.article_img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.article_txt_area {
  padding: 20px;
}
.article_cate {
  font-size: 1.2rem;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 4px;
  color: #666;
}
.article_ttl {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 10px;
  line-height: 1.6;
}

/* Recruit */
.recruit_section {
  /* グラデーションを強化 */
  background: linear-gradient(135deg, #fff5ea 0%, #f4fff8 100%);
  clip-path: none !important; /* ここは斜めにしない */
  margin-top: 0 !important;
  padding-top: 100px !important;
}
.action_area {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.action_area div {
    margin-top: 40px;
}

/* Profile */
.about_detail_contents {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  padding: 50px;
  border-radius: 30px;
  margin-bottom: 50px;
}
.map_frame {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about_description {
  flex: 1;
}
.about_description dl {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}
.about_description dt {
  width: 120px;
  font-weight: 700;
  color: var(--color-main);
}
.about_description dd {
  flex: 1;
  margin: 0;
}

/* Infinite Slider */
.infinite-slider .swiper-wrapper {
  transition-timing-function: linear !important;
}
.infinite-slider .swiper-slide {
  width: auto !important;
  height: 200px;
  margin-right: 30px;
}
.infinite-slider .swiper-slide img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1)); /* ロゴにも影をつける */
}

/* -------------------------------------------
   Feature / Other Pages Specifics
------------------------------------------- */
.description_contents {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 120px;
  position: relative;
}
.description_contents.is_reverse {
  flex-direction: row-reverse;
}
.description_textarea {
  flex: 1;
  position: relative;
  z-index: 2;
}
.description_contents_img {
  flex: 0.6;
  text-align: center;
  position: relative;
  z-index: 1;
}
.description_contents_img img {
  border-radius: 20px;
  transition: transform 0.3s ease;
}
.description_contents:hover .description_contents_img img {
  transform: translateY(-5px);
}
.description_contents_index {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 8rem;
  color: var(--color-green);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -30px;
  margin-left: -5px;
  position: relative;
  z-index: 0;
}
.description_contents_headline {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
  color: var(--color-text);
}
.description_contents_text {
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 2;
  color: #555;
  margin-bottom: 30px;
  text-align: justify;
}
.mark {
  background: linear-gradient(transparent 60%, #ffdfc1 60%);
  font-weight: 700;
  padding: 0 2px;
}
.follow_img {
  text-align: center;
  margin: 0 auto 80px;
}
.follow_img img {
  max-width: 800px;
  width: 100%;
  height: auto;
}
.money_ttl {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-main);
  font-family: var(--font-jp);
}
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 600px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  background: #fff;
  border: 1px solid #eee;
  position: relative;
}
.table-wrapper::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.table-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}
.table-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
th {
  background-color: var(--color-green);
  color: #fff;
  padding: 18px 15px;
  font-weight: 700;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}
td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-family: var(--font-en);
  color: #444;
}
tr:nth-child(even) {
  background-color: #fcfcfc;
}
td b {
  color: var(--color-main);
  font-weight: 700;
}
.group_p {
  display: flex;
  width: 800px;
  align-items: flex-start;
  gap: 40px;
  margin: 20px auto;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border: 1px solid #f0f0f0;
}
.group_p:hover {
  transform: translateY(-5px);
  border-color: var(--color-main);
}
.group_p_img {
  text-align: center;
}
.group_p_img img {
  width: 175px;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}
.group_p_moji {
  flex: 1;
}
.group_p_ttl, .staff_ttl, .interview_ttl {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-main);
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  display: inline-block;
}
.group_p_subttl {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.6;
}
.group_p_text, .staff_text, .interview_text {
  font-size: 1.5rem;
  line-height: 1.9;
  color: #444;
}
.interview_text b {
  color: var(--color-blue);
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
}
.interview_text b:first-child {
  margin-top: 0;
}
.career_img {
  text-align: center;
  margin: 60px 0;
}
.career_img img {
  max-width: 100%;
  height: auto;
}
.group_description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.group_sub_headline {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--color-text);
}
.group_text {
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 2;
  text-align: left;
}

/* =========================================
   Q&A Section Styles
   ========================================= */

.qa_list {
  display: grid;
  /* PC: 4列等分 (1fr 1fr 1fr 1fr) */
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  align-items: stretch; /* 高さを揃える */
}

.qa_box {
  background: #fff;
  padding: 30px 20px; /* 横幅が狭くなるのでpaddingを少し調整 */
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.qa_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--color-green);
}

.qa_ttl {
  font-weight: 700;
  font-size: 1.6rem; /* 少し小さくして収まりよく */
  color: var(--color-main);
  margin-bottom: 15px;
  padding-left: 1.5rem;
  text-indent: -1.5rem;
  line-height: 1.4;
}

.qa_txt {
  font-size: 1.4rem;
  line-height: 1.7;
  padding-left: 1.5rem;
  text-indent: -1.5rem;
  color: #555;
}

/* =========================================
   Responsive (Smartphone)
   ========================================= */
@media screen and (max-width: 980px) {
  .qa_list {
    /* タブレット・スマホ: 1列に変更 */
    grid-template-columns: 1fr; 
    gap: 30px;
  }
  
  .qa_box {
    padding: 30px;
  }
  
  .qa_ttl {
    font-size: 1.8rem;
  }
  
  .qa_txt {
    font-size: 1.5rem;
  }
}

/* -------------------------------------------
   Responsive (Smartphone)
------------------------------------------- */
@media screen and (max-width: 768px) {
  .main_ttl, .b_main_ttl {
    font-size: 6rem; /* スマホでは見出し背景を小さく */
  }
  .article_img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
  }
  .section_title_area {
    height: auto;
    margin-bottom: 40px;
  }
  section:nth-of-type(even) {
    padding-top: 80px;
    padding-bottom: 60px;
    clip-path: none; /* スマホでは斜めカットを解除（表示領域確保のため） */
    margin-top: 0;
    background-color: #f7f9fb;
  }
  .osusume_item {
    flex-direction: column-reverse;
    padding: 0;
  }
  .osusume_img img {
    box-shadow: none; /* スマホでは枠を外す */
  }
  .about_detail_contents {
    flex-direction: column;
    padding: 0;
  }
  .map_frame, .about_description {
    width: 100%;
  }
  .top_link_box {
    width: 100%;
  }
  .infinite-slider .swiper-slide {
    height: 120px;
    margin-right: 15px;
  }
  .description_contents {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
  }
  .description_contents.is_reverse {
    flex-direction: column;
  }
  .description_contents_index {
    font-size: 5rem;
    margin-bottom: -15px;
  }
  .description_contents_headline {
    font-size: 2.4rem;
  }
  .description_contents_text {
    font-size: 1.5rem;
    text-align: left;
  }
  .group_p {
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    width: auto;
  }
  .group_p_img {
    flex: auto;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 10px;
  }
  .group_p_ttl, .staff_ttl, .interview_ttl {
    font-size: 1.8rem;
  }
  .qa_list {
    grid-template-columns: 1fr;
  }
}

.timeline-container {
  max-width: 900px;
  margin: 0 auto 100px;
}

/* --- フェーズ共通レイアウト --- */
.phase-section {
  display: flex;
  gap: 30px;
  position: relative;
}

/* 最後のフェーズは線を伸ばさない場合は調整が必要ですが、
   画像では伸びているように見えるのでそのままにしています */

/* --- タイムライン部分（左側） --- */
.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 100px; /* 円のサイズに合わせる */
}

.phase-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2; /* 線より上に */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.phase-label {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

.phase-number {
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
}

.phase-line {
  flex-grow: 1;
  width: var(--timeline-width);
  margin-top: -5px; /* 円と少し重ねる */
  z-index: 1;
}

/* --- コンテンツ部分（右側） --- */
.phase-content {
  flex-grow: 1;
  padding-top: 15px; /* 円の高さとテキストのバランス調整 */
}

.phase-header {
  margin-bottom: 30px;
}

.phase-header h2 {
  font-size: 30px;
  border-bottom: 2px solid;
  padding-bottom: 10px;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.phase-header h2 span {
  font-size: 18px;
  font-weight: normal;
  margin-left: 10px;
}

.phase-desc {
  font-weight: bold;
  font-size: 16px;
  text-align: left;
}

/* --- カードデザイン --- */
.card {
  background: #fff;
  border: 2px solid;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card h3 {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
    color: #444;
    text-align: left;
}

/* 吹き出しの三角 */
.card::before {
  content: "";
  position: absolute;
  left: -12px; /* 左側に突き出す */
  top: 30px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 12px solid; /* ボーダー色を引き継ぐ */
  border-right-color: inherit; /* 親のボーダー色を使う */
}

/* 内部の白抜き三角（ボーダーだけの三角を作るため） */
.card::after {
  content: "";
  position: absolute;
  left: -9px;
  top: 30px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 12px solid #fff;
}


/* --- 色の設定 --- */

/* Phase 1: Green */
.phase-1 .phase-circle { background-color: var(--color-phase1); }
.phase-1 .phase-line { background-color: var(--color-phase1); border-radius: 0 0 100px 100px;}
.phase-1 h2 { border-color: var(--color-phase1); }
.phase-1 .card { border-color: var(--color-phase1); }
.phase-1 .card::before { border-right-color: var(--color-phase1); }

/* Phase 2: Gold */
.phase-2 .phase-circle { background-color: var(--color-phase2); }
.phase-2 .phase-line { background-color: var(--color-phase2); border-radius: 0 0 100px 100px;}
.phase-2 h2 { border-color: var(--color-phase2); }
.phase-2 .card { border-color: var(--color-phase2); }
.phase-2 .card::before { border-right-color: var(--color-phase2); }

/* Phase 3: Orange */
.phase-3 .phase-circle { background-color: var(--color-phase3); }
.phase-3 .phase-line { background-color: var(--color-phase3); border-radius: 0 0 100px 100px;}
.phase-3 h2 { border-color: var(--color-phase3); }
.phase-3 .card { border-color: var(--color-phase3); }
.phase-3 .card::before { border-right-color: var(--color-phase3); }


/* --- レスポンシブ対応 (スマホ) --- */
@media (max-width: 768px) {
  .phase-section {
    flex-direction: column;
    gap: 0px;
  }

  .timeline-marker {
    flex-direction: row;
    width: 100%;
    align-items: center;
    margin-bottom: 10px;
  }

  .phase-circle {
    width: 70px;
    height: 70px;
  }
  
  .phase-label { font-size: 10px; }
  .phase-number { font-size: 24px; }

  .phase-line {
    display: none; /* スマホでは縦線を消す、もしくは調整 */
  }
  
  .phase-header h2 {
    padding-left: 10px;
    margin-top: 0;
  }
  
  /* スマホで吹き出しの三角を消すか、上向きにする */
  .card::before, .card::after {
    display: none;
  }
}

:root {
  /* カラーパレット定義 */
  --color-phase1: #9ebc9f; /* くすんだ緑 */
  --color-phase2: #bf9f62; /* ゴールド/ブラウン */
  --color-phase3: #ee7e21; /* オレンジ */
  --bg-color: #fff;
  --text-color: #333;
  --timeline-width: 20px; /* 線の太さ */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================================
   Value Section Styles (ここから追加)
   ========================================= */

.value_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
  gap: 40px;
  margin-top: 60px;
  margin-bottom: 100px;
}

.value_item {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.value_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--color-green);
}

/* ヘッダー部分（番号とタイトル） */
.value_head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  border-bottom: 2px solid #f5f5f5;
  padding-bottom: 20px;
}

.value_num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 900;
  color: #e0e0e0; /* 薄いグレーで背景っぽく */
  line-height: 1;
}

.value_title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-main);
  margin: 0;
}

/* 本文エリア */
.value_body dl {
  margin-bottom: 20px;
}

.value_body dl:last-child {
  margin-bottom: 0;
}

.value_body dt {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-text);
  margin-bottom: 5px;
  position: relative;
  padding-left: 1.5rem;
}

/* 文頭のアクセント */
.value_body dt::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: var(--color-green);
  border-radius: 50%;
}

.value_body dd {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #666;
  margin-left: 1.5rem; /* dtのインデントに合わせる */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .value_list {
    grid-template-columns: 1fr; /* 1列に */
    gap: 20px;
  }
  
  .value_item {
    padding: 30px 20px;
  }

  .value_head {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .value_num {
    font-size: 2.4rem;
  }

  .value_title {
    font-size: 1.8rem;
  }
}

/* =========================================
   Career Design Section Styles (PC横並び・スマホ縦並び版)
   ========================================= */

.career_flow {
  width: 100%;
  max-width: 1200px; /* 3列並ぶので幅を広げる */
  margin: 60px auto 0;
  display: flex;
  flex-direction: row; /* PCは横並び */
  gap: 30px; /* ボックス間の隙間 */
  align-items: stretch; /* 高さを揃える */
}

.flow_item {
  flex: 1; /* 3等分にする */
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08); 
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column; /* 中身の要素を縦に積む */
}

.flow_item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  border-color: var(--color-blue);
}

/* --- ヘッダーエリア --- */
.flow_head {
  background: linear-gradient(to right, #f8f8f8, #f0f8ff);
  padding: 25px 20px 20px 30px; /* 横幅が狭くなるのでpadding調整 */
  border-bottom: 1px dashed #e0e0e0;
  display: flex;
  flex-direction: column; /* タイトル等は縦積みに変更 */
  align-items: flex-start;
  gap: 15px;
}

.step_label {
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
  background: #fb7a00;
  padding: 5px 15px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.flow_title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-text);
  line-height: 1.4;
}

/* --- 目的エリア --- */
.flow_objective {
  padding: 20px 20px 20px 30px;
  background: #fdfefe;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  flex-direction: column; /* 縦積みに */
  align-items: flex-start;
  gap: 10px;
  flex-grow: 0;
}

.obj_label {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.flow_objective p {
  font-size: 1.4rem;
  font-weight: 700;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

/* --- 本文エリア --- */
.flow_body {
  padding: 25px 20px 30px 30px;
  flex-grow: 1; /* 高さを揃えた時に下まで伸ばす */
}

.flow_body dl {
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}
.flow_body dl:last-child {
  margin-bottom: 0;
}

.flow_body dt {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 5px;
  position: relative;
  line-height: 1.4;
}

/* 文頭のアクセント */
.flow_body dt::before {
  content: '▶';
  position: absolute;
  left: -20px;
  top: 0;
  font-size: 1.2rem;
  color: var(--color-blue);
}

.flow_body dd {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #666;
  margin-left: 0;
}

/* =========================================
   Responsive (Smartphone)
   ========================================= */
@media screen and (max-width: 768px) {
  .career_flow {
    flex-direction: column; /* スマホでは縦並びに戻す */
    max-width: 95%; /* 幅を戻す */
    gap: 40px;
  }

  .flow_item {
    width: 100%; /* 幅いっぱい */
  }

  /* スマホでは少し文字サイズ等を大きく戻して見やすくする */
  .flow_head {
    flex-direction: row; /* スマホなら横並びでも入るかも */
    align-items: center;
  }
  
  .flow_title {
    font-size: 2rem;
  }
  
  .flow_body dt {
    font-size: 1.6rem;
  }
  
  .flow_body dd {
    font-size: 1.5rem;
  }
}

/* =========================================
   Well-being Section Styles (背景色ありVer.)
   ========================================= */

.wellbeing_list {
  display: flex; /* PCでは横並び */
  flex-direction: row;
  gap: 30px;
  margin-top: 60px;
  align-items: stretch; /* 高さを揃える */
}

.wellbeing_card {
  flex: 1; /* 均等に幅をとる */
  border-radius: 20px;
  overflow: hidden;
  /* 枠線はなしで色で区別 */
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid transparent; /* 枠線のプレースホルダー */
}

.wellbeing_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* --- 各ボックスのカラー設定 --- */

/* 01: オレンジ系 */
.wb_01 {
  background-color: #fffaf0; /* 薄いオレンジ背景 */
  border-color: #ffebd0;
}
.wb_01 .wb_num { color: var(--color-main); opacity: 0.15; }
.wb_01 .wb_title { color: var(--color-main); }
/* リストマーカー色 */
.wb_01 .wb_points li::before { border-color: var(--color-main); }


/* 02: 青系 */
.wb_02 {
  background-color: #f0f8ff; /* 薄い青背景 */
  border-color: #d0eaff;
}
.wb_02 .wb_num { color: var(--color-blue); opacity: 0.15; }
.wb_02 .wb_title { color: var(--color-blue); }
.wb_02 .wb_points li::before { border-color: var(--color-blue); }


/* 03: 緑系 */
.wb_03 {
  background-color: #f4fff8; /* 薄い緑背景 */
  border-color: #d6f5e0;
}
.wb_03 .wb_num { color: #5a9e6f; opacity: 0.15; } /* 緑を少し濃く調整 */
.wb_03 .wb_title { color: #5a9e6f; }
.wb_03 .wb_points li::before { border-color: #5a9e6f; }


/* --- ヘッダーエリア --- */
.wb_head {
  padding: 30px 30px 10px;
  position: relative;
  text-align: center;
}

.wb_num {
  position: absolute;
  top: 0px; /* 位置調整 */
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 10rem; /* 数字をより大きく背景として扱う */
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.wb_title {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  font-weight: 700;
  margin: 40px 0 10px; /* 数字と被らないよう余白調整 */
}

/* --- 本文エリア --- */
.wb_body {
  padding: 20px 30px 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.wb_lead {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.8;
  color: #444;
  margin-bottom: 25px;
  text-align: justify;
}

/* ポイントリスト */
.wb_points {
  background: rgba(255, 255, 255, 0.6); /* 半透明の白を乗せる */
  padding: 20px;
  border-radius: 15px;
}

.wb_points li {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  padding-left: 1.5em;
  position: relative;
  line-height: 1.6;
}

.wb_points li:last-child {
  margin-bottom: 0;
}

/* リストマーカー (L字風) */
.wb_points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 8px;
  height: 8px;
  border-left: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  transform: rotate(-45deg);
}

/* =========================================
   Responsive (Smartphone)
   ========================================= */
@media screen and (max-width: 768px) {
  .wellbeing_list {
    flex-direction: column; /* スマホでは縦並び */
    gap: 40px;
  }
  
  .wellbeing_card {
    width: 100%;
  }

  .wb_num {
    font-size: 8rem;
    top: 10px;
  }
  
  .wb_title {
    font-size: 1.8rem;
    margin-top: 30px;
  }
}

/* =========================================
   Recruit Interview Section (Independent Styles)
   ========================================= */

.recruit_interview_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC: 3列固定 */
  gap: 30px;
  margin-top: 60px;
  align-items: start; /* 高さの違いを許容（揃えたい場合は stretch） */
}

.recruit_interview_card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.recruit_interview_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--color-main);
}

/* 画像エリア */
.ri_img {
  width: 100%;
  height: 200px; /* 高さを揃える */
  overflow: hidden;
  position: relative;
}

.ri_img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* トリミングして埋める */
  transition: transform 0.5s ease;
  border-radius: 0; /* カードの中なので角丸リセット */
  box-shadow: none;
}

.recruit_interview_card:hover .ri_img img {
  transform: scale(1.05); /* ホバーで少し拡大 */
}

/* テキストエリア */
.ri_body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ri_name {
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  background: var(--color-text); /* 黒背景で引き締め */
  padding: 8px 15px;
  margin: -40px 0 20px 0; /* 画像の上に少し被せる */
  position: relative;
  z-index: 2;
  align-self: flex-start; /* 左寄せ */
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ri_text dl {
  margin-bottom: 20px;
}
.ri_text dl:last-child {
  margin-bottom: 0;
}

.ri_text dt {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.ri_text dt::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-main);
  border-radius: 50%;
  margin-right: 8px;
}

.ri_text dd {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
  text-align: justify;
}

/* スマホ対応 */
@media screen and (max-width: 980px) {
  .recruit_interview_list {
    grid-template-columns: 1fr; /* 1列に変更 */
    gap: 40px;
  }
  
  .ri_img {
    height: auto; /* 高さはなりゆき、または固定 */
    aspect-ratio: 16 / 9;
  }
  
  .ri_body {
    padding: 20px;
  }
}

/* =========================================
   Feature Details Section (Independent Cards)
   ========================================= */

.feature_list {
  display: flex;
  flex-direction: column;
  gap: 100px; /* セクション間の余白を大きく */
  margin-top: 80px;
}

.feature_unit {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px;
  background: #fff;
  border-radius: 40px; /* 大きな角丸 */
  box-shadow: 0 20px 60px rgba(0,0,0,0.05); /* ふわりと浮く影 */
  position: relative;
  border: 1px solid #f0f0f0;
}

/* 偶数番目の要素（右配置・背景色あり） */
.feature_unit.is_reverse {
  flex-direction: row-reverse;
  background: #fdfdfd; /* ほんの少しグレー */
  border-color: #eee;
}

/* 画像エリア */
.f_img {
  flex: 1;
  text-align: center;
  position: relative;
}

.f_img img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

/* テキストエリア */
.f_content {
  flex: 1;
  position: relative;
}

/* 数字のデザイン */
.f_num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 12rem;
  line-height: 1;
  color: rgba(0,0,0,0.04); /* 背景に薄く */
  position: absolute;
  top: -80px;
  left: -20px;
  z-index: 0;
  pointer-events: none;
}

/* タイトル */
.f_title {
  position: relative;
  z-index: 1;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--color-text);
  line-height: 1.4;
}

/* タイトルの下線アクセント */
.f_title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-main);
  margin-top: 15px;
  border-radius: 2px;
}

/* 本文 */
.f_text {
  position: relative;
  z-index: 1;
  font-size: 1.6rem;
  line-height: 2;
  color: #555;
  text-align: justify;
}

/* 緑色の強調テキスト */
.green {
  color: #237255;
  font-weight: 700;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .feature_list {
    gap: 60px;
  }

  .feature_unit {
    flex-direction: column;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow:none;
    gap: 90px;
  }

  .feature_unit.is_reverse {
    flex-direction: column;
  }

  .f_num {
    font-size: 8rem;
    top: -50px;
    left: 0;
  }

  .f_title {
    font-size: 2.4rem;
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .main_ttl2 {
    font-size: 22px;
    margin-top: 60px;
  }
  .b_main_ttl2 {
    font-size: 22px;
    margin-top: 60px;
  }
  .introduction_contents .big {
    font-size: 2.8rem;
  }
  .osusume_sub_headline {
    font-size: 2.8rem;
  }
/* --- 年収早見表 スマホ完全対応（見切れ防止版） --- */
  
  /* ラッパーの調整 */
  .table-wrapper {
    max-height: 400px;
    border: 1px solid #eee;
    box-shadow: none;
    
    /* ★重要: 親要素(feature_unit)のpaddingを打ち消して横幅を確保 */
    margin-left: -15px; 
    margin-right: -15px;
    width: calc(100% + 30px) !important;
    border-radius: 0; /* 端まで広げるので角丸は解除 */
  }

  /* テーブル本体 */
  table {
    min-width: auto;
    width: 100%;
    table-layout: fixed; /* 列幅を均等に割り振る */
  }

  /* セル（見出し・データ共通） */
  th, td {
    /* 左右の余白を限界まで詰める */
    padding: 10px 2px; 
    /* 文字サイズを少し小さくして収める (11px相当) */
    font-size: 1.1rem; 
    /* 数字の改行は防ぐ */
    white-space: nowrap; 
    /* 数字を見やすくするために文字間を少しだけ詰める */
    letter-spacing: -0.05em;
    text-align: center;
  }

  /* ヘッダーの調整 */
  th {
    font-size: 1.0rem; /* ヘッダーはさらに小さくても読める */
    vertical-align: middle;
  }
  
  /* 太字（年収）の調整 */
  td b {
    font-size: 1.1rem;
    color: var(--color-main);
  }

  /* タイトル */
  .money_ttl {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
}
