@charset "UTF-8";
/* ============================================
   サンポウヨシサービス HP — Stylesheet
   ブランドガイドライン v3.0 準拠
   ============================================ */
   :root {
  --aitetsu: #143a60;
  --aitetsu-deep: #0e2a47;
  --aitetsu-darker: #081a2d;
  --omibeni: #b2382a;
  --omibeni-bright: #d44a38;
  --omibeni-light: #e87060;
  --white: #ffffff;
  --off-white: #fafaf7;
  --gray: #f6f7f9;
  --deep-gray: #f0f0f0;
  --washi: #f2f1e8;
  --washi-warm: #eae7da;
  --sumi: #1a1a1a;
  --tan-sumi: #8e8b86;
  --sekkai: #c9c5bd;
  --line: #e5e3dc;
  --shinchu: #a78662;
  --shinchu-light: #c5a47a;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: auto;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--sumi);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
p {
  font-family: "Shippori Mincho", serif;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: none;
}
/* === COMPANY HERO === */
.page-hero {
  padding: 220px 8% 140px;
  background: var(--gray);
  position: relative;
  overflow: hidden;
}
/* === Hero Circle Logo === */
.hero-logo-circle {
  position: absolute;
  top: -40px; /* 円の位置　小さくすると下へ移動 */
  right: -50px; /* 円の位置 小さくすると左へ移動　*/
  width: 680px; /* 円の大きさ */
  height: 680px;
  pointer-events: none;
}
/* 円共通 */
.circle-line {
  position: absolute;
  border-radius: 50%;
}
/* 外円 */
.circle-line.outer {
  inset: 0;
  border: 4px solid rgba(20, 58, 96, 0.08);
  z-index: 1;
}
/* 内円 */
.circle-line.inner {
  top: 30px; /* 内側の円の大きさ */
  left: 30px;
  right: 30px;
  bottom: 30px;
  border: 1px solid rgba(20, 58, 96, 0.08);
  opacity: 0.7;
  z-index: 2;
}
.page-hero .container {
  position: relative;
  z-index: 10;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}
.page-hero-title {
  overflow: hidden;
  margin-bottom: 32px;
}
.page-hero-title .row {
  display: block;
  overflow: hidden;
}
.page-hero-title .row span {
  display: inline-block;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  color: var(--aitetsu);
  line-height: 1.2;
}
.page-hero-title {
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}
/* === Hero Circle Logo end === */
/* === COMPANY INFO === */
.section-meta {
  margin-bottom: 40px;
}
.section-title {
  text-align: center;
}
.section-title em {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1800px);
  min-height: 65px;
  font-style: normal;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--aitetsu);
  text-align: center;
  z-index: 1;
  padding-bottom: 5px;
}
.section-title em::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/company/washi-bk.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.9;
  z-index: -1;
}
/* === BACK CTA === */
.back-cta {
  padding: 80px 8% 140px;
  background: var(--gray);
}
.back-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.back-cta-block {
  background: var(--white);
  padding: 56px;
  border: 1px solid var(--line);
  transition: 0.4s;
}
.back-cta-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20, 58, 96, 0.08);
}
.back-cta-block.primary {
  background: var(--aitetsu);
  color: var(--white);
}
.back-cta-eyebrow {
  margin-bottom: 24px;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--omibeni);
}
.back-cta-title {
  margin-bottom: 24px;
  font-family: "Shippori Mincho", serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.back-cta-block p {
  line-height: 2;
  margin-bottom: 40px;
}
.back-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--omibeni);
}
.back-cta-link svg {
  width: 18px;
  height: 18px;
}
.back-cta-block.primary .back-cta-link {
  color: var(--shinchu-light);
}
.back-cta-block.primary .back-cta-eyebrow {
  color: var(--shinchu-light);
}
.back-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
}
/* === Custom Cursor === */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 10002;
  border-radius: 50%;
  transition:
    opacity 0.3s,
    width 0.3s,
    height 0.3s;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--omibeni);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--aitetsu);
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--omibeni);
}
.cursor-ring.hide,
.cursor-dot.hide {
  opacity: 0;
}
/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
}
.header.show {
  opacity: 1;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 16px 48px;
  border-bottom: 1px solid var(--line);
}
.header-logo img {
  width: auto;
  height: 52px;
}
.logo-sp {
  display: none;
}
/* === Hamburger menu === */
.menu-toggle {
  position: fixed;
  right: 20px;
  top: 20px;
  width: 37px;
  height: 42px;
  border: none;
  background: none;
  z-index: 10001;
  display: none;
}
.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #143a60;
  transition: 0.4s;
}
.menu-toggle span:nth-child(1) {
  top: 10px;
}
.menu-toggle span:nth-child(2) {
  top: 20px;
}
.menu-toggle span:nth-child(3) {
  top: 30px;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 20px;
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 20px;
}
.hamburger-menu {
  position: fixed;
  inset: 0;
  background: #001f45;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.hamburger-menu.active {
  opacity: 1;
  visibility: visible;
}
.hamburger-inner {
  padding: 11.5px 20px 20px 20px;
}
.hamburger-logo {
  width: 43px;
  margin-bottom: 40px;
}
.hamburger-logo img {
  width: 105%;
  height: auto;
}
.hamburger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 24px;
}
.hamburger-col h3 {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.35em;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.hamburger-col ul {
  list-style: none;
}
.hamburger-col li {
  margin-bottom: 24px;
}
.hamburger-col a {
  color: #fff;
  font-family: "Shippori Mincho", serif;
  transition: 0.3s;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.2;
}
.hamburger-col a:hover {
  opacity: 0.7;
}
.hamburger-col.full {
  grid-column: 1 / -1;
}
.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
/* === Hamburger menu end === */
/* === FV === */
.hero-logo-circle img {
  position: absolute;
  width: 70%;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  z-index: 3;
}
.breadcrumb {
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--tan-sumi);
}
/* === FV end === */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--aitetsu);
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-text .en {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
}
.brand-text .jp {
  font-family: "Shippori Mincho", serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-list a {
  color: var(--aitetsu);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  font-family: "Inter", sans-serif;
  position: relative;
}
.nav-list a span.jp {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: 3px;
  font-style: normal;
  opacity: 0.9;
}
.nav-list a::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--omibeni);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-list a:hover::before {
  width: 100%;
}
.nav-list > li {
  position: relative;
}
.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 195px;
  background: #fff;
  border: 1px solid #e5e3dc;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: 0.28s;
  z-index: 999;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li {
  margin: 0;
}
.dropdown a {
  display: block;
  padding: 14px 22px;
  font-family: "Shippori Mincho", serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--aitetsu);
  opacity: 0.9;
  transition: 0.25s;
}
.dropdown a:hover {
  background: #f7f8fa;
  color: var(--aitetsu);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--omibeni);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
}
.header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--aitetsu);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.header-cta span {
  position: relative;
  z-index: 2;
}
.header-cta:hover::before {
  transform: translateX(0);
}
/* === Footer === */
.footer {
  background: var(--aitetsu-darker);
  color: rgba(255, 255, 255, 0.75);
  padding: 120px 8% 50px;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto 80px;
  align-items: start;
}
.footer-top > .footer-col:nth-child(2) {
  margin-left: 60px;
}
.footer-brand-block {
  max-width: 420px;
}
.footer-brand-block .brand {
  color: var(--white);
  margin-bottom: 32px;
}
.footer-address {
  font-size: 0.8125rem;
  line-height: 2;
  color: var(--white);
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 14px;
}
.footer-col a {
  position: relative;
  font-family: "Shippori Mincho", serif;
  font-size: 0.875rem;
  color: var(--white);
  transition: all 0.4s ease;
}
.footer-col a:hover {
  opacity: 0.7;
  padding-left: 6px;
}
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  align-items: center;
}
.pc-only-br-1050 {
  display: inline;
}
.pc-only-br-768 {
  display: inline;
}
.sp-only-br-768 {
  display: none;
}
/* === Mobile === */
@media (max-width: 1279px) {
  .header-cta,
  .nav-list {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .dropdown {
    display: none;
  }
}
@media (max-width: 1050px) {
  .pc-only-br-1050 {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero-logo-circle,
  .circle-line,
  .circle-line.outer,
  .circle-line.inner {
    display: none;
  }
}
@media (max-width: 768px) {
  body,
  button {
    cursor: auto;
  }
  .header {
    height: 67px;
    padding: 0 20px;
  }
  .header.scrolled {
    padding: 12px 20px;
  }
  .logo-pc {
    display: none;
  }
  .logo-sp {
    display: block;
    height: 40px;
    width: auto;
  }
  .menu-toggle {
    top: 12px;
  }
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
  .back-cta-grid {
    grid-template-columns: 1fr;
  }
  .back-cta-block {
    padding: 40px 28px;
  }
  .page-hero {
    padding: 90px 20px 30px;
    min-height: auto;
    display: block;
  }
  .page-hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .hero-logo-circle img {
    width: 75%;
    top: 50%;
    left: 50%;
    opacity: 0.15;
  }
  .pc-only-br-768 {
    display: none;
  }
  .sp-only-br-768 {
    display: block;
  }
  .footer {
    padding: 80px 24px 32px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}
/* 円全体 */
@keyframes heroCircleAppear {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* === Hero Circle アニメーション適用 ===
   円・線・ロゴ画像はすべて .hero-logo-circle の子要素なので、
   親だけを拡大させれば中身も一緒に拡大して見える。
   子要素側に個別のscaleアニメーションを付けると二重に拡大して見えるため付けない。
*/
.hero-logo-circle {
  opacity: 0;
  animation: heroCircleAppear 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}
