@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* common======================= */

@media screen and (min-width: 960px) {
    .wide95 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 95%;
    }

    .wide90 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 90%;
    }

    .wide80 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 80%;
        min-width: 950px;
    }

    .wide70 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 70%;
        min-width: 900px;
    }
}

@media screen and (max-width: 960px) {
    .wide95 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 95%;
    }

    .wide90 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 90%;
    }

    .wide80 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 95%;
    }

    .wide70 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 95%;
    }
}

@media screen and (max-width: 768px) {
    .sp-wide90 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 90%;
    }

    .sp-wide85 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 85%;
    }

    .sp-wide80 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 80%;
    }
}


/* 改行=========================== */

.no-kaigyou {
    white-space: nowrap;
}

.br-sp {
    display: none;
}

@media (max-width: 600px) {
    .br-sp {
        display: block;
    }
}


/* マージン======================= */

.m-left {
    margin-left: auto;
}

.m-right {
    margin-right: auto;
}

.m-center {
    margin: 0 auto;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.ml-20 {
    margin-left: 20px;
}


/* テーブル========================= */

.c_table th,
.c_table td {
    padding: 21px;
}

/* 画像============================= */



/* テキスト======================== */

.text-level01 {
    font-size: clamp(1rem, 1.3vw, 1.4rem);
    line-height: 1.9;
    font-weight: 600;
}

.text-levelBlue {
    font-size: clamp(1.2rem, 2.3vw, 2.2rem);
    font-weight: 700;
    background: linear-gradient(90deg, #40769b, #002f56);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-levelBlue2 {
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 700;
    background: linear-gradient(90deg, #40769b, #002f56);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-levelBlue3 {
    font-size: clamp(1.2rem, 1.4vw, 1.4rem);
    font-weight: 700;
    background: linear-gradient(90deg, #40769b, #002f56);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 786px) {
    .text-level01 {
        font-size: 1.2rem;
        line-height: 1.9;
        font-weight: 700;
    }

    .text-levelBlue {
        font-size: 2.5rem;
        line-height: 1.5;
    }
}


/* 見出し=========================== */

.sec-title-wrapper {
    position: relative;
}

.sec-title-ja {
    position: relative;
}

.sec-title-en {
    position: absolute;
    top: clamp(-50px, -3vw, -10px);
    left: 50%;
    transform: translatex(-50%);
    bottom: 0;
    font-size: clamp(1.5rem, 4.7vw, 4.5rem);
    font-weight: bold;
}

.sec-subTitle {
    margin-bottom: 40px;
    padding: 8px 24px;
    background: #1293db;
    color: #fff;
    font-size: 28px !important;
    font-weight: 700;
}

@media (max-width: 786px) {
    .sec-title-en {
        position: absolute;
        top: clamp(-50px, -4vw, -18px);
        left: 50%;
        transform: translatex(-50%);
        bottom: 0;
        font-size: 2.5rem;
        font-weight: bold;
    }
}

/* カラーボックス================== */



/* ボタン========================= */

a.btn_common {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
    height: 3.2rem;
    max-width: 250px;
    padding: 0 4rem;
    background: #232323;
    background-size: 400%;
    border: 1px solid #fff;
    color: #fff;
}

a.btn_common:hover::before {
    transform: scaleX(1);
}

a.btn_common span {
    position: relative;
    z-index: 1;
}

a.btn_common::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 100%;
    height: inherit;
    border: 1px solid #fff;
    background: var(--color_main);
    transition: all 0.475s;
}

/* お知らせ========================== */
.newsList {
    display: flex;
    flex-flow: row wrap;
    list-style: none;
    border-top: 1px dotted #999;
    align-items: flex-start;
}

ul.newsList {
    padding: 2rem 0;
    width: 100%;
    margin: 0 auto;
}

ul.newsList li {
    margin: 0 10px;
}

.news_date {
    position: relative;
    top: 2px;
    min-width: 100px;
    font-weight: bold;
}

.news_text {
    flex: 1;
}

.news_text p {
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: none;
}

.scroll {
    overflow: auto;
    height: 100%;
    max-height: 400px;
    width: 100%;
    background: #f7f7f7;
    padding: 1rem;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #ccc #f1f1f1;
}

/* WebKit */
.scroll::-webkit-scrollbar {
    width: 10px;
}

.scroll::-webkit-scrollbar-track {
    background: #1e232b;
}

.scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media screen and (max-width: 768px) {
    .top-news-wrapper {
        width: 93%;
        margin: 0 auto;
    }

    .newsList {
        flex-direction: column;
    }

    .news_text p {
        margin-top: 0.8em;
    }

    .scroll {
        max-height: 450px;
        background-color: #f7f7f7;
    }
}

/*news詳細ページ*/
@media (min-width: 600px) {
    .single .l-content {
        padding-top: 0;
    }
}

@media (min-width: 960px) {
    .single .pc-py-60 {
        padding-bottom: 4em !important;
        padding-top: 6em !important;
    }
}

.single .l-content {
    margin: 0 auto 6em;
    padding-top: 0em;
    position: relative;
    z-index: 1;
}

@media not all and (min-width: 960px) {
    .single .sp-py-40 {
        padding-bottom: 2em !important;
        padding-top: 4em !important;
    }
}

.l-topTitleArea__body {
    display: none;
}

.news-box {
    max-width: 1200px;
}

.news_title {
    margin: 0 0 16px;
    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    font-weight: 700;
    line-height: 1.4;
    padding-top: 60px;
}

.news_date {
    margin: 0 0 40px;
    color: #666;
    font-size: 14px;
    line-height: 1;
}

.text_main p {
    margin-bottom: 1.5em;
}

.text_main {
    margin-top: 40px;
    margin-bottom: 30px;
}

@media screen and (max-width: 480px) {
    .text_box {
        font-size: 17px;
    }
}

.flex_news_img {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 4px;
    margin-top: 60px;
}

.flex_news_img::after {
    content: "";
    display: block;
    width: 32%;
}

.news_img {
    width: 32.5%;
    position: relative;
    overflow: hidden;
}

.news_img::before {
    content: "";
    display: block;
    padding-top: 66.66%;
}

.news_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {

    /* タブレット以下 */
    .news_img {
        width: 48%;
        /* 2カラム */
    }
}

@media screen and (max-width: 480px) {

    /* スマホ以下 */
    .flex_news_img {
        gap: 10px;
        /* スマホでの隙間調整 */
    }
}


/* ヘッダーメニュー=============== */
.l-header__inner.l-container,
.l-fixHeader__inner.l-container {
    max-width: 2000px;
}

.c-gnav>.menu-item>a .ttl {
    font-size: clamp(13px, 0.9vw, 15px);
    letter-spacing: .1rem;
    font-weight: bold;
}


/* メインビジュアル=================== */
.p-mainVisual__inner {
    position: relative;
    z-index: 1;
}

.p-mainVisual__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35vw;
    height: 100vh;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
    background-color: rgba(22, 63, 137, 0.85);
    z-index: 2;
}

.mv-copybox {}

.mv-copy {
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.5;
}

.mv-subcopy {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: bold;
}


@media screen and (max-width: 480px) {
    .mv-copybox {
        position: relative;
        left: 5%;
    }
}


/* トップページ============== */

/* 強み */
.top-service-outer {
    position: relative;
}

.top-service-outer:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(208deg, rgba(69, 185, 247, 1) 0%, rgba(36, 89, 133, 1) 100%);
    width: 100%;
    height: 400px;
    z-index: 0;
}

.support-item {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 2.5rem 2.5rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;
    justify-content: start;
}

.support-item h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    line-height: 1.5;
}

