@charset "utf-8";

/* ============================================================
   0. Emanonテーマ側の干渉リセット（トップ・下層の両方に対応）
   ============================================================ */
body.page-template-page-welco-new .l-main,
body.page-template-page-welco-new .container,
body.page-template-page-welco-new .content,
body.page-template-page-welco-new article,
body.page-template-page-welco-new #contents,
body.page-template-page-welco-new .l-primary,
body.page-template-page-welco-design .l-main,
body.page-template-page-welco-design .container,
body.page-template-page-welco-design .content,
body.page-template-page-welco-design article,
body.page-template-page-welco-design #contents,
body.page-template-page-welco-design .l-primary {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}

body.page-template-page-welco-new,
body.page-template-page-welco-design,
body:has(#welco-main) {
  background-color: #f2f2f2;
}

/* ============================================================
   1. 3カラムレイアウト
   ============================================================ */
#welco-main.welco-top {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #f2f2f2;
  width: 100%;
  overflow: visible;
}

#welco-main .welco-layout,
#welco-main .welco-layout * {
  background-color: transparent;
}

#welco-main .welco-layout {
  display: flex;
  flex-wrap: nowrap;
  width: 1350px;
  min-width: 1350px;
  max-width: 1350px;
  margin: 0 0 0 auto;
  overflow: visible;
  background-color: #f2f2f2;
}

#welco-main .welco-layout__left {
  width: 500px;
  min-width: 500px;
  max-width: 500px;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  background-image: none;
  background-repeat: no-repeat;
  background-size: 380px auto;
  background-position: center 75%;
  z-index: 10;
}

#welco-main .welco-layout__right {
  width: 600px;
  min-width: 600px;
  max-width: 600px;
  background-color: #ffffff;
  position: relative;
  overflow: visible;
  z-index: 100;
}

#welco-main .welco-layout__margin {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
  background-color: #f2f2f2;
  position: relative;
  z-index: 20;
}

/* ============================================================
   2. 左固定看板エリア
   ============================================================ */
#welco-main .welco-left-content {
  width: 100%;
  max-width: 440px;
  padding: 0 40px;
  margin: 0 auto;
}

#welco-main .welco-hero__en {
  font-family: "din-2014", "Oswald", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  color: #222;
  text-shadow: 1px 1px 0 #f38a3b;
  margin-bottom: 40px;
  white-space: nowrap;
}

#welco-main .welco-works-flex {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

#welco-main .welco-works-title-side {
  width: 80px;
  min-width: 80px;
  text-align: center;
}

#welco-main .welco-label-works {
  display: inline-block;
  background: #000;
  color: #fff;
  font-family: "din-2014", sans-serif;
  font-size: 0.6875rem;
  padding: 3px 8px;
  margin-bottom: 8px;
}

#welco-main .welco-hero__ttl-jp {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.05em;
  margin: 0 auto;
}

#welco-main .welco-hero__desc {
  flex: 1;
  font-size: 0.75rem;
  line-height: 1.8;
  color: #444;
  border-left: 1px solid #ccc;
  padding-left: 16px;
}

#welco-main .welco-view-all-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
  padding-right: 10px;
}

#welco-main .welco-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

#welco-main .welco-view-all__text {
  font-family: "din-2014", sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #888;
}

#welco-main.welco-top .welco-view-all-wrap .welco-view-all .welco-view-all__btn-circle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #000000;
  background-color: #000000;
  border: none;
  border-radius: 50%;
  box-sizing: border-box;
  overflow: visible;
  transform: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#welco-main.welco-top .welco-view-all-wrap .welco-view-all .welco-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: #ffffff;
  background-color: #ffffff;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  box-shadow: -5px 0 0 #ffffff, 5px 0 0 #ffffff;
  transition:
    width 0.3s ease,
    height 0.3s ease,
    border-radius 0.3s ease,
    box-shadow 0.2s ease,
    left 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.3s ease;
}

#welco-main.welco-top .welco-view-all-wrap .welco-view-all .welco-dots::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1px;
  width: 4px;
  height: 4px;
  border: none;
  border-top: 1.5px solid #ffffff;
  border-right: 1.5px solid #ffffff;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  background: none;
  background-color: transparent;
  transition: opacity 0.2s ease;
}

#welco-main.welco-top .welco-view-all-wrap .welco-view-all:hover .welco-view-all__btn-circle {
  transform: scale(0.9);
}

