/**
 * Theme Name:        souken-j-co
 * Theme URI:         https://souken-j-co.jp
 * Description:       Custom theme description...
 * Version:           1.0.0
 * Author:            cyber-bridge
 * Author URI:        https://cyber-bridge.jp
 * Tags:              block-patterns, full-site-editing
 * Text Domain:       souken-j-co
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */

@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html {
  height: -webkit-fill-available;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  color: #0b0f19;
  background: #fff;
}

:root {
  --max-w: 1200px;

  --brand: #23ad39;
  --secondary: #b4a98d;

  --green: #507652;
  --sub-green: #7d9583;
  --light-green: #e5f6e9;

  --brand-hover: #5f1717;
  --text-color: #191919;
  --red: #ff4646;
  --white: #ffffff;
  --black: #0b0f19;
  --light-blcak: #555555;

  --dark-gray: #00000080;
  --gray: #808080;
  --gray-2: #c7c7c7;
  --light-gray: #f7f7f7;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  --header-size: 62px;
}

a {
  color: inherit;
  text-decoration: none;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: normal;
  line-height: 1.3;
}

ol,
ul,
li,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin-bottom: 15px;
  line-height: 1.5;
}

img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

figure {
  margin-bottom: 0;
}

.grecaptcha-badge {
  visibility: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
.header-container {
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*.header-logo{
  padding: 10px 0px;
} */

.header-logo img {
  height: 36px;
  width: auto;
}

.header-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-pc {
  display: flex;
  gap: 20px;
}

.nav-pc a {
  position: relative;
  padding-bottom: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
}

.nav-pc a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  color: var(--brand);
  background-color: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: 0.3s ease;
}

.nav-pc a.active {
  color: var(--brand);
}

.nav-pc a.active::after {
  transform: scaleX(1);
}
.header {
  padding: 10px;
}
.header-container {
  padding-left: 0px;
  padding-right: 0px;
}

@media (min-width: 901px) {
  .header {
    padding: 0px;
  }
  .header-container {
    padding-left: 16px;
  }
  .nav-pc a:hover {
    color: var(--brand);
  }
  .nav-pc a:hover::after {
    transform: scaleX(1);
  }
}
@media (max-width: 600px) {
  .header-logo img {
    height: 30px;
    width: auto;
  }
}

.header-btns {
  display: flex;
}

.header-cta {
  padding: 10px 18px;
  text-decoration: none;
  color: var(--white);
}
.header-cta.buy {
  background: var(--secondary);
  font-size: 16px;
  letter-spacing: -1px;
}
.header-cta.h-contact {
  background: var(--brand);
  font-size: 16px;
  letter-spacing: -1px;
}

.buy i,
.h-contact i {
  display: block;
  text-align: center;
  font-size: 22px;
}

/* ドット付きハンバーガー */
.hamburger {
  width: 32px;
  height: 26px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 99;
}

/* 各行コンテナ */
.hamburger span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 左の丸ドット */
.hamburger span i {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  transition: 0.3s ease;
}

/* 横棒 */
.hamburger span::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 4px;
  background: var(--brand);
  transition: 0.3s ease;
}

/* ---------------------------- */
/* ハンバーガー → X 変形 */
/* ---------------------------- */

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(1) i {
  transform: rotate(-45deg);
}
.hamburger.active i {
  display: none;
}
.hamburger.active span::after {
  content: "";
  width: 100%;
}

.hamburger.active span:nth-child(2)::after,
.hamburger.active span:nth-child(2) i {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.hamburger.active span:nth-child(3) i {
  transform: rotate(45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  transform: translateX(100%);
  transition: 0.3s ease;
  overflow-y: auto;
  z-index: 98;
  padding-bottom: 40px;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.mobile-logo {
  height: 40px;
}

.close-btn {
  font-size: 34px;
  background: none;
  border: none;
  color: var(--brand);
  cursor: pointer;
}

.mobile-list {
  padding-top: 100px;
  padding-bottom: 20px;
  font-size: 16px;
  max-width: 576px;
  width: 100%;
  margin: 0 auto;
}

.mobile-list li {
  padding: 6px 0;
}

.section-title {
  font-weight: bold;
  margin-top: 20px;
}

.mobile-phone {
  padding-bottom: 20px;
  padding-top: 30px;
  text-align: center;
  color: var(--brand);
}
.mobile-phone a {
  font-size: 22px;
  color: var(--brand);
  text-decoration: none;
}

.mobile-footer-btns {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  max-width: 576px;
  width: 100%;
  margin: 0 auto;
}

.contact-btn,
.buy-btn {
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--white);
  font-weight: bold;
}
.contact-btn {
  background: var(--brand);
}
.buy-btn {
  background: var(--secondary);
}

@media (max-width: 900px) {
  .nav-pc,
  .header-btns {
    display: none;
  }
  .hamburger {
    display: flex;
    z-index: 99;
  }
  .hamburger.active {
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 99;
  }
}

/* ====================================================== */
.site-footer {
  background: var(--green);
  color: var(--white);
  width: 100%;
}

.footer-top__inner {
  margin: auto;
  padding: 30px 0px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer-logo {
  display: block;
  height: 60px;
}

.footer-logo img {
  width: auto;
  object-fit: contain;
}

.footer-address {
  margin: 15px 0 10px;
  font-size: 14px;
}

.footer-social i {
  font-size: 24px;
  margin-right: 10px;
}

.footer-top__right {
  max-width: 480px;
  width: 100%;
}

.footer-right-phone {
  text-align: center;
}

.footer-tel {
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: normal;
  margin-bottom: 0;
  font-weight: bold;
}

.footer-hours {
  font-size: 12px;
  margin-bottom: 20px;
}

.footer-cta-area {
  display: flex;
  gap: 20px;
}

.footer-cta {
  background: var(--white);
  max-width: 300px;
  width: 100%;
  color: var(--brand);
  padding: 10px 16px;

  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.3s ease;
}

.footer-cta:hover {
  opacity: 0.8;
}

.footer-cta--contact,
.footer-cta--estimate {
  position: relative;
  display: flex;
  flex-direction: column;
}
.cta-title {
  font-size: clamp(12px, 1vw, 16px);
  color: var(--gray);
}
.footer-cta--contact .cta-text,
.footer-cta--estimate .cta-text {
  font-size: clamp(20px, 1.5vw, 21px);
}

.footer-cta--contact i,
.footer-cta--estimate i {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: var(--light-green);
  z-index: 0;
}

.footer-cta--contact > *:not(i) {
  position: relative;
  z-index: 1;
}

.footer-middle {
  padding-bottom: 30px;
}

.footer-heading {
  font-size: 26px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--white);
  margin-bottom: 15px;
}

.footer-menu--pc {
  display: flex;
  justify-content: space-between;
}

.footer-menu-block ul {
  margin-top: 10px;
  padding-left: 0;
}

.footer-menu-block li {
  position: relative;
  font-size: 14px;
  margin-bottom: 5px;
  padding-left: 14px;
  list-style: none;
}

.footer-menu-block li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: currentColor;
}

.footer-menu--sp {
  display: none;
}

.footer-acc-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 18px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
}

