@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;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.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;
  padding: 0 0 0 var(--s-5);
  gap: var(--s-4);
}
.l-header__logo {
  z-index: 130;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.l-header__logo p{
	display:flex;
	align-items:center;
	gap:var(--s-3);
}
.l-header__logo p span{
	display:none;
	font-size: var(--text-12);
	line-height:1.2;
	overflow-wrap: break-word;
	}
.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: 6.25rem; /* 100px */
    transition: ease 0.3s;
    /* align-items: center はベーススタイルから継承 */
  }
  .l-header--fixed .l-header__inner {
    height: 3.125rem; /* 50px */
  }
	.l-header__logo p span{
		display:block;
		font-size: var(--text-14);
		gap:var(--s-5);
		}
  .l-header__logo img {
    max-height: 3.125rem; /* 50px */
  }
  .l-header--fixed .l-header__logo img {
    max-height: 2.5rem; /* 40px */
  }
}

/* ハンバーガーメニュー・グローバルナビ
===========================================================================*/
/*
<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;
  justify-content: space-around;
  width: 3.75rem;
  height: 3.75rem;
  padding: var(--s-4);
  background-color: var(--color-primary);
  cursor: pointer;
  transition: ease 0.3s;
  border: none;
	flex-shrink: 0;
}
.l-hamburger-btn:hover {
  background-color: var(--color-primary-dark);
}
.l-hamburger-btn__bar {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: transform 0.4s ease;
}
.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);
}
.l-global-nav {
  position: fixed;
  top: 3.75rem;
  right: 0;
  z-index: 120;
  width: 100%;
  height: 100%;
  padding: 0 0 3.75rem;
  background-color: rgba(255, 255, 255, 0.95);
  overflow-y: auto;
  overflow-x: hidden; /* 横はみ出し防止 */
  backdrop-filter: blur(5px);
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.l-global-nav.is-active {
  transform: translateX(0);
}
.l-global-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  border-top: 1px solid var(--color-border);
}
.l-global-nav__item {
  border-bottom: 1px solid var(--color-border);
  list-style: none;
}
.l-global-nav__link {
  display: block;
  padding: var(--s-5);
  font-size: var(--text-16);
  font-weight: 500;
  line-height: 1;
  transition: ease 0.3s;
  text-align: left;
}
.l-global-nav__link:hover {
  color: var(--color-primary);
  opacity: 1;
}
@media (min-width: 1024px) {
  .l-hamburger-btn {
    display: none;
  }
}

/* ドロップダウンメニュー
===========================================================================*/
.l-global-nav__item.has-submenu {
  position: relative; /* PC用ドロップダウンの基準 */
}
.l-global-nav__item-main {
  position: relative;
}
.l-global-nav__item-main > .l-global-nav__link {
  display: block;
  width: 100%;
  text-align: left;
}
.l-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.l-submenu__link {
  display: block;
  padding: var(--s-4);
  border-top: 1px solid #eee;
  background-color: var(--color-bg-light);
  font-size: var(--text-14);
  line-height: 1;
  text-align: left;
}
.l-submenu-toggle {
  position: absolute; /* item-main基準で右端固定 */
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-accent);
  border: none;
  cursor: pointer;
}
.l-submenu-toggle::before,
.l-submenu-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background-color: #fff;
  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;
}


/* メガメニュー
===========================================================================*/
.l-submenu--mega {
  width: 100%;
  max-width: 100%;
  padding: 0 var(--s-5);
  overflow-x: hidden;
}
.l-submenu__mega-inner {
  width: 100%;
  max-width: 100%;
}
.l-submenu__mega-head {
	display:none;
}
.l-submenu__mega-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  width: 100%;
  max-width: 100%;
}
.l-submenu__mega-group {
  width: 100%;
  min-width: 0; /* flex子要素の潰れ防止（横はみ出し対策） */
}
.l-submenu__mega-group:last-child {
	margin-bottom:var(--s-5);
}
.l-submenu__mega-cat {
  display: flex;
  align-items: center;
	color: var(--color-accent);
  font-size: var(--text-15);
  font-weight: 600;
	line-height:1.4;
	margin-bottom:var(--s-2);
}
.l-submenu__mega-list {
}
.l-submenu__mega-link {
  display: block;
  padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4);
  font-size: var(--text-14);
  line-height: 1.5;
  text-align: left;
  overflow-wrap: break-word; /* 長いリンク文言の横はみ出し防止 */
}
.l-submenu__mega-link::before {
  font-family: var(--font-icon);
	font-weight: 900;
  content: "\f105";
  display: inline-block;
  margin-left: calc(var(--s-4) * -1);
  margin-right: var(--s-2);
  color: var(--color-accent);
}
.l-submenu__mega-link:hover {
	color: var(--color-accent);
	opacity: 1;
}

