@charset "utf-8";

/* ============================================================
 * MCL Custom Styles
 * ReShimAベース既存CSSへの上書き／追加 (specificity高め)
 * ============================================================ */

/* ============================================================
 * フォント設定（グローバル）
 *   基本（日本語/本文）: LINE Seed JP
 *   見出し/英数字     : Outfit
 * ============================================================ */
html,
body,
input,
textarea,
select,
button {
  font-family: "LINE Seed JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.home-section-title,
.home-section-title span,
.c-heading01,
.c-heading02,
.c-heading03,
.l-page-cover__ttl,
.l-page-cover .title,
.l-page-cover .title span,
.sub-archive__category-name,
.sub-archive__select-title,
.svc-num,
.office-num,
.num,
.year,
.data,
.news-date,
time {
  font-family: "Outfit", "LINE Seed JP", sans-serif;
}

/* 数字や英字を含むキャッチコピーは Outfit 優先 */
.btn-custom span,
.btn-flat-custom span {
  font-family: "Outfit", "LINE Seed JP", sans-serif;
  letter-spacing: 0.06em;
}


/* ============================================================
 * .mcl-card / .mcl-card-grid (アーカイブカード - TOP-WORKと完全一致)
 * 青(#1a4b98) + MCLグリーン(#048b42)
 * ============================================================ */

/* グリッド: PC 3列 / タブレット 2列 / スマホ 1列 */
.mcl-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.4rem;
}

@media (max-width: 1024px) {
  .mcl-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mcl-card-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 読み込みバー(::after)とホバーリフト */
.mcl-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #048b42;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: 2;
}

.mcl-card:hover {
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.12) !important;
  transform: translateY(-4px);
}

.mcl-card:hover::after {
  transform: scaleX(1);
}

/* 画像ホバーズーム */
.mcl-card > div:first-child img {
  transition: transform 0.6s ease;
}

.mcl-card:hover > div:first-child img {
  transform: scale(1.06);
}

/* ============================================================
 * カテゴリ絞込ドロップダウン（sub-archive__top）
 * ============================================================ */
body.post-type-archive-news .sub-archive__top,
body.tax-news_cat .sub-archive__top,
body.post-type-archive-work .sub-archive__top,
body.tax-work_cat .sub-archive__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e6ecf2;
}

body.post-type-archive-news .sub-archive__category-name,
body.tax-news_cat .sub-archive__category-name,
body.post-type-archive-work .sub-archive__category-name,
body.tax-work_cat .sub-archive__category-name {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 600;
  font-style: italic;
  color: #1a4b98;
  letter-spacing: 0.04em;
  position: relative;
  padding-left: 1.6rem;
}

body.post-type-archive-news .sub-archive__category-name::before,
body.tax-news_cat .sub-archive__category-name::before,
body.post-type-archive-work .sub-archive__category-name::before,
body.tax-work_cat .sub-archive__category-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: #1a4b98;
  border-radius: 2px;
}

body.post-type-archive-news .sub-archive__select-container,
body.tax-news_cat .sub-archive__select-container,
body.post-type-archive-work .sub-archive__select-container,
body.tax-work_cat .sub-archive__select-container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

body.post-type-archive-news .sub-archive__select-title,
body.tax-news_cat .sub-archive__select-title,
body.post-type-archive-work .sub-archive__select-title,
body.tax-work_cat .sub-archive__select-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #888;
}

body.post-type-archive-news .sub-archive__select select,
body.tax-news_cat .sub-archive__select select,
body.post-type-archive-work .sub-archive__select select,
body.tax-work_cat .sub-archive__select select {
  padding: 0.8rem 3rem 0.8rem 1.6rem;
  border: 1px solid #1a4b98;
  border-radius: 4px;
  background: #fff;
  color: #1a4b98;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23003366' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px 7px;
}

body.post-type-archive-news .sub-archive__select select:hover,
body.tax-news_cat .sub-archive__select select:hover,
body.post-type-archive-work .sub-archive__select select:hover,
body.tax-work_cat .sub-archive__select select:hover {
  background-color: #f5f7fa;
}

@media (max-width: 768px) {
  body.post-type-archive-news .sub-archive__top,
  body.tax-news_cat .sub-archive__top,
  body.post-type-archive-work .sub-archive__top,
  body.tax-work_cat .sub-archive__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }

  body.post-type-archive-news .sub-archive__category-name,
  body.tax-news_cat .sub-archive__category-name,
  body.post-type-archive-work .sub-archive__category-name,
  body.tax-work_cat .sub-archive__category-name {
    font-size: 2.4rem;
  }
}

