/*
Theme Name: NandO planning 2.0
Author: NandO planning
Description: Original WordPress theme for NandO planning 2.0
Version: 2.0
Text Domain: nandoplanning-v2
*/


:root {
  --color-bg: #edf5fc;
  --color-navy: #12365f;
  --color-blue: #2868a8;
  --color-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-navy);
  background: var(--color-bg);
  font-family: "Noto Sans JP", sans-serif;
}

.site-header {
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 700;
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: var(--color-navy);
  text-decoration: none;
  font-size: 14px;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 650px;
  padding: 80px 24px;
  text-align: center;
}

.hero-inner {
  width: 100%;
  max-width: 900px;
}

.hero-label {
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.hero-description {
  font-size: 14px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn-outline {
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
}

@media (max-width: 767px) {
  .header-inner {
    padding: 20px 16px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: 540px;
    padding: 64px 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }
}


:root {
  --color-bg: #edf5fc;
  --color-navy: #12365f;
  --color-blue: #2868a8;
  --color-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-navy);
  background: var(--color-bg);
  font-family: "Noto Sans JP", sans-serif;
}

.site-header {
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 700;
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: var(--color-navy);
  text-decoration: none;
  font-size: 14px;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 650px;
  padding: 80px 24px;
  text-align: center;
}

.hero-inner {
  width: 100%;
  max-width: 900px;
}

.hero-label {
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.hero-description {
  font-size: 14px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn-outline {
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
}

@media (max-width: 767px) {
  .header-inner {
    padding: 20px 16px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: 540px;
    padding: 64px 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }
}

body {
  background-color: #edf5fc;
}


/* 英語ラベル */
.hero-label {
  color: var(--color-blue);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

/* メインコピー */
.hero-title {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
}

/* 説明文 */
.hero-description {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
}

/* スマホ用 */
/* HERO 見出し：PC */
.hero-title {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}

/* HERO 見出し：スマホ */
@media (max-width: 767px) {
  .hero-title {
    font-size: 26px;
    line-height: 1.45;
    letter-spacing: 0;
  }
}

  .hero-heading {
    font-size: 26px;
    line-height: 1.45;
    letter-spacing: 0;
    overflow-wrap: normal;
  }

@media (max-width: 767px) {
  .hero-description {
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: -0.02em;
  }
}

/* 英語ラベル */
.hero-label {
  margin: 0 0 24px;
}

/* メインコピー */
.hero-title {
  margin: 0 0 24px;
  line-height: 1.22;
}

/* 説明文 */
.hero-description {
  margin: 0;
  line-height: 1.9;
}

/* CTAボタン */
.hero-buttons {
  margin-top: 24px;
}


/* ==========================
   SERVICES
========================== */

.services-section {
  padding: 100px 24px;
  background-color: var(--color-bg);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  margin: 0;
  color: var(--color-navy);
  font-size: 32px;
  text-align: center;
}

.section-description {
  margin: 20px 0 40px;
  color: #56718b;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px 24px;
  border-radius: 12px;
  background-color: #ffffff;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: #e7f0fa;
  color: var(--color-blue);
  font-size: 20px;
  font-weight: 700;
}

.service-card h3 {
  margin: 0 0 16px;
  color: var(--color-navy);
  font-size: 20px;
  line-height: 1.5;
}

.service-card p {
  margin: 0;
  color: #56718b;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .services-section {
    padding: 64px 20px;
  }

  .section-title {
    font-size: 26px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .works-description {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: -0.02em;
  }
}

/* ==========================
   WORKS
========================== */

.works-section {
  padding: 100px 24px;
  background-color: #ffffff;
}

.works-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.works-title {
  margin: 0;
  color: var(--color-navy);
  font-size: 32px;
  text-align: center;
}

.works-description {
  margin: 20px 0 40px;
  color: #56718b;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.works-card {
  overflow: visible;
  border-radius: 0;
  background-color: transparent;
}

.works-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background-color: #e7f0fa;
}

.works-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-content {
  padding: 24px;
}

.works-content h3 {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.works-content p {
  margin: 0;
  color: #56718b;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .works-section {
    padding: 64px 20px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .works-title {
    font-size: 26px;
  }
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FLOW：ご依頼の流れ
========================= */

.flow-section {
  padding: 80px 24px;
  background-color: #edf5fc;
}

.flow-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.flow-title {
  margin: 0;
  color: var(--color-navy);
  font-size: 32px;
  text-align: center;
}

.flow-description {
  margin: 20px 0 40px;
  color: #56718b;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.flow-card {
  min-width: 0;
  padding: 32px 16px;
  background-color: #ffffff;
  border-radius: 12px;
  text-align: center;
}

.flow-number {
  display: block;
  margin-bottom: 12px;
  color: #1689d0;
  font-size: 32px;
  font-weight: 700;
}

.flow-card h3 {
  margin: 0 0 16px;
  color: var(--color-navy);
  font-size: 16px;
  line-height: 1.5;
}

.flow-card p {
  margin: 0;
  color: #56718B;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: -0.03em;
}

/* タブレット */
@media (max-width: 1024px) {
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマートフォン */
@media (max-width: 767px) {
  .flow-section {
    padding: 64px 20px;
  }

  .flow-title {
    font-size: 28px;
  }

  .flow-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .flow-card {
    padding: 28px 20px;
  }
}

/* =========================
   ABOUT
========================= */

.about-section {
  padding: 100px 24px;
  background-color: #edf5fc;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  margin: 0 0 16px;
  color: #173b68;
  font-size: 32px;
}

.about-lead {
  margin: 0 0 48px;
  color: #56718b;
  font-size: 16px;
}

.about-description {
  margin-bottom: 40px;
  color: #56718b;
  font-size: 16px;
  line-height: 1.8;
}

.about-description p {
  margin: 0 0 24px;
}

.about-profile {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
  background-color: #fff;
  border-radius: 16px;
  text-align: left;
}

.about-profile-image {
  flex: 0 0 160px;
}

.about-profile-image img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
}

.about-profile-content {
  flex: 1;
  min-width: 0;
}

.about-role,
.about-position {
  color: #56718b;
  font-size: 14px;
}

.about-profile-content h3 {
  margin: 8px 0;
  color: #173b68;
  font-size: 24px;
}

.about-profile-text {
  color: #56718b;
  font-size: 14px;
  line-height: 1.8;
}

/* =========================
   CONTACT
========================= */

.contact-section {
  padding: 100px 24px;
  background-color: #edf5fc;
  text-align: center;
}

.contact-inner {
  max-width: 900px;
  margin: 0 auto;
}

.contact-title {
  margin: 0 0 24px;
  color: #173b68;
  font-size: 32px;
}

.contact-description {
  margin: 0 0 40px;
  color: #56718b;
  font-size: 16px;
  line-height: 1.8;
}


/* =========================
   CONTACT / CTA
========================= */

.contact-section {
  padding: 88px 24px;
  background-color: #112d50;
  text-align: center;
}

.contact-inner {
  max-width: 900px;
  margin: 0 auto;
}

.contact-title {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
}

.contact-description {
  margin: 0 0 32px;
  color: #e5edf7;
  font-size: 16px;
  line-height: 1.8;
}

.contact-button {
  display: inline-block;
  padding: 16px 48px;
  background-color: #ffffff;
  color: #173b68;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: #e5edf7;
}

.contact-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 48px 24px 24px;
  background-color: #edf5fc;
  color: #173b68;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-logo {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
}

.footer-tagline {
  margin: 0;
  color: #56718b;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
  max-width: none;
}

.footer-nav a {
  color: #173b68;
  font-size: 14px;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #cbd8e6;
  text-align: center;
}

.footer-bottom small {
  color: #56718b;
  font-size: 12px;
}

/* =========================
   MOBILE / 767px以下
========================= */

@media (max-width: 767px) {

  /* WORKS */
  .works-section {
    padding: 64px 20px;
  }

  .works-inner {
    width: 100%;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .works-title {
    font-size: 26px;
  }

  /* FLOW */
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ABOUT */
  .about-section {
    padding: 64px 20px;
  }

  .about-title {
    font-size: 26px;
  }

  .about-profile {
    flex-direction: column;
    align-items: center;
    padding: 24px;
    text-align: center;
  }

  .about-profile-image {
    flex: 0 0 auto;
  }

  /* CONTACT */
  .contact-section {
    padding: 72px 20px;
  }

  .contact-title {
    font-size: 26px;
  }

  @media (max-width: 767px) {
  .contact-title {
    font-size: 24px;
  }
}

  .contact-description br {
    display: none;
  }

  /* FOOTER */
  .site-footer {
    padding: 48px 20px 24px;
  }

  .footer-main {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 16px;
  }
}
/* =====================================
   ABOUT スマホ版の余白調整
===================================== */

@media (max-width: 767px) {

  .about-section {
    padding: 64px 20px;
  }

  .about-title {
    margin-bottom: 16px;
  }

  .about-description {
    margin-bottom: 32px;
    line-height: 1.8;
  }

  .about-card {
    padding: 24px 16px;
  }

}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .profile-description {
    letter-spacing: -0.02em;
  }
}

@media (max-width: 767px) {
  .about-profile-text {
    letter-spacing: -0.02em;
  }
}

@media (max-width: 767px) {
  .works-content h3 {
    font-size: 18px;
    line-height: 1.5;
  }
}

@media (max-width: 359px) {
  .hero-description {
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 359px) {
  .hero-description {
    width: 100%;
    max-width: 290px;
    margin-inline: auto;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0;
  }
}

/* 通常は改行を非表示 */
.sp-320 {
  display: none;
}

/* 320px付近だけ改行を有効にする */
@media (max-width: 359px) {
  .sp-320 {
    display: inline;
  }
}

@media (max-width: 359px) {
  .services-section .section-description {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0;
  }
}

@media (max-width: 359px) {
  .service-card h3 {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.02em;
  }
}

.no-break {
  white-space: nowrap;
}

@media (max-width: 359px) {
  .works-description {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0;
  }
}

@media (max-width: 359px) {
  .flow-card {
    padding: 28px 12px;
  }
}

@media (max-width: 359px) {
  .flow-card p {
    letter-spacing: -0.03em;
  }
}

/* 通常は改行を非表示 */
.sp-320 {
  display: none;
}

/* 359px以下だけ改行 */
@media (max-width: 359px) {
  .sp-320 {
    display: inline;
  }
}

/* CONTACT：320pxでの改行調整 */
@media screen and (max-width: 359px) {
  .contact-description br.sp-320 {
    display: block;
  }
}

/* フッターナビ：320px対応 */
@media screen and (max-width: 359px) {
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 16px;
    row-gap: 16px;
    justify-content: start;
  }
}

.sp-375 {
  display: none;
}

@media screen and (min-width: 360px) and (max-width: 399px) {
  .sp-375 {
    display: inline;
  }
}

.sp-375 {
  display: none;
}

@media screen and (min-width: 360px) and (max-width: 399px) {
  .sp-375 {
    display: inline;
  }
}

/* 375px前後だけ改行を表示 */
.sp-375 {
  display: none;
}

@media screen and (min-width: 360px) and (max-width: 399px) {
  br.sp-375 {
    display: inline;
  }
}

/* 390px専用の改行 */
.sp-390 {
  display: none;
}

@media (min-width: 360px) and (max-width: 390px) {
  .sp-390 {
    display: inline;
  }
}

/* 通常は非表示 */
.sp-414 {
  display: none;
}

/* 391px〜414pxだけ改行 */
@media (min-width: 391px) and (max-width: 414px) {
  br.sp-414 {
    display: inline;
  }
}

/* 通常は改行を非表示 */
.sp-390 {
  display: none;
}

/* 390px以下だけ改行 */
@media (max-width: 390px) {
  .sp-390 {
    display: inline;
  }
}

.no-break {
  white-space: nowrap;
}

.sp-414 {
  display: none;
}

@media (max-width: 414px) {
  .sp-414 {
    display: inline;
  }
}

@media (max-width: 767px) {
  .about-profile {
    padding: 24px 16px;
  }
}