@charset "UTF-8";

/**
 * 技術紹介 service/index.php 内 #Feature（post_content / Swell風ブロック）
 * 既存クラスのみ使用
 */

:root {
    --feat-text-scale: 1.1;
    --feat-navy: #002244;
    /* 帯見出し（h2）：画像のネイビー帯 */
    --feat-navy-bar: #001a3d;
    --feat-navy-rim: #000b18;
    --feat-navy-hover: #003056;
    --feat-line: #e5e5e5;
    --feat-muted: #333;
    --feat-container: 1200px;
}

/* このセクションは横いっぱいに広げ、内側は l-container で制御 */
#servicepage .maincontents.mt-0-pt-0 {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

#Feature .post_content {
    overflow-x: hidden;
    /* 本文・Swell の em 系フォントクラスを一括で約 1.1 倍に */
    font-size: calc(1em * var(--feat-text-scale));
}
#servicepage #Feature h2 {
    letter-spacing: 0.1em!important;
}

#Feature .swell-block-fullWide__inner.l-container,
#Feature .swell-block-fullWide__inner.l-article {
    max-width: var(--feat-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* ---------- ネイビー帯見出し（親幅内・上下に二重線風） ---------- */
#Feature .swell-block-fullWide__inner.l-container > h2.wp-block-heading:first-of-type {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: static;
    left: auto;

    background-color: var(--feat-navy-bar);
    color: #fff;
    font-size: clamp(calc(15px * var(--feat-text-scale)), calc(2.2vw * var(--feat-text-scale)), calc(20px * var(--feat-text-scale)));
    font-weight: 700;
    text-align: center;
    padding: 20px 24px;
    letter-spacing: 0.03em;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0;
    /* 外：細い濃色／内：白のインレイ（上下） */
    border-top: 1px solid var(--feat-navy-rim);
    border-bottom: 1px solid var(--feat-navy-rim);
    box-shadow:
        inset 0 1px 0 0 #fff,
        inset 0 -1px 0 0 #fff;
}

#Feature .swell-block-fullWide__inner.l-container > h2.wp-block-heading:first-of-type strong {
    color: inherit;
    font-weight: inherit;
}

/* 第3ブロック：同一コンテナ内の複数 h2 見出しも帯にする */
#Feature .post_content > .swell-block-fullWide:nth-child(3) .l-container > h2.wp-block-heading {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: static;
    left: auto;

    background-color: var(--feat-navy-bar);
    color: #fff;
    font-size: clamp(calc(15px * var(--feat-text-scale)), calc(2.2vw * var(--feat-text-scale)), calc(20px * var(--feat-text-scale)));
    font-weight: 700;
    text-align: center;
    padding: 20px 24px;
    letter-spacing: 0.03em;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid var(--feat-navy-rim);
    border-bottom: 1px solid var(--feat-navy-rim);
    box-shadow:
        inset 0 1px 0 0 #fff,
        inset 0 -1px 0 0 #fff;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .l-container > h2.wp-block-heading + * {
    margin-top: 40px;
    gap: 2em;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .l-container > h2.wp-block-heading:not(:first-child) {
    margin-top: 48px;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .l-container > h2.wp-block-heading strong {
    color: inherit;
}

/* 第3ブロック内「技術・工程の流れ」など、帯直後の余白 */
#Feature .post_content > .swell-block-fullWide:nth-child(3) .u-mb-ctrl.u-mb-60 {
    margin-top: 8px;
}

/* ---------- サービス6行：交互カラム＋下線区切り（画像とテキストは上端揃え・概ね5050） ---------- */
#Feature .features_box1 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 28px 32px;
    padding: 36px 0;
    border-bottom: 1px solid var(--feat-navy);
    margin-top: 0;
    margin-bottom: 0;
}

#Feature .features_box1.flex_reverse {
    flex-direction: row-reverse;
}

#Feature .features_box1 .wp-block-column {
    flex: 1 1 0;
    min-width: 0;
    align-self: flex-start;
}

/* テーマ由来の上マージンでずれないよう先頭要素をそろえる */
#Feature .features_box1 .wp-block-column > :first-child {
    margin-top: 0;
}

