@charset "utf-8";
/*------------------------------------------------
 * digital-a.net サイト専用（basic.css は変更不可）
 * 色・ボタンは basic.css のクラスを優先
 ------------------------------------------------*/

/* 横スクロール防止（下層の大图などでヘッダー幅が伸び、バーガーが画面外に出るのを防ぐ） */
html {
    overflow-x: clip;
}

body {
    overflow-x: clip;
}

/* ===== 本文 typography（basictype.jp / basic.css の 16px 基準） ===== */
body {
    font-size: 16px;
    color: #171717;
}

.main-content img {
    max-width: 100%;
    height: auto;
}

.main-content table {
    max-width: 100%;
}

@media (max-width: 991.98px) {
    body {
        font-size: 16px;
    }
}

.main-content p,
.main-content li,
.main-content td,
.main-content dd,
.main-content dt {
    font-size: 1rem;
    line-height: 1.7;
}

.footer-area .footer-top-area,
.footer-area .footer-top-area .tx-09 {
    font-size: 1rem;
}

/*
 * ヘッダー／メニュー：見た目・動作は basic.css のみ（FLAT 共通）。
 * style.css ではロゴ寸法と横スクロール対策だけ。
 */
.header {
    left: 0;
    right: 0;
    width: auto;
    max-width: 100vw;
    box-sizing: border-box;
}

.header .container {
    max-width: 100%;
}

.header .header-logo {
    flex-shrink: 0;
}

.header .header-logo img {
    display: block;
    height: auto;
    max-height: 48px;
    width: auto;
    max-width: 220px;
}

/* フッターナビ */
.da-footer-nav .list-inline-item:not(:last-child)::after {
    content: "|";
    margin-left: 0.5rem;
    color: rgba(0, 0, 0, 0.25);
}

.da-footer-nav a {
    text-decoration: none;
    color: inherit;
}

/* フッター：旧サイト bg-dark-grey-01（basic.css のダークグレー上書き） */
.footer-area .footer-top-area {
    background-color: rgba(48, 50, 52, 0.1);
    color: #333;
}

.footer-area .footer-top-area h6 {
    color: #333;
}

.footer-area .footer-top-area p,
.footer-area .footer-top-area li,
.footer-area .footer-top-area small {
    color: #333;
}

.footer-area .footer-top-area a {
    color: #333;
}

.footer-area .footer-top-area a:hover {
    color: #555;
}

.footer-area .footer-top-area small a {
    color: #555;
}

/* セクション見出し（トップ） */
.da-section-en {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}

.da-catch-main {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* サービスカード */
.da-service-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.da-service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.da-service-card:hover img {
    transform: scale(1.04);
}

.da-service-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    color: #fff;
    text-align: left;
}

.da-service-card__body h3 {
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
    font-weight: 500;
}

.da-service-card__body p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.92;
    line-height: 1.55;
}

.da-service-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* お問い合わせ CTA（動画背景・旧サイト bg-video + bg-white-01 相当） */
.da-contact-cta {
    margin-top: 5rem;
    min-height: 280px;
    display: flex;
    align-items: center;
    background: #e8e8e8;
}

@media (max-width: 767.98px) {
    .da-contact-cta {
        margin-top: 3rem;
    }
}

.da-contact-cta__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.da-contact-cta__video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.da-contact-cta__video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.da-contact-cta .container {
    z-index: 2;
}

.da-contact-cta .da-section-en,
.da-contact-cta h2 {
    color: #1a2f4d;
}

/* ===== Swiper（seikocontrol.co.jp 同等） ===== */
.swiper {
    width: 100%;
}

.swiper-slide {
    overflow: hidden;
}

.swiper-slide img {
    height: auto;
    width: 100%;
}

.swiper-text {
    color: #fff;
    left: 5%;
    position: absolute;
    text-shadow: 1px 1px 2px #333;
    top: 45%;
    width: 85%;
    z-index: 2;
}

/* スライド内ボックスは白背景のため、見出し・本文は紺色 */
.swiper-slide .da-slide-box {
    position: absolute;
    left: 5%;
    top: 38%;
    max-width: 520px;
    padding: 1.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 4px;
    z-index: 2;
    color: #1a2f4d;
}