#welco-main.welco-top .welco-view-all-wrap .welco-view-all:hover .welco-dots {
  width: 13px;
  height: 1.5px;
  border-radius: 0;
  box-shadow: none;
  left: 50%;
  transform: translate(-50%, -50%);
}

#welco-main.welco-top .welco-view-all-wrap .welco-view-all:hover .welco-dots::after {
  opacity: 1;
}

#welco-main .welco-btn--orange {
  display: block;
  background: #f38a3b;
  color: #fff;
  font-family: "din-2014", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  padding: 12px;
  max-width: 160px;
  margin: 0 auto;
  letter-spacing: 0.05em;
}

/* ============================================================
   3. ファーストビューセクション
   ============================================================ */
#welco-main .welco-fv-section {
  position: relative;
  padding: 60px 40px 40px;
  overflow: visible;
}

#welco-main .welco-fv__head {
  position: relative;
  margin-bottom: 32px;
}

#welco-main .welco-unspoken__client {
  font-family: "din-2014", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: #666;
  text-align: center;
  margin-bottom: 60px;
}

#welco-main .welco-cursive-wrap {
  position: absolute;
  top: -6px;
  right: 0;
  z-index: 5;
  pointer-events: none;
  transform: rotate(-4deg);
}

#welco-main .welco-cursive-img {
  width: 200px;
  height: auto;
  display: block;
}

#welco-main .welco-unspoken__ttl-flex {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

#welco-main .welco-line-side {
  flex: 1;
  height: 1px;
  background: #222;
}

#welco-main .welco-line-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}

#welco-main .welco-fv__visual {
  position: relative;
}

#welco-main .welco-unspoken__sub {
  position: absolute;
  top: 0;
  right: -20px;
  writing-mode: vertical-rl;
  font-family: "din-2014", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #222;
  z-index: 5;
}

#welco-main .welco-fv__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

#welco-main .welco-main-copy {
  font-size: 1rem;
  line-height: 2;
  color: #444;
  width: 70%;
  margin: 40px auto;
}

#welco-main .welco-main-copy::first-letter {
  font-size: 3rem;
  color: #f38a3b;
  font-weight: 700;
  float: left;
  margin-right: 12px;
  line-height: 1;
}

/* ============================================================
   4. SERVICE見出し
   ============================================================ */
#welco-service-ttl-wrap,
#welco-main .welco-service-ttl-wrap {
  text-align: right;
  padding: 40px 40px 20px;
}

#welco-main .welco-service-ttl {
  font-family: "din-2014", "Oswald", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  color: #222;
  text-shadow: 1px 1px 0 #f38a3b;
  margin-bottom: 40px;
  white-space: nowrap;
}

#welco-main .welco-service-ttl-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: none;
  display: block;
}

/* ============================================================
   5. 業務紹介
   ============================================================ */
#welco-main .welco-svc {
  position: relative;
  margin-bottom: 0;
  overflow: visible;
}

#welco-main .welco-svc__inner {
  width: 600px;
  min-width: 600px;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 40px 0 40px;
  position: relative;
  overflow: visible;
}

#welco-main .welco-svc__img-wrap {
  position: absolute;
  top: 40px;
  width: 400px;
  min-width: 400px;
  max-width: 400px;
  height: 320px;
  overflow: hidden;
  z-index: 150;
}

#welco-main .welco-svc__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#welco-main .welco-svc__label {
  position: absolute;
  top: 40px;
  display: inline-block;
  background: #222222;
  color: #ffffff;
  font-size: 0.6875rem;
  padding: 3px 10px;
  letter-spacing: 0.08em;
  z-index: 160;
}

#welco-main .welco-svc__ttl {
  position: absolute;
  top: 69px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #222222;
  z-index: 160;
  background-color: #f2f2f2;
  padding: 5px 20px;
  margin: 0;
  white-space: nowrap;
}

#welco-main .welco-svc__body {
  width: 70%;
  margin: 220px auto 100px;
  position: relative;
  z-index: 110;
}

#welco-main .welco-svc__desc {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
}

#welco-main .welco-svc--right .welco-svc__img-wrap {
  right: -40px;
  left: auto;
}

#welco-main .welco-svc--right .welco-svc__label,
#welco-main .welco-svc--right .welco-svc__ttl {
  left: 40px;
}

#welco-main .welco-svc--left .welco-svc__img-wrap {
  left: -40px;
  right: auto;
}

#welco-main .welco-svc--left .welco-svc__label,
#welco-main .welco-svc--left .welco-svc__ttl {
  right: 40px;
  left: auto;
}

