@charset "UTF-8";
/* ==========================================================================
   h2online Theme - pages.css
   実績（page-works.php）／ ご依頼（page-contact.php）共通スタイル
   service-ec.css の .h2-srv-* に追加で読み込む（黒白グレー＋赤・構成主義）
   ========================================================================== */

/* --------------------------------------------------------------------------
   共通：ページ用ヒーロー（テキスト型）
   -------------------------------------------------------------------------- */
.h2-page-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--h2-color-black);
    /* 左を暗くするグラデ（上層）＋ MV画像（下層）。--h2-hero-bg をページ側で指定 */
    background-image:
        linear-gradient(90deg, #050505 0%, rgba(5,5,5,.92) 24%, rgba(5,5,5,.55) 52%, rgba(5,5,5,.08) 84%),
        var(--h2-hero-bg, none);
    background-size: cover, cover;
    background-position: center, center right;
    background-repeat: no-repeat, no-repeat;
}
/* 各ページのMV背景画像（assets/css → assets/images） */
.h2-srvprice .h2-page-hero { --h2-hero-bg: url(../images/service-mv.png); }
.h2-works    .h2-page-hero { --h2-hero-bg: url(../images/work-mv.png); }
.h2-contact  .h2-page-hero { --h2-hero-bg: url(../images/contact-mv.png); }
.h2-prof     .h2-page-hero { --h2-hero-bg: url(../images/profile-mv.png); }
.h2-page-hero__inner {
    max-width: var(--h2-container);
    margin: 0 auto;
    padding: clamp(60px, 8vw, 100px) var(--h2-container-pad) clamp(44px, 6vw, 68px);
    position: relative;
    min-height: clamp(280px, 32vw, 440px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.h2-page-hero__body { position: relative; padding-left: 28px; }
.h2-page-hero__en {
    font-family: var(--h2-font-en);
    font-size: clamp(40px, 8vw, 84px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    color: var(--h2-color-white);
    margin: 0;
}
.h2-page-hero__title {
    font-size: clamp(19px, 2.6vw, 28px);
    font-weight: 900;
    color: var(--h2-color-white);
    line-height: 1.5;
    margin: 14px 0 18px;
}
.h2-page-hero__lead {
    color: var(--h2-color-gray-text);
    font-size: 15px;
    line-height: 1.95;
    margin: 0;
    max-width: 42em;
}
.h2-page-hero__diag1, .h2-page-hero__diag2 { right: -10%; width: 40%; }
.h2-page-hero__diag1 { top: 26%; }
.h2-page-hero__diag2 { top: 38%; opacity: .5; }
.h2-page-hero.is-in-view .h2-srv-line--v    { animation: h2-reveal-down 1.1s cubic-bezier(.65, 0, .35, 1) forwards; }
.h2-page-hero.is-in-view .h2-srv-line--diag { animation: h2-reveal-down-rotated 1.1s cubic-bezier(.65, 0, .35, 1) forwards; }
.h2-page-hero.is-in-view .h2-page-hero__diag2 { animation-delay: .16s; }

/* 共通：CTA等のボタン（profile.css と同等のものを実績／ご依頼でも使えるよう定義） */
.h2-srv-cta__action { display: flex; flex-wrap: wrap; gap: 14px; }
.h2-page-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--h2-color-gray-line);
    color: var(--h2-color-white);
    font-weight: 700;
    font-size: 15px;
    padding: 18px 34px;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.h2-page-btn-ghost:hover { background: var(--h2-color-white); color: var(--h2-color-black); }

/* --------------------------------------------------------------------------
   共通：セクション枠
   -------------------------------------------------------------------------- */
.h2-psec { padding: clamp(48px, 6vw, 80px) 0; }
.h2-psec--light { background: var(--h2-color-white-soft); color: var(--h2-color-black); border-top: 1px solid #e6e6e6; }
.h2-psec--dark  { background: var(--h2-color-black); color: var(--h2-color-white); }
.h2-psec__inner { max-width: var(--h2-container); margin: 0 auto; padding: 0 var(--h2-container-pad); }
.h2-psec__inner--narrow { max-width: 920px; }
.h2-psec__head { margin-bottom: 36px; }
.h2-psec__title { font-size: clamp(22px, 3vw, 34px); font-weight: 900; margin: 0; line-height: 1.4; }
.h2-psec--light .h2-psec__title { color: var(--h2-color-black); }
.h2-psec--dark  .h2-psec__title { color: var(--h2-color-white); }

/* --------------------------------------------------------------------------
   共通：カードグリッド
   -------------------------------------------------------------------------- */
.h2-pgrid { display: grid; gap: 18px; }
.h2-pgrid--2 { grid-template-columns: 1fr 1fr; }
.h2-pgrid--3 { grid-template-columns: repeat(3, 1fr); }

.h2-pcard {
    background: var(--h2-color-white);
    border: 1px solid #e0e0e0;
    padding: 26px 24px 28px;
    position: relative;
}
.h2-pcard__num {
    display: block;
    font-family: var(--h2-font-en);
    font-size: 22px;
    line-height: 1;
    color: var(--h2-color-red);
    letter-spacing: .04em;
    margin-bottom: 12px;
}
.h2-pcard__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--h2-color-black);
    line-height: 1.5;
    margin: 0 0 10px;
}
.h2-pcard__desc {
    font-size: 13px;
    color: #555;
    line-height: 1.85;
    margin: 0;
}

/* 業務内容タグ */
.h2-ptags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.h2-ptag {
    font-size: 12px;
    background: #f1f1f1;
    color: #333;
    padding: 6px 12px;
    border-left: 2px solid var(--h2-color-red);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   共通：左赤ライン付きコールアウト（暗背景）
   -------------------------------------------------------------------------- */
.h2-pcallout {
    position: relative;
    padding-left: calc(var(--h2-container-pad) + 22px);
    max-width: 920px;
    margin: 0 auto;
}
.h2-pcallout__label {
    font-family: var(--h2-font-en);
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--h2-color-red);
    display: block;
    margin-bottom: 12px;
}
.h2-pcallout__title { font-size: clamp(18px, 2.2vw, 24px); font-weight: 900; color: var(--h2-color-white); margin: 0 0 14px; line-height: 1.5; }
.h2-pcallout__text { font-size: 14px; line-height: 1.95; color: var(--h2-color-gray-text); margin: 0; }
.h2-pcallout .h2-srv-line--v { left: var(--h2-container-pad); }
.h2-psec--dark.is-in-view .h2-srv-line--v { animation: h2-reveal-down 1.1s cubic-bezier(.65, 0, .35, 1) forwards; }

/* --------------------------------------------------------------------------
   ご相談時にあると助かる情報（2カラムのリスト）
   -------------------------------------------------------------------------- */
.h2-pinfo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}
.h2-pinfo-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #222;
    line-height: 1.7;
    padding: 13px 0;
    border-bottom: 1px solid #e0e0e0;
}
.h2-pinfo-list li::before {
    content: "";
    flex-shrink: 0;
    width: 8px; height: 8px;
    margin-top: 7px;
    background: var(--h2-color-red);
}

