/*
Theme Name: SimpleTheme
*/

/*------------------------------------------
フォント
------------------------------------------*/

/*
Zen Old Mincho
*/

/* Regular */
/* @font-face {
  font-family: 'Zen Old Mincho';
  src: url('./assets/fonts/zen-old-mincho/ZenOldMincho-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
} */

/* Medium */
/* @font-face {
  font-family: 'Zen Old Mincho';
  src: url('./assets/fonts/zen-old-mincho/ZenOldMincho-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
} */

/* SemiBold */
@font-face {
  font-family: 'Zen Old Mincho';
  src: url('./assets/fonts/zen-old-mincho/ZenOldMincho-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'Zen Old Mincho';
  src: url('./assets/fonts/zen-old-mincho/ZenOldMincho-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/*
Noto Sans JP
*/

/* Noto Sans JP - Thin */
/* @font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-jp/NotoSansJP-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
} */

/* Noto Sans JP - ExtraLight */
/* @font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-jp/NotoSansJP-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
} */

/* Noto Sans JP - Light */
/* @font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-jp/NotoSansJP-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
} */

/* Noto Sans JP - Regular */
@font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-jp/NotoSansJP-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Noto Sans JP - Medium */
/* @font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-jp/NotoSansJP-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
} */

/* Noto Sans JP - SemiBold */
/* @font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-jp/NotoSansJP-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
} */

/* Noto Sans JP - Bold */
@font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-jp/NotoSansJP-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Noto Sans JP - ExtraBold */
/* @font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-jp/NotoSansJP-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
} */

/* Noto Sans JP - Black */
/* @font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-jp/NotoSansJP-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
} */

/*------------------------------------------
設定
------------------------------------------*/

:root {
    /* サイト幅 */
    --site-width: 1100px;

    /* ヘッダー高さ */
    --header-height: 75px;
    --sp-header-height: 52px;

    /* 余白 */
    --section-padding-top: 90px;
    --section-padding-bottom: 90px;
    --hedding-block-margin-bottom: 60px;

    --tb-section-padding-top: 80px;
    --tb-section-padding-bottom: 80px;
    --tb-hedding-block-margin-bottom: 40px;

    --sp-section-padding-top: 3rem;
    --sp-section-padding-bottom: 3rem;
    --sp-hedding-block-margin-bottom: 3rem;

    --h2-line-width: 40px;
    --h2-line-margin: 30px;
    --sp-h2-line-width: 26px;

    --font-gothic: 'Noto Sans JP', serif;
    --font-mincho: 'Zen Old Mincho', serif;
}

/*------------------------------------------
基本設定
------------------------------------------*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', Arial, Helvetica, sans-serif;  
}

ul, li {
  list-style: none;
}

section {
  padding-top: var(--section-padding-top);
  padding-bottom: var(--section-padding-bottom);
}

.wrapper {
  max-width: var(--site-width);
  margin: 0 auto;
}

.hedding-block {
  display: flex;
  justify-content: center;
  margin-bottom: var(--hedding-block-margin-bottom);
}

.sp-only {
  display: none;
}

@media (max-width: 1100px) {
  .wrapper {
    padding: 0 20px;
    overflow: hidden;
  }
}

@media (max-width: 1024px) {
  .pc-only {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  body {
    padding-top: var(--sp-header-height);
  }
  section {
    padding-top: var(--sp-section-padding-top);
    padding-bottom: var(--sp-section-padding-bottom);
  }

  .wrapper {
    padding: 0 20px;
    overflow: hidden;
  }

  .hedding-block {
      margin-bottom: var(--sp-hedding-block-margin-bottom);
  }

  .not-sp {
    display: none;
  }

  .sp-only {
    display: unset;
  }
}

/*------------------------------------------
ヘッダー
------------------------------------------*/

header {
    background: #fff;
}

header .wrapper {
  max-width: 1200px;
}

header .content-block {
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .content-block .image-box {
    max-width: 193px;
}

header .content-block .image-box a {
  transition: all 0.3s;
}

header .content-block .image-box a:hover {
  opacity: .8;
}

.nav {
  display: block;
}

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: #7a4d34;
  text-align: center;
  font-family: var(--font-mincho);
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0.85px;
  transition: all 0.3s;
}

.nav a:hover {
  opacity: .8;
}

.nav .text-link {
  position: relative;
  padding: 0 15px;
}

.nav .text-link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: #ccc;
}

.nav .text-link:first-child::after {
  display: none;
}

/* ========== ハンバーガーアイコン ========== */
.hamburger {
  display: none; /* PCでは非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10002; /* navより前面 */
}
.hamburger span {
  display: block;
  height: 3px;
  background: #7a4d34;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span {
  background: #fff;
}

/* 開閉アニメーション */
.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media screen and (max-width: 1280px) {
  .nav a {
    font-size: clamp(10px, 1.2vw ,16px);
  }
}

@media (max-width: 1024px) {
  header {
    height: var(--sp-header-height);
  }

  header .content-block {
    padding: 7px 0;
  }

  header .content-block .image-box {
    max-width: 120px;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;

    /* フェードイン／アウト */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;

    z-index: 9999;
  }

  .nav-content {
    background: #fff;
    padding: 5% 10%;
    border-radius: 8px;
    min-width: 80%;
    text-align: center;
  }

  .nav ul {
    flex-direction: column;
  }

  .nav li {
    margin-top: .2rem;
    margin-bottom: 1rem;
    width: 100%;
  }

  .nav a {
    font-size: 18px;
  }

  .nav .text-link {
    margin: 1rem 0;
  }

  .nav .text-link::after {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ddd;
  }

  .hamburger {
    display: flex; /* モバイルで表示 */
  }

  /* 表示状態 */
  .nav.active {
    opacity: 1;
    visibility: visible;
  }
}

@media screen and (max-width: 767px) {
  header {
    width: 100%;
    height: var(--sp-header-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  }
  header .wrapper {
    padding: 0 10px;
  }
}

/*------------------------------------------
フッター
------------------------------------------*/

footer {
  padding: 60px 0;
  background: #edbf00;
  color: #7a4d34;
  font-family: 'Noto Sans JP', serif;
}

footer .wrapper {
  max-width: 1080px;
}

footer .content-block {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

footer .content-block .left h2 {
  margin-bottom: 50px;
}

footer .content-block .left h2 .image-box {
  max-width: 206px;
}

footer .content-block .left .company {
  margin-bottom: 14px;
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

footer .content-block .left .address {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

footer .content-block .right {
  text-align: right;
  position: relative;
}

footer .content-block .right .image-box {
  margin-bottom: 14px;
  max-width: 92px;
  position: relative;
  right: -117px;
  top: 0;
}

footer .content-block .right a {
  color: #7a4d34;
  font-family: var(--font-gothic);
  text-decoration: none;
}

footer .content-block .right a:hover {
  text-decoration: underline;
}

footer .content-block .right .copyright {
  margin-top: 14px;
}

footer .sp-content-block {
  display: none;
}

@media screen and (max-width: 767px) {
  footer {
    padding: 2rem 0;
  }

  footer .content-block {
    align-items: unset;
    gap: 1rem;
  }

  footer .content-block .left h2 {
    margin-bottom: 2rem;
  }

  footer .content-block .right .image-box {
    margin: 0 0 14px auto;
    right: unset;
    max-width: 68px;
  }

  footer .content-block .left p,
  footer .content-block .right a,
  footer .content-block .right p {
    display: none;
  }

  footer .sp-content-block {
    display: flex;
    flex-direction: column;
    gap: .5rem;
  }

  footer .sp-content-block p,
  footer .sp-content-block a {
    font-size: .8rem;
  }

  footer .sp-content-block a {
    color: #7a4d34;
    font-family: var(--font-gothic);
  }
}