@charset "UTF-8";

/* =========================================
   リセットCSSの維持
   ========================================= */
html {
    scroll-behavior: smooth
}

blockquote, body, code, dd, div, dl, dt, fieldset, figure, form, h1, h2, h3, h4, h5, h6, input, legend, li, ol, p, pre, td, textarea, th, ul {
    margin: 0;
    padding: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

fieldset, img {
    border: 0
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal
}

ol, ul {
    list-style: none
}

ol li, ul li {
    list-style-position: inside
}

caption, th {
    text-align: left
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal
}

q:after, q:before {
    content: ""
}

abbr, acronym {
    border: 0;
    font-variant: normal
}

sup {
    vertical-align: text-top
}

sub {
    vertical-align: text-bottom
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit
}

input, select, textarea {
    *font-size: 100%
}

legend {
    color: #000
}

*, :after, :before {
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box
}

strong {
    font-weight: bold
}

hr {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #ccc
}

html {
    height: 100%
}

body {
    background: #fff;
    font-family: "Lato", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    height: 100%;
    padding-top: 86px!important
}

body.no-scroll {
    overflow: hidden;
}

body.admin-bar .header {
    top: 32px
}

/* =========================================
   Header (ヘッダー)
   ========================================= */
.header {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 86px;
    transition: all 0.3s;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
    justify-content: space-between;
}

.header .header_logo {
    max-width: 250px;
    padding: 0 20px
}

.header .header_logo img {
    width: 100%;
    max-width: 216px
}

/* Gnav (PC) */
.gnav {
    display: flex; /* PCでの表示を維持 */
}

.gnav > ul {
    display: flex
}

.gnav > ul > li {
    box-sizing: border-box;
    padding: 0 15px;
    text-align: center
}

.gnav > ul > li > a {
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
    color: black;
    font-size: 25px
}

.gnav > ul > li > a:hover {
    opacity: 0.8
}

/* ハンバーガーボタン（PCでは非表示） */
.hamburger {
    display: none;
}


/* =========================================
   Footer (フッター)
   ========================================= */
.footer {
    position: sticky;
    top: 100vh;
    background-color: #fff;
}

.footer .footer_logo {
    max-width: 250px;
    padding: 0 20px
}

.footer .footer_logo img {
    width: 100%;
    max-width: 216px
}

.footer_gnav {
    margin-left: 20px;
    font-size: 20px
}

footer .footer_gnav a {
    color: #000;
    text-decoration: none;
}


.footer .footer_copyright {
    width: 100%;
    text-align: center;
    color: black
}

/* =========================================
   Sections (セクション共通)
   ========================================= */
.section {
    scroll-margin-top: 86px;
    padding: 70px 0
}

.section.is-black {
    background-color: #000
}

.section .section_inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px
}

.section .section_header {
    position: relative;
    padding-bottom: 20px
}

.section .section_header .section_headerBtn {
    position: absolute;
    top: 36px;
    right: 0
}

/* =========================================
   Section Concept (About) - PC時
   ========================================= */

/* Aboutセクションのコンテンツ（見出しと本文）を中央に寄せるための調整 */
.section.section-concept .section_inner {
    justify-content: center; 
}

.section.section-concept .section_inner .section_body {
    padding-left: 30px;
    padding-top: 30px;
    flex-direction: column;
    justify-content: space-between
}

.section.section-concept .section_inner .section_body p {
    line-height: 2
}

/* =========================================
   Section Info (インフォメーション)
   ========================================= */
.section.section-info .section_inner {
    display: flex;
    flex-wrap: wrap
}

/* =========================================
   Full Width (全幅)
   ========================================= */
.is-full .section .section_inner {
    max-width: none;
    padding-left: 0;
    padding-right: 0
}

.is-full .section_header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto
}

/* =========================================
   Button (ボタン)
   ========================================= */
.btn {
    position: relative;
    font-weight: bold;
    line-height: 1.4;
    display: inline-block;
    padding: 10px 30px;
    transition: 0.3s;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    border: 1px solid #707070;
    font-size: 14px
}

.btn:hover {
    opacity: 0.8
}

.btn-primary:after {
    position: absolute;
    top: 50%;
    right: 1.5em;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0da";
    transition: 0.3s;
    transform: translateY(-50%);
    color: #000;
    font-size: 14px
}

.btn-primary:hover {
    text-decoration: none;
    background-position: right center
}

.btn-primary:hover:after {
    right: 1.2em
}


.btn-more {
    border: none;
    text-align: left;
    max-width: 180px;
    width: 285px
}

