/*
Theme Name: Actworld Takeoff Theme
Theme URI: https://actworld.info/
Author: ACTWORLD.info
Author URI: https://actworld.info/
Description: A lightweight original WordPress theme for Career Station Take-off by ACTWORLD.info.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: actworld-takeoff
*/

:root {
  --color-sky: #4a90e2;
  --color-sky-deep: #2f78c6;
  --color-coffee: #4a3728;
  --color-terracotta: #e67c5f;
  --color-mint: #7dbf9e;
  --color-ivory: #fbf7f2;
  --color-white: #ffffff;
  --color-gray: #eef2f5;
  --color-text: #2d2926;
  --color-muted: #70685f;
  --shadow-soft: 0 18px 45px rgba(74, 55, 40, 0.11);
  --shadow-card: 0 14px 30px rgba(74, 55, 40, 0.09);
  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 10px;
  --site-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
  background:
    linear-gradient(90deg, rgba(74, 144, 226, 0.04) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(251, 247, 242, 0.86), rgba(255, 255, 255, 0.98));
  background-size: 28px 28px, auto;
}

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-shell {
  width: min(calc(100% - 32px), var(--site-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(calc(100% - 32px), var(--site-width));
  margin: 16px auto 0;
  border: 1px solid rgba(74, 55, 40, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(74, 55, 40, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 18px 0 22px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--color-coffee);
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-name {
  display: grid;
  min-width: 0;
  line-height: 1.18;
}

.site-title-text {
  display: block;
  max-width: 100%;
  font-size: clamp(0.9rem, 1.25vw, 1.08rem);
  overflow-wrap: anywhere;
}

.brand-name small {
  color: var(--color-sky);
  font-size: 0.72rem;
  font-weight: 700;
  padding-top: 3px;
}

.site-tagline {
  display: block;
  margin-top: 2px;
  line-height: 1.2;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-navigation a {
  color: var(--color-coffee);
  font-size: 0.9rem;
  font-weight: 700;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--color-white);
  background: linear-gradient(135deg, #63b6e6, var(--color-sky));
  box-shadow: 0 12px 24px rgba(74, 144, 226, 0.26);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(74, 144, 226, 0.32);
}

.button-secondary {
  color: var(--color-coffee);
  background: var(--color-white);
  border-color: rgba(74, 55, 40, 0.18);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 92px);
  padding: 76px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 72%;
  background: linear-gradient(180deg, rgba(223, 243, 255, 0.88), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 42px;
}

.hero-copy {
  padding: 38px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--color-sky-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1,
.section-title {
  margin: 0;
  color: var(--color-coffee);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 4.1rem);
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 30px;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-art {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  background: var(--color-white);
}

.hero-art img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.floating-card {
  /* position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(280px, calc(100% - 48px)); */
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 32px rgba(74, 55, 40, 0.14);
  backdrop-filter: blur(14px);
  
}

.floating-card strong {
  display: block;
  color: var(--color-coffee);
  font-size: 1rem;
}

.floating-card span {
  color: var(--color-muted);
  font-size: 0.86rem;
}

.section {
  padding: 86px 0;
}

.support-visual {
  position: relative;
  width: min(920px, 100%);
  margin: -18px auto 54px;
}

.support-visual-main {
  width: 100%;
  max-height: 330px;
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  object-position: center;
}

.support-leaf {
  position: absolute;
  z-index: 2;
  width: clamp(120px, 18vw, 230px);
  filter: drop-shadow(0 16px 22px rgba(74, 55, 40, 0.14));
  pointer-events: none;
}

.support-leaf-left {
  left: -76px;
  bottom: -38px;
  transform: rotate(-8deg);
}

.support-leaf-right {
  right: -82px;
  top: -52px;
  transform: rotate(5deg);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.section-lead {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 95%;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.support-card {
  position: relative;
  min-height: 280px;
  padding: 28px 22px 24px;
  border: 1px solid rgba(74, 55, 40, 0.09);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.support-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: contain;
  background: #f5fbff;
}

.support-card h3 {
  margin: 0 0 12px;
  color: var(--color-coffee);
  font-size: 1.08rem;
  text-align: center;
}

.support-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  text-align: center;
}

.support-card .mini-arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(74, 55, 40, 0.2);
  border-radius: 50%;
  color: var(--color-coffee);
}

.formula-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.94)),
    var(--color-ivory);
}

.formula-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 34px;
  border-radius: var(--radius-large);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.formula-item {
  min-height: 156px;
  padding: 24px;
  border-radius: var(--radius-medium);
  text-align: center;
}

.formula-item:nth-child(1) {
  background: rgba(74, 144, 226, 0.11);
}

.formula-item:nth-child(3) {
  background: rgba(125, 191, 158, 0.16);
}

.formula-item:nth-child(5) {
  background: rgba(230, 124, 95, 0.13);
}

.formula-item span {
  display: block;
  color: var(--color-sky-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.formula-item strong {
  display: block;
  margin-top: 8px;
  color: var(--color-coffee);
  font-size: 1.24rem;
}

.formula-item p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.formula-symbol {
  color: var(--color-sky);
  font-size: 2.2rem;
  font-weight: 900;
}

.taketing-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 34px;
  margin-top: 42px;
  padding: 30px;
  border: 1px solid rgba(74, 55, 40, 0.08);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(74, 55, 40, 0.07);
}

.story-copy h3 {
  margin: 0;
  color: var(--color-coffee);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 1.48;
}

.story-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--color-muted);
}

.story-images {
  position: relative;
  min-height: 330px;
}

.story-person {
  position: absolute;
  right: -42px;
  bottom: -44px;
  z-index: 2;
  width: min(52%, 310px);
  border-radius: 24px;
  filter: drop-shadow(0 18px 26px rgba(74, 55, 40, 0.16));
}

.story-age {
 /* position: absolute;
  left: 0;
  top: 0;*/
  width: min(62%, 370px);
  border-radius: 24px;
  filter: drop-shadow(0 20px 28px rgba(74, 55, 40, 0.13));
}

.ecosystem {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.ecosystem .site-shell {
  position: relative;
}

.ecosystem-leaf {
  position: absolute;
  top: -51px;
  right: 856px;
  width: clamp(150px, 22vw, 290px);
  opacity: 0.78;
  pointer-events: none;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.loop-step {
  padding: 24px 18px;
  border-radius: var(--radius-medium);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(74, 144, 226, 0.13);
  box-shadow: 0 10px 24px rgba(74, 144, 226, 0.08);
}

.loop-step img {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  object-fit: contain;
}

.loop-step small {
  display: block;
  margin-bottom: 8px;
  color: var(--color-sky-deep);
  font-weight: 900;
}

.loop-step h3 {
  margin: 0 0 8px;
  color: var(--color-coffee);
  font-size: 1.04rem;
}

.loop-step p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.school-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-medium);
  background: rgba(74, 144, 226, 0.1);
}

.school-route p {
  margin: 0;
  color: var(--color-coffee);
  font-weight: 800;
}

.stats-band {
  padding: 62px 0;
  background: linear-gradient(180deg, rgba(251, 247, 242, 0), rgba(251, 247, 242, 0.92));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--color-coffee);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.stat span {
  color: var(--color-muted);
  font-weight: 700;
}

.cta-section {
  padding: 86px 0 96px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 30px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-large);
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(74, 55, 40, 0.93), rgba(74, 144, 226, 0.9)),
    var(--color-coffee);
  box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.45;
}