.support-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
}

/* 画像アニメーション */
.img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 黒幕アニメーション */
.img-wrap::before {
    animation: img-wrap 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: #f4f4f4;
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
    animation-play-state: paused;
}

.img-wrap.is-show::before {
    animation-play-state: running;
}

@keyframes img-wrap {
    100% {
        transform: translateX(100%);
    }
}

.image-wrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
    position: relative;
    z-index: 0;
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 59, 114, 0.3);
    z-index: 1;
    pointer-events: none;
}

.top-contents-item {
    position: relative;
}

.top-contents-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
    padding: 1.5rem;
    pointer-events: none;
}

.top-contents-text h3 {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    line-height: 1.2;
    margin: 0;
}

.title-with-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* 必要に応じてleftに変更 */
}

.arrow-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #fff;
    color: #083b72;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.image-wrapper:hover~.top-contents-text .arrow-circle {
    transform: scale(1.2);
}

.arrow-icon {
    display: inline-block;
    color: #fff;
    transition: all 0.5s ease;
}

/* 画像ホバー時に矢印が右にスライド */
.image-wrapper:hover~.top-contents-text .arrow-icon {
    transform: translateX(5px);
}



@media screen and (max-width: 480px) {
    .top-contents-text {
        pointer-events: none;
        font-size: 14px;
    }

    .image-wrapper {
        aspect-ratio: 4 / 3;
    }
}