.btn-more:after {
    position: absolute;
    content: "";
    width: 48px;
    height: 15px;
    background: url("../img/common/btn-arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    top: 50%;
    margin-top: -8px;
    font-size: 14px
}

/* =========================================
   Card (カード)
   ========================================= */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card .card_body {
    display: flex;
    flex-direction: column;
    height: 100%
}

.card .card_pic {
    overflow: hidden;
    height: 10;
    padding-bottom: 150px;
}

.card .card_pic:hover img {
    transform: scale(1.1)
}

.card .card_pic img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.card .card_title {
    font-weight: bold;
    line-height: 1.2;
    padding-bottom: 30px;
    font-size: 18px
}


.cardList {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px
}

.cardList .cardList_item {
    width: 33.3333333333%;
    padding: 0 15px 80px
}

.cardList .cardList_item a {
    text-decoration: none;
    color: #000;
    transition: 0.3s
}

.cardList .cardList_item a:hover {
    opacity: 0.8
}

.cardList .cardList_item:nth-child(3n) {
    margin-right: 0
}

.cardList .cardList_item:last-child {
    margin-bottom: 0
}

/* =========================================
   Heading (見出し)
   ========================================= */
.is-black .heading {
    color: #fff
}

.is-black .heading:after {
    background: linear-gradient(to right, #fff 5%, #fff 5%, #fff 100%)
}

.heading {
    font-weight: bold;
    line-height: 1.2
}

.heading > span {
    display: block;
    padding-bottom: 10px;
    letter-spacing: 0.05em;
    font-size: 14px
}

.heading-primary {
    position: relative;
    display: block;
    margin-bottom: 15px;
    padding-bottom: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000;
    font-size: 36px
}

.heading-primary:after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
    background: linear-gradient(to right, #000 5%, #ccc 5%, #ccc 100%)
}

/* =========================================
   Page Top (トップへ戻る)
   ========================================= */
.pageTop {
    position: fixed;
    right: 45px;
    bottom: 50px;
    z-index: 1;
    display: none
}

.pageTop > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 77px;
    height: 77px;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    background-color: #000;
    color: #fff;
    border-radius: 50%
}

.pageTop > a span {
    font-size: 10px;
    margin-top: 5px
}

.pageTop > a:hover {
    opacity: 0.8
}

/* =========================================
   KV (メインビジュアル)
   ========================================= */
.kv {
    position: relative;
    width: 100%;
    height: 80vh
}

.kv .kv_slider {
    position: absolute;
    width: 100%;
    z-index: 998
}

.kv .kv_slider .kv_sliderItem {
    width: 100%;
    height: 80vh;
    background-repeat: no-repeat;
    background-size: cover
}

.kv .kv_inner {
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

.kv .kv_title {
    font-size: 100px;
    line-height: 1;
    font-weight: bold;
    color: #fff;
    text-align: center
}

.kv .kv_subtitle {
    font-size: 40px;
    padding-top: 40px;
    line-height: 1;
    font-weight: bold;
    color: #fff;
    text-align: center
}


.kv .kv_scroll {
    position: absolute;
    z-index: 1000;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center
}

.kv .kv_scroll .kv_scrollLink {
    display: inline-block;
    text-decoration: none
}

.kv .kv_scroll .kv_scrollLink p {
    font-weight: bold;
    text-align: center;
    color: #fff;
    font-size: 18px
}

.kv .kv_scroll .kv_scrollLink .kv_scrollIcon {
    padding: 4px;
    text-align: center;
    color: #fff
}

/* =========================================
   Content (WPの本文エリア用想定)
   ========================================= */
.content * {
    font-family: "游ゴシック体", sans-serif
}

.content h2 {
    font-size: 20px;
    border-left: 3px solid #000;
    font-weight: bold;
    margin-bottom: 15px;
    padding-left: 15px
}

.content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 1em
}

.content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px
}

.content p:last-child {
    margin-bottom: 0
}

.content a {
    color: #000
}

.content a:hover {
    text-decoration: none
}

.content em {
    font-weight: bold;
    font-style: italic
}

.content iframe {
    width: 100%;
    margin-bottom: 30px
}

.content table {
    border-collapse: collapse;
    width: 100%
}

.content table td, .content table th {
    padding: 0.5em
}

.content .is-style-stripes table tbody tr:nth-child(odd) {
    background-color: #f0f0f0
}


.content > * {
    margin-right: auto;
    margin-left: auto
}

.content > :not(.alignfull), .content > :not(.alignwide) {
    max-width: var(--wp--style--global--content-size)
}

