/*
Theme Name: NandO planning
Author: NandO planning
Description: Original theme for NandO planning
Version: 1.0
*/

html,
body {
    margin: 0;
    padding: 0;
}

.home-main {
    margin: 0;
    padding: 0;
}

.hero {
    position: relative;
    width: 100%;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.hotspot {
    position: absolute;
    display: block;
    z-index: 10;
}

/* HOME */
.hotspot-home {
    top: 5%;
    left: 44%;
    width: 5%;
    height: 5%;
    background: transparent;
}

.hotspot-about {
    top: 5%;
    left: 51%;
    width: 6%;
    height: 5%;
    background: transparent;
}

.hotspot-service {
    top: 5%;
    left: 60%;
    width: 6%;
    height: 5%;
    background: transparent;
}

.hotspot-works {
    top: 5%;
    left: 68%;
    width: 6%;
    height: 5%;
    background: transparent;
}

.hotspot-flow {
    top: 5%;
    left: 76%;
    width: 6%;
    height: 5%;
    background: transparent;
}

.hotspot-contact {
    top: 4%;
    left: 84%;
    width: 10%;
    height: 8%;
    background: transparent;
}

.hotspot-hero-contact {
    top: 40%;
    left: 8.5%;
    width: 14.5%;
    height: 5%;
    background: transparent;
}

.hotspot-hero-works {
    top: 40%;
    left: 24.5%;
    width: 15.5%;
    height: 5%;
    background: transparent;
}

:root {
  --color-bg: #f5f9fc;
  --color-surface: #ffffff;

  --color-heading: #2469a0;
  --color-text: #34495a;
  --color-subtext: #6f8291;

  --color-accent: #1684c5;
  --color-accent-soft: #dcecf7;
  --color-border: #d7e4ec;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
}

h1,
h2,
h3 {
  color: var(--color-heading);
}

a {
  color: var(--color-accent);
}

.content-section {
    padding: 80px 20px;
    background-color: var(--color-bg);
}

.content-section:nth-of-type(even) {
    background-color: var(--color-surface);
}

.content-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.content-section h2 {
    margin-bottom: 30px;
    color: var(--color-heading);
    text-align: center;
    font-size: 2rem;
}

.content-section p {
    color: var(--color-text);
    line-height: 1.9;
}

.profile-box {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 760px;
    margin: 40px auto 0;
    padding: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
}

.profile-image {
    width: 120px;
    height: 150px;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-text {
    flex: 1;
}

@media (max-width: 600px) {
    .profile-box {
        flex-direction: column;
        text-align: center;
    }
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.9;
}

.about-profile {
    float: left;
    width: 120px;
    height: 150px;
    margin: 0 28px 15px 0;
    object-fit: cover;
    border-radius: 12px;
}

.about-content::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 600px) {

    .about-profile {
        float: none;
        display: block;
        margin: 0 auto 24px;
    }

}

/* =========================
   SERVICE
========================= */

.service-section {
    background-color: var(--color-surface);
}

.section-subtitle {
    margin: -20px 0 40px;
    text-align: center;
    color: var(--color-subtext);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    padding: 36px 28px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
}

.service-icon {
    margin-bottom: 20px;
    text-align: center;
    font-size: 2.5rem;
}

.service-card h3 {
    margin-bottom: 18px;
    text-align: center;
    color: var(--color-heading);
    font-size: 1.2rem;
}

.service-card p {
    margin: 0;
    line-height: 1.9;
}

/* スマホ */
@media (max-width: 768px) {

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px 22px;
    }

}

.works-section {
    background-color: var(--color-bg);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.works-card {
    min-width: 0;
}

.works-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
}

.works-body {
    padding-top: 20px;
}

.works-card h3 {
    color: var(--color-heading);
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}

.flow-section {
    background-color: var(--color-surface);
}

.flow-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.flow-item {
    position: relative;
    padding: 30px 22px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    text-align: center;
}

.flow-number {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--color-accent);
    font-size: 1.8rem;
    font-weight: bold;
}

.flow-item h3 {
    margin-bottom: 14px;
    color: var(--color-heading);
    font-size: 1.1rem;
}

.flow-item p {
    margin: 0;
    line-height: 1.8;
    text-align: left;
}

@media (max-width: 900px) {
    .flow-list {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CONTACT
========================= */

.contact-section {
    background-color: var(--color-bg);
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    text-align: center;
}

.contact-box h3 {
    margin: 0 0 30px;
    color: var(--color-heading);
    font-size: 1.4rem;
}

.contact-examples {
    margin-bottom: 30px;
}

.contact-examples p {
    margin: 8px 0;
    color: var(--color-text);
}

.contact-message {
    margin-bottom: 32px;
    line-height: 2;
}

.contact-button {
    display: inline-block;
    padding: 16px 42px;
    background-color: var(--color-accent);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease,
                opacity 0.2s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

@media (max-width: 600px) {

    .contact-box {
        padding: 36px 22px;
    }

    .contact-message br {
        display: none;
    }

    .contact-button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* =========================
   ABOUT PROFILE
========================= */

.profile-details {
    margin-top: 24px;
    padding: 20px 24px;
    background-color: var(--color-surface);
    border-radius: 16px;
}

.profile-details p {
    margin: 0 0 14px;
    line-height: 1.8;
}

.profile-details p:last-child {
    margin-bottom: 0;
}

.profile-name strong {
    color: var(--color-heading);
    font-size: 1.1rem;
}

.profile-skill strong,
.profile-works strong {
    color: var(--color-heading);
}

/* =========================
   SECTION CTA
========================= */

.section-cta {
    margin-top: 40px;
    text-align: center;
}

.section-cta .cta-button {
    display: inline-block;
    padding: 16px 36px;
    background-color: #168dcc;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 999px;
    transition: 0.3s;
}

.section-cta .cta-button:hover {
    opacity: 0.8;
}

/* =========================
   SERVICE PRICE
========================= */

.service-price {
    margin-top: 24px;
    padding: 18px 20px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    text-align: center;
}

.price-label {
    margin: 0 0 6px;
    color: var(--color-heading);
    font-weight: bold;
}

.price-main {
    margin: 0 0 10px;
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: bold;
}

.price-note {
    margin: 0;
    color: var(--color-subtext);
    font-size: 0.9rem;
    line-height: 1.7;
}

.service-price {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #cbd9e6;
}

.price-label {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 600;
}

.price-main {
    margin: 0 0 8px;
    color: #005bbb;
    font-size: 1.4rem;
    font-weight: 700;
}

.price-note {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.7;
}

.service-price {
    margin-top: 24px;
    padding: 18px 20px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    text-align: center;
}

.price-label {
    margin: 0 0 6px;
    color: var(--color-heading);
    font-weight: bold;
}

.price-main {
    margin: 0 0 10px;
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: bold;
}

.price-note {
    margin: 0;
    color: var(--color-subtext);
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .price-main {
        font-size: 1.3rem;
    }
}

.service-price {
  margin-top: 28px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #cbddea;
  border-radius: 14px;
  text-align: center;
}

.service-price h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.service-price .price {
  margin: 6px 0 10px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.service-price p {
  margin: 6px 0;
  line-height: 1.7;
}

.service-price .price-note {
  font-size: 14px;
}.service-price {
  margin-top: 28px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #cbddea;
  border-radius: 14px;
  text-align: center;
}

.service-price h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.service-price .price {
  margin: 6px 0 10px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.service-price p {
  margin: 6px 0;
  line-height: 1.7;
}

.service-price .price-note {
  font-size: 14px;
}