/* --------------------------------------------------------------------------
   ご依頼フォーム（the_content をそのまま流し込む領域）
   -------------------------------------------------------------------------- */
.h2-pform__note {
    font-size: 14px;
    line-height: 1.95;
    color: #333;
    margin: 0 0 28px;
    padding: 18px 22px;
    background: #fff;
    border-left: 3px solid var(--h2-color-red);
}
.h2-pform__body { /* フォーム本体（プラグイン出力）をラップ */ }

/* --------------------------------------------------------------------------
   ご依頼の流れ（暗背景カード）
   -------------------------------------------------------------------------- */
.h2-psec--dark .h2-flow-card {
    background: var(--h2-color-black-2);
    border-color: var(--h2-color-gray-line);
}
.h2-psec--dark .h2-flow-card .h2-pcard__title { color: var(--h2-color-white); }
.h2-psec--dark .h2-flow-card .h2-pcard__desc  { color: var(--h2-color-gray-text); }
.h2-flow-note {
    margin: 28px 0 0;
    font-size: 13px;
    color: var(--h2-color-gray-text);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   ご相談方法（CONTACT METHOD）
   -------------------------------------------------------------------------- */
.h2-method__text { font-size: 14px; line-height: 1.95; color: var(--h2-color-gray-text); margin: 0 0 16px; }
.h2-method__text strong { color: #fff; font-weight: 700; }
.h2-method__btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 12px; }
.h2-method__sub { margin: 0; font-size: 12px; letter-spacing: .04em; color: var(--h2-color-gray-text); }

/* LINE公式ボタン（LINEグリーン） */
.h2-srv-cta__btn.h2-btn-line { background: #06C755; }
.h2-srv-cta__btn.h2-btn-line:hover { background: #05b54c; color: #fff; }

/* --------------------------------------------------------------------------
   フォーム（プラグイン出力を黒白赤トーンに整える）
   -------------------------------------------------------------------------- */
.h2-pform__body label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin: 16px 0 6px;
}
.h2-pform__body input[type="text"],
.h2-pform__body input[type="email"],
.h2-pform__body input[type="tel"],
.h2-pform__body input[type="url"],
.h2-pform__body input[type="number"],
.h2-pform__body textarea,
.h2-pform__body select {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.6;
}
.h2-pform__body textarea { min-height: 160px; resize: vertical; }
.h2-pform__body input:focus,
.h2-pform__body textarea:focus,
.h2-pform__body select:focus { outline: none; border-color: var(--h2-color-red); }
.h2-pform__body input[type="submit"],
.h2-pform__body button[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    margin-top: 22px;
    padding: 16px 44px;
    border: none;
    border-radius: 0;
    background: var(--h2-color-red);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}
.h2-pform__body input[type="submit"]:hover,
.h2-pform__body button[type="submit"]:hover { background: var(--h2-color-red-deep); }

/* --------------------------------------------------------------------------
   動画（16:9 レスポンシブ）／お客様の声・PV
   -------------------------------------------------------------------------- */
.h2-video {
    position: relative;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--h2-color-gray-line);
}
.h2-video iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0; display: block;
}
.h2-video + .h2-video { margin-top: 18px; }
.h2-video-cap { max-width: 880px; margin: 14px auto 0; font-size: 13px; color: var(--h2-color-gray-text); text-align: center; }

