@charset "utf8";

/* --------Base Style-------- */

body {
    font-family: 'Noto Sans JP',
                 "Helvetica Neue", 
                 "Helvetica", 
                 "Hiragino Sans", 
                 "Arial", 
                 "Yu Gothic", 
                 "Meiryo", 
                 sans-serif; 
    font-weight: 400; /* Regular */
    font-size: 1rem;
    line-height: 1.6;
    color: #24292e;
    margin: 0;
    padding-top: 170px;
}

html {
    font-size: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

label,
input,
textarea,
button {
    cursor: pointer;
}

button {
    border: none;
    background: none;
}

/* ===============================
   Common
================================ */

.wrapper {
    scroll-margin-top: 240px;
}

.sec-title {
    text-align: center;
    font-size: 1.6rem;
    margin: 0 0 32px;
    letter-spacing: 0.04em;
}

/* ===============================
   Header
================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fffaf0;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    padding: 20px 16px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.header-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #24292e;
    background: #f0f0f0;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    transition: all .2s ease;
}

.header-menu a:hover {
    background: #222;
    color: #fff;
    transform: translateY(-1px);
}

/* ===============================
   Hero
================================ */

.section-hero {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 16px;
    text-align: center;
}

.section-hero h2 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
}

/* ===============================
   Sections Layout
================================ */

.about-inner,
.works-inner,
.skills-inner,
.flow-inner,
.price-inner,
.contact {
    max-width: 900px;
    margin: 0 auto 64px;
    padding: 40px 24px;
    border-radius: 12px;
    text-align: center;
}

.flow-inner ol {
    margin: 0 auto;
    text-align: left;
}

/* Section Colors（オリジナル配色） */

.about-inner  { background: #eef2f7; }
.works-inner  { background: #f8eef4; }
.skills-inner { background: #eef7f1; }
.flow-inner   { background: #f4f6ec; }
.price-inner  { background: #f7f0fa; }
.contact      { background: #f3f3f3; }

/* ===============================
   Works
================================ */

.works-list {
    display: grid;
    gap: 32px;
}

.works-item {
    text-align: center;
}

.works-item h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.works-item p {
    margin-bottom: 16px;
    font-size: 0.9rem;
}

/* ===============================
   Skills / Price
================================ */

.skills-inner ul,
.price-inner ul {
    max-width: 400px;
    margin: 0 auto;
}

.skills-inner li,
.price-inner li {
    padding-left: 1.2em;
    position: relative;
    margin-bottom: 10px;
    text-align: center;
}

.skills-inner li::before,
.price-inner li::before {
    content: none;
    position: absolute;
    left: 0;
}

/* ===============================
   Flow
================================ */

.flow-inner {
    text-align: center;
}

.flow-inner ol {
    display: inline-block;
    max-width: 420px;
    padding-left: 1.4rem;
}

.flow-inner li {
    text-align: center;
    text-align: left;
    
}

/* ===============================
   Contact
================================ */

.contact-link {
    text-align: center;
}

.contact-link a {
    display: inline-block;
    margin: 16px 0 16px 0;
    padding: 12px 28px;
    background: #222;
    color: #fff;
    border-radius: 24px;
    transition: background .2s;
}

.contact-link a:hover {
    background: #555;
}

/* ===============================
   Contact Form
================================ */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    text-align: left;
}

.form-item label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-item input,
.form-item textarea {
    padding: 12px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.form-button {
    text-align: center;
}

.form-button input {
    width: 220px;
    padding: 14px 0;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 24px;
    cursor: pointer;
}

.form-button input:hover {
    background: #555;
}

/* ===============================
   Footer
================================ */

.footer {
    text-align: center;
    padding: 48px 16px;
    background: #222;
    color: #ddd;
    font-size: 0.85rem;
}

/* ===============================
   Thanks Page
================================ */

.completed {
    max-width: 600px;
    margin: 100px auto;
    padding: 0 16px;
    text-align: center;
}

.completed a {
    display: inline-block;
    margin-top: 32px;
    padding: 12px 28px;
    background: #222;
    color: #fff;
    border-radius: 24px;
}

/* ===============================
   JavaScript　Fade-in
================================ */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   Responsive
================================ */

@media (max-width: 767px) {

    body {
        padding-top: 230px;
    }

    .wrapper,
    #contact {
        scroll-margin-top: 250px;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .header-logo {
        font-size: 1.3rem;
    }

    .header-menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        max-width: 320px;
    }

    .header-menu a {
        width: 100%;
        height: 36px;
        line-height: 36px;
        border-radius: 999px;
        text-align: center;
        font-size: 0.85rem;
        padding: 0;
    }

    .section-hero {
        margin: 48px auto;
    }

    .section-hero h2 {
        font-size: 1.4rem;
    }

    .about-inner,
    .works-inner,
    .skills-inner,
    .flow-inner,
    .price-inner,
    .contact {
        padding: 32px 16px;
    }
}

/* ===============================
   Tablet Responsive
================================ */

@media (min-width: 768px) and (max-width: 1023px) {

    body {
        padding-top: 200px;
    }

    .wrapper {
        scroll-margin-top: 220px;
    }

    /* Header */
    .header-inner {
        max-width: 900px;
    }

    .header-menu {
        gap: 8px;
    }

    .header-menu a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    /* Hero */
    .section-hero {
        margin: 64px auto;
    }

    .section-hero h2 {
        font-size: 1.6rem;
    }

    /* Sections */
    .about-inner,
    .works-inner,
    .skills-inner,
    .flow-inner,
    .price-inner,
    .contact {
        margin-bottom: 56px;
        padding: 36px 24px;
    }

    /* Works */
    .works-list {
        grid-template-columns: 1fr;
    }

    /* Text width */
    .skills-inner ul,
    .price-inner ul,
    .flow-inner ol {
        max-width: 480px;
    }
}