.cta-panel p {
  max-width: 680px;
  margin: 16px 0 26px;
  color: rgba(255, 255, 255, 0.88);
}

.cta-panel .button {
  color: var(--color-coffee);
  background: #ffffff;
  box-shadow: none;
}

.cta-image {
  align-self: end;
}

.cta-image img {
  max-height: 260px;
  margin-left: auto;
  object-fit: contain;
}

.site-main {
  min-height: 60vh;
}

.content-list {
  padding: 80px 0;
}

.post-card {
  padding: 26px;
  margin-bottom: 18px;
  border-radius: var(--radius-medium);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.post-card h2 {
  margin: 0 0 10px;
  color: var(--color-coffee);
}

.site-footer {
  padding: 48px 0 34px;
  color: rgba(74, 55, 40, 0.72);
  background: #fff;
  border-top: 1px solid rgba(74, 55, 40, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-message {
  color: var(--color-coffee);
  font-weight: 800;
}

@media (max-width: 980px) {
  .main-navigation ul {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-inner,
  .cta-panel,
  .taketing-story {
    grid-template-columns: 1fr;
  }

  .support-grid,
  .loop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .formula-panel {
    grid-template-columns: 1fr;
  }

  .formula-symbol {
    transform: rotate(90deg);
    text-align: center;
  }

  .school-route,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-leaf-left {
    left: -36px;
  }

  .support-leaf-right {
    right: -42px;
  }

  .story-images {
    min-height: 300px;
  }

  .cta-image {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 8px;
    width: min(calc(100% - 20px), var(--site-width));
  }

  .header-inner {
    min-height: 58px;
    padding: 0 12px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .section,
  .cta-section {
    padding-block: 54px;
  }

  .support-visual {
    margin: -4px auto 34px;
  }

  .support-visual-main {
    max-height: 220px;
    border-width: 6px;
  }

  .support-leaf {
    width: 112px;
    opacity: 0.88;
  }

  .support-leaf-left {
    left: -24px;
    bottom: -24px;
  }

  .support-leaf-right {
    right: -26px;
    top: -30px;
  }

  .hero-art img {
    min-height: 280px;
  }

  .floating-card {
    position: static;
    width: 100%;
    border-radius: 0 0 var(--radius-large) var(--radius-large);
  }

  .support-grid,
  .loop-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .formula-panel,
  .cta-panel,
  .taketing-story {
    padding: 22px;
  }

  .story-images {
    min-height: 250px;
  }

  .story-person {
    width: 58%;
  }

  .story-age {
    width: 68%;
  }

  .ecosystem-leaf {
    top: -82px;
    right: -70px;
    width: 180px;
    opacity: 0.42;
  }
}