/* 下層ページ============================ */

/* 会社案内============================== */

.message-text {
    padding-inline: clamp(30px, 8.5vw, 500px);
    font-weight: 600;
}

h3.philosophy-title {
    position: relative;
    font-size: clamp(1.2rem, 2.7vw, 2.5rem);
    text-align: left;
    z-index: 0;
    isolation: isolate;
}

h3.philosophy-title::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    width: 50px !important;
    height: 50px !important;
    left: -15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg,
            #00c6ff 0%,
            #0066cc 100%) !important;

    z-index: -1 !important;
    opacity: 0.6 !important;
    visibility: visible !important;
}

/* 業務案内=========================== */

.tsuyomi-item {
    background-color: #f7f7f7;
    padding: 2rem;
    border-radius: 15px;
}



/* 取扱製品==================== */

.products-cat-item {
    background-color: #f7f7f7;
    padding: 2.5rem;
}

.products-item {
    background-color: #f7f7f7;
    padding: 1.5rem;
}


@media (min-width: 600px) {
    .archive .l-content {
        padding-top: 0;
    }
}

.archive .l-content {
    margin: 0 auto 6em;
    padding-top: 0em;
    position: relative;
    z-index: 1;
}

@media (min-width: 960px) {
    .archive .pc-py-60 {
        padding-bottom: 4em !important;
        padding-top: 6em !important;
    }
}

@media not all and (min-width: 960px) {
    .archive .sp-py-40 {
        padding-bottom: 2em !important;
        padding-top: 4em !important;
    }
}

.products-catalog {
    --products-blue: #3f84bf;
    float: none;
    width: 100%;
    margin: 0 auto;
}

.products-catalog,
.products-catalog * {
    box-sizing: border-box;
}

.products-catalog .products-catalog__title,
.products-catalog .products-category__title,
.products-catalog .product-card__title,
.products-catalog .product-card__label {
    position: static;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #111;
    font-weight: 700;
    line-height: 1.5;
}

.products-catalog h1::before,
.products-catalog h1::after,
.products-catalog h2::before,
.products-catalog h2::after,
.products-catalog h3::before,
.products-catalog h3::after,
.products-catalog h4::before,
.products-catalog h4::after,
.products-catalog h5::before,
.products-catalog h5::after,
.products-catalog h6::before,
.products-catalog h6::after {
    display: none;
}

.products-catalog .products-catalog__title {
    margin: 0 0 32px;
    padding: 0;
    font-size: clamp(26px, 3vw, 36px);
}

.products-catalog__content {
    padding-top: 60px;
}

.products-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 30px;
}

.products-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    color: #111;
    text-decoration: none;
}

.products-category-card__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #fff;
}

.products-category-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .6s cubic-bezier(.2, .65, .3, 1);
}

.products-category-card__placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    color: #666;
    font-size: 14px;
}

.products-category-card__name {
    flex: 1;
    padding: 10px 52px 10px 22px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.products-category-card__arrow {
    position: absolute;
    right: 22px;
    bottom: 20px;
    color: #333;
    font-size: 18px;
    line-height: 0.7;
}

.products-category-card:hover {
    color: #111;
    text-decoration: none;
}

.products-category-card:hover .products-category-card__image img,
.products-category-card:focus-visible .products-category-card__image img {
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .products-category-card__image img {
        transition: none;
    }
}

.products-catalog__breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.products-catalog__breadcrumbs li {
    margin: 0;
}

.products-catalog__breadcrumbs li+li::before {
    content: '›';
    margin-right: 12px;
    color: #666;
}

.products-catalog__breadcrumbs a {
    color: #245b8b;
    text-underline-offset: 3px;
}

.products-category,
.product-card {
    scroll-margin-top: 120px;
}

.products-category+.products-category {
    margin-top: 64px;
}

.products-catalog .products-category__title {
    margin: 0 0 32px;
    padding: 12px 24px;
    background: var(--color_main);
    color: #fff;
    font-size: clamp(20px, 2vw, 24px);
}

.products-category--child {
    margin-top: 40px;
}

.products-catalog .products-category--child>.products-category__title {
    margin: 0 0 20px;
    padding: 0 0 0 14px;
    border-left: 6px solid var(--color_main);
    background: none;
    color: #111;
    font-size: 20px;
}

.products-category__image {
    max-width: 720px;
    margin-bottom: 32px;
}

.products-category__image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.products-category__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.product-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 6.4fr);
    align-items: start;
    gap: 32px;
    padding: 30px 26px;
    background: #f7f7f7;
}

