@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* Google Fonts 読み込み */
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

/* ヘッダー直下の余白を完全削除 */
#content,
#content.l-content,
.l-container,
.l-mainContent,
body.page main,
body.page article {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* ロゴ */
.hero-logo {
  position: absolute;
  top: 10px;
  left: 0;
  font-family: 'Russo One', sans-serif !important;
  font-size: 6rem !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 10;
  line-height: 1.2 !important;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* 画像 / 動画 - 左右に大きく表示 */
.hero-image {
  position: absolute;
  top: 50%;
  left: 18%;
  transform: translateY(-50%);
  width: 1050px !important;
  max-width: none !important;
  z-index: 5;
}

.hero-image img,
.hero-image video {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* タブレット */
@media (max-width: 1024px) {
  .hero-logo {
    font-size: 6.5rem !important;
    top: 20px;
  }
  .hero-image {
    left: 20%;
    width: 70% !important;
  }
}

/* スマホ */
@media (max-width: 768px) {
  .hero-container {
    display: flex;
    flex-direction: column; /* 縦積みに */
    align-items: center;
    height: auto;
    min-height: 100vh;
    padding: 40px 0 20px 0;
  }

  .hero-logo {
    position: relative;
    top: auto;
    left: auto;
    font-size: 4.5rem !important;
    margin-bottom: 20px !important; /* ロゴと動画を近づける */
    white-space: normal;
    text-align: center;
  }

  .hero-image {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100% !important;
    margin: 0 auto;
  }
}

/* タブレット (iPad Pro / Surface Pro など) */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-container {
    display: flex;
    flex-direction: column; /* 縦積みに */
    align-items: center;
    height: auto;  /* 自然な高さ */
    min-height: 100vh;
    padding-top: 60px;
  }

  .hero-logo {
    position: relative;
    order: 1; /* ロゴを先に */
    top: auto;
    left: auto;
    margin-bottom: 30px !important;
    text-align: center;
  }

  .hero-image {
    position: relative;
    order: 2; /* 動画を後に */
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    width: 70% !important;
  }
}


.mittsu-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 0;
}

.mittsu-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 120px;
}

.mittsu-text {
  color: #f9f9f9;
  font-size: 28px;
  font-weight: 500;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  transform: translateY(-23px);
}

.mittsu-line {
  position: absolute;
  top: 50%;
  left: 120px;
  right: 120px;
  height: 1px;
  background-color: #ffff9e;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  z-index: 1;
}

.mittsu-line.animate {
  animation: lineExpand 1s ease-out forwards;
}

@keyframes lineExpand {
  to {
    transform: translateY(-50%) scaleX(1);
  }
}

.mittsu-image-wrap {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.mittsu-img {
  width: 300px;
  height: auto;
  display: block;
}

.mittsu-readmore {
  color: #f9f9f9;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  z-index: 3;
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
  transform: translateY(23px);
}

.mittsu-readmore span {
  color: #ffff9e;
  margin-left: 6px;
  transition: color 0.3s ease;
}

.mittsu-readmore:hover {
  color: #fff799;
}

.mittsu-readmore:hover span {
  color: #fff799;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .mittsu-inner {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }
  
  .mittsu-text {
    align-self: flex-start;
    transform: translateY(0);
  }
  
  .mittsu-line {
    left: 20px;
    right: 20px;
  }
  
  .mittsu-readmore {
    align-self: flex-end;
    transform: translateY(0);
  }
  
  .mittsu-img {
    width: 250px;
  }
}


/* カテゴリーラベルの文字色を変更 */
.c-categoryList__link {
    color: #151718 !important;
}

/* ホバー時も同じ色を維持 */
.c-categoryList__link:hover {
    color: #151718 !important;
}



.business-section-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.business-section {
    width: 100%;
    padding: 0;
}

.yellow-line-full {
    width: 100%;
    height: 3px;
    background-color: #FFFF9E;
}

.business-title {
    text-align: center;
    font-size: 56px;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #F5F5F5;
    padding: 20px 0;
}

.business-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.business-item {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.business-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #FFFF9E;
}

.business-item:last-child::after {
    display: none;
}

.business-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
}

