@charset "utf-8";
html {
    scroll-behavior: smooth;
}

body, h1, h2, h3, p, ul, li, dt, dd {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: #fff;
}

h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ed143d;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
}

.cta-button:hover {
    background-color: #e65c00;
}

/* ========== PC ========== */
.header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.header-nav a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
}

.main_visual {
    background-color: #333;
    background-image: url("/img/main_visual.jpg");
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.main_visual h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.main_visual p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

#problem .container ul {
    list-style: none;
    padding-left: 0;
}

#solution .container {
    text-align: center;
}

#solution .container h2 span {
    color: #ff6600;
}

#problem .container ul li {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    letter-spacing: -0.05em;
}

#features .container .features-block .feature-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e65c00;
}

.features-block {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
}

.feature-item {
    width: calc(33% - 30px);
}

.feature-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: center;
}

.feature-item p {
    font-size: 0.9em;
    text-align: left;
}


.case-study-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.case-study-item blockquote {
    font-style: italic;
    border-left: 3px solid #ff6600;
    padding-left: 15px;
    margin: 0 0 10px 0;
}


.flow-steps {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.flow-step {
    width: 22%;
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -25%;
    top: 40%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #ff6600;
}

.flow-step:first-child:after {
    content: '→';
    position: absolute;
    right: -5%;
    top: 40%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #ff6600;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-item dt {
    background-color: #eee;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
}

.faq-item dd {
    border: 1px solid #eee;
    border-top: none;
}

.faq-item dd {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
    box-sizing: border-box;
}

.faq-item dd.active {
    max-height: 200px;
}

.faq-item dd > * {
    overflow: hidden;
}

#pricing .container div.features-block .feature-item {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
}

#pricing .container div.features-block .feature-item p {
    font-size: 2em;
    font-weight: bold;
    color: #ff6600;
    text-align: center;
    margin-bottom: 20px;
}

#pricing .container div.features-block .feature-item ul {
    text-align: left;
    list-style: disc;
    padding: 0px 15px;
    letter-spacing: -0.05em;
}

#pricing .container .features-block .feature-item {
    border: 2px solid #ff6600;
    padding: 20px;
    border-radius: 5px;
}

#pricing .container .features-block .feature-item p {
    font-size: 2em;
    font-weight: bold;
    color: #ff6600;
    text-align: center;
}

#pricing .container .features-block .feature-item ul {
    text-align: left;
    list-style-position: inside;
}

.cta-section {
    background-color: #333;
    color: #fff;
    text-align: center;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1em;
}

.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.footer a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer-nav {
    margin-bottom: 15px;
}

.pc_only {
    display: block;
}

.sp_only {
    display: none;
}

.hamburger-button {
    display: none;
}

/* ========== スマホ========== */
@media screen and  (max-width: 768px) {
    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }

    h2 {
        font-size: 1.6em;
    }

    .header .container {
        justify-content: space-between;
    }

    .header-nav,
    .cta-button {
        display: none;
    }

    .hamburger-button {
        display: block;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 100;
    }

    .hamburger-line {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        margin-bottom: 8px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .hamburger-line:last-child {
        margin-bottom: 0;
    }

    .hamburger-button.is-active .hamburger-line:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger-button.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger-button.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #fff;
        padding-top: 60px;
        transition: right 0.3s ease;
        z-index: 99;
        display: block;
    }

    .header-nav.is-active {
        right: 0;
    }

    .header-nav ul {
        flex-direction: column;
    }

    .header-nav li a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .header-nav > a {
        display: block;
        width: 75%;
        margin: 20px auto;
        color: #ffffff;
    }

    .main_visual {
        padding: 60px 0;
    }

    .main_visual h1 {
        font-size: 2em;
    }

    .main_visual p {
        font-size: 1em;
    }

    #main_visual .container .cta-button {
        display: block;
    }

    .cta-section p {
        margin-bottom: 0;
    }

    .features-block {
        flex-direction: column;
    }

    .feature-item {
        width: 100%;
    }

    .flow-steps {
        flex-direction: column;
        gap: 30px;
    }

    .flow-step {
        width: 100%;
    }

    .flow-step:not(:last-child)::after {
        content: '↓';
        right: 50%;
        top: 90%;
        transform: translateX(50%);
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .header-logo {
        width: 75%;
    }
}

/* ========== フォーム========== */
.form div.comment p {
    width: 50%;
    margin: 0 auto 40px;
}

#wpcf7-f6-o1 form {
    display: block;
    margin: 0 auto;
    width: 50%;
}

#wpcf7-f6-o1 form fieldset {
    display: none;
}

#wpcf7-f6-o1 form p {
    margin-bottom: 20px;
}

#wpcf7-f6-o1 form p label span input,
#wpcf7-f6-o1 form p label span textarea {
    width: 100%;
    background-color: #ffffff;
    outline: none;
    box-shadow: none;
    padding: 5px;
}

#wpcf7-f6-o1 form p label span input[type=text]:focus-visible,
#wpcf7-f6-o1 form p label span textarea:focus-visible{
    outline: none;
    box-shadow: none;
}

#wpcf7-f6-o1 form p:nth-child(5) input {
    width: 400px;
    height: 70px;
    border: none;
    font-size: 32px;
    background-color: #ff6600;
    font-weight: bold;
    color: #FFF;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    #wpcf7-f6-o1 form{
        width: 100%;
        padding: 0 20px;
    }
    #wpcf7-f6-o1 form p:nth-child(5) input{
        width: 100%;
    }
}