/* ============================================================
 * セクションタイトル（ユーザー提供 2026-05-21）
 * row-reverse で英字を左 / 日本語を右に配置
 * ============================================================ */
.home-section-title {
  font-weight: 700;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-direction: row-reverse;
  gap: 3rem;
  background: none;
  -webkit-background-clip: text;
  background-clip: text;
  color: #6aac1d;
}

/* セクションタイトル英字（ベタ色・グラデーションなし） */
.home-section-title span {
  color: #1a4b98;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-transform: uppercase;
}

/* フッターTOP CONTACT セクションは緑背景のため白文字に */
.footer_top .sec_inner .home-section-title span {
  color: #fff;
}

/* ============================================================
 * .c-titB セクションタイトルB（緑アクセント・ユーザー提供 2026-05-21）
 * ============================================================ */
.c-titB .en {
  color: #048b42;
  font-size: 80px;
  font-weight: 500;
  text-transform: capitalize;
  font-family: "Outfit", sans-serif;
}

/* ============================================================
 * btn-flat-custom -wh の本体／::before（ユーザー提供 2026-05-21）
 * ============================================================ */
a.btn-flat-custom.-wh {
  background: #ff8000;
  color: #ffffff;
}

a.btn-flat-custom.-wh::before {
  background: #b55c03;
  color: #fff;
}

/* ============================================================
 * office-card 画像（ユーザー提供 2026-05-21）
 * ============================================================ */
.office-card img {
  max-width: 500px !important;
  margin: auto;
}

/* ============================================================
 * SKYONE 自動横スクロール マーキー（CSS無限ループ）
 * 同じ画像セットを2回繰り返し、-50%まで移動して継ぎ目なくループ
 * ============================================================ */
.mcl-marquee {
  width: 100%;
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent);
}

.mcl-marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: mcl-marquee-scroll 40s linear infinite;
}

.mcl-marquee:hover .mcl-marquee__track {
  animation-play-state: paused;
}

.mcl-marquee__item {
  flex: 0 0 auto;
  width: 380px;
  height: 280px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 51, 102, 0.12);
}

.mcl-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes mcl-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1rem)); }
}

@media (max-width: 768px) {
  .mcl-marquee__item {
    width: 280px;
    height: 200px;
  }
  .mcl-marquee__track {
    gap: 1.5rem;
    animation-duration: 30s;
  }
  @keyframes mcl-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
  }
}

/* ============================================================
 * About 理念ブロック（〜想いと熱意〜 + 3項目箇条書き）
 * ============================================================ */
.mcl-philosophy {
  max-width: 1200px;
  margin: 0 auto;
}

/* 2カラムレイアウト: 左=01-03テキスト / 右=理念の繋がりPNG (2026-05-25) */
.mcl-philosophy-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
.mcl-philosophy-left {
  width: 55%;
}
.mcl-philosophy-right {
  width: 45%;
}
.mcl-philosophy__diagram {
  display: block;
  width: 100%;
  height: auto;
  max-width: 500px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .mcl-philosophy-wrapper {
    flex-direction: column;
    gap: 3rem;
  }
  .mcl-philosophy-left,
  .mcl-philosophy-right {
    width: 100%;
  }
  .mcl-philosophy__diagram {
    max-width: 600px;
  }
}

.mcl-philosophy__subtitle {
  text-align: center;
  font-size: 4rem;
  font-weight: 600;
  color: #1a4b98;
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
}

.mcl-philosophy__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.mcl-philosophy__list li {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.8rem 2.4rem;
  background: #fff;
  /* border-left: 4px solid #1a4b98; */
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 51, 102, 0.06);
}

.mcl-philosophy__num {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: #ff8000;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0.2rem;
}

.mcl-philosophy__text {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #1a1a1a;
  flex: 1;
}

@media (max-width: 768px) {
  .mcl-philosophy__list li {
    padding: 1.5rem 1.6rem;
    gap: 1.4rem;
  }
  .mcl-philosophy__num {
    font-size: 2rem;
  }
  .mcl-philosophy__text {
    font-size: 1.4rem;
  }
}

/* ============================================================
 * SKYONE 活動内容カード（画像付き3カラム）
 * ============================================================ */
.mcl-activity-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 51, 102, 0.08);
  text-align: center;
}

.mcl-activity-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f7fa;
}

.mcl-activity-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mcl-activity-card:hover .mcl-activity-card__img img {
  transform: scale(1.05);
}

