@charset "UTF-8";
/****************************************
* layout.css
* ヘッダー・フッター・ドロワー・共通インナー（l- prefix）
***************************************/

/* ── コンテナ ── */
#container {
  overflow-x: hidden;
}

/* ── 共通インナー（メインカラム 1100px） ── */
.l-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
}

/* ── ヘッダー ── */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: var(--primary-color);
}

.l-header__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  max-width: var(--inner-max);
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 15px;
}

/* トップページのみロゴを h1 で囲む。display: contents でレイアウトには影響させない */
.l-header__logo-heading {
  display: contents;
}

.l-header__logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  width: 300px;
  flex-shrink: 0;
}

.l-header__logo-icon {
  display: block;
  object-fit: contain;
}

.l-header__logo-text {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 500;
  line-height: 48px;
  color: var(--color-text-white);
  white-space: nowrap;
}

.l-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 1;
  min-width: 0;
}

.l-header__nav a {
  font-size: 14px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: 1.68px;
  color: var(--color-text-white);
  white-space: nowrap;
  transition: opacity .3s ease;
}

.l-header__nav a:hover {
  opacity: .7;
}

.l-header__nav-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 0px;
  vertical-align: middle;
}

.l-header__contact {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 45px;
  margin-left: 51px;
  border-radius: 3px;
  background: var(--secondary-color);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.8px;
  color: var(--color-text-white);
  white-space: nowrap;
  transition: opacity .3s ease;
}

.l-header__contact:hover {
  opacity: .8;
}

.l-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
}

.l-header__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-text-white);
  transition: transform .3s ease, opacity .3s ease;
}

/* ── SPドロワー ── */
.l-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 2000;
  box-sizing: border-box;
  width: 80%;
  max-width: 320px;
  height: 100%;
  padding: 80px 30px 40px;
  background: var(--primary-color);
  overflow-y: auto;
  transition: right .35s ease;
}

.l-drawer.is-open {
  right: 0;
}

.l-drawer__close {
  position: absolute;
  top: 24px;
  right: 24px;
  border: none;
  background: none;
  font-size: 28px;
  color: var(--color-text-white);
  cursor: pointer;
}

.l-drawer__list li {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.l-drawer__list a {
  padding: 18px 0;
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--color-text-white);
}

.l-drawer__contact {
  margin-top: 30px;
  padding: 14px;
  border-radius: 3px;
  background: var(--secondary-color);
  font-size: 16px;
  text-align: center;
  color: var(--color-text-white);
}

.l-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1999;
  background: rgba(0, 0, 0, .5);
}

.l-overlay.is-open {
  display: block;
}

/* ── フッター ── */
.l-footer {
  background: var(--primary-color);
  color: var(--color-text-white);
}

.l-footer__inner {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 678px 191px 1fr;
  max-width: var(--inner-max);
  height: 463px;
  margin: 0 auto;
  padding: 72px var(--inner-pad) 0;
}

/* ブランド */
.l-footer__brand {
  padding-left: 5px;
}

.l-footer__logo {
  display: flex;
  align-items: center;
  height: 32px;
}

.l-footer__logo-icon {
  display: block;
  width: 307px;
  height: 48px;
}

.l-footer__logo-text {
  margin-left: 12px;
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 2.4px;
  color: var(--color-text-white);
  white-space: nowrap;
}

.l-footer__desc {
  width: 380px;
  margin-top: 31px;
  font-size: 14px;
  line-height: 22px;
}

.l-footer__address {
  margin-top: 32px;
  font-size: 14px;
  font-style: normal;
  line-height: 26px;
}

.l-footer__tel {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 14px;
}

.l-footer__privacy {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-text-white, #fff);
}

/* ナビ */
.l-footer__nav {
  margin-top: 0px;
}

.l-footer__nav li + li {
  margin-top: 17px;
}

.l-footer__nav a {
  font-size: 16px;
  line-height: 16px;
  color: var(--color-text-white);
  white-space: nowrap;
  transition: opacity .3s ease;
}

.l-footer__nav a:hover {
  opacity: .7;
}

.l-footer__nav-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ページトップ */
.l-footer__pagetop {
  position: absolute;
  top: 304px;
  /* 右端基準にして、下のコピーライトの線と右端を揃える */
  left: auto;
  right: 84px;
  display: flex;
  align-items: center;
  gap: 37px;
}

.l-footer__pagetop-text {
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 46px;
  color: var(--color-text-white);
}

.l-footer__pagetop-circle {
  position: relative;
  display: block;
  width: 45px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-text-white);
  transition: transform .3s ease;
}

.l-footer__pagetop-circle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-right: 5.415px solid transparent;
  border-left: 5.415px solid transparent;
  border-bottom: 10.194px solid var(--primary-color);
}

.l-footer__pagetop:hover .l-footer__pagetop-circle {
  transform: translateY(-4px);
}

/* コピーライト */
.l-footer__copyright {
  position: absolute;
  top: 420px;
  left: var(--inner-pad);
  /* 右端は Page Top の丸に合わせる */
  right: 84px;
  padding-top: 16px;
  border-top: 1px solid var(--color-text-white);
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 768px) {

  /* ロゴの枠（PCは幅300px固定）をロゴの幅に合わせる。
     固定のままだと幅320pxの画面でハンバーガーが画面外に押し出される */
  .l-header__logo {
    width: auto;
  }

  /* SPのロゴ：幅320pxの画面でもハンバーガーと並んで収まる最大値 */
  .l-header__logo-icon {
    max-width: 240px;
  }

}

.p-page-header__inner {
  position: relative;
  z-index: 1;
  max-width: var(--mm-inner-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--mm-inner-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-page-header__en {
  font-family: var(--mm-font-mincho);
  font-weight: 600;
  color: var(--mm-color-bg-beige);
  font-size: 56px;
  line-height: 1.2;
}

.p-page-header__ja {
  font-family: var(--mm-font-mincho);
  color: var(--mm-color-bg-beige);
  font-size: 24px;
  margin-top: 16px;
}

@media (max-width: 768px) {

  .p-page-header__inner {
    padding: 0;
  }

}