/* --------------------------------------------------------------------------
   実績例（リファレンス）
   -------------------------------------------------------------------------- */
.h2-ref-card { background: var(--h2-color-white); border: 1px solid #e0e0e0; padding: 26px 24px 28px; }
.h2-ref-card__title {
    display: inline-block;
    font-size: 16px; font-weight: 700; color: var(--h2-color-black);
    margin: 0 0 14px; padding-bottom: 10px;
    border-bottom: 2px solid var(--h2-color-red);
}
.h2-reflist { list-style: none; margin: 0; padding: 0; }
.h2-reflist li {
    position: relative;
    font-size: 13.5px; line-height: 1.7; color: #333;
    padding: 8px 0 8px 16px;
    border-bottom: 1px solid #eee;
}
.h2-reflist li:last-child { border-bottom: none; }
.h2-reflist li::before {
    content: ""; position: absolute; left: 0; top: 15px;
    width: 6px; height: 6px; background: var(--h2-color-red);
}
.h2-reflist a { color: var(--h2-color-red); text-decoration: underline; }
.h2-reflist a:hover { color: var(--h2-color-red-deep); }

/* --------------------------------------------------------------------------
   作例ギャラリー
   -------------------------------------------------------------------------- */
.h2-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.h2-gallery figure { margin: 0; }
.h2-gallery img {
    width: 100%; height: 100%;
    aspect-ratio: 3 / 2; object-fit: cover;
    display: block; border: 1px solid #e0e0e0;
}
.h2-gallery figcaption { font-size: 12px; color: #555; text-align: center; margin-top: 8px; }

/* --------------------------------------------------------------------------
   料金カード
   -------------------------------------------------------------------------- */
.h2-price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.h2-price-card { background: var(--h2-color-black-2); border: 1px solid var(--h2-color-gray-line); }
.h2-price-card__head {
    display: flex; align-items: center; gap: 14px;
    padding: 15px 20px;
    background: linear-gradient(120deg, var(--h2-color-red) 0 78%, var(--h2-color-red-deep) 78% 100%);
}
.h2-price-card__num { font-family: var(--h2-font-en); font-size: 22px; line-height: 1; color: #fff; }
.h2-price-card__name { margin: 0; font-size: 16px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.h2-price-list { margin: 0; }
.h2-price-list > div {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.h2-price-list > div:last-child { border-bottom: none; }
.h2-price-list dt { margin: 0; font-size: 14px; line-height: 1.5; color: #eee; }
.h2-price-list dt small { display: block; margin-top: 2px; font-size: 11px; color: var(--h2-color-gray-text); }
.h2-price-list dd {
    margin: 0;
    font-family: var(--h2-font-en); font-size: 18px; font-weight: 700;
    color: #ff5a5a; white-space: nowrap;
}
.h2-price-note {
    grid-column: 1 / -1;
    margin: 6px 0 0;
    padding: 16px 20px;
    border-left: 4px solid var(--h2-color-red);
    background: rgba(255,255,255,.05);
    color: var(--h2-color-gray-text);
    font-size: 13px; line-height: 1.8;
}

/* --------------------------------------------------------------------------
   料金早見表（category → 目安）
   -------------------------------------------------------------------------- */
.h2-rate { border: 1px solid var(--h2-color-gray-line); background: var(--h2-color-black-2); }
.h2-rate__row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.h2-rate__row:last-child { border-bottom: none; }
.h2-rate__cat { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.5; }
.h2-rate__cat small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--h2-color-gray-text); }
.h2-rate__price { font-family: var(--h2-font-en); font-size: 18px; font-weight: 700; color: #ff5a5a; white-space: nowrap; }
.h2-rate__btn { margin-top: 22px; }

/* --------------------------------------------------------------------------
   サービス詳細ページへのバナーカード（画像＋リンク）
   -------------------------------------------------------------------------- */
.h2-svclink {
    display: flex;
    flex-direction: column;
    background: var(--h2-color-white);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease;
}
.h2-svclink:hover { border-color: var(--h2-color-red); }
.h2-svclink__media { aspect-ratio: 16 / 9; background: var(--h2-color-black-3); overflow: hidden; }
.h2-svclink__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.h2-svclink:hover .h2-svclink__media img { transform: scale(1.04); }
.h2-svclink__body { padding: 18px 20px 20px; }
.h2-svclink__title { font-size: 17px; font-weight: 900; color: var(--h2-color-black); margin: 0 0 8px; line-height: 1.4; }
.h2-svclink__desc { font-size: 13px; color: #555; line-height: 1.8; margin: 0 0 12px; }
.h2-svclink__more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--h2-color-red); }

/* --------------------------------------------------------------------------
   各サービス詳細カード
   -------------------------------------------------------------------------- */
.h2-svc {
    background: var(--h2-color-white);
    border: 1px solid #e0e0e0;
    padding: 30px 28px 28px;
    display: flex;
    flex-direction: column;
}
.h2-svc__num { font-family: var(--h2-font-en); font-size: 13px; letter-spacing: .12em; color: var(--h2-color-red); }
.h2-svc__name { font-size: 19px; font-weight: 900; color: var(--h2-color-black); margin: 6px 0 14px; line-height: 1.4; }
.h2-svc__content { font-size: 13.5px; line-height: 1.9; color: #333; margin: 0 0 18px; }
.h2-svc__sub { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--h2-color-red); margin: 0 0 9px; }
.h2-svc__examples { margin: 0 0 18px; }
.h2-svc__prices { margin: 0 0 4px; }
.h2-svc__prices > div {
    display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
    padding: 9px 0;
    border-bottom: 1px dotted #ddd;
}
.h2-svc__prices > div:last-child { border-bottom: none; }
.h2-svc__prices dt { margin: 0; font-size: 13px; color: #333; line-height: 1.5; }
.h2-svc__prices dt small { display: block; margin-top: 1px; font-size: 11px; color: #888; }
.h2-svc__prices dd { margin: 0; font-family: var(--h2-font-en); font-size: 16px; font-weight: 700; color: var(--h2-color-red); white-space: nowrap; }
.h2-svc__cta {
    margin-top: auto;
    padding-top: 18px;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: var(--h2-color-red);
}
.h2-svc__cta:hover { color: var(--h2-color-red-deep); }

/* --------------------------------------------------------------------------
   料金導線ブロック（/work/ → /service/）
   -------------------------------------------------------------------------- */
.h2-priceguide {
    position: relative;
    max-width: 920px; margin: 0 auto;
    padding-left: calc(var(--h2-container-pad) + 22px);
}
.h2-priceguide__label { font-family: var(--h2-font-en); font-size: 11px; letter-spacing: .18em; color: var(--h2-color-red); display: block; margin-bottom: 12px; }
.h2-priceguide__title { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; color: var(--h2-color-white); margin: 0 0 14px; line-height: 1.45; }
.h2-priceguide__text { font-size: 14px; line-height: 1.95; color: var(--h2-color-gray-text); margin: 0 0 22px; }
.h2-priceguide .h2-srv-line--v { left: var(--h2-container-pad); }

/* --------------------------------------------------------------------------
   所有スキル
   -------------------------------------------------------------------------- */
.h2-skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.h2-skill-tag {
    font-size: 13px; color: var(--h2-color-white);
    background: var(--h2-color-black-2);
    border: 1px solid var(--h2-color-gray-line);
    padding: 8px 16px;
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
    .h2-pgrid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .h2-pgrid--2,
    .h2-pgrid--3 { grid-template-columns: 1fr; }
    .h2-pinfo-list { grid-template-columns: 1fr; }
    .h2-price-grid { grid-template-columns: 1fr; }
    .h2-gallery { grid-template-columns: 1fr; }
    .h2-gallery img { aspect-ratio: 16 / 10; }
}