.mcl-activity-card h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a4b98;
  margin: 1.5rem 1rem 0.8rem;
}

.mcl-activity-card p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #444;
  padding: 0 1.5rem 2rem;
}

/* ============================================================
 * SKYONE これまでの実績（2カラム + 画像付きカード）
 * ============================================================ */
.mcl-record-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.mcl-record-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  /* border-left: 4px solid #1a4b98; */
  box-shadow: 0 4px 14px rgba(0, 51, 102, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mcl-record-card--accent {
  border-left-color: #048b42;
}

.mcl-record-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.14);
}

.mcl-record-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f7fa;
}

.mcl-record-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.mcl-record-card:hover .mcl-record-card__img img {
  transform: scale(1.05);
}

.mcl-record-card__body {
  padding: 2rem 2.4rem 2.4rem;
}

.mcl-record-card__year {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: #1a4b98;
  margin-bottom: 0.8rem;
}

.mcl-record-card--accent .mcl-record-card__year {
  color: #048b42;
}

.mcl-record-card__body h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a4b98;
}

.mcl-record-card__body p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #444;
}

@media (max-width: 768px) {
  .mcl-record-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
 * SKYONE Instagram 投稿画像カードグリッド
 * デフォルト: 2x2 / mcl-ig-grid--5col: 5x2
 * ============================================================ */
.mcl-ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
}

.mcl-ig-grid--5col {
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  max-width: 1400px;
}

@media (max-width: 1024px) {
  .mcl-ig-grid--5col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .mcl-ig-grid--5col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mcl-ig-card {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 51, 102, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.mcl-ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.mcl-ig-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.2);
}

.mcl-ig-card:hover img {
  transform: scale(1.05);
}

.mcl-ig-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 75, 152, 0) 60%, rgba(26, 75, 152, 0.6) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .mcl-ig-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* ============================================================
 * ヘッダーロゴ 2カラム (MCL左 / Senoh+番号右縦積み)
 * ============================================================ */
.mcl-logo-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0 0 0 1rem;
}

.mcl-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.mcl-logo-main {
  display: block;
  width: auto;
  height: 5.5rem;
  max-width: 100%;
}

.mcl-logo-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  flex-shrink: 0;
}

.mcl-logo-seno {
  display: block;
  width: auto;
  height: 2rem;
}

.mcl-logo-license {
  display: block;
  width: auto;
  height: 2rem;
}

/* SP ヘッダー: MCLロゴのみ表示 */
.mcl-logo-sp {
  display: inline-flex;
  align-items: center;
}

.mcl-logo-main-sp {
  display: block;
  width: auto;
  height: 4rem;
}

@media (max-width: 1024px) {
  .mcl-logo-main {
    height: 4.5rem;
  }
  .mcl-logo-seno {
    height: 2rem;
  }
  .mcl-logo-license {
    height: 1.8rem;
  }
}

/* ---- TOP page News/Instagram background overrides (2026-05-25) ---- */
main.home .home-news {
  background: #fbfbfb !important;
}
main.home #mcl-instagram.sub-bg {
  background: #fff !important;
}

/* ---- Body background: 白に統一 (ReShimA残骸 #edf2f8 を上書き 2026-05-25) ---- */
body {
  background-color: #fff !important;
  background-image: none !important;
}
body::before {
  display: none !important;
}

/* ---- Footer contact 左テキストの SP 調整 (2026-05-25) ---- */
@media (max-width: 768px) {
  .footer-contact .left__txt {
    text-align: left !important;
    padding-top: 3rem;
  }
}

/* ---- Footer logo image (2026-05-25) ---- */
.footer-logo-img {
  display: block;
  height: auto;
  width: auto;
  max-width: 34rem;
  max-height: 14rem;
  margin-bottom: 1.2rem;
  background: #fff;
  padding: 8px;
}
@media (max-width: 768px) {
  .footer-logo-img {
    max-width: 26rem;
    max-height: 11rem;
    margin: 0 auto 1rem;
  }
}