.business-number {
    font-size: 24px;
    font-weight: bold;
    color: #F5F5F5;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.business-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #FFFF9E;
}

.business-category {
    font-size: 28px;
    font-weight: bold;
    color: #F5F5F5;
    margin-bottom: 20px;
    margin-top: 15px;
}

.business-description {
    font-size: 14px;
    color: #F5F5F5;
    line-height: 1.8;
    margin-bottom: 30px;
}

.view-more-btn {
    display: inline-block;
    color: #F5F5F5;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.view-more-btn::after {
    content: ' ▶';
    color: #FFFF9E;
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.view-more-btn:hover::after {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .business-title {
        font-size: 32px;
        padding: 15px 0;
    }

    .business-grid {
        flex-direction: column;
    }

    .business-item::after {
        display: none;
    }

    .business-item {
        border-bottom: 3px solid #FFFF9E;
        padding: 40px 20px;
    }

    .business-item:last-child {
        border-bottom: none;
    }

    .business-image {
        width: 180px;
        height: 180px;
    }

    .business-number {
        font-size: 20px;
    }

    .business-category {
        font-size: 22px;
    }

    .business-description {
        font-size: 13px;
    }

    .view-more-btn {
        font-size: 14px;
    }
}



.wide-spacing {
    line-height: 2.5;
}



.heading-style-yellow {
    text-align: center;
    margin: 40px 0;
}

.heading-style-yellow span {
    font-size: 32px;
    font-weight: bold;
    color: #f9f9f9;
    border-bottom: 1px solid #FFFF9E;
    padding-bottom: 3px;
    display: inline-block;
}


.btn-center {
    text-align: center;
}

.view-more-btn {
    display: inline-block;
    color: #F5F5F5;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.view-more-btn::after {
    content: ' ▶';
    color: #FFFF9E;
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.view-more-btn:hover::after {
    transform: translateX(5px);
}


.btn-right {
    text-align: right;
}

.view-more-btn {
    display: inline-block;
    color: #F5F5F5;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.view-more-btn::after {
    content: ' ▶';
    color: #FFFF9E;
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.view-more-btn:hover::after {
    transform: translateX(5px);
}



.history-timeline {
  color: #151718;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

/* 各年ブロック */
.history-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3.5rem;
  position: relative;
}

/* 年 */
.history-year {
  font-size: 2.5rem;
  font-weight: 600;
  width: 6rem;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
  margin-right: 1rem;
  line-height: 1.2;
  position: relative;
}

/* 🔧 縦ライン：左へ微調整 */
.history-timeline::before {
  content: "";
  position: absolute;
  top: calc(2.5rem / 2);
  left: calc(9rem + 1rem + 0.1rem); /* ← 0.3rem → 0.1rem に変更（縦線を少し左へ） */
  width: 2px;
  height: 100%;
  background-color: #ddd;
  z-index: 1;
}

/* ⚫︎（年号の中央高さ） */
.history-year::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 0.3rem); /* ⚫︎の位置はそのまま */
  width: 10px;
  height: 10px;
  background-color: #151718;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* 内容ブロック */
.history-content {
  position: relative;
  padding-left: 2.5rem;
  flex: 1;
}

/* 各行 */
.history-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* 月 */
.history-month {
  display: inline-block;
  width: 3rem;
  font-weight: 500;
  font-size: 1rem;
}

/* テキスト */
.history-text {
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .history-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .history-year {
    text-align: left;
    margin-bottom: 0.5rem;
  }

  .history-timeline::before {
    left: 0.8rem;
  }

  .history-year::after {
    left: 0.5rem;
  }

  .history-content {
    padding-left: 1.8rem;
  }
}