/* ============================================================
   6. 右サイドナビゲーションエリア
   ============================================================ */
#welco-main .welco-layout__margin {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  background-color: #f2f2f2;
  position: relative;
  z-index: 20;
  display: block;
}

#welco-main .welco-side-nav-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0 0 30px;
  background-color: #f2f2f2;
}

#welco-main .welco-side-logo-wrap {
  width: 90px;
  margin-bottom: 40px;
  background-color: #f2f2f2;
}

#welco-main .welco-side-logo {
  width: 100%;
  height: auto;
  display: block;
}

#welco-main .welco-side-nav {
  background-color: #f2f2f2;
}

#welco-main .welco-side-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #f2f2f2;
}

#welco-main .welco-nav-main-item {
  margin-bottom: 20px;
  background-color: #f2f2f2;
}

#welco-main .welco-nav-main-item>a,
#welco-main .welco-nav-main-item__ttl {
  display: block;
  text-decoration: none;
  color: #555;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
  background-color: #f2f2f2;
}

#welco-main .welco-nav-main-item__ttl {
  cursor: default;
}

#welco-main .welco-side-nav__sub-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
  background-color: #f2f2f2;
}

#welco-main .welco-side-nav__sub-list li {
  margin-bottom: 10px;
  background-color: #f2f2f2;
}

#welco-main .welco-side-nav__sub-list li a {
  display: block;
  text-decoration: none;
  color: #777;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  background-color: #f2f2f2;
}

#welco-main .welco-side-nav__list a:hover,
#welco-main .welco-side-nav__sub-list li a.is-active {
  color: #f38a3b !important;
}

/* 最上位メニュー（HOME/NEWS/WORKS等）が現在地の場合もオレンジにする */
#welco-main .welco-nav-main-item>a.is-active {
  color: #f38a3b !important;
}

/* ------------------------------------------------------------
   6-2. スマホ・タブレット専用メニュー
   ------------------------------------------------------------ */
#welco-main .welco-layout__sp-menu {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 220px;
  max-height: 0;
  overflow: hidden;
  z-index: 999999;
  transition: max-height 0.4s ease-in-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

#welco-main .welco-layout__sp-menu .welco-side-nav-container {
  height: auto;
  padding: 80px 24px 60px 40px;
  background-color: #f2f2f2;
  border-bottom: 1px solid #ddd;
}

#welco-main .welco-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: #666;
  z-index: 9999999;
  line-height: 1;
}

/* ============================================================
   7. ハンバーガーボタン基本スタイル
   ============================================================ */
#welco-main .welco-hamburger-btn {
  display: none;
}

#welco-main .welco-hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #666;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================================
   8. NEWS セクション
   ============================================================ */
#welco-main .welco-news-section {
  width: 100%;
  background-color: #f2f2f2;
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

#welco-main .welco-news-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 600px;
  max-width: 600px;
  margin: 0;
  padding: 0 40px;
}

#welco-main .welco-news-ttl-wrap {
  width: 100%;
}

#welco-main .welco-news-ttl {
  font-family: "din-2014", "Oswald", sans-serif;
  font-weight: 700;
  font-size: 5rem;
  line-height: 1;
  color: #222;
  text-shadow: 1px 1px 0 #f38a3b;
  margin: 0 0 10px -35px;
}

#welco-main .welco-news-ttl-jp {
  font-size: 1.5rem;
  color: #000;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

#welco-main .welco-news-ttl-jp::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #000;
  margin-right: 12px;
}

#welco-main .welco-news-list-wrap {
  width: 100%;
}

#welco-main .welco-news-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  border-top: 1px solid #ccc;
}

#welco-main .welco-news-item {
  border-bottom: 1px solid #ccc;
}

#welco-main .welco-news-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease;
}

#welco-main .welco-news-link:hover {
  color: #f38a3b;
}

#welco-main .welco-news-date {
  font-family: "din-2014", sans-serif;
  font-size: 0.875rem;
  color: #888;
  white-space: nowrap;
  min-width: 80px;
}

#welco-main .welco-news-cat {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 400;
  padding: 1px 10px 2px;
  border-radius: 20px;
  white-space: nowrap;
  color: #fff;
}

#welco-main .welco-news-cat--news-company {
  background-color: #3aaa6e;
}

#welco-main .welco-news-cat--news-service {
  background-color: #f38a3b;
}

#welco-main .welco-news-title {
  font-size: 0.9375rem;
  line-height: 1.5;
}

#welco-main .welco-news-viewall {
  justify-content: flex-end;
  margin-bottom: 0;
}