.content > .alignwide {
    max-width: var(--wp--style--global--wide-size)
}

.content > .alignfull {
    max-width: none
}

/* =========================================
   Info List (インフォメーションリスト)
   ========================================= */
.infoList {
    margin-left: 20px;
    padding: 0
}


.infoList .infoList_item:before {
    position: absolute;
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #000;
    left: 0;
    top: 25px
}

.infoList .infoList_item:first-child:before {
    content: "\f017"
}

.infoList .infoList_item:nth-child(2):before {
    content: "\f3cf"
}

.infoList .infoList_item .infoList_prepend {
    display: block;
    font-size: 14px
}

.infoList .infoList_item .infoList_num {
    display: inline-block;
    font-size: 26px;
    font-weight: bold
}

.infoList .infoList_item .infoList_btn {
    margin: 15px 0;
    width: 100%;
    max-width: 285px
}

/* =========================================
   Company Profile (会社概要) - PC
   ========================================= */
.company-profile-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.profile-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.profile-item dt {
    width: 150px;
    flex-shrink: 0;
    font-weight: 700;
    color: #333;
    padding-right: 20px;
    position: relative;
}

.profile-item dt::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 60%;
    width: 2px;
    background-color: #007bff;
}

.profile-item dd {
    flex-grow: 1;
    margin-left: 0;
    color: #555;
    line-height: 1.8;
}

.tel-item dd .tel-note {
    font-size: 0.85em;
    color: #888;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dashed #eee;
}

.profile-list .profile-item:last-child {
    border-bottom: none;
}

/* =========================================
   Flow Section (制作・契約までの流れ) - PC
   ========================================= */
.flow-section {
    padding: 60px 20px;
    background-color: #f7f7f7;
}

.flow-section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

.flow-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #ddd;
    z-index: 1;
}

.flow-step {
    display: flex;
    position: relative;
    margin-bottom: 40px;
    z-index: 2;
}

.flow-step:nth-child(even) {
    flex-direction: row-reverse;
}

.flow-step:nth-child(odd) {
    justify-content: flex-start;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 5px solid #f7f7f7;
    box-shadow: 0 0 0 2px #007bff;
}

.step-content {
    flex-grow: 1;
    padding: 15px 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin: 0 30px;
    max-width: calc(50% - 60px);
    transition: transform 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
}

.flow-step:nth-child(even) .step-content {
    margin-right: 0;
    margin-left: 30px;
}

.flow-step:nth-child(odd) .step-content {
    margin-left: 0;
    margin-right: 30px;
}