.product-card__media,
.product-card__body {
    min-width: 0;
}

.products-catalog .product-card__title {
    margin: 0 0 24px;
    padding: 4px 0 8px;
    border-bottom: 1px solid #aaa;
    font-size: 22px;
    overflow-wrap: anywhere;
}

.product-card__text {
    margin: 0;
    color: #111;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.product-card__section {
    margin-top: 22px;
}

.products-catalog .product-card__label {
    margin: 0 0 6px;
    padding: 0;
    font-size: 17px;
}

.product-card__download {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 220px;
    max-width: 100%;
    min-height: 50px;
    margin-top: 26px;
    padding: 10px 24px;
    background: var(--color_main);
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.product-card__download:hover {
    background: #27699e;
    color: #fff;
}

.products-catalog a:focus-visible {
    outline: 3px solid #123f67;
    outline-offset: 4px;
}

.product-gallery__main .splide__slide,
.product-card__no-image {
    aspect-ratio: 7 / 5;
    background: transparent;
}

.product-gallery__main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery__thumbnails {
    margin-top: 12px;
}

.product-gallery__thumbnails .splide__track--nav>.splide__list>.splide__slide {
    aspect-ratio: 8 / 5;
    border: 2px solid transparent;
    background: #e2e2e2;
    cursor: pointer;
}

.product-gallery__thumbnails .splide__track--nav>.splide__list>.splide__slide.is-active {
    border-color: var(--color_main);
}

.product-gallery__thumbnails img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__no-image {
    display: grid;
    place-items: center;
    color: #666;
    font-size: 14px;
}

/* JS未実行時も先頭画像を表示する。 */
.product-card .splide:not(.is-initialized) {
    visibility: visible;
}

.product-card .splide:not(.is-initialized) .splide__slide:not(:first-child) {
    display: none;
}

/* 画像1枚と製品名だけのカード。詳細カードと同じ一覧に配置する。 */
.product-card.product-card--simple {
    grid-column: auto;
    display: block;
    padding: 0;
    background: none;
}

.product-card--simple .product-card__media {
    aspect-ratio: 7 / 5;
    max-width: none;
    background: #e2e2e2;
}

.product-card--simple .product-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.products-catalog .product-card--simple .product-card__title {
    margin: 14px 0 0;
    padding: 0 10px;
    border: 0;
    font-size: 18px;
    font-weight: 400;
}

@media (max-width: 1023px) {

    .products-category-grid,
    .products-category__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    .products-category-grid,
    .products-category__cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-catalog {
        padding: 0 16px 56px;
    }

    .products-catalog__content {
        padding-top: 32px;
    }

    .product-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 22px 18px;
    }

    .products-catalog .products-category__title {
        padding: 12px 16px;
    }

    .product-card__media {
        width: 100%;
        max-width: 440px;
        margin-inline: auto;
    }

    .products-catalog .product-card__title {
        font-size: 20px;
    }

    .product-card__download {
        width: 100%;
        font-size: 18px;
    }
}


/* お問い合わせフォーム ====================== */

/* 基本設定 */
.section--contact .section__content,
.form--contact {
    width: 100%;
}

.form--contact,
.form--contact * {
    box-sizing: border-box;
}

/* 入力項目一覧 */
.form--contact .form__list {
    width: 100%;
    border-top: 1px solid #dedede;
}

/* 各入力行 */
.form--contact .form__row {
    display: grid;
    grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
    column-gap: 55px;
    align-items: center;

    width: 100%;
    margin: 0;
    padding: 15px 0;

    border-bottom: 1px solid #dedede;
}

/* テキストエリア行 */
.form--contact .form__row--textarea {
    align-items: start;
}

/* 左側 */
.form--contact .form__head {
    min-width: 0;
}

/* 項目名 */
.form--contact .form__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: 100%;
    min-height: 64px;
    margin: 0;

    color: #222;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