/* ============================================================
   【レスポンシブ】段階的メディアクエリ
   ============================================================ */

/* --- PHASE 1: 1350px 未満 --- */
@media screen and (max-width: 1349px) {
  #welco-main .welco-layout {
    width: 1300px;
    min-width: 1300px;
    max-width: 1300px;
    position: relative;
  }

  #welco-main .welco-layout__margin {
    display: none;
  }

  #welco-main .welco-layout__right {
    position: relative;
    overflow: visible;
  }

  #welco-main .welco-hamburger-btn {
    display: flex;
    position: absolute;
    top: 33px;
    right: 35px;
    left: auto;
    width: 30px;
    height: 23px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 99999;
    pointer-events: auto;
    background: none;
    border: none;
    padding: 0;
  }

  #welco-main .welco-close-btn {
    position: absolute;
    top: 33px;
    right: 35px;
    left: auto;
    width: 30px;
    height: 23px;
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    font-size: 2.2rem;
    cursor: pointer;
    color: #666;
    z-index: 999999;
    line-height: 1;
  }

  #welco-main .welco-layout__sp-menu {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 220px;
    max-height: 0;
    overflow: hidden;
    z-index: 99998;
    box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.08);
  }

  #welco-main .welco-layout__sp-menu .welco-side-nav-container {
    height: auto;
    padding: 80px 24px 60px 40px;
    background-color: #f2f2f2;
    border-bottom: 1px solid #ddd;
  }

  #welco-main .welco-layout__sp-menu.is-open {
    max-height: 800px;
  }

  #welco-main .welco-layout__sp-menu.is-open .welco-close-btn {
    display: flex;
  }

  #welco-main .welco-hamburger-btn.is-active {
    opacity: 0;
    pointer-events: none;
  }
}

/* --- PHASE 2: 1100px 未満 --- */
@media screen and (max-width: 1099px) {
  #welco-main .welco-layout {
    width: 600px;
    min-width: 600px;
    max-width: 600px;
  }

  #welco-main .welco-layout__left {
    display: none;
  }

  #welco-main .welco-layout__margin {
    width: 250px;
  }

  #welco-main .welco-news-inner {
    width: 100%;
    max-width: 600px;
    padding: 0 40px;
  }

  #welco-main .welco-news-ttl {
    font-size: 3.5rem;
  }
}

/* --- PHASE 3: 768px 未満 --- */
@media screen and (max-width: 767px) {
  #welco-main .welco-layout {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  #welco-main .welco-layout__right {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 0;
  }

  #welco-main .welco-hamburger-btn {
    top: 16px;
    right: 16px;
    width: 30px;
    height: 23px;
  }

  #welco-main .welco-close-btn {
    top: 16px;
    right: 16px;
    width: 30px;
    height: 23px;
    font-size: 2rem;
    line-height: 23px;
  }

  #welco-main .welco-layout__sp-menu {
    width: 100%;
    max-width: 100%;
  }

  #welco-main .welco-layout__sp-menu .welco-side-nav-container {
    padding: 80px 24px 60px 24px;
  }

  #welco-main .welco-layout__margin {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
  }

  #welco-main .welco-fv-section {
    padding: 80px 20px 30px;
    box-sizing: border-box;
  }

  #welco-main .welco-main-copy {
    width: 100%;
    margin: 30px 0;
  }

  #welco-main .welco-line-text {
    font-size: 1rem;
  }

  #welco-main .welco-cursive-wrap {
    right: 10px;
  }

  #welco-main .welco-cursive-img {
    width: 140px;
  }

  #welco-main .welco-service-ttl-wrap {
    padding: 30px 20px 10px;
  }

  #welco-main .welco-svc {
    width: 100%;
    margin: 0 auto 40px auto;
    background-color: #ffffff;
  }

  #welco-main .welco-svc__inner {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
  }

  #welco-main .welco-svc__label {
    position: static;
    order: 1;
    align-self: flex-start;
    margin: 0 0 12px 0;
  }

  #welco-main .welco-svc__ttl {
    position: static;
    order: 2;
    align-self: flex-start;
    font-size: 1.375rem;
    padding: 0;
    margin: 0 0 16px 0;
    background-color: transparent;
  }

  #welco-main .welco-svc__img-wrap {
    position: static;
    order: 3;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 20px 0;
    z-index: 10;
  }

  #welco-main .welco-svc__img-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  #welco-main .welco-svc__body {
    order: 4;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #welco-main .welco-svc__desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  #welco-main .welco-svc__body .welco-view-all-wrap {
    margin-bottom: 0;
    padding-right: 0;
  }

  #welco-main .welco-news-section {
    padding: 50px 0;
  }

  #welco-main .welco-news-inner {
    padding: 0 20px;
  }

  #welco-main .welco-news-link {
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0;
  }

  #welco-main .welco-news-title {
    width: 100%;
  }

  #welco-main .welco-news-ttl {
    font-size: 3rem;
    margin: 0 0 10px 0;
  }

  #welco-main .welco-unspoken__ttl-flex {
    margin-left: 15px;
    margin-right: 15px;
    gap: 8px;
  }

  #welco-main .welco-line-text {
    font-size: 0.95rem;
    white-space: nowrap;
  }
}

