/*
  IMAGES AND WORDS — corporate site
  Refreshed design, same content structure as previous WordPress site.
*/

@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap");

:root {
  --c-green: #1e4d2b;
  --c-green-deep: #123018;
  --c-green-mid: #2d6a3f;
  --c-gold: #ab8c4a;
  --c-gold-light: #cbb075;
  --c-white: #ffffff;
  --c-off-white: #faf9f6;
  --c-cream: #f6f1e7;
  --c-text: #1c1c1c;
  --c-text-mid: #4a4a4a;
  --c-muted: #8a8a8e;
  --c-border: #e6e0d4;

  --ff-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ff-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --shadow-sm: 0 2px 14px rgba(18, 48, 24, 0.08);
  --shadow-md: 0 10px 34px rgba(18, 48, 24, 0.12);
  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--ff-sans);
  background: var(--c-off-white);
  color: var(--c-text);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  padding-top: 76px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* Header */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-logo {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--c-green);
  font-weight: 600;
}
.site-logo span {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  color: var(--c-gold);
  font-weight: 700;
  margin-bottom: 2px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.global-nav a {
  display: flex;
  align-items: center;
  height: 76px;
  padding: 0 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-text-mid);
  position: relative;
  transition: color var(--ease);
  white-space: nowrap;
}
.global-nav a::after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--c-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.global-nav a:hover,
.global-nav a.is-active {
  color: var(--c-green);
}
.global-nav a:hover::after,
.global-nav a.is-active::after {
  transform: scaleX(1);
}
.global-nav .nav-cta {
  margin-left: 8px;
  padding: 9px 24px !important;
  height: auto !important;
  border: 1.5px solid var(--c-green);
  border-radius: 3px;
  color: var(--c-green) !important;
  transition:
    background var(--ease),
    color var(--ease) !important;
}
.global-nav .nav-cta::after {
  display: none !important;
}
.global-nav .nav-cta:hover {
  background: var(--c-green);
  color: var(--c-white) !important;
}

@media (max-width: 860px) {
  .global-nav {
    gap: 0;
  }
  .global-nav a {
    padding: 0 10px;
    font-size: 0.72rem;
  }
  .global-nav .nav-cta {
    padding: 7px 14px !important;
    margin-left: 4px;
  }
}
@media (max-width: 680px) {
  .global-nav a:not(.nav-cta) {
    display: none;
  }
  #site-header {
    height: 64px;
  }
  body {
    padding-top: 64px;
  }
  .global-nav a {
    height: 64px;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 80% 60% at 75% 15%,
      rgba(203, 176, 117, 0.18) 0%,
      transparent 60%
    ),
    linear-gradient(
      155deg,
      var(--c-green-deep) 0%,
      var(--c-green) 55%,
      var(--c-green-mid) 100%
    );
}
/*
  To use the original photo instead of the flat gradient:
  1. Put the image file at assets/hero.jpg (create the "assets" folder next to this CSS file)
  2. Uncomment the two lines below (remove /* and *­/ around them)
  The gradient above stays visible underneath as a fallback and color wash,
  so nothing breaks if the image path is wrong.
*/

.hero {
  background-image: url("assets/IAWHP.png");
  background-size: cover;
  background-position: center 25%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(transparent 55%, rgba(0, 0, 0, 0.35) 100%),
    repeating-linear-gradient(
      180deg,
      transparent 0 2px,
      rgba(255, 255, 255, 0.02) 2px 3px
    );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(48px, 9vh, 100px) 0 clamp(56px, 10vh, 110px);
}
.hero-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.6vw, 4.2rem);
  color: var(--c-white);
  line-height: 1.45;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.hero-scroll svg {
  width: 15px;
  height: 15px;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Sections */
section {
  margin-bottom: 0;
}
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--c-gold);
}
.section-heading {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  color: var(--c-text);
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin-top: 10px;
}
.section-lead {
  font-size: 0.98rem;
  color: var(--c-text-mid);
  line-height: 2;
  max-width: 560px;
}

