@charset "UTF-8";

/* Reset & Base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: #333333;
    background-color: #fff;
    font-size: 16px;
    line-height: 2;
    -webkit-font-smoothing: antialiased;
}

.sp-br {
    display: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* CV Button Style */
.cv-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

a.gaiheki_btn {
    position: relative;
    color: #333333;
    background-color: #fff; /* Ensure it has a background if over images */
    padding: 1em 2em;
    font-size: 1rem; /* Adjusted for balance */
    border: none;
    display: inline-block;
    min-width: 280px;
    text-align: center;
    transition: all 0.3s ease;
    font-family: "Noto Sans JP", sans-serif;
}

a.gaiheki_btn:hover {
    background-color: #333;
    color: #fff;
    opacity: 1;
}

a.gaiheki_btn::after {
    content: "";
    position: absolute;
    right: 1.5em;
    width: 8px;
    height: 8px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

/* Material Icons Adjustment */
.material-icons {
    vertical-align: middle;
}



/* Main Layout */
main {
    padding-top: 0px; /* Header height */
}

section {
    padding: 60px 0;
}

section > *:last-child,
section .inner > *:last-child {
    margin-bottom: 0;
}

.low-bg {
    background-color: #fcfaf9;
}

.inner, 
.mv-inner,
.intro__inner,
.reason__container,
.check__inner,
.method__list,
.price__inner,
.tips-list,
.materials__inner,
.faq-list,
.summary__inner {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* Typography */
h1 {
    font-family: "Shippori Mincho", serif;
    font-size: 3rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 0;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

h1 span {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

h2 {
    font-family: "Shippori Mincho", serif;
    font-size: 2.5rem;
    text-align: center;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.4;
}

h2 span {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    letter-spacing: 0.05em;
}

h3 {
    font-family: "Shippori Mincho", serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
}

.section-lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

/* Sections */

/* MV */
.gaiheki_mv {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.mv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.mv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.gaiheki_mv::after {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 100px;
    background: #fff;
    left: 50%;
    bottom: 0;
    z-index: 2;
}

/* Intro */
.intro {
    background-color: #fff;
}

/* Reason */
.reason {
    background-color: #fcfaf9; 
}

.reason__container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.reason__box {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
}

.reason__icon {
    width: 80px;
    height: 80px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reason__icon .material-icons {
    font-size: 40px;
}

/* Check */
.check h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 1.25rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.card {
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-img {
    color: #c94a4a;
    margin-bottom: 15px;
}

.card-img .material-icons {
    font-size: 48px;
}

/* Method */
.method {
    background: #333;
    color: #fff;
}

.method h2, .method h2 span {
    color: #fff;
}

.method__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.method__item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.method__img {
    height: 200px;
    overflow: hidden;
}

.method__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.method__item:hover .method__img img {
    transform: scale(1.05);
}

.method__content {
    padding: 30px;
}

.method__content h3 {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.7em;
}

.tag {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Price */
.price-table {
    margin-top: 2rem;
    border: 1px solid #ddd;
    background: #fff;
}

.price-row {
    display: flex;
    border-bottom: 1px solid #ddd;
    align-items: center;
}

.price-row:last-child {
    border-bottom: none;
}

.price-head {
    width: 30%;
    padding: 20px;
    background: #f9f9f9;
    font-weight: bold;
    font-size: 1.1rem;
    font-family: "Noto Sans JP", sans-serif;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-head .material-icons {
    font-size: 1.5rem;
}

.price-cost {
    width: 30%;
    padding: 20px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #c94a4a;
}

.price-desc {
    width: 40%;
    padding: 20px;
}

.highlight-text {
    margin-top: 50px;
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-left: 5px solid #333;
}

.highlight-text h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tips */
.tips-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.tips-list li {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tips-list h3 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.point-num {
    display: inline-block;
    font-size: 1.8rem;
    font-family: 'Times New Roman', serif;
    background: #333;
    color: #fff;
    padding: 6px 18px;
    margin-right: 20px;
    border-radius: 2px;
    vertical-align: middle;
}

/* Materials */
.material-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.material-item {
    flex: 1;
    min-width: 250px;
    background: #fff; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.material-img {
    height: 200px;
}

.material-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.material-item h3 {
    padding: 20px 20px 0;
    font-size: 1.6em;
}

.material-item p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #333;
}

.faq-list dl {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid #ccc;
    margin: 0;
}

.q-mark {
    color: #fff;
    background: #333;
    padding: 4px 12px;
    margin-right: 12px;
    font-size: 1.2rem;
    font-family: "Noto Sans JP", sans-serif;
}

.a-mark {
    color: #fff;
    background: #c94a4a;
    padding: 4px 12px;
    margin-right: 12px;
    font-size: 1.2rem;
    font-family: "Noto Sans JP", sans-serif;
}

.faq-list dt {
    width: 40%;
    font-weight: bold;
    font-family: "Noto Sans JP", sans-serif;
    padding-right: 20px;
    display: flex;
    align-items: flex-start;
}

.faq-list dd {
    width: 60%;
    margin: 0;
    display: flex;
    align-items: flex-start;
}

/* Footer 
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

footer p {
    margin: 0;
    font-family: "Noto Serif JP", serif;
    font-size: 0.9rem;
}
*/

/* Main contact section at bottom */
.contact-cta-section {
    background-color: #fcfaf9;
    text-align: center;
    padding: 40px 0;
}

.contact-cta-section h2 {
    margin-bottom: 2rem;
}

.contact-cta-section p {
    margin-bottom: 2rem;
}

/* SP support for buttons */
@media (max-width: 768px) {
    a.gaiheki_btn {
        width: 100%;
        max-width: 340px;
    }
}


/* =========================================
   SP対応 / Mobile Responsiveness
   ========================================= */
@media (max-width: 768px) {
    /* Header */
    header .inner {
        padding: 15px 20px;
        width: 100%;
    }
    
    header .logo {
        font-size: 1.2rem;
    }

    /* Main Layout */
    main {
        padding-top: 60px;
    }
    
    section {
        padding: 30px 20px;
    }

    .inner, 
    .mv-inner,
    .intro__inner,
    .reason__container,
    .check__inner,
    .method__list,
    .price__inner,
    .tips-list,
    .materials__inner,
    .faq-list,
    .summary__inner {
        width: 100%;
        max-width: none;
    }
    
    /* Typography for Mobile */
    h1 {
        font-size: 2rem;
    }
    
    h1 span {
        font-size: 0.8rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    h2 span {
        font-size: 0.9rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .section-lead {
        margin-bottom: 2rem;
        font-size: 1rem;
    }

    /* MV */
    .mv {
        height: auto;
        min-height: 400px;
        padding: 80px 20px;
    }
    
    .mv::after {
        height: 50px;
    }

    /* Reason */
    .reason__container {
        flex-direction: column;
        gap: 20px;
    }
    
    .reason__box {
        padding: 30px 20px;
    }

    /* Check Cards */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Method Items */
    .method__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Price Table */
    .price-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-head, .price-cost, .price-desc {
        width: 100%;
        padding: 10px 20px;
    }
    
    .price-head {
        background: #eee;
        padding-top: 15px;
    }

    .price-cost {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .highlight-text {
        margin-top: 30px;
        padding: 20px;
    }

    /* Materials */
    .material-grid {
        flex-direction: column;
    }

    /* FAQ */
    .faq-list dl {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .faq-list dt {
        width: 100%;
        margin-bottom: 10px;
        padding-right: 0;
    }
    
    .faq-list dd {
        width: 100%;
    }

    /* Tips */
    .tips-list h3 {
        font-size: 1.2rem;
        align-items: flex-start;
    }
    
    .point-num {
        margin-top: 4px; /* Align with text */
    }

    footer {
        padding: 40px 20px;
    }

    .sp-br {
        display: block;
    }
}