/* ============================================================
   WORKS セクション
   ============================================================ */
.welco-works-section {
  position: relative;
  min-height: 400px;
  background-image: url('/wp-content/themes/emanon-premium-child/images/bg-works.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.welco-works-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.welco-works-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 0 0 auto;
  padding: 80px 60px;
}

.welco-works-ttl {
  font-family: "din-2014", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.welco-works-ttl span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.welco-works-desc {
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin-bottom: 32px;
}

.welco-works-section .welco-view-all__text {
  color: #fff;
}

.welco-works-section .welco-view-all__btn-circle {
  background: #fff;
}

.welco-works-section .welco-dots {
  background: #000;
  box-shadow: 5px 0 0 #000, 10px 0 0 #000;
}

/* ============================================================
   COMPANY セクション
   ============================================================ */
.welco-company-section {
  position: relative;
  min-height: 400px;
  background-image: url('/wp-content/themes/emanon-premium-child/images/bg-company.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  display: flex;
  align-items: center;
}

.welco-company-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
}

.welco-company-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 0 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.welco-company-text {
  flex: 1;
  max-width: 420px;
}

.welco-company-desc {
  font-size: 0.85rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 32px;
}

.welco-company-ttl-wrap {
  flex-shrink: 0;
}

.welco-company-ttl {
  font-family: "din-2014", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #222;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.welco-company-ttl span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #555;
}

/* ============================================================
   CONTACT セクション
   ============================================================ */
.welco-contact-section {
  position: relative;
  min-height: 360px;
  background-image: url('/wp-content/themes/emanon-premium-child/images/bg-contact.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welco-contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.welco-contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 40px;
}

.welco-contact-ttl {
  font-family: "din-2014", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.welco-contact-ttl span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.welco-contact-desc {
  font-size: 0.85rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.welco-contact-section .welco-view-all-wrap {
  justify-content: center;
}

/* ============================================================
   WORKS / COMPANY / CONTACT 全幅・2カラム構造
   ============================================================ */
.welco-bottom-section {
  display: block;
}

.welco-works-inner,
.welco-company-inner,
.welco-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  width: 100%;
  max-width: 1280px;
  margin: 0 0 0 auto;
  padding: 80px 60px;
}

.welco-works-ttl,
.welco-company-ttl,
.welco-contact-ttl {
  font-family: "din-2014", sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-shadow: 2px 2px 0 #f38a3b;
}

.welco-works-ttl span,
.welco-company-ttl span,
.welco-contact-ttl span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-shadow: none;
}

.welco-works-section {
  position: relative;
  background-image: url('/wp-content/themes/emanon-premium-child/images/bg-works.jpg');
  background-size: cover;
  background-position: center;
}

.welco-works-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.welco-works-inner {
  position: relative;
  z-index: 1;
}

.welco-works-ttl {
  color: #fff;
}

.welco-works-desc {
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 380px;
}

.welco-company-section {
  position: relative;
  background-image: url('/wp-content/themes/emanon-premium-child/images/bg-company.jpg');
  background-size: cover;
  background-position: center;
}

.welco-company-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
}

.welco-company-inner {
  position: relative;
  z-index: 1;
  flex-direction: row-reverse;
}

.welco-company-ttl {
  color: #222;
}

.welco-company-desc {
  font-size: 0.85rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 24px;
  max-width: 380px;
}

.welco-company-section .welco-view-all__text {
  color: #222;
}

.welco-company-section .welco-view-all__btn-circle {
  background: #222;
}

.welco-company-section .welco-dots {
  background: #fff;
  box-shadow: 5px 0 0 #fff, 10px 0 0 #fff;
}

.welco-contact-section {
  position: relative;
  background-image: url('/wp-content/themes/emanon-premium-child/images/bg-contact.jpg');
  background-size: cover;
  background-position: center;
}

.welco-contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.welco-contact-inner {
  position: relative;
  z-index: 1;
}

.welco-contact-ttl {
  color: #fff;
}

.welco-contact-desc {
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 380px;
}

/* ============================================================
   スマホ全幅パツパツ解消＆レイアウトクリーンアップ
   ============================================================ */
@media screen and (max-width: 768px) {

  #welco-main.welco-top,
  #welco-main.welco-top *,
  #welco-main .welco-layout,
  #welco-main .welco-layout__right,
  .welco-works-inner,
  .welco-company-inner,
  .welco-contact-inner {
    box-sizing: border-box;
  }

  #welco-main.welco-top .welco-layout__right {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  #welco-main .welco-svc {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #welco-main .welco-layout__right .welco-svc__inner {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  #welco-main .welco-layout__right .welco-service-ttl-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  #welco-main .welco-layout__right .welco-news-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .welco-works-inner,
  .welco-company-inner,
  .welco-contact-inner {
    flex-direction: column !important;
    padding: 60px 20px;
    gap: 28px;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  #welco-main .welco-company-inner {
    flex-direction: column;
  }

  .welco-works-ttl,
  .welco-company-ttl,
  .welco-contact-ttl {
    align-items: flex-start;
    text-align: left;
    font-size: 2.5rem;
  }

  .welco-company-ttl {
    align-items: flex-start;
  }

  .welco-works-desc,
  .welco-company-desc,
  .welco-contact-desc {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .welco-company-text {
    max-width: 100%;
    width: 100%;
  }

  .welco-contact-inner {
    align-items: center;
    text-align: center;
  }

  .welco-contact-ttl {
    align-items: center;
    text-align: center;
  }

  .welco-works-ttl span,
  .welco-company-ttl span,
  .welco-contact-ttl span {
    text-align: left;
    margin: 0;
  }

  .welco-contact-ttl span {
    text-align: center;
    margin: 0 auto;
  }
}

/* ============================================================
   左側固定エリア：背景スライドUP＋フェードアニメーション
   ============================================================ */
#welco-main .welco-layout__left {
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: hidden;
}

.welco-left-bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 380px auto;
  background-position: center 75%;
  z-index: -1;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

.welco-left-bg--current {
  opacity: 1;
  transform: translateY(0);
}

.welco-left-bg--next {
  opacity: 0;
  transform: translateY(30px);
}

/* ============================================================
   リニューアル版 フッター専用スタイル
   ============================================================ */
.welco-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 0 40px 0;
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
}

#welco-main .welco-footer *,
.welco-footer a {
  color: #ffffff;
  text-decoration: none;
}

.welco-footer__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
  gap: 40px;
}