/* About */
.section-about {
  padding: clamp(72px, 10vw, 128px) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-text p {
  color: var(--c-text-mid);
  line-height: 2;
  margin: 18px 0;
}
.about-visual {
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(
    150deg,
    var(--c-green) 0%,
    var(--c-green-deep) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-md);
}
.about-visual span {
  font-family: var(--ff-serif);
  color: rgba(255, 255, 255, 0.92);
  font-size: 2.6rem;
  letter-spacing: 0.16em;
}
.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-green);
  border-bottom: 1.5px solid var(--c-green);
  padding-bottom: 2px;
  transition: gap var(--ease);
}
.link-arrow:hover {
  gap: 14px;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Services */
.section-services {
  background: var(--c-cream);
  padding: clamp(72px, 10vw, 128px) 0;
}
.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--c-white);
  border-radius: 6px;
  padding: clamp(28px, 3.4vw, 40px);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-gold);
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 1.28rem;
  color: var(--c-text);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--c-text-mid);
  line-height: 1.95;
  flex: 1;
  margin-bottom: 22px;
}
.service-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(30, 77, 43, 0.3);
  align-self: flex-start;
  transition: gap var(--ease);
}
.service-link:hover {
  gap: 10px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Schools */
.section-schools {
  padding: clamp(72px, 10vw, 128px) 0;
}
.schools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(40px, 6vw, 64px);
}
.school-card {
  border-top: 2px solid var(--c-green);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.school-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-gold);
}
.school-card h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--c-text);
}
.school-card p {
  font-size: 0.9rem;
  color: var(--c-text-mid);
  line-height: 1.9;
}
.school-map {
  margin-top: 14px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.school-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .schools-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.section-cta {
  background: var(--c-green);
  padding: clamp(64px, 9vw, 108px) 0;
  text-align: center;
}
.section-cta .section-label {
  color: rgba(255, 255, 255, 0.55);
}
.section-cta h2 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  color: var(--c-white);
  margin: 10px 0 16px;
}
.section-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 34px;
  font-size: 0.95rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 42px;
  background: var(--c-white);
  color: var(--c-green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 3px;
  transition:
    background var(--ease),
    transform var(--ease);
}
.btn-primary:hover {
  background: var(--c-cream);
  transform: translateY(-2px);
}

/* Interior pages */
.page-hero {
  background: linear-gradient(
    155deg,
    var(--c-green-deep) 0%,
    var(--c-green) 100%
  );
  padding: 70px 0 58px;
  position: relative;
  overflow: hidden;
}
.page-breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
}
.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
}
.page-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.page-title {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  color: var(--c-white);
}

.page-body {
  padding: clamp(56px, 8vw, 100px) 0;
}
.page-content {
  max-width: 780px;
  margin: 0 auto;
}
.page-content h2 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--c-text);
  margin: 2.6em 0 1em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}
.page-content h2:first-child {
  margin-top: 0;
}
.page-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 1.8em 0 0.8em;
  padding-left: 14px;
  border-left: 3px solid var(--c-gold);
}
.page-content p {
  color: var(--c-text-mid);
  line-height: 2;
  margin-bottom: 1.3em;
}
.page-content ul {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
  color: var(--c-text-mid);
  line-height: 2;
  list-style: disc;
}
.page-content li {
  margin-bottom: 0.4em;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0 2.4em;
  font-size: 0.92rem;
}
.page-content th,
.page-content td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  vertical-align: middle;
  color: var(--c-text-mid);
}
.page-content th {
  width: 170px;
  font-weight: 700;
  color: var(--c-text);
  background: var(--c-cream);
  white-space: nowrap;
}
.page-content tr:last-child th,
.page-content tr:last-child td {
  border-bottom: none;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 600px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-mid);
  letter-spacing: 0.03em;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--ff-sans);
  color: var(--c-text);
  background: var(--c-white);
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
  outline: none;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(30, 77, 43, 0.1);
}
.form-row textarea {
  min-height: 160px;
  resize: vertical;
}
.form-submit {
  align-self: flex-start;
  padding: 14px 46px;
  background: var(--c-green);
  color: var(--c-white);
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition:
    background var(--ease),
    transform var(--ease);
}
.form-submit:hover {
  background: var(--c-green-mid);
  transform: translateY(-1px);
}
.form-note {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin-top: -6px;
}

/* Footer */
#site-footer {
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
  padding: clamp(48px, 7vw, 76px) 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 40px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--c-border);
}
.footer-logo {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--c-green);
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  line-height: 1.9;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-text-mid);
  transition: color var(--ease);
}
.footer-nav a:hover {
  color: var(--c-green);
}
.footer-copy {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--c-muted);
}

@media (max-width: 680px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    align-items: flex-start;
  }
}