/* テキストエリアの項目名 */
.form--contact .form__row--textarea .form__label {
    align-items: flex-start;
    padding-top: 16px;
}

/* 必須表示 */
.form--contact .form__label.is-required::after {
    content: "必須";

    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    padding: 3px 5px;

    color: #c62828;
    background-color: #fff;
    border: 1px solid #c62828;
    border-radius: 0;

    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

/* 右側 */
.form--contact .form__field {
    width: 100%;
    min-width: 0;
}

/* 入力欄の最大幅 */
.form--contact .form__field--wide {
    max-width: 820px;
}

.form--contact .form__field--name {
    max-width: 620px;
}

.form--contact .form__field--medium {
    max-width: 300px;
}

.form--contact .form__field--short {
    max-width: 250px;
}

.form--contact .form__field--message {
    max-width: 820px;
}

/* CF7が生成するラッパー */
.form--contact .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* 入力欄内の不要な改行のみ非表示 */
.form--contact .form__field>br,
.form--contact .item-box>br {
    display: none;
}

/* 入力欄 */
.form--contact .form__control {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 12px 18px;

    color: #333;
    background-color: #f7f7f7;
    border: 1px solid #dedede;
    border-radius: 0;

    font: inherit;
    font-size: 16px;
    line-height: 1.6;

    appearance: none;
    -webkit-appearance: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* プレースホルダー */
.form--contact .form__control::placeholder {
    color: #aaa;
    opacity: 1;
}

/* フォーカス時 */
.form--contact .form__control:focus {
    outline: none;
    background-color: #fff;
    border-color: #777;
    box-shadow: 0 0 0 1px #777;
}

.form--contact .form__control:focus-visible {
    outline: 2px solid #777;
    outline-offset: 2px;
}

/* お名前・ふりがな */
.form--contact .form__name-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.form--contact .item-box {
    min-width: 0;
}

/* 姓・名・せい・めい */
.form--contact .item-box>label {
    display: block;
    margin: 0 0 7px;

    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

/* 姓・名の入力欄 */
.form--contact .form__name-grid .form__control {
    min-height: 44px;
}

/* テキストエリア */
.form--contact textarea.form__control {
    min-height: 220px;
    padding-top: 16px;
    resize: vertical;
}

/* 入力エラー */
.form--contact .form__control.wpcf7-not-valid {
    border-color: #b91c1c;
    background-color: #fffafa;
}

/* エラーメッセージ */
.form--contact .wpcf7-not-valid-tip,
.form--contact .email-error,
.form--contact .zip-error-tip {
    display: block;
    margin-top: 7px;

    color: #b91c1c;
    font-size: 13px;
    line-height: 1.5;
}

/* 個人情報保護方針 */

.form--contact .contact-scroll {
    width: 100%;
    height: 250px;
    margin: 35px 0 20px;
    padding: 20px;
    overflow: auto;
    color: #333;
    background-color: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 0;

    font-size: 14px;
    line-height: 1.8;

    scrollbar-width: thin;
    scrollbar-color: #c0c0c0 #eee;
}

/* WebKit系スクロールバー */
.form--contact .contact-scroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.form--contact .contact-scroll::-webkit-scrollbar-track {
    background-color: #eee;
}

.form--contact .contact-scroll::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
}

.form--contact .contact-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}

/* プライバシーポリシー見出し */
.form--contact .privacy-title {
    margin: 0 0 15px !important;
    color: #fff;
    border-bottom: 1px solid #d9d9d9;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

.form--contact h3.privacy-title {
    font-size: 16px;
    color: #222;
}

/* 各項目 */
.form--contact .contact-privacy-item {
    margin-bottom: 35px;
}

.form--contact .contact-privacy-item:last-child {
    margin-bottom: 0;
}

/* 段落 */
.form--contact .contact-privacy p {
    margin: 0 0 1em;
}

/* リスト */
.form--contact .contact-privacy ul {
    margin: 0 0 1em;
    padding-left: 1.5em;
    list-style: disc;
}

.form--contact .contact-privacy ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
    list-style: decimal;
}

.form--contact .contact-privacy li {
    margin-bottom: 5px;
}

/* 同意欄 */

.form--contact .form__agree {
    margin: 25px 0 0;
    text-align: center;
}

.form--contact .form__agree .wpcf7-form-control-wrap {
    display: inline-block;
    width: auto;
}

.form--contact .form__agree .wpcf7-list-item {
    margin: 0;
}

.form--contact .form__agree label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #333;
    font-size: 15px;
    line-height: 1.6;
    cursor: pointer;
}