.welco-footer__company {
  flex: 1;
  max-width: 500px;
}

.welco-footer__company-name {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: 0.05em;
}

.welco-footer__address {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #ffffff;
}

.welco-footer__address p {
  margin: 0 0 4px 0;
}

.welco-footer__address a:hover {
  text-decoration: underline;
}

.welco-footer__nav {
  display: flex;
  gap: 80px;
}

.welco-footer__nav-col {
  list-style: none;
  padding: 0;
  margin: 0;
}

.welco-footer__nav-col li {
  margin-bottom: 14px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.welco-footer__nav-col a {
  transition: color 0.2s ease;
}

.welco-footer__nav-col a:hover {
  color: #f38a3b;
}

.welco-footer__bottom {
  max-width: 1280px;
  margin: 60px auto 0 auto;
  padding: 24px 60px 0 60px;
  border-top: 1px solid #222222;
  box-sizing: border-box;
  text-align: end;
}

.welco-footer__copyright {
  font-size: 0.75rem;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   フッター レスポンシブ（768px以下）
   ------------------------------------------------------------ */
@media screen and (max-width: 768px) {
  .welco-footer {
    padding: 60px 0 30px 0;
  }

  .welco-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
    gap: 48px;
  }

  .welco-footer__company {
    width: 100%;
    max-width: 100%;
  }

  .welco-footer__company-name {
    font-size: 1.25rem;
  }

  .welco-footer__nav {
    width: 100%;
    gap: 40px;
    justify-content: flex-start;
  }

  .welco-footer__nav-col {
    flex: 1;
  }

  .welco-footer__nav-col li {
    white-space: normal;
    font-size: 0.875rem;
    margin-bottom: 16px;
  }

  .welco-footer__bottom {
    margin-top: 40px;
    padding: 20px 20px 0 20px;
  }
}

/* ============================================================
   View All：WORKS / CONTACT 用の反転カラー版
   ============================================================ */
#welco-main .welco-works-section .welco-view-all__text,
#welco-main .welco-contact-section .welco-view-all__text {
  color: #ffffff !important;
}