.step-title {
    font-size: 1.3em;
    color: #007bff;
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.step-description {
    color: #555;
    line-height: 1.6;
}

.final-step .step-circle {
    background-color: #28a745;
    box-shadow: 0 0 0 2px #28a745;
}

/* =========================================
   Media Queries (統合・最適化)
   ========================================= */

/* 767px 以下のデバイスに適用 */
@media screen and (max-width: 767px) {
    
    /* === 1. Header & Hamburger Menu === */
    
    /* PCのナビゲーションを隠し、ハンバーガーメニューとして機能させる */
    .gnav {
        display: block;
        position: fixed;
        top: 0;
        left: 100%; 
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        padding-top: 86px;
        transition: left 0.4s ease;
        z-index: 90;
        overflow-y: auto;
    }
    
    .gnav.is-active {
        left: 0;
    }
    
    .gnav > ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .gnav > ul > li {
        padding: 0;
        border-bottom: 1px solid #eee;
    }
    
    .gnav > ul > li > a {
        display: block;
        padding: 15px 0;
        font-size: 1.5em;
        text-align: center;
    }
    
    /* ハンバーガーボタンの表示とスタイリング */
    .hamburger {
        display: block;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        padding: 0;
        position: relative;
        z-index: 100;
        cursor: pointer;
        margin-right: 15px;
    }

    .hamburger-bar {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        margin: 8px 0;
        transition: transform 0.3s, opacity 0.3s;
    }
    
    .hamburger.is-active .hamburger-bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .hamburger.is-active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.is-active .hamburger-bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .header .header_logo img {
        width: 60%;
    }
    
    /* === 2. KV (メインビジュアル) === */
    .kv .kv_title {
        font-size: 40px;
    }
    .kv .kv_subtitle {
        font-size: 20px;
    }
    
    /* === 3. Section Concept (About) - スマホで中央寄せ === */
    .section.section-concept .section_inner {
        display: flex;
        flex-direction: column; /* 縦並びにする */
        align-items: center; /* 横方向の中央寄せ */
    }

    .section.section-concept .section_header {
        width: 100%; /* 幅を元に戻す */
        text-align: center; /* 見出しを中央に */
        margin-bottom: 30px;
    }
    
    .section.section-concept .section_inner .section_body {
        width: 100%;
        padding-left: 0;
        padding-top: 0;
        text-align: center;
    }

    /* Company Profile (会社概要) - スマホで縦並びと中央寄せ */
    .company-profile-container {
        margin: 20px auto;
        padding: 0 10px;
    }
    .profile-item {
        display: block;
        padding: 15px 0;
        text-align: left; /* リスト内は左寄せを維持 */
    }
    .profile-item dt {
        width: auto;
        padding-right: 0;
        margin-bottom: 5px;
        font-size: 1.1em;
        color: #007bff;
    }
    .profile-item dt::after {
        display: none;
    }
    .profile-item dd {
        padding-left: 10px;
    }

    /* === 4. Works (制作実績) === */
    .cardList {
        flex-direction: column;
    }
    .card .card_pic {
        overflow: hidden;
        height: 10;
        padding-bottom: 0px;
    }
    .cardList .cardList_item {
        width: 100%;
        margin: 0 auto 20px;
        padding-bottom: 30px
    }
    
    /* === 5. Info Section (インフォメーション) === */
    .section.section-info .section_inner {
        flex-direction: column
    }
    .infoList .infoList_item .infoList_num {
        font-size: 20px;
    }
    
    /* === 6. Footer === */
    .footer_gnav {
        margin-left: 10px;
        font-size: 20px
    }
    .footer .footer_logo {
        max-width: 250px;
        padding: 0 5px
    }

    /* === 7. Flow Section (制作・契約までの流れ) - スマホ専用シンプルカードレイアウト === */
    
    .flow-section-title {
        font-size: 30px;
    }
    
    /* PCのタイムライン関連要素を非表示/リセット */
    .flow-timeline {
        overflow-x: hidden;
        padding-left: 0;
        max-width: 100%;
    }
    .flow-timeline::before {
        display: none; 
    }
    
    /* flow-stepを中央寄せ、カードとして表示 */
    .flow-step {
        width: 90%; /* スマホで見やすいように幅を少し狭める */
        margin: 0 auto 20px auto; /* 上下マージンと中央寄せ */
        padding: 15px; 
        flex-direction: column; /* 縦並びのカードにする */
        align-items: flex-start; /* コンテンツは左寄せ */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* カードの影 */
        background-color: #fff;
        border-radius: 8px;
        border-bottom: none; /* 区切り線は不要 */
    }
    
    /* 偶数番目の反転を解除 */
    .flow-step:nth-child(even) {
        flex-direction: column;
    }

    /* ステップ円 (01, 02...) をカードの左上に配置 */
    .step-circle {
        position: static;
        margin: 0 0 5px 0;
        flex-shrink: 0;
        border: none;
        box-shadow: none;
        background-color: #007bff;
        width: 30px; /* サイズを小さくする */
        height: 30px;
        font-size: 1em;
        line-height: 30px;
        color: #fff;
        text-align: center;
        float: left; /* タイトルの横に配置 */
        margin-right: 10px;
    }
    
    .step-content,
    .flow-step:nth-child(even) .step-content {
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        transform: none;
        text-align: left; /* テキストは左寄せ */
        /* タイトルと説明文を円の右側にずらす */
        clear: both; /* ステップ円がfloatしているのでクリア */
        padding-top: 5px;
    }

    .step-title {
        border-bottom: none;
        padding-bottom: 0;
        font-size: 1.1em;
        margin-bottom: 5px;
        color: #333; /* 色を落ち着かせる */
    }
    
    .step-description {
        font-size: 0.9em;
    }
    
    /* タイトルと円が重ならないように再調整 */
    .flow-step .step-title {
        display: inline-block;
        font-size: 1.2em;
        margin-bottom: 10px;
        padding-left: 40px; /* 円(30px) + 隙間(10px) のスペースを確保 */
        margin-top: -30px; /* 円と同じ高さまで持ち上げる */
    }
    
    .flow-step .step-description {
        margin-top: 5px;
    }

    .flow-step .step-circle {
        float: none;
        position: absolute;
        top: 15px;
        left: 15px;
    }
}

/* ランドスケープモード（横向き）で高さが450px以下の設定は維持 */
@media (orientation:landscape) and (max-height: 450px){
    .kv .kv_title{
        font-size:40px;
    }
    .kv .kv_subtitle{
        font-size:20px;
    }
    .card .card_pic {
        padding-bottom: 100px;
    }
}