#Feature .features_box1 figure.wp-block-image {
    margin: 0;
    width: 100%;
}

/* サービス行の見出し：本文は #333、下に薄い全幅線＋左から太いアクセント */
#Feature h3.wp-block-heading {
    margin: 0 0 16px;
    padding: 0 0 14px;
    font-size: clamp(calc(17px * var(--feat-text-scale)), calc(2vw * var(--feat-text-scale)), calc(20px * var(--feat-text-scale)));
    font-weight: 700;
    color: #333;
    line-height: 1.45;
    text-align: center;
    position: relative;
    border: 0;
}
#Feature .features_box1 h3.wp-block-heading {
    text-align: left;
}

#Feature h3.wp-block-heading::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: #e8e8e8;
}

#Feature h3.wp-block-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28%;
    max-width: 15em;
    height: 3px;
    background-color: var(--feat-navy);
}

#Feature .features_box1 p {
    margin: 0 0 20px;
    color: var(--feat-muted);
    line-height: 1.8;
}

/* 同上：ボタンのみ親幅に対して中央（h3・p は #Feature .features_box1 の共通指定のみ） */
#Feature .post_content > .swell-block-fullWide:first-child .features_box1 .wp-block-column:has(> h3.wp-block-heading) .swell-block-button.is-style-btn_normal {
    display: flex;
    justify-content: center;
}

#Feature .features_box1 .wp-block-image,
#Feature .features_box1 .wp-block-embed {
    margin: 0;
}

#Feature .features_box1 .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--feat-line);
}

/* YouTube 埋め込み 16:9（親幅が 0 だと padding% 基準も 0 になるため aspect-ratio 併用） */
#Feature .features_box2 figure.wp-block-embed {
    width: 100%;
    max-width: 100%;
}

#Feature .features_box2 .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--feat-line);
    background: #000;
}

#Feature .features_box2 .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---------- Swell ボタン → ネイビーピル ---------- */
#Feature .swell-block-button.is-style-btn_normal .swell-block-button__link, .common__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--feat-navy);
    color: #fff;
    font-weight: 600;
    font-size: calc(14px * var(--feat-text-scale));
    text-decoration: none;
    border: none;
    transition: background 0.2s ease;
    box-shadow: none;
}

#Feature .swell-block-button.is-style-btn_normal .swell-block-button__link:hover,
#Feature .swell-block-button.is-style-btn_normal .swell-block-button__link:focus-visible {
    background: var(--feat-navy-hover);
    color: #fff;
}

#Feature .swell-block-button.is-style-btn_normal {
    margin: 0;
}

/* ---------- 第2ブロック：ワンストップ（背景・図・強調文） ---------- */
#Feature .post_content > .swell-block-fullWide:nth-child(2) {
    background-color: #f3f6f9;
}

#Feature .post_content > .swell-block-fullWide:nth-child(2) .wp-block-image.size-full {
    margin: 24px auto 20px;
}

#Feature .post_content > .swell-block-fullWide:nth-child(2) .wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

#Feature .post_content > .swell-block-fullWide:nth-child(2) .has-text-align-center.has-large-font-size {
    margin: 24px auto 32px;
    color: var(--feat-navy);
    line-height: 1.6;
    font-size: calc(20px * var(--feat-text-scale));
}

/* 2カラム白カード */
#Feature .post_content > .swell-block-fullWide:nth-child(2) .wp-block-columns .wp-block-group.has-border {
    border: 1px solid var(--feat-navy);
    padding: 20px 18px 24px;
    height: 100%;
    background: #fff;
}

/* #Feature .post_content > .swell-block-fullWide:nth-child(2) .wp-block-group__inner-container h3 {
    color: var(--feat-navy);
    font-size: calc(17px * var(--feat-text-scale));
} */

