/*
Theme Name:  Shinzone
Theme URI:   https://shinzone.co.jp
Description: Theme to support Shinzone corp site. Child theme for the Twenty Twenty-Five theme.
Author:      contact@shinzone.co.jp
Textdomain:  twentytwentyfive-child
Author URI:  https://shinzone.co.jp
Template:    twentytwentyfive
Version:     1.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* -- 基本フォント -- */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #13294b;
}

/* -- 太字フォント -- */
.noto-sans-jp-700 {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

/* -- 英字フォント -- */
.nhgd-600 {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 600;
  font-style: normal;
}
.nhgt-400 {
  font-family: "neue-haas-grotesk-text", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* -- アウトライン解除 -- */
a:link,
a:active,
a:hover,
a:focus {
  outline: none!important;
  -moz-outline-style: none;
}

/* -- フェードイン -- */
#wpforms-125,
.fadeIn {
  opacity: 0 !important;
  transform: translateY(5px);
  transition: opacity 2s ease-in, transform 2s ease;
}
#wpforms-125.visible,
.fadeIn.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* -- お問い合わせ -- */
#wpforms-125 {
  padding: 0 20px 0 20px;
}
.wpforms-field-label {
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
}

/* -- 左肩ロゴ -- */
.logo-section {
  --wp--style--global--content-size: 100%;
  box-sizing: border-box;
}
.logo-section .logo-image img {
  height: auto;
}
/* PC */
@media (min-width: 768px) {
  .logo-section {
    margin: 30px 0 0 40px !important;
  }
  .logo-section .logo-image img {
    width: 130px;
  }
}
/* SP */
@media (max-width: 767px) {
  .logo-section {
    margin: 26px 0 0 20px !important;
  }
  .logo-section .logo-image img {
    width: 98px;
  }
}

/* -- ドロワーメニュー -- */
/* MENU */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2100;
  cursor: pointer;
  font-size: 18px;
  padding: 15px 20px;
  transition: opacity 0.3s ease;
}
/* 共通 */
.drawer {
  position: fixed;
  overflow-y: auto;
  z-index: 2000;
  transition: all 0.5s ease;
}
.drawer a {
  text-decoration: none;
}
.drawer a:hover {
  opacity: 0.7;
}
/* メニューアイテム */
.drawer .menu-item {
  padding: 12px 0; font-size: 18px;
}
.drawer .menu-icons {
  display: flex; gap: 30px; padding: 30px 0 12px 0;
}
.drawer .menu-icons img {
  width: 20px; height: 20px; display: block;
}
/* PC */
@media (min-width: 768px) {
  .drawer {
    top: 50%;
    right: 0;
    width: 200px;
    padding-right: 40px;
    text-align: right;
    transform: translateX(100%) translateY(-50%);
    transition: all 0.5s ease;
  }
  .drawer.open {
    transform: translateX(0) translateY(-50%);
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.08) 10%,
        rgba(255,255,255,0.25) 30%,
        rgba(255,255,255,0.55) 55%,
        rgba(255,255,255,0.8) 80%,
        rgba(255,255,255,1) 100%
    );
  }
  .drawer .menu-icons {
    justify-content: flex-end;
  }
  .menu-toggle .menu-text {
    position: relative;
    display: inline-block;
  }
  .menu-toggle .menu-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #13294b;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .menu-toggle:hover .menu-text::after {
    opacity: 1;
  }
}
/* SP */
@media (max-width: 767px) {
  .menu-toggle {
    top: 12px;
    right: 0;
  }
  .drawer {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
  }
  .drawer.open {
    opacity: 1; pointer-events: auto;
  }
}

