/* about.css: front-pageのデザインをaboutページ用に反映 */

.main-visual {
    height: 35vh;
    min-height: clamp(350px, 27.3vw, 560px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../images/common/lowe-main-img2.JPG');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: clamp(100px, 7.8vw, 200px);
}

.main-visual__title {
    font-weight: 600;
    font-size: clamp(16px, 1.25vw, 24px);
    color: white;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 0;
    z-index: 2;
}

.main-visual__title span {
    font-size: clamp(48px, 3.75vw, 70px);
    display: block;
}

nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(20px, 1.56vw, 40px);
    margin: 0 auto;
    list-style: none;
}

nav ul li {
    flex: 1 1 0;
    text-align: center;
}

nav ul li a {
    display: block;
    font-size: clamp(18px, 1.4vw, 32px);
    text-decoration: none;
    color: inherit;
    padding: 0.5em 0;
}

.taiken-link {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.taiken-container {
    width: 60%;
    margin: 0 auto;
    padding: clamp(80px, 6.2vw, 160px) 0;
}

.d-index_features {
    width: 100%;
}

.features-container_top {
    width: 100%;
}

.four-split-bg {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url('../images/common/lowe-main-img2.JPG') left top/50% 50% no-repeat, url('../images/common/mizumoto-prac.jpg') right top/50% 50% no-repeat, url('../images/common/oxy.jpg') left bottom/50% 50% no-repeat, url('../images/common/hog-new.jpg') right bottom/50% 50% no-repeat;
}

.four-split-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.four-split-bg>* {
    position: relative;
    z-index: 2;
}

.center-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.center-content h2 {
    font-size: clamp(60px, 4.68vw, 100px);
    font-weight: 600;
    margin-bottom: clamp(36px, 2.8vw, 72px);
}

.center-content p {
    font-size: clamp(22px, 1.71vw, 42px);
    font-weight: 600;
}

.center-content .feature-button {
    background-color: #fff;
    font-size: clamp(36px, 2.8vw, 72px);
    font-weight: 600;
    color: #000;
    border-radius: 40px;
    padding: 0.5rem 5rem;
    margin-top: clamp(36px, 2.8vw, 72px);
}

.star-text {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2em;
}

.star-text img {
    width: clamp(80px, 6.2vw, 160px);
    height: auto;
    display: block;
}

.features-container_second {
    padding: 60px 0;
    background: #fff;
}

.features-container_second h2 {
    font-size: clamp(36px, 2.8vw, 72px);
    font-weight: bold;
    text-align: center;
    margin-bottom: 48px;
}

.features-container_second h2 span {
    font-size: clamp(60px, 4.68vw, 100px);
    color: #00C4FF;
    font-weight: bold;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    /* max-width: 1100px; */
    margin: 0 auto;
    padding: 0;
    width: 80%;
}

.feature-item {
    border-radius: 24px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.feature-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 16px 0;
}

.feature-label {
    font-size: clamp(16px, 1.25vw, 32px);
    color: #023993;
    font-weight: bold;
    border-radius: 12px;
    padding: 4px 16px;
    display: inline-block;
}

.feature-title {
    font-size: clamp(30px, 2.34vw, 60px);
    font-weight: bold;
    color: #333;
    display: inline-block;
}

.feature-item img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 50%;
    margin: 16px 0;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-item dd {
    font-size: clamp(16px, 1.25vw, 32px);
    color: #444;
    margin: 0;
    margin-top: 8px;
    line-height: 1.7;
}

.features-container_forth h3 {
    font-size: clamp(32px, 2.5vw, 48px);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.features-container_forth h3 span {
    font-size: clamp(36px, 2.8vw, 72px);
    color: #00C8FF;
    font-weight: bold;
}

.difference {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    width: 80%;
    margin: 0 auto;
}

.difference .y-line {
    background: linear-gradient(transparent 85%, #FFDE59 85%);
    display: inline-block;
}

.difference dl {
    background: #fff;
    padding: 32px 24px;
    border-radius: clamp(36px, 2.8vw, 72px);
    width: auto;
    box-sizing: border-box;
    flex: 1;
}

.difference dl:first-of-type {
    border: 10px solid #707070;
}

.difference dl:first-of-type dt span {
    background: #707070;
    color: #fff;
}

.difference dl:last-of-type {
    border: 10px solid #00C8FF;
}

.difference dl:last-of-type dt span {
    background: #00C8FF;
    color: #fff;
}

.difference dt {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.difference dt span {
    font-size: clamp(24px, 1.8vw, 44px);
    font-weight: bold;
    border-radius: 8px;
    padding: 6px 20px;
    display: inline-block;
    margin-bottom: 4px;
}

.difference dt img {
    width: 60%;
    height: auto;
    display: block;
}

.difference dd {
    font-size: clamp(16px, 1.25vw, 32px);
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.7;
    text-align: left;
    width: 100%;
}

.p-feature_features {
    width: 80%;
    margin: 0 auto;
}

.feature-grid-layout {
    display: grid;
    gap: clamp(32px, 2.5vw, 56px) clamp(16px, 1.25vw, 24px);
    grid-template-columns: 1fr 1fr 1fr;
}

.feature-grid-layout .grid-item img {
    aspect-ratio: 3/2;
    object-fit: cover;
    box-shadow: 6px 6px 15px -6px rgba(0, 0, 0, 0.5);
}

.feature-grid-layout .grid-item h3 {
    font-size: clamp(22px, 1.71vw, 28px);
    font-weight: 600;
    display: flex;
    align-items: center;
    margin: clamp(16px, 1.25vw, 24px) 0 clamp(8px, 0.62vw, 14px);
}

.feature-grid-layout .grid-item p {
    font-size: clamp(16px, 1.25vw, 24px);
}

.feature-grid-layout .grid-item h3 span {
    position: relative;
    margin-right: clamp(16px, 1.25vw, 24px);
    font-size: clamp(28px, 2.18vw, 48px);
}

.feature-grid-layout .grid-item h3 span::before {
    content: "feature";
    position: absolute;
    top: clamp(-5px, -0.39vw, -10px);
    /* Adjust as needed */
    left: 0;
    font-size: clamp(10px, 0.78vw, 18px);
}

.feature-grid-layout .grid-item h3 span::after {
    content: "";
    position: absolute;
    top: clamp(9px, 0.70vw, 16px);
    bottom: 0;
    right: clamp(-10px, -0.78vw, -18px);
    width: 1px;
    height: clamp(25px, 1.95vw, 40px);
    background-color: #000;
}

@media (max-width: 900px) {
    .features-list {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .feature-item {
        padding: 24px 12px;
    }
    .feature-item img {
        max-width: 100%;
    }
    .difference {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .difference dl {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    .feature-item {
        padding: 24px 12px;
    }
    .feature-item img {
        max-width: 100%;
    }
}

@media (max-width:460px) {
    .main-visual {
        height: 25vh;
        min-height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-image: url(../images/common/lowe-main-img2.JPG);
        background-size: cover;
        background-position: center;
    }
    .main-visual__title {
        font-weight: 600;
        font-size: clamp(11px, 0.5vw, 18px);
        text-align: center;
        color: white;
        /* width: 80%; */
        margin: 0 auto;
        padding-bottom: 0;
    }
    .main-visual__title span {
        font-size: clamp(28px, 6.75vw, 40px);
        display: block;
    }
    .four-split-bg {
        position: relative;
        width: 100vw;
        height: 55vh;
        background: url(../images/common/lowe-main-img2.JPG) left top / 50% 50% no-repeat, url(../images/common/mizumoto-prac.jpg) right top / 50% 50% no-repeat, url(../images/common/oxy.jpg) left bottom / 50% 50% no-repeat, url(../images/common/hog-new.jpg) right bottom / 50% 50% no-repeat;
    }
    .difference {
        display: flex;
        gap: 40px;
        justify-content: center;
        align-items: stretch;
        width: 95%;
        margin: 0 auto;
    }
    .center-content h2 {
        font-size: 36px;
        font-weight: 600;
        margin-bottom: clamp(36px, 2.8vw, 72px);
    }
    .center-content p {
        font-size: 14px;
        font-weight: 600;
        line-height: 2;
    }
    .center-content .feature-button {
        background-color: #fff;
        font-size: 16px;
        font-weight: 600;
        color: #000;
        border-radius: 40px;
        padding: 0.5rem 2rem;
        margin-top: clamp(36px, 2.8vw, 72px);
    }
    .taiken-container {
        width: 95%;
        margin: 0 auto;
        padding: 20px 0;
    }
    .features-container_second h2 {
        display: block;
        position: relative;
        align-items: center;
        justify-content: center;
        gap: clamp(16px, 2vw, 32px);
    }
    .features-container_second h2 span {
        font-size: 16px;
        color: #00C4FF;
        font-weight: bold;
    }
    .features-container_second h2::before,
    .features-container_second h2::after {
        width: 10px;
        height: 24px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    .feature-heading {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin: 0 0 16px 0;
    }
    .feature-label {
        font-size: 16px;
        color: #023993;
        font-weight: bold;
        border-radius: 12px;
        padding: 4px 16px;
        display: inline-block;
    }
    .features-container_second h2 {
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 20px;
    }
    .features-list,
    .faq-container,
    .main-visual__title,
    .news-list,
    .instagram-area_content,
    .catch-footer {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    .feature-heading {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin: 0 0 16px 0;
    }
    .feature-item img {
        width: 50%;
        max-width: 320px;
        height: auto;
        border-radius: 50%;
        margin: 16px auto;
        display: block;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    .text-side {
        background: #16388E;
        padding: 5%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }
    .img-side_mizumoto,
    .img-side_ito {
        width: 100%;
        min-width: 0;
        height: 400px;
        min-height: 0;
    }
    .text-side h3 {
        color: #fff;
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 20px;
        line-height: 1.7;
        text-align: center;
    }
    .strengths-title h2 img {
        width: 200px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .strengths-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .blue-back {
        width: 100vw;
        margin-left: 50%;
        transform: translateX(-50%);
        background: #16388E;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        text-align: center;
        padding: clamp(24px, 1.87vw, 48px) 0 clamp(32px, 2.5vw, 64px) 0;
        position: relative;
        margin-bottom: clamp(60px, 4.68vw, 100px);
    }
    .p-feature_features {
        width: 95%;
        margin: 0 auto;
    }
    .p-feature_features h2 {
        font-size: 24px;
    }
    .p-feature_features .feature-desc {
        width: 90%;
        text-align: justify;
    }
    /* 設備一覧 */
    .feature-grid-layout {
        display: grid;
        gap: 16px;
        grid-template-columns: 1fr !important;
    }
    .feature-grid-layout .grid-item {
        position: relative;
    }
    .feature-grid-layout .grid-item img {
        aspect-ratio: 5/3;
        object-fit: cover;
    }
    .feature-grid-layout .grid-item h3 {
        font-size: clamp(22px, 1.71vw, 28px);
        font-weight: 600;
        display: flex;
        align-items: center;
        margin: clamp(16px, 1.25vw, 24px) 0 clamp(8px, 0.62vw, 14px);
        position: absolute;
        top: 40vw;
        left: -1px;
        background-color: #fff;
        padding: 8px 10px 3px;
    }
    .feature-grid-layout .grid-item p {
        font-size: 15px;
        width: 95%;
        margin: 0 auto;
        text-align: justify;
    }
    .feature-grid-layout .grid-item img {
        box-shadow: 6px 6px 15px -6px rgba(0, 0, 0, 0);
    }
}