@charset "utf-8";
/* サイトヘッダー
===========================================================================*/
/*
<header class="l-header">
  <div class="l-header__inner inner">
    <a href="/index.html" class="l-header__logo">
      <img src="images/common/logo.png" alt="サイト名" width="160" height="40">
    </a>
    <!-- ハンバーガー・ナビはこの後に続く -->
  </div>
</header>
*/
.l-header {
  position: relative;
  z-index: 100; /* オーバーレイ(90)より上にして、常にヘッダー内が操作可能な状態を保つ */
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	font-family: var(--font-maru);
}
.l-header--fixed{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem; /* 60px */
	padding:0 0 0 var(--s-5);
}
.l-header__logo {
  position: relative;
  z-index: 130;
}
.l-header__logo img {
  max-height: 2.5rem; /* 40px */
  transition: ease 0.3s;
}
@media (min-width: 1024px) {
  .l-header__inner {
		padding:0 var(--s-10);
    height: 7.5rem; /* 120px */
    transition: ease 0.3s;
		gap:var(--s-5);
    /* align-items: center はベーススタイルから継承 */
  }
  .l-header--fixed .l-header__inner {
    height: 3.75rem; /* 60px */
  }
  .l-header__logo img {
    max-height: 3.75rem; /* 60px */
  }
  .l-header--fixed .l-header__logo img {
    max-height: 2.5rem; /* 40px */
  }
}
@media (min-width: 1280px) {
  .l-header__logo img {
    max-height: 5rem; /* 80px */
  }
}

/* ヘッダーユーティリティ（お知らせ・SNS・CTAボタン）
===========================================================================*/
/*
<div class="l-header__utility">
  <a href="/html/news/" class="l-header__news">
    <i class="fa-regular fa-newspaper" aria-hidden="true"></i>
    お知らせ
    <i class="fa-solid fa-arrow-up-right-from-square l-header__news-icon" aria-hidden="true"></i>
  </a>
  <ul class="l-header__sns">
    <li><a href="#" class="l-header__sns-link" aria-label="X（旧Twitter）"><i class="fa-brands fa-x-twitter" aria-hidden="true"></i></a></li>
    <li><a href="#" class="l-header__sns-link" aria-label="Instagram"><i class="fa-brands fa-instagram" aria-hidden="true"></i></a></li>
  </ul>
  <ul class="l-header__cta-list">
    <li><a href="#" class="l-header__cta"><i class="fa-solid fa-diagram-project" aria-hidden="true"></i>ご依頼の流れ</a></li>
    <li><a href="#" class="l-header__cta"><i class="fa-solid fa-envelope" aria-hidden="true"></i>ご相談・お見積り</a></li>
  </ul>
</div>
*/
.l-header__right {
  position: relative;
  z-index: 100; /* オーバーレイ(90)より上にして、お知らせ・SNS・CTAボタンを操作可能にする */
  display: flex;
  align-items: center;
  height: 100%;
}
/* ---- 1024px未満：ヘッダーには出さず、ハンバーガーメニュー内へ格納 ---- */
.l-header__utility {
  display: none;
}
@media (min-width: 1024px) {
  /* ---- 1024px以上：ヘッダー内に表示 ---- */
  .l-header__utility {
    display: flex;
    align-items: center;
    gap: var(--s-5);
    height: 100%;
    margin-right: var(--s-10);
  }
  /* ---- ハンバーガーボタンを画面右端に密着させる ---- */
  .l-header__right {
    margin-right: calc(-1 * var(--s-10));
  }
}
.l-header__news {
  display: inline-flex;
  align-items: center;
	justify-content: center;
  gap: var(--s-1);
  font-size: var(--text-16);
  font-weight: bold;
  white-space: nowrap;
}
.l-header__news-icon {
  font-size: 0.7em;
}
.l-global-nav__utility .l-header__sns {
  gap: var(--s-5);
}
.l-header__sns {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.l-header__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
	width: var(--s-12);
	height: var(--s-12);
  transition: opacity 0.3s ease;
	border: 1px solid #eee;
	background-color:#fafafa;
	border-radius: 50%;
}
.l-header__sns-link img {
  display: block;
  width: 45%;
  height: 45%;
  object-fit: contain;
}
.l-header__sns-link:hover {
  opacity: 0.6;
}
/* ---- CTAボタン（ご依頼の流れ／ご相談・お見積り）をグループ化 ---- */
.l-header__cta-list {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.l-header__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--color-red);
  border-radius: 999px;
  color: var(--color-red);
  font-size: var(--text-14);
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
  transition: ease 0.3s;
}
.l-header__cta:hover {
  background-color: var(--color-red-dark);
  color: #fff;
  opacity: 1;
}
/* ---- ハンバーガーメニュー内（1024px未満用）の表示 ---- */
.l-global-nav__utility {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-6) var(--s-4);
  /*border-bottom: 1px solid var(--color-border);*/
}
.l-global-nav__utility .l-header__news {
  width: 100%;
}
.l-global-nav__utility .l-header__cta {
  width: 100%;
  justify-content: center;
}
.l-global-nav__utility .l-header__cta-list {
  width: 100%;
	flex-direction: row;
	justify-content: center;
  gap: var(--s-3);
}