#Feature .post_content > .swell-block-fullWide:nth-child(2) .swell-block-button.is-style-btn_normal {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* ---------- 第3ブロック：リスク説明・吹き出し・図 ---------- */
#Feature .post_content > .swell-block-fullWide:nth-child(3) .mark_orange {
    background: transparent;
    color: var(--feat-navy);
    font-weight: 700;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .is-style-balloon_box2 {
    display: inline-block;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #7eb8c8;
    border-radius: 6px;
    background: #fff;
    font-size: calc(14px * var(--feat-text-scale));
    font-weight: 600;
    color: var(--feat-navy);
    margin: 0;
}

/* 吹き出しグリッド：スマホ1列／PC（782px〜）2列 */
#Feature .post_content > .swell-block-fullWide:nth-child(3) ul.feature-balloon-grid.swell-block-columns__inner {
    display: grid;
    grid-template-columns: 1fr;
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    width: 100%;
    row-gap: 18px;
    column-gap: 12px;
}

@media screen and (min-width: 782px) {
    #Feature .post_content > .swell-block-fullWide:nth-child(3) ul.feature-balloon-grid.swell-block-columns__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) ul.feature-balloon-grid > li {
    min-width: 0;
}

/* 吹き出し：下向きのしっぽ（人物イラスト側へ向ける） */
#Feature .post_content > .swell-block-fullWide:nth-child(3) li.feature-balloon--tail-bottom.is-style-balloon_box2 {
    position: relative;
    overflow: visible;
    margin-bottom: 0;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) li.feature-balloon--tail-bottom.is-style-balloon_box2::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -11px;
    border-width: 11px 11px 0;
    border-style: solid;
    border-color: #7eb8c8 transparent transparent transparent;
    z-index: 0;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) li.feature-balloon--tail-bottom.is-style-balloon_box2::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    margin-top: -1px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    z-index: 1;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .wp-block-column .wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto 0;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .wp-block-cover {
    /* border-radius: 6px; */
    border: 1px solid var(--feat-line);
    background: #F9F9FA;
    margin-bottom: 1em;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .wp-block-list.is-style-index {
    padding-left: 1.2em;
}

/* 「技術・工程の流れ」左カラム：番号＋縦線＋見出し＋説明 */
#Feature .post_content > .swell-block-fullWide:nth-child(3) ol.feature-process-steps {
    counter-reset: feat-step;
    list-style: none;
    margin: 0;
    padding: 0;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) ol.feature-process-steps > li {
    counter-increment: feat-step;
    margin: 0 0 1.25rem;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) ol.feature-process-steps > li:last-child {
    margin-bottom: 0;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .feature-process-steps__item {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .feature-process-steps__num {
    flex: 0 0 auto;
    min-width: 1.1em;
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1;
    color: var(--feat-navy);
    text-align: left;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .feature-process-steps__num::before {
    content: counter(feat-step);
    font-variant-numeric: tabular-nums;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .feature-process-steps__rule {
    width: 1px;
    background-color: var(--feat-line);
    flex-shrink: 0;
    align-self: stretch;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .feature-process-steps__content {
    flex: 1;
    min-width: 0;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .feature-process-steps__title {
    margin: 0;
    font-weight: 700;
    font-size: calc(1.05em * var(--feat-text-scale));
    color: var(--feat-navy);
    line-height: 1.35;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .feature-process-steps__desc {
    margin: 0.4em 0 0;
    font-weight: 400;
    font-size: calc(0.92em * var(--feat-text-scale));
    color: #000;
    line-height: 1.5;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .wp-block-column[style*="66.66"] figure img {
    width: 100%;
    height: auto;
}

/* 4つのボックス（開発委託） */
#Feature .post_content > .swell-block-fullWide:nth-child(3) .wp-block-group.has-border.-border01 {
    border: 1px solid var(--feat-navy);
    padding: 20px 18px 24px;
    height: 100%;
    background: #fff;
}

#Feature .post_content > .swell-block-fullWide:nth-child(3) .wp-block-columns + .wp-block-columns {
    margin-top: 20px;
}

/* ---------- 最終 CTA（グレー背景・見出し・中央揃え） ---------- */
/* 背景色は HTML の inline のまま。本文ブロックのみ整列 */

#Feature .post_content .swell-block-fullWide__inner.l-article {
    text-align: center;
}

#Feature h2.wp-block-heading.is-style-section_ttl {
    background: transparent;
    color: #222;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    position: static;
    font-size: clamp(calc(20px * var(--feat-text-scale)), calc(3vw * var(--feat-text-scale)), calc(26px * var(--feat-text-scale)));
    padding: 0 0 16px;
    line-height: 1.45;
}

#Feature .post_content > .swell-block-fullWide:last-child .has-text-align-center {
    line-height: 1.85;
    color: var(--feat-muted);
    margin-bottom: 28px;
}

#Feature .post_content > .swell-block-fullWide:last-child .swell-block-button.is-style-btn_normal {
    display: flex;
    justify-content: center;
}

#Feature .post_content > .swell-block-fullWide:last-child .swell-block-button.is-style-btn_normal .swell-block-button__link {
    min-width: 260px;
    padding: 16px 36px;
    font-size: calc(16px * var(--feat-text-scale));
}

/* ---------- 第1ブロック：帯と最初の行の間隔 ---------- */
#Feature .post_content > .swell-block-fullWide:first-child .l-container > h2:first-of-type + .features_box1 {
    margin-top: 32px;
}