@media (min-width: 1024px) {
  /* ---- グローバルナビをPC用横並びにリセット ---- */
  .l-global-nav {
    position: static;
    display: flex;
    align-items: center;
    align-self: stretch;
    width: auto;
    height: 100%;
    padding: 0;
    background-color: transparent;
    backdrop-filter: none;
    overflow-y: visible;
    overflow-x: visible;
    transform: none;
		flex-shrink: 0;
  }
  .l-global-nav__list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    border-top: none;
  }
  .l-global-nav__item {
    display: flex;
    align-items: center;
    height: 100%;
    border-bottom: none;
    position: relative;
  }
  .l-global-nav__item-main {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
  }
  /* ---- ナビリンク共通：ヘッダー内の上下中央に配置 ---- */
  .l-global-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--s-2);
    height: 100%;
    white-space: nowrap;
    line-height: 1;
    text-align: center;
  }
  .l-global-nav__item-main > .l-global-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
  }
	/* メガメニューの場合は li ではなく .l-header を絶対配置の基準にする */
		.l-global-nav__item.has-submenu:has(.l-submenu--mega) {
			position: static;
	}
  .l-header--fixed .l-global-nav,
  .l-header--fixed .l-global-nav__list,
  .l-header--fixed .l-global-nav__item,
  .l-header--fixed .l-global-nav__item-main,
  .l-header--fixed .l-global-nav__link,
  .l-header--fixed .l-global-nav__item-main > .l-global-nav__link {
    height: 100%;
  }
	/* ---- サブメニューある項目に矢印を表示 ---- */
  .has-submenu .l-global-nav__item-main > .l-global-nav__link::after {
    content: '';
    display: inline-block;
		width: 0.5rem;
		height: 0.5rem;
    margin-left: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-0.12rem) rotate(45deg);
    flex-shrink: 0;
  }
  /* ---- お問い合わせ CTA ---- */
  .l-global-nav__item--contact {
    margin-left: var(--s-2);
  }
  .l-global-nav__item--contact .l-global-nav__link {
		display:flex;
		gap:var(--s-2);
    height: auto;
    padding: var(--s-3) var(--s-5);
    background-color: var(--color-red);
    color: #fff;
    text-align: center;
		border-radius:999px;
  }
  .l-global-nav__item--contact .l-global-nav__link:hover {
    background-color: var(--color-red-dark);
    color: #fff;
    opacity: 1;
  }
  /* ---- ドロップダウン（PC） ---- */
  .l-submenu-toggle {
    display: none;
  }
  .l-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    max-height: none;
		width: 100vw;
		max-width: 100vw;
    min-width: 14rem;
		margin-left: -50vw;
    overflow: visible;
    background-color: #f7f7f7;
    /*box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);*/
    border-top: none;
    opacity: 0;
    pointer-events: none;
		transform: translateY(-6px);
		padding: var(--s-8, 2.5rem) 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 200;
  }
  .l-submenu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 0.875rem;
    height: 0.875rem;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateX(-50%) translateY(50%) rotate(45deg);
    z-index: 1;
  }
  .l-global-nav__item.has-submenu:hover .l-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .l-submenu__link {
    display: block;
    padding: var(--s-4) var(--s-5);
    background-color: #fff;
    border-top: none;
    font-size: var(--text-14);
    line-height: 1.5;
    text-align: left;
    white-space: nowrap;
  }
  .l-submenu__link:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    opacity: 1;
  }
  .l-submenu__item:first-child .l-submenu__link {
    border-top: none;
  }
  /* ---- メガメニュー ---- */
  .l-submenu--mega {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: auto;
		max-width: none;
		margin-left: 0;
    transform: translateY(-6px);
		padding:var(--s-10);
  }
  .l-global-nav__item.has-submenu:hover .l-submenu--mega {
    transform: translateY(0);
  }
  .l-submenu--mega::before {
    display: none; /* メガメニューでは吹き出しの矢印を非表示 */
  }
  .l-submenu__mega-inner {
    display: flex;
    align-items: flex-start;
    gap: var(--s-10);
		max-width: 75rem;
		width: 100%;
    margin: 0 auto;
  }
  .l-submenu__mega-head {
		display: flex;
		align-items: flex-start;
    flex: 0 0 20%;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: var(--s-2);
    /*padding: 0 var(--s-5) 0 0;*/
    border-right: 1px solid var(--color-border);
  }
  .l-submenu__mega-title {
    font-size: var(--text-24);
		font-weight: 600;
  }
	.l-submenu__mega-more {
		font-size: var(--text-15);
		font-weight:700;
		color: var(--color-red);
		white-space: nowrap;
	}
  .l-submenu__mega-body {
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--s-5);
    width: auto;
    padding: 0;
  }
  .l-submenu__mega-group {
		flex: 1;
		width: auto;
  }
	.l-submenu__mega-cat {
		text-align:left;
		}
	.l-submenu__mega-link {
		padding: var(--s-1) var(--s-2) var(--s-1) var(--s-4);
	}
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .l-global-nav__link {
    font-size: var(--text-14);
  }
}

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