#welco-main .welco-works-section .welco-view-all__btn-circle,
#welco-main .welco-contact-section .welco-view-all__btn-circle {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: none !important;
}

#welco-main .welco-works-section .welco-dots,
#welco-main .welco-contact-section .welco-dots {
  background: #000000 !important;
  background-color: #000000 !important;
  box-shadow: -5px 0 0 #000000, 5px 0 0 #000000 !important;
}

#welco-main .welco-works-section .welco-dots::after,
#welco-main .welco-contact-section .welco-dots::after {
  border: none !important;
  border-top: 1.5px solid #000000 !important;
  border-right: 1.5px solid #000000 !important;
}

#welco-main .welco-works-section .welco-view-all:hover .welco-dots,
#welco-main .welco-contact-section .welco-view-all:hover .welco-dots {
  background: #000000 !important;
  background-color: #000000 !important;
  box-shadow: none !important;
}

/* ============================================================
   常駐型 PAGETOP フローティングボタン
   ============================================================ */
a.welco-float-pagetop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 46px;
  height: 46px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.3s ease,
    border-color 0.3s ease;
}

a.welco-float-pagetop.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

a.welco-float-pagetop .welco-float-pagetop__arrow {
  display: block;
  width: 8px;
  height: 8px;
  border: none;
  border-top: 2px solid #222222;
  border-left: 2px solid #222222;
  transform: translateY(2px) rotate(45deg);
  background: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ------------------------------------------------------------
   PAGETOP：ホバー ＆ レスポンシブ
   ------------------------------------------------------------ */
a.welco-float-pagetop:hover {
  background-color: #000000;
  border-color: #000000;
  transform: scale(0.95);
}

a.welco-float-pagetop:hover .welco-float-pagetop__arrow {
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  transform: translateY(-2px) rotate(45deg);
}

@media screen and (max-width: 768px) {
  a.welco-float-pagetop {
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   下層ページ（DESIGN & AD）専用スタイル
   ============================================================ */
.welco-sub-fv {
  padding-top: 30px !important;
}

/* パンくずリスト */
.welco-breadcrumb {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  text-align: left;
}

.welco-breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.welco-breadcrumb a:hover {
  color: #f38a3b;
}

.welco-breadcrumb__current {
  color: #222;
  font-weight: 700;
}

.welco-sub-lead {
  font-size: 0.9375rem;
  line-height: 2;
  color: #444;
  width: 85%;
  margin: 40px auto;
  text-align: justify;
}

@media screen and (max-width: 767px) {
  .welco-sub-fv {
    padding-top: 60px !important;
  }

  .welco-breadcrumb {
    margin-bottom: 24px;
  }

  .welco-sub-lead {
    width: 100%;
    margin: 24px 0;
    font-size: 0.875rem;
  }
}

/* ============================================================
   SERVICESの親文字・パンくずのオレンジ強制解除
   ============================================================ */

/* 1. 右サイドナビの「SERVICES」の文字色をグレーに固定（ホバーやアクティブを無効化） */
#welco-main .welco-nav-main-item__ttl,
#welco-main .welco-nav-main-item .is-active.welco-nav-main-item__ttl {
  color: #555 !important;
  text-shadow: none !important;
}

/* 2. パンくずリスト内の「SERVICES」リンクのオレンジを解除してグレーに固定 */
.welco-breadcrumb a[href*="/service/"],
.welco-breadcrumb a:nth-child(2) {
  color: #666 !important;
  cursor: default !important;
  pointer-events: none;
  /* クリックもできないようにガード */
}

/* 3. ついでにパンくずの「＞」記号もトーンを揃える */
.welco-breadcrumb {
  color: #888 !important;
}

/* SERVICESの親文字がホバーされた時も、絶対にオレンジにさせない */
#welco-main .welco-side-nav__list .welco-nav-main-item__ttl:hover,
#welco-main .welco-nav-main-item__ttl:hover {
  color: #555 !important;
  background-color: transparent !important;
}

/* ============================================================
   下層ページ（DESIGN & AD）用レイアウトカスタマイズ（はみ出し画像の内包化など）
   ============================================================ */

/* ① 左右はみ出し画像をインライン（枠内）に収める */
.welco-sub-page .welco-svc__img-wrap {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin-bottom: 24px !important;
}

.welco-sub-page .welco-svc__img-wrap img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.welco-sub-page .welco-svc__inner {
  display: flex;
  flex-direction: column;
  padding: 40px 40px 20px 40px;
}

/* ラベルとサービスタイトルの絶対配置を解除して順番通りに並べる */
.welco-sub-page .welco-svc__label {
  position: static !important;
  align-self: flex-start;
  margin-bottom: 8px;
  z-index: 10;
}

.welco-sub-page .welco-svc__ttl {
  position: static !important;
  align-self: flex-start;
  padding: 0 !important;
  margin-bottom: 20px !important;
  background-color: transparent !important;
  z-index: 10;
}

/* 本文エリアの absolute 回避用巨大 margin-top をリセット */
.welco-sub-page .welco-svc__body {
  width: 100% !important;
  margin: 0 auto !important;
}

/* ② 左側固定看板英字のトーンダウン（オレンジの影を消し、優しいグレーに） */
.welco-sub-page .welco-hero__en {
  color: #aaaaaa !important;
  text-shadow: none !important;
}

/* ③ 下層ページでは左看板内のCONTACTボタンを非表示にする */
.welco-sub-page .welco-contact-wrap {
  display: none !important;
}

/* ============================================================
   下層ページ（制作実績 / WORKS）専用スタイル
   ============================================================ */

/* --- カテゴリ内グリッド --- */
.welco-works-grid {
  display: grid;
  gap: 24px;
  padding: 0 40px 60px;
  box-sizing: border-box;
}

.welco-works-grid--col2 {
  grid-template-columns: repeat(2, 1fr);
}

.welco-works-grid--col1 {
  grid-template-columns: 1fr;
}

/* --- カード共通 --- */
#welco-main .welco-work-card {
  position: relative;
  display: block;
  background: #f7f7f7;
  text-decoration: none;
  color: inherit;
}