@media (min-width: 1024px) {
  /* ---- 1024px以上：ヘッダー側に表示するのでハンバーガー内では非表示 ---- */
  .l-global-nav__utility {
    display: none;
  }
	.l-header__news {
		font-size: clamp(var(--text-14), 1.46vw, var(--text-16));
	}
	.l-header__sns-link {
		width: var(--s-12);
		height: var(--s-12);
		border: 1px solid #eee;
		background-color:#fafafa;
	}
	.l-header__cta {
		gap: var(--s-2);
		padding: var(--s-4) var(--s-5);
		font-size: clamp(var(--text-14), 1.46vw, var(--text-16));
	}
}
 
/* ハンバーガーメニュー・グローバルナビ
===========================================================================*/
/*
<button class="l-hamburger-btn" aria-expanded="false" aria-label="メニューを開く">
  <span class="l-hamburger-btn__bar"></span>
  <span class="l-hamburger-btn__bar"></span>
  <span class="l-hamburger-btn__bar"></span>
</button>
<nav class="l-global-nav">
  <ul class="l-global-nav__list">
    <li class="l-global-nav__item">
      <a href="#" class="l-global-nav__link">メニュー</a>
    </li>
    <li class="l-global-nav__item has-submenu">
      <div class="l-global-nav__item-main">
        <a href="#" class="l-global-nav__link">サービス</a>
        <button class="l-submenu-toggle" aria-expanded="false"></button>
      </div>
      <ul class="l-submenu">
        <li class="l-submenu__item"><a href="#" class="l-submenu__link">サブメニュー1</a></li>
      </ul>
    </li>
    <li class="l-global-nav__item l-global-nav__item--contact">
      <a href="#" class="l-global-nav__link">お問い合わせ</a>
    </li>
  </ul>
</nav>
*/
 
.l-hamburger-btn {
  position: relative;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-2); /* 8px */
  width: 3.75rem;
  height: 3.75rem;
  padding: var(--s-3) var(--s-2);
  background-color: var(--color-primary);
  cursor: pointer;
  transition: ease 0.3s;
  border: none;
}
.l-hamburger-btn:hover {
  background-color: var(--color-primary-dark);
}
.l-hamburger-btn__bar {
  display: block;
  width: var(--s-8); /* 32px */
  height: 2px;
  background-color: #fff;
  transition: transform 0.4s ease;
}
.l-hamburger-btn__text {
  display: none; /* モバイルはアイコンのみ */
	font-family: var(--font-maru);
  font-size: var(--text-14);
	font-weight:700;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}
.l-hamburger-btn.is-active .l-hamburger-btn__bar:nth-of-type(1) {
  transform: translateY(10px) rotate(45deg);
}
.l-hamburger-btn.is-active .l-hamburger-btn__bar:nth-of-type(2) {
  transform: scaleX(0);
}
.l-hamburger-btn.is-active .l-hamburger-btn__bar:nth-of-type(3) {
  transform: translateY(-10px) rotate(-45deg);
}
@media (min-width: 1024px) {
  .l-hamburger-btn {
    width: var(--s-30); /* 120px */
    height: 100%;
  }
  .l-header--fixed .l-hamburger-btn {
    width: var(--s-15); /* 60px */
  }
  .l-hamburger-btn__text {
    display: block;
  }
  .l-header--fixed .l-hamburger-btn__text {
    display: none;
  }
}
 