/* ---- Header Instagram icon (2026-05-25) ---- */
.header__item--ig .header__link,
.nav-drawer__item--ig .nav-drawer__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-ig-icon,
.nav-drawer-ig-icon {
  display: inline-block;
  vertical-align: middle;
  width: 2.4rem;
  height: 2.4rem;
}
.nav-drawer-ig-icon {
  width: 3rem;
  height: 3rem;
  margin-right: 0.8rem;
}
.nav-drawer__item--ig .nav-drawer__link p {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.nav-drawer__item--ig,
.nav-drawer__item--ig .nav-drawer__link,
.nav-drawer__item--ig .nav-drawer__link p {
  border-bottom: none !important;
}
.nav-drawer__item--ig .nav-drawer__link p {
  padding-bottom: 0 !important;
}

/* ---- MV catch::before 縦線を削除 (旧テンプレ装飾、2026-05-25) ---- */
.home-mv__catch::before {
  content: none !important;
  display: none !important;
}
.home-mv__catch {
  padding-left: 5vw;
}

/* ---- MV scrolldown 配置 (2026-05-25) ---- */
.home-mv__scrolldown {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 0;
  height: 70px;
  z-index: 10;
}

/* ---- MV catch01 (テキスト→画像) / catch02 (右下イラスト) (2026-05-25) ---- */
.home-mv__catch .home-mv__catch-img-wrap {
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
}
.home-mv__catch-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 760px;
}
.home-mv__illust {
  position: absolute;
  right: 4rem;
  bottom: 6rem;
  width: 32%;
  max-width: 520px;
  z-index: 3;
  pointer-events: none;
}
.home-mv__illust-img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 1024px) {
  .home-mv__catch-img {
    max-width: 560px;
  }
  .home-mv__illust {
    right: 2.4rem;
    bottom: 4rem;
    width: 38%;
    max-width: 360px;
  }
}
@media (max-width: 768px) {
  .home-mv__catch-img {
    max-width: 88vw;
  }
  .home-mv__illust {
    right: 1.5rem;
    bottom: 2.5rem;
    width: 44%;
    max-width: 240px;
  }
}

/* ---- SP: home-section-title 縮小 (2026-05-25) ---- */
@media (max-width: 768px) {
  h2.home-section-title {
    font-size: 1.5rem;
  }
  .home-section-title span {
    font-size: 3rem;
    padding-top: 0;
  }
}

/* ---- SP: footer tel 拡大+アイコン (2026-05-25) ---- */
@media only screen and (max-width: 767px) {
  .footer_flex .tel {
    font-size: 3rem !important;
    background: url(../img/common/tel-color.svg) no-repeat left 2% top 0.7rem / 2.7rem auto !important;
    padding-left: 2rem !important;
  }
}

/* ---- SP: footer-logo-text 縮小+中央寄せ (2026-05-25) ---- */
@media screen and (max-width: 767px) {
  .footer-logo-text {
    font-size: 2rem !important;
    text-align: center;
  }
}

/* ---- SP: サブページ l-page-cover タイトル/sentence 調整 (2026-05-25) ---- */
@media screen and (max-width: 767px) {
  .title span {
    font-size: 5rem;
    opacity: 0.4 !important;
  }
  .sentence {
    font-size: 1.6rem;
    margin-top: 0rem;
    padding-right: 5vw;
  }
  .l-page-cover .sentence span {
    font-size: 5vw;
  }
}

/* ============================================================
 * MVキャッチ画像 表示アニメーション差替 (2026-05-28)
 * 既定の .title (translateX -100% スライドイン 2s) は他ページ見出しと共用のため、
 * MVキャッチ (.home-mv__catch 内) のみフェードインに上書き。
 * 2026-05-28 追記: 2個目のキャッチ (.home-mv__illust-img / catch02.png) も同じフェードイン。
 * main.js で `.-visible` を `.title` + `.home-mv__illust-img` に付与。
 * ============================================================ */
.home-mv__catch .title.home-mv__catch-img-wrap {
  overflow: visible;
  opacity: 0;
  transition: opacity 1.2s ease-out;
}
.home-mv__catch .title.home-mv__catch-img-wrap.-visible {
  opacity: 1;
}

.home-mv__illust .home-mv__illust-img {
  opacity: 0;
  transition: opacity 1.2s ease-out;
}
.home-mv__illust .home-mv__illust-img.-visible {
  opacity: 1;
}

/* ============================================================
 * SPヘッダー セノーロゴ追加 (2026-05-28)
 * PC側 (.header__logo .mcl-logo-seno) と同様に、SPヘッダーロゴ部にもセノーロゴを並置。
 * .mcl-logo-sp はもともと inline-flex のため横並び自動、間隔と高さのみ調整。
 * ============================================================ */
.mcl-logo-sp {
  gap: 1rem;
}
.mcl-logo-seno-sp {
  display: block;
  width: auto;
  height: 1.4rem;
  flex: 0 0 auto;
}