/* フッターレイアウト
===========================================================================*/
.l-footer {
	border-top: 1px solid #eee;
	background-color: var(--color-bg-light);
}
.l-footer__inner {
	display: flex;
	flex-direction: column;
	gap: var(--s-5);
}
.l-footer__brand {
	flex-shrink: 0;
}
.l-footer__logo {
	display: block;
	margin-bottom: var(--s-5);
}
.l-footer__logo img {
	max-height: 2.5rem;
}
.l-footer__address {
	font-size: var(--text-15);
	line-height: 1.8;
	margin-bottom: var(--s-3);
}
.l-footer__tel {
	font-size: var(--text-20);
	font-weight: 600;
}
.l-footer__tel .label {
	color: var(--color-accent);
	margin-right: var(--s-1);
}
.l-footer__sitemap {
	display: flex;
	flex-direction: column;
}
.l-footer__nav-title {
	display: block;
	border-bottom: 1px solid var(--color-border);
	padding: var(--s-3) 0;
	margin-bottom: var(--s-3);
	font-weight: 500;
}
.l-footer__nav-list li {
	border-bottom: 1px solid var(--color-border);
}
.l-footer__nav-list a {
	display: block;
	padding: var(--s-3) 0;
	font-weight: 500;
}
.l-footer__nav-list a:hover {
	color: var(--color-accent);
}
.l-footer__service-group {
	margin-bottom: var(--s-3);
}
.l-footer__service-group:last-child {
	margin-bottom: 0;
}
.l-footer__service-cat {
	font-size: var(--text-14);
	font-weight: 700;
	color: var(--color-accent);
	margin-bottom: var(--s-2);
}
.l-footer__service-list li {
	margin-bottom: var(--s-1);
}
.l-footer__service-list a {
	display: flex;
	align-items: center;
	gap: var(--s-2);
	font-size: var(--text-14);
}
.l-footer__service-list a::before {
	font-family: var(--font-icon);
	font-weight: 900;
	content: "\f105";
}
.l-footer__service-list a:hover {
	color: var(--color-accent);
}
.l-footer__actions {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--s-5);
}
.l-footer__action-btn {
	width: 100%;
}
@media (min-width: 768px) {
	.l-footer__sitemap {
		flex-direction: row;
		gap: var(--s-5);
	}
	.l-footer__nav--main {
		width: 50%;
		flex-shrink: 0;
	}
	.l-footer__nav--service {
		flex: 1;
	}
	.l-footer__actions {
		flex-direction: row;
	}
	.l-footer__action-btn {
		width: auto;
	}
}
@media (min-width: 1024px) {
	.l-footer__inner {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: var(--s-10);
	}
	.l-footer__brand {
		width: 30%;
	}
	.l-footer__service-group {
		margin-bottom: var(--s-5);
	}
	.l-footer__logo {
		margin-bottom: var(--s-10);
	}
	.l-footer__address {
		margin-bottom: var(--s-5);
	}
	.l-footer__sitemap {
		flex: 1;
		gap: var(--s-10);
	}
	.l-footer__actions {
		flex-direction: column;
		width: 20%;
		flex-shrink: 0;
		gap: var(--s-5);
	}
	.l-footer__action-btn {
		width: 100%;
	}
}

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