/* ---------- モバイル：カラム縦積み ---------- */
@media screen and (max-width: 781px) {
    #Feature .features_box1,
    #Feature .features_box1.flex_reverse {
        flex-direction: column;
    }

    /* 縦積み時は交差軸が横。flex-start のままだと動画列だけ幅 0 に近づき 16:9 が潰れる */
    #Feature .features_box1 .wp-block-column {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
        align-self: stretch;
    }

    #Feature .post_content > .swell-block-fullWide:nth-child(3) [style*="flex-basis:33.33"],
    #Feature .post_content > .swell-block-fullWide:nth-child(3) [style*="flex-basis:66.66"] {
        flex-basis: 100% !important;
    }
}

@media screen and (max-width: 559px) {
    #Feature .post_content > .swell-block-fullWide:nth-child(2) .wp-block-columns {
        flex-direction: column;
    }

    #Feature .post_content > .swell-block-fullWide:nth-child(3) .wp-block-columns.u-mb-ctrl {
        flex-direction: column;
    }
}

.swell-block-fullWide{
    padding: 6em 0;
}
.gap15px{
    gap: 15px;
}
.has-huge-font-size{
    font-size: calc(24px * var(--feat-text-scale));
}

/* ---------- 「なぜ一貫設計が必要か」左カラム：リスク箇条書き ---------- */
#Feature ul.feature-risk-checklist {
    box-sizing: border-box;
    list-style: none;
    margin: 10px 0;
    padding: 16px 20px;
    background-color: #fff;
    border: 3px solid var(--feat-line);
    color: #003366;
    font-weight: 700;
    font-style: normal;
    text-align: left;
}

#Feature ul.feature-risk-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.4em;
    margin: 0;
    padding: 0;
    text-align: left;
    color: inherit;
    font-size: 1.3em;
}

#Feature ul.feature-risk-checklist li:first-child {
    padding-top: 0;
}

#Feature ul.feature-risk-checklist li:last-child {
    padding-bottom: 0;
}

#Feature ul.feature-risk-checklist .swl-inline-icon {
    flex-shrink: 0;
    margin-top: 0.12em;
}
.br-sp{
    display: none;
}
@media screen and (max-width: 781px) {
    #servicepage #Feature h2{
        font-size: 1.4em;
    }
    .br-sp{
        display: inline;
    }
}

.checkmark005{
	padding-left:1.5em;
	position:relative;
}

.checkmark005:before,
.checkmark005:after{
	content:"";
	display:block;
	position:absolute;
}
.checkmark005:before{
    width: 1em;
    height: 1em;
    border-radius: 3px;
    background: #ffffff;
    border: 1px solid #000000;
    left: 0;
    top: 5px;
}
.checkmark005:after{
	border-left:2px solid var(--feat-navy);
	border-bottom:2px solid var(--feat-navy);
    width: 1em;
    height: 0.5em;
	-webkit-transform:rotate(-45deg);
	transform:rotate(-45deg);
	left:5px;
	top:3px;
}