.form--contact .form__agree input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;

    accent-color: #232323;
    cursor: pointer;
}

/* 送信ボタン */

.form--contact .form__actions {
    position: relative;
    margin-top: 25px;
    text-align: center;
}

.form--contact .wpcf7-submit.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 220px;
    min-height: 58px;
    margin: 0;
    padding: 12px 30px;

    color: #fff;
    background-color: #232323;
    border: 1px solid #232323;
    border-radius: 50px;

    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        opacity 0.3s ease,
        transform 0.2s ease;
}

.form--contact .wpcf7-submit.btn:hover {
    color: #232323;
    background-color: #fff;
}

.form--contact .wpcf7-submit.btn:active {
    transform: translateY(1px);
}

/* 送信中 */
.form--contact .wpcf7-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* CF7のローディングアイコン */
.form--contact .wpcf7-spinner {
    margin: 10px 0 0 10px;
    vertical-align: middle;
}

/* CF7送信結果メッセージ */

.wpcf7 form .wpcf7-response-output {
    margin: 25px 0 0;
    padding: 12px 16px;

    border-radius: 0;

    font-size: 14px;
    line-height: 1.6;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #14532d;
    background-color: #ecfdf5;
    border: 1px solid #22c55e;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    color: #7f1d1d;
    background-color: #fef2f2;
    border: 1px solid #ef4444;
}

/* タブレット・スマートフォン */

@media (max-width: 859px) {

    .form--contact .form__row {
        grid-template-columns: 1fr;
        row-gap: 10px;

        padding: 20px 0;
    }

    .form--contact .form__label,
    .form--contact .form__row--textarea .form__label {
        justify-content: flex-start;
        min-height: auto;
        padding-top: 0;

        font-size: 16px;
    }

    .form--contact .form__label.is-required::after {
        margin-left: 10px;
    }

    .form--contact .form__field--wide,
    .form--contact .form__field--name,
    .form--contact .form__field--medium,
    .form--contact .form__field--short,
    .form--contact .form__field--message {
        max-width: none;
    }

    .form--contact .form__control {
        min-height: 54px;
        font-size: 16px;
    }

    .form--contact textarea.form__control {
        min-height: 230px;
    }

    .form--contact .form__pc-br {
        display: none;
    }
}

/* 小さいスマートフォン */
@media (max-width: 560px) {

    .form--contact .form__name-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form--contact .form__row {
        padding: 18px 0;
    }

    .form--contact .contact-scroll {
        height: 230px;
        padding: 15px;
    }

    .form--contact .form__agree {
        text-align: left;
    }

    .form--contact .form__agree label {
        align-items: flex-start;
        font-size: 14px;
    }

    .form--contact .form__agree input[type="checkbox"] {
        margin-top: 2px;
    }

    .form--contact .wpcf7-submit.btn {
        width: 100%;
        max-width: 280px;
    }
}

/* お問い合わせボックス================== */

.contact-box {
    position: relative;
    top: 150px;
    left: 50%;
    transform: translatex(-50%);
    background-image: url('http://muramatsu.biz/wp-content/uploads/2026/08/contact-box.jpg');
    background-position: center 30%;
    background-size: cover;
    overflow: hidden;
    width: 90vw;
    border-radius: 15px;
    z-index: 1;
}

.ContactBox-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(12px);
    /* Safari */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@media screen and (max-width:786px) {
    .contact-box {
        top: 70px;
    }
}

/* フッター========================== */

#content {
    margin-bottom: 0px;
}

.w-beforeFooter {
    margin: 0;
}

.l-footer__widgetArea {
    padding: 50px 0 100px 0;
}

@media (min-width: 960px) {
    .w-footer {
        align-items: end;
    }
}

@media screen and (max-width:768px) {
    #nav_menu-2 {
        display: none;
    }

    #nav_menu-3 {
        display: none;
    }
}

/*ぱんクズリスト非表示*/
#breadcrumb {
    display: none;
}

/*reCAPTCHA全面表示*/
.grecaptcha-badge {
    z-index: 1;
}

/* 「トップへ戻るボタン」の位置調整 */
.p-fixBtnWrap {
    bottom: 85px;
    right: 10px
}