#welco-main .welco-work-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #e6e6e6;
}

.welco-work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.welco-work-card:hover .welco-work-card__thumb img {
  transform: scale(1.06);
}

#welco-main .welco-work-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.welco-work-card:hover .welco-work-card__overlay {
  opacity: 1;
}

#welco-main .welco-work-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* 拡大（＋）アイコン：グラフィック / ウェブサイト / LP / イベント用 */
.welco-work-card__icon::before,
.welco-work-card__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: #222;
  transform: translate(-50%, -50%);
}

.welco-work-card__icon::before {
  width: 16px;
  height: 2px;
}

.welco-work-card__icon::after {
  width: 2px;
  height: 16px;
}

/* 再生（▶）アイコン：動画エリア専用 */
.welco-work-card--video .welco-work-card__icon::before,
.welco-work-card--video .welco-work-card__icon::after {
  background: transparent;
}

.welco-work-card--video .welco-work-card__icon::before {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #f38a3b;
  transform: translate(-40%, -50%);
}

.welco-work-card__caption {
  padding: 8px 16px 16px;
}

#welco-main .welco-work-card__label {
  display: inline-block;
  font-family: "din-2014", sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  background: #000;
  color: #fff;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.welco-work-card__ttl {
  font-size: 0.875rem;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
  margin: 0;
}

.welco-work-card__client {
  font-size: 0.75rem;
  color: #777;
  margin: 4px 0 0;
}

/* --- モーダル（ポップアップ拡大表示） --- */
.welco-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  padding: 40px;
  box-sizing: border-box;
}

.welco-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.welco-modal__inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
}

.welco-modal__inner img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #111;
}

.welco-modal__caption {
  color: #fff;
  text-align: center;
  margin-top: 16px;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.welco-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
}

.welco-modal__close::before,
.welco-modal__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  background: #fff;
  transform-origin: center;
}

.welco-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.welco-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* --- レスポンシブ（768px以下） --- */
@media screen and (max-width: 767px) {
  .welco-works-grid {
    padding: 0 20px 40px;
    gap: 16px;
  }

  .welco-works-grid--col2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .welco-work-card__caption {
    padding: 10px 4px 4px;
  }

  .welco-work-card__ttl {
    font-size: 0.75rem;
  }

  .welco-work-card__client {
    font-size: 0.6875rem;
  }

  .welco-modal {
    padding: 20px;
  }

  .welco-modal__close {
    top: -40px;
    width: 30px;
    height: 30px;
  }
}