.swiper-slide .da-slide-box .swiper-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #1a2f4d;
}

.swiper-slide .da-slide-box .swiper-desc {
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    color: #1a2f4d;
}

/* 画像上に直接載せる場合（未使用時のフォールバック） */
.swiper-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #fff;
}

.swiper-desc {
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 575.98px) {
    .swiper-slide img {
        height: 350px;
        object-fit: cover;
    }

    .swiper-slide .da-slide-box {
        left: 4%;
        right: 4%;
        top: auto;
        bottom: 12%;
        max-width: none;
        padding: 1rem;
    }

    .swiper-slide .da-slide-box .swiper-title {
        font-size: 1rem;
        font-weight: 600;
    }

    .swiper-slide .da-slide-box .swiper-desc {
        font-size: 0.85rem;
    }
}

@media (min-width: 1400px) {
    .swiper-slide img {
        max-height: 720px;
        object-fit: cover;
    }
}

/* ===== 下層ページ（FLAT / basictype 系） ===== */
.da-page-hero {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    max-width: 100vw;
    overflow: hidden;
    background: #e8ecef center/cover no-repeat;
    background-image: var(--da-hero-bg);
}

.da-page-hero__inner {
    width: 100%;
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.65);
}

.da-page-hero__title {
    color: #555;
    font-weight: 400;
}

.da-page-hero__sub {
    display: block;
    margin-top: 0.35rem;
    font-size: 1rem;
    color: #555;
}

@media (min-width: 768px) {
    .da-page-hero {
        min-height: 280px;
    }
}

/* スマホ左・md以上中央（旧 text-center-l） */
.da-text-md-center {
    text-align: left;
}

@media (min-width: 768px) {
    .da-text-md-center {
        text-align: center;
    }
}

.main-content .tx-2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #0095d9;
}

.main-content .tx-2-5 {
    font-size: clamp(1.35rem, 3.5vw, 2.5rem);
    color: #0095d9;
}

.main-content .mpl {
    font-family: "M PLUS Rounded 1c", sans-serif;
}

.main-content hr.bg-black-03 {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    opacity: 1;
}

/* 事例ギャラリー */
.da-gallery .da-gallery__img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* サービスページ：トピックカード */
.da-topic-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-top: 1rem;
}

.da-topic-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.da-topic-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.da-topic-card__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.65rem 0.75rem;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.95rem;
}

/* about：画像カルーセル */
.da-img-card {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
}

.da-img-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.da-img-card figcaption {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #fff;
    background: #222;
}

.da-carousel .carousel-control-prev-icon,
.da-carousel .carousel-control-next-icon {
    filter: invert(1);
}

/* 下層で残している旧クラス名（見た目のみ style.css で定義） */
.main-content .bg-grey-lightest {
    background-color: #fbfcfd !important;
}

.main-content .bg-greyc {
    background: #e3e4e5 !important;
}

.main-content .p_0-5 {
    padding: 0.5rem !important;
}

.main-content .text-black3 {
    color: #333 !important;
}

.main-content .pt1 {
    padding-top: 1rem !important;
}

/* お問い合わせフォーム（coral.jp phpform） */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.error-container {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.error-container .alert-heading,
.error-container .alert > p {
    text-align: center;
}

.contact-form-container .form-label {
    font-weight: 600;
    color: #343a40;
}

/* 必須バッジ（coral.jp / assets/phpform/form.css と同一） */
.contact-form-container .required-badge,
.form-submit-hint .required-badge {
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    padding: 0.2em 0.6em;
    border-radius: 0.25rem;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: middle;
    line-height: 1.4;
    letter-spacing: 0;
}

.form-submit-hint .required-badge {
    margin-left: 0;
    margin-right: 0.25rem;
}

@media (min-width: 768px) {
    .contact-form-container .form-label {
        text-align: right;
        padding-right: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .contact-form-container {
        padding: 1rem;
    }
}

.contact-form-container .form-check-label {
    margin-right: 1rem;
}

.privacy-policy {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    margin-bottom: 1rem;
    max-height: 150px;
    overflow-y: auto;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.thanks-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.thanks-icon {
    font-size: 4rem;
    color: #198754;
}