.l-global-nav {
  position: fixed;
  top: 3.75rem;
  right: 0;
  z-index: 120;
  width: 100%;
  height: 100%;
  padding: var(--s-4) var(--s-4) 3.75rem;
  background-color: #fffaf5;
  background-image: radial-gradient(circle at 100% 0%, #fff0e0 0%, #fffaf5 55%);
  overflow-y: auto;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.l-global-nav.is-active {
  transform: translateX(0);
}
@media (min-width: 1024px) {
  .l-global-nav {
    top: 7.5rem;
    width: 26rem;      /* 右側に表示する帯の幅 */
    max-width: 90vw;
    height: calc(100% - 7.5rem);
    border-radius: 1.5rem 0 0 1.5rem; /* 左側だけ丸めてやわらかい印象に */
    padding: var(--s-6) var(--s-6) 3.75rem;
  }
	.l-header--fixed .l-global-nav{
		top: 3.75rem;
		height: calc(100% - 3.75rem);
		}
}
 
/* ---- ナビオープン時、ナビ以外を操作不可にするオーバーレイ ---- */
.l-drawer-overlay {
  position: fixed;
  top: 3.75rem; /* ヘッダーの高さぶん下げ、常にヘッダーの下に来るようにする */
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90; /* l-header(100)より下＝ヘッダー内は操作可、main側のコンテンツのみを覆う */
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.l-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.l-global-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.l-global-nav__item {
  list-style: none;
  margin-bottom: var(--s-2);
}
.l-global-nav__link {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background-color: #fff;
  border: 1px solid #ffe8d6;
  border-radius: 999px; /* ピル型でやわらかく */
  font-size: var(--text-16);
  font-weight: bold;
  line-height: 1;
  color: #6b5b53;
  transition: ease 0.3s;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.l-global-nav__link i {
  color: var(--color-primary);
  font-size: 0.9em;
  width: 1.2em;
  text-align: center;
  flex-shrink: 0;
}
.l-global-nav__link:hover {
  color: var(--color-primary);
  background-color: #fff3e9;
  border-color: var(--color-primary);
  transform: translateX(-4px);
  opacity: 1;
}
@media (min-width: 1024px) {
.l-drawer-overlay {
  top: 7.5rem;
}
.l-header--fixed .l-drawer-overlay{
	top: 3.75rem;
	}
}

/* ドロップダウンメニュー
===========================================================================*/
.l-global-nav__item.has-submenu {
  position: relative; /* PC用ドロップダウンの基準 */
}
.l-global-nav__item-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.l-global-nav__item-main > .l-global-nav__link {
  flex: 1;
  width: auto;
  text-align: left;
}
.l-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.l-submenu__link {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: var(--s-2) 0 var(--s-2) var(--s-6);
  padding: var(--s-3) var(--s-4);
  background-color: #fff8f2;
  border: 1px dashed #ffd9b3;
  border-radius: 999px;
  color: #8a7468;
  font-size: var(--text-14);
  font-weight: bold;
  line-height: 1;
  text-align: left;
}
.l-submenu__link:hover {
  color: var(--color-primary);
  border-style: solid;
  opacity: 1;
}
.l-submenu-toggle {
  position: relative; /* item-main内でリンクの隣に並べる */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #fff;
  border: 1px solid #ffe8d6;
  border-radius: 50%;
  cursor: pointer;
}
.l-submenu-toggle::before,
.l-submenu-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background-color: var(--color-primary);
  transition: transform 0.3s ease;
}
.l-submenu-toggle::before { transform: translate(-50%, -50%); }
.l-submenu-toggle::after  { transform: translate(-50%, -50%) rotate(90deg); }
.l-global-nav__item.has-submenu.is-open .l-submenu-toggle::after {
  display: none;
}
/* ---- お問い合わせ CTA（ハンバーガー内でも常にピル型で表示） ---- */
.l-global-nav__item--contact {
  margin-top: var(--s-4);
}
.l-global-nav__item--contact .l-global-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  text-align: center;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(242, 128, 46, 0.3);
}
.l-global-nav__item--contact .l-global-nav__link i {
  color: #fff;
}
.l-global-nav__item--contact .l-global-nav__link:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
  opacity: 1;
}

/* セクション共通
===========================================================================*/
/*
<section class="l-section">
  <div class="inner">
    <!-- コンテンツ -->
  </div>
</section>
<section class="section section--bg">
  <div class="inner">
    <!-- 背景あり -->
  </div>
</section>
*/
.l-section {
  padding-top: var(--s-15); /* 60px */
  padding-bottom: var(--s-15); /* 60px */
}
.l-section--sm {
  padding-top: var(--s-10); /* 40px */
  padding-bottom: var(--s-10); /* 40px */
}
.l-section--lg {
  padding-top: var(--s-25); /* 100px */
  padding-bottom: var(--s-25); /* 100px */
}
@media (min-width: 768px) {
  .l-section {
    padding-top: var(--s-25); /* 100px */
    padding-bottom: var(--s-25); /* 100px */
  }
  .l-section--sm {
    padding-top: var(--s-15); /* 60px */
    padding-bottom: var(--s-15); /* 60px */
  }
  .l-section--lg {
    padding-top: var(--s-30); /* 120px */
    padding-bottom: var(--s-30); /* 120px */
  }
}


/* フッターレイアウト
===========================================================================*/
.l-footer {
  background-color: #fff;
  padding: var(--s-8) 0;
}
.l-footer__inner {
  display: flex;
	align-items: center;
  flex-direction: column;
  gap: var(--s-5);
}
@media (min-width: 768px) {
  .l-footer {
		padding: var(--s-16) 0;
  }
}

/* コピーライト
===========================================================================*/
.l-copyright {
	font-family: var(--font-maru);
  font-size: var(--text-14);
	font-weight:700;
  text-align: center;
  background-color: #222222;
  color: #fff;
  padding: var(--s-5) 0;
}