/* -- フッター全体スタイル -- */
footer {
  display: grid;
  gap: 20px;
  background: #fff;
  font-size: 12px;
}
footer ul {
  padding-left: 0 !important;
  margin: 0;
}
footer li {
  list-style: none;
  margin-bottom: 12px !important;
}
footer a {
  color: inherit;
  text-decoration: none;
}
footer a:hover {
  opacity: 0.7;
}
footer .menu {
  font-size: 14px;
  margin-bottom: 30px;
}
footer .shop-name {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4em;
  margin-bottom: 8px;
}
footer .shop-info {
  font-weight: 300;
  line-height: 1.7em;
  margin-bottom: 30px;
}
footer .copyright {
  margin: 0;
  text-align: right;
}
/* PC */
@media (min-width: 768px) {
  footer {
    margin: 265px 128px 20px 128px;
    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr 0.5fr 3fr 0.5fr 3fr;
    grid-template-areas:
      "menu1 . menu2 . shop1 . shop2"
      "footer-bottom footer-bottom footer-bottom footer-bottom footer-bottom footer-bottom footer-bottom";
  }
  footer > div:nth-child(1) { grid-area: menu1; }
  footer > div:nth-child(2) { grid-area: menu2; }
  footer > div:nth-child(3) { grid-area: shop1; }
  footer > div:nth-child(4) { grid-area: shop2; }
  footer > div.footer-bottom { grid-area: footer-bottom; }
  footer .footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #d0d0d0;
    padding-top: 10px;
    margin-top: 80px;
    margin-bottom: 30px;
  }
  footer .info ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
  }
  footer .info li {
    margin-bottom: 0 !important;
    position: relative;
  }
  footer .info li:not(:last-child)::after {
    content: "/";
    margin-left: 16px;
    color: inherit;
  }
  footer .sp-none {
    display: unset;
  }
}
/* SP */
@media (max-width: 767px) {
  footer {
    margin: 210px 20px 20px 20px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "menu1 menu2"
      "shop1 shop2"
      "footer-bottom footer-bottom";
  }
  footer .menu:nth-of-type(1) { grid-area: menu1; }
  footer .menu:nth-of-type(2) { grid-area: menu2; }
  footer .shop:nth-of-type(1) { grid-area: shop1; }
  footer .shop:nth-of-type(2) { grid-area: shop2; }
  footer .footer-bottom { grid-area: footer-bottom; }
  footer .footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    gap: 12px;
    border-top: 1px solid #d0d0d0;
    padding-top: 10px;
    margin-top: 50px;
  }
  footer .copyright {
    text-align: right;
  }
  footer .sp-none {
    display: none;
  }
}
/* アイコン */
footer .menu img {
    margin-left: 3px;
    width: 9px;
    height: 9px;
}

/* -- 見出し -- */
.section-heading {
  --wp--style--global--content-size: 100%;
  margin: 120px 128px 80px 128px !important;
}
.section-heading .heading-title {
  font-size: 72px;
  line-height: 1;
  display: flex;
  gap: 24px;
  align-items: flex-end;
}
.section-heading .heading-title .title-main {
  line-height: 0.78;
}
.section-heading .heading-title .title-sub {
  font-size: 16px;
  letter-spacing: 0.5em;
  line-height: 1;
}
/* PC */
@media (min-width: 768px) {
  .section-heading .thick-heading {
    margin-bottom: 120px !important;
  }
}
/* SP */
@media (max-width: 767px) {
  .section-heading {
    margin: 90px 20px 60px 20px !important;
  }
  .section-heading .heading-title {
    font-size: 40px;
    display: block;
  }
  .section-heading .heading-title .title-main {
    line-height: 1.75;
  }
  .section-heading .heading-title .title-sub {
    display: block;
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-top: 4px;
  }
}

/* -- その他 -- */
/* PC */
@media (min-width: 768px) {
  .pc-none   { display: none; }
  .sp-none   { display: block; }
  .pc-center { text-align: center; }
  .sp-center { text-align: left; }
}
/* SP */
@media (max-width: 767px) {
  .pc-none   { display: block; }
  .sp-none   { display: none; }
  .pc-center { text-align: left; }
  .sp-center { text-align: center; }
}
