/*
Theme Name: AquaEdge
Theme URI: https://aquaedge.co.jp/
Author: AquaEdge
Description: AquaEdge コーポレートサイト用 WordPress テーマ
Version: 1.0.0
Text Domain: aquaedge
*/

:root {
  --navy: #06284a;
  --deep: #021b34;
  --ink: #071f3f;
  --muted: #52667e;
  --line: #d9e3ec;
  --soft: #f4f8fb;
  --pale: #eef4f7;
  --accent: #6f879b;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

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

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(100%, 1440px);
  height: 76px;
  margin: 0 auto;
  padding: 0 30px;
  background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.58) 70%, rgba(255,255,255,.34));
}

.logo {
    width: 150px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-8deg);
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-align: center;
}

.global-nav {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
  font-size: 12px;
  font-weight: 700;
}

.contact-button,
.primary-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 46px;
  padding: 0 26px;
  font-weight: 700;
  font-size: 12px;
}

.contact-button,
.primary-button {
  color: var(--white);
  background: var(--deep);
}

.contact-button {
  min-width: 128px;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 400px;
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,.22) 62%, rgba(255,255,255,0) 100%),
    url("assets/hero-photo.png") center top / cover no-repeat;
}

.hero-copy {
  width: min(100%, 1024px);
  margin: 0 auto;
  padding: 104px 0 0 68px;
}

.hero h1 {
  margin: 0 0 22px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .06em;
}

.hero p {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 2;
}

.section {
  width: min(100%, 1024px);
  margin: 0 auto;
  padding: 22px 24px 44px;
}

.section-title {
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.section-title span {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
}

.section-title h2 {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.section-title.left {
  margin-bottom: 22px;
  text-align: left;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.business-card {
  position: relative;
  min-height: 405px;
  border: 1px solid var(--line);
  background: var(--white);
}

.business-card img {
  height: 123px;
  object-fit: cover;
}

.business-body {
  padding: 16px 14px 48px;
}

.number {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.business-card h3 {
  margin: 4px 0 10px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  line-height: 1.45;
}

.business-card p:last-child,
.strength-grid p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

.business-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.business-card li {
  padding: 3px 8px;
  border: 1px solid #d5e0e8;
  color: #36536b;
  background: #f7fafb;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.service-logo {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 12px;
  padding: 4px 10px;
  border: 1px solid #cbd9e3;
  color: var(--navy);
  background: #fbfdfe;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
}

.service-logo.friendly {
  color: #284b61;
  font-family: Georgia, "Times New Roman", serif;
}

.service-logo.tech {
  color: #123c5a;
}

.round-icon {
  position: absolute;
  left: 50%;
  bottom: -18px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: var(--white);
  background: var(--deep);
  border-radius: 50%;
  border: 2px solid var(--white);
  font-size: 20px;
  transform: translateX(-50%);
}

.strengths {
  padding: 40px 0px 70px;
  background: linear-gradient(180deg, #f8fafb, var(--pale));
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 1200px);
  margin: 0 auto;
}

.strength-grid article {
  min-height: 124px;
  padding: 0 25px;
  text-align: center;
  border-left: 1px solid #cad8e4;
}

.strength-grid article:first-child {
  border-left: 0;
}

.line-icon {
  display: block;
  height: 42px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 38px;
  line-height: 1;
}

.strength-grid h3 {
  margin: 0 0 8px;
  font-size: 13px;
}

.brand-story {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 38px;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 40px 25px 70px;
}

.brand-story-inner {
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.story-copy {
  display: grid;
  grid-template-columns: .9fr 1.5fr;
  gap: 28px;
  margin-bottom: 28px;
}

.story-lead {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.45;
}

.story-copy p:not(.story-lead) {
  margin: 0;
  color: #2d4358;
  font-size: 12px;
  font-weight: 600;
}

.story-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.story-points article {
  min-height: 132px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  background: #fbfdfe;
}

.story-points span {
  display: block;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1;
}

.story-points h3 {
  margin: 10px 0 6px;
  font-size: 13px;
}

.story-points p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

.outline-button {
  width: 200px;
  min-height: 50px;
  margin: 18px auto 0;
  border: 1px solid #8ea2b6;
  color: var(--navy);
  background: var(--white);
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 82px 58px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.news-list span {
  display: inline-flex;
  justify-content: center;
  padding: 2px 6px;
  color: var(--white);
  background: var(--navy);
  border-radius: 1px;
  font-size: 9px;
  font-weight: 700;
}

.message {
  display: grid;
  grid-template-columns: 1fr 1.3fr .76fr;
  align-items: stretch;
  background: var(--white);
}

.message-photo {
  height: 192px;
  object-fit: cover;
}

.message-copy {
  min-height: 192px;
  padding: 40px 40px 70px;
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
}

.message h2 {
  margin: 0 0 8px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.45;
}

.message-copy p:not(.eyebrow) {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.8;
}

.message-copy a {
  font-size: 12px;
  font-weight: 700;
}

.footer {
  color: var(--white);
  background: linear-gradient(100deg, #04284b, #001b35);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr 1.05fr 1.2fr;
  gap: 30px;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 24px;
}

.f-logo {
    width: 180px;
}

.brand.light,
.brand.light .brand-mark {
  color: var(--white);
}

.brand.light .brand-mark {
  background: transparent;
}

.footer-brand p {
  margin: 14px 0 16px;
  font-size: 11px;
  line-height: 1.9;
}

.sns {
  display: flex;
  gap: 18px;
  font-size: 18px;
  font-weight: 700;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 24px;
  font-size: 11px;
  font-weight: 700;
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-left: 30px;
  border-left: 1px solid rgba(255,255,255,.25);
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
}

.footer-cta {
  position: relative;
  min-height: 126px;
  overflow: hidden;
}

.footer-cta img {
  height: 100%;
  object-fit: cover;
  opacity: .75;
}

.footer-cta div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  background: linear-gradient(90deg, rgba(4,40,75,.78), rgba(4,40,75,.15));
}

.footer-cta p {
  margin: 0 0 14px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  line-height: 1.7;
}

.footer-cta a {
  display: inline-flex;
  justify-content: center;
  gap: 14px;
  width: 165px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.section.business {
    margin: 40px auto 70px;
}

.round-icon img {
    width: 20px;
    height: 20px;
}

.line-icon img {
    width: 40px;
    height: 40px;
    margin: 10px auto;
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 18px;
    background: var(--white);
  }

  .global-nav {
    display: none;
  }

  .hero {
    min-height: 420px;
    background-position: center top;
  }

  .hero-copy {
    padding: 48px 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .business-grid,
  .strength-grid,
  .brand-story,
  .message,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .business-card {
    min-height: auto;
  }

  .strength-grid article,
  .brand-story-inner,
  .contact-info {
    border: 0;
  }

  .story-copy,
  .story-points {
    grid-template-columns: 1fr;
  }

  .message-photo {
    height: 190px;
  }

  .message-copy {
    padding: 28px 24px;
  }

  .footer-inner {
    gap: 22px;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .contact-button {
    width: 100%;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p br,
  .message h2 br {
    display: none;
  }

  .news-list li {
    grid-template-columns: 82px 58px;
  }

  .news-list a {
    grid-column: 1 / -1;
  }
}
