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

html,
body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li,
figure, figcaption {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Inter", "Noto Sans JP", "Hiragino Sans", sans-serif;
  color: var(--color-text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --color-text: #17211f;
  --color-muted: #69736f;
  --color-accent: #d9823f;
  --color-accent-dark: #9c4400;
  --color-brand-dark: #1e5c4a;

  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Inter", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-decorative: "Sirivennela", serif;
  --font-mincho: "Zen Old Mincho", serif;
  --font-tinos: "Tinos", serif;

  --container-max: 1440px;
  --container-max2: 1200px;
  --header-max: 1440px;
 /* --gutter-pc: 140px;*/
  --gutter: 20px;

  --breakpoint-sp: 767px;
}

/* ==========================================================================
   Layout foundation
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  max-width:  var(--container-max2);
  margin: 0 auto;
  padding: 0 var(--gutter);

	
}

@media (max-width: 767px) {
  .container {
    padding: 0 var(--gutter);
  }
}

/* A full-bleed section: background spans 100vw, content stays constrained */
.full-bleed {
  position: relative;
  width: 100%;
}

.full-bleed__inner {
  max-width: var(--container-max);
  max-width:  var(--container-max2);
  margin: 0 auto;
  position: relative;
  padding: 0 var(--gutter);
}

@media (max-width: 767px) {
  .full-bleed__inner {
    padding: 0 var(--gutter);
  }
}

/* ==========================================================================
   Common components
   ========================================================================== */

/* Primary CTA button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  background: var(--color-brand-dark);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.btn:hover {
  background-color: var(--color-accent);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position:fixed;
  width: 100%;
  background: #fff;
  background-color:rgba(255,255,255,0.90); 
  z-index: 100;
  transition: all 0.3s ease;
  height: 92px;
  top: 0;
}
.header.fixed{

  background-color:rgba(255,255,255,0.90); 
}
.header__inner {
  max-width: var(--header-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 37px;
  padding: 26px 32px 25px;
}
.header__logo {
  max-width: 375px;
  width: 26%;
  min-width: 285px;
}

.header__logo img {
  width: 100%;
  max-width: 375px;
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 37px;
  flex: 1;
  justify-content: flex-end;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 25px 2%;
  width: 100%;
  justify-content: center;
}

.header__nav-list a {
  font-weight: 700;
  font-size: clamp(13px, 1.11vw, 16px);
  color: #000;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.header__nav-list a:hover {
  color: var(--color-accent);
}
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 16px;
}

.header__hamburger img {
  width: 16px;
  height: 16px;
}
.btn.header__cta{
  font-size: clamp(13px, 1.11vw, 16px);
}
@media (max-width:1000px) {
  .header__inner {
    padding: 16px 20px;
    gap: 16px;
  }

  .header__logo img {
    max-width: 285px;
  }


  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
    padding: 90px 24px 24px;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .header__cta {
    width: 100%;
    justify-content: center;
  }
}
.header__hamburger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header__hamburger span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: #000;
  transition: 0.3s;
}

.header__hamburger span:nth-child(1) {
  top: 11px;
}

.header__hamburger span:nth-child(2) {
  top: 19px;
}

.header__hamburger span:nth-child(3) {
  top: 27px;
}

@media (max-width:1000px) {
.header {
  height: 72px;
}
  .header__hamburger {
    display: block;
  }
 .hero {
    margin-top: 72px !important;
  }
}

/* OPENしたら× */
.header__hamburger[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__hamburger[aria-expanded="true"] span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}
/*display*/
.hp_display_sp {
  display: none;
}
/*pc非表示*/
.hp_display_pc {
  display: block;
}
/*pc表示*/
@media screen and (max-width :767px) {
  .hp_display_sp {
    display: block;
  }
  /*sp表示*/
  .hp_display_pc {
    display: none;
  }
  /*sp非表示*/
}
/*display*/

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
.graph-line {
 position: absolute;
	left: 0;
	top: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 3s ease-out;
}

.graph-line.graph-visible {
  clip-path: inset(0 0 0 0);
}