.footer-acc-panel {
  display: none;
  padding: 10px 0 15px 15px;
}

.footer-acc-panel li {
  margin-bottom: 6px;
  font-size: 14px;
}
.footer-bottom {
  background-color: var(--white);
}

/* ====================================================== */
.ftHDlogo {
  padding: 38px 0;
  color: var(--text-color);
  background-color: var(--white);
}
.ftHDlogo > .ftWrap {
  display: flex;
  align-items: center;
}

.ftGlow {
  width: 300px;
}
.ftGlow img {
  width: 130px;
}
.ftGlow p {
  font-size: 14px;
}

ul.ftGroup {
  flex: 1;
  display: flex;
  overflow: hidden;
}
ul.ftGroup li {
  width: auto;
  margin: 0 30px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}
ul.ftGroup li img {
  width: auto;
  height: 60px;
  margin: 0 auto 10px;
  object-fit: cover;
}

.ftFooter {
  padding: 10px 0;
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.ftFooter ul {
  display: flex;
  font-size: 14px;
}
.ftFooter ul li:first-child {
  border-right: solid 1px var(--white);
  padding-right: 10px;
  margin-right: 10px;
}
.ftFooter p {
  margin-bottom: 0px;
  font-size: 14px;
}

.ftWrap-arms {
  background-color: var(--white);
  margin-bottom: -37px;
}
.arms-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin: 0 auto;
}
.arms-wrap img {
  width: 100px;
}
@media (max-width: 768px) {
  .ftFooter {
    padding: 10px 0;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .footer-cta-area {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-top__inner {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .footer-top__left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    height: clamp(60px, 18vw, 75px);
  }
  .footer-address {
    text-align: center;
  }

  .footer-cta-area {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-menu--pc {
    display: none;
  }

  .footer-menu--sp {
    display: block;
  }
  .footer-social i {
    font-size: 32px;
  }

  .footer-tel {
    font-size: clamp(32px, 3vw, 36px);
  }

  .footer-cta {
    width: 100%;
  }

  .ftGlow {
    max-width: 300px;
    width: 100%;
  }
  .ftHDlogo {
    display: flex;
    justify-content: space-between;
  }
  ul.ftGroup {
    display: none;
  }
  .ftWrap-arms {
    margin-bottom: 0px;
  }
}

@media (max-width: 480px) {
  .ftFooter ul {
    display: flex;
    font-size: 14px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
  .ftFooter ul li:first-child {
    border-right: solid 0px var(--white);
    padding-right: 0px;
    margin-right: 0px;
  }
}

/* ===============================
   SAN 404 PAGE (NO ICON)
================================ */

.san-404-main {
  min-height: calc(100vh - clamp(64px, 8vw, 88px)); /* fixed header safe */
  display: flex;
  align-items: center;
  justify-content: center;
}

.san-404-holder {
  width: 100%;
  max-width: 720px;
  padding: clamp(32px, 6vw, 48px);
  text-align: center;
}

/* 404 number */
.san-404-title {
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}

/* Subtitle */
.san-404-subtitle {
  font-size: clamp(18px, 3.5vw, 26px);
  font-weight: 600;
  margin-bottom: 16px;
}

/* Description */
.san-404-description {
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 32px;
}

/* Button */
.san-404-button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  border-radius: 4px;
  background: var(--brand);
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.san-404-button:hover {
  opacity: 0.85;
}

/* Layout */
.thanks-container {
  display: flex;
  margin-bottom: 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.thanks-title {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 32px;
}

/* Main message */
.thanks-main {
  font-size: 24px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 20px;
}

/* Description */
.thanks-description {
  font-size: 16px;
  color: #444;
  margin-bottom: 40px;
  max-width: 640px;
}

/* Button */
.thanks-button {
  display: inline-block;
  padding: 14px 40px;
  background-color: var(--brand);
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.thanks-button:hover {
  background-color: var(--brand);
}

/* Mobile */
@media (max-width: 480px) {
  .thanks-title {
    font-size: 36px;
  }

  .thanks-main {
    font-size: 20px;
  }

  .thanks-description {
    font-size: 14px;
  }
}
