@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 {
    /* 背景色を画像に合わせて黒に設定 */
    background-color:#f8f4f4;
    /* フッター内の文字色を白に設定 */
    color: #fff;
    /* 全体的な内側の余白 */
    padding: 20px 40px; 
    font-size: 14px; /* 全体のフォントサイズ調整 */
}

/* -----------------------------------------
 * フッター上段 (ロゴとナビゲーション)
 * ----------------------------------------- */
.footer_top {
    /* Flexboxでロゴとナビを左右に配置 */
    display: flex;
    justify-content: space-between; /* 両端に寄せる */
    align-items: center; /* 垂直方向中央揃え */
    padding: 10px 0;
}

.footer .footer_logo a img {
    /* ロゴのサイズ調整。画像では比較的コンパクト */
    height: 30px; 
    width: auto;
    /* ロゴ画像自体が黒背景に白文字である必要があります */
}

.footer_gnav {
    display: flex; /* ナビの各リンクを横並びにする */
    gap: 30px; /* リンク間の間隔 */
}

.footer_gnav a {
    /* リンクの色を白に、下線を非表示に */
    color: black;
    text-decoration: none;
    font-weight: bold; /* メニューの文字を太字に */
    white-space: nowrap; /* 折り返しを防ぐ */
}

/* -----------------------------------------
 * 区切り線
 * ----------------------------------------- */
.footer_divider {
    /* 罫線を表現するためにhrタグにスタイルを適用 */
    border: 0;
    height: 1px;
    background-color: #333; /* 暗い灰色で目立たない線 */
    margin: 20px 0;
}

/* -----------------------------------------
 * フッター下段 (プライバシーポリシーとコピーライト)
 * ----------------------------------------- */
.footer_bottom {
    /* Flexboxでプライバシーポリシーとコピーライトを左右に配置 */
    display: flex;
    justify-content: space-between; /* 両端に寄せる */
    align-items: center;
    padding-bottom: 10px;
}

.privacy a {
    color: black;
    text-decoration: none;
}

.footer_copyright small {
    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
}

.explanation{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0px;
}

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

}

.section .section_header .section_headerBtn a{
    font-size: 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}



/* =========================================
   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 (インフォメーション)
   ========================================= */

/* =========================================
   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: 80px;
}

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

.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: 15px;
    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 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;
}

.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: #f90;
    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 #f90;
}

.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: #f90;
    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: #5b920b;
    box-shadow: 0 0 0 2px #5b920b;
}


/*以下、NEWSのCSS*/

:root {
  --primary-blue: #5b920b;
  --bg-gray: #e8e7e1;
  --text-black: #000;
  --white: #ffffff;
}

.outer {
  background-color: var(--bg-gray);
  color: var(--text-black);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

/* 右上の装飾（簡易再現） */
.outer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(135, 206, 250, 0.4) 0%, transparent 70%);
  z-index: -1;
}

.inner_wide {
  max-width: 1000px;
  margin: 0 auto;
}

/* ヘッダーセクション */
.Heading_title__Y4qKI {
  margin-bottom: 60px;
}

/* フィルタータグ */
.Tags_tags__w7qPK {
  display: flex;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  justify-content: center;
  gap: 10px;
}

.Tag_tag__JZFoh {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--primary-blue);
  border-radius: 20px;
  text-decoration: none;
  color: var(--primary-blue);
  font-size: 14px;
  transition: all 0.3s ease;
}

.Tag_active__5HnY_ {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* ニュースリスト */
.page_list__8y6my {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.CardNews_item__OyyIX {
  background-color: var(--white);
  padding: 30px 40px;
  border-radius: 10px;
  display: flex;
  flex-direction: column-reverse; /* 日付・タグを上に、タイトルを下に */
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.CardNews_title__VqQrs {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.CardNews_title__VqQrs a {
  text-decoration: none;
  color: var(--text-black);
}

.CardNews_tag__uT1vt {
  display: flex;
  align-items: center;
  gap: 15px;
}

.CardNews_time__jsr4t {
  font-size: 14px;
  color: var(--primary-blue);
  font-weight: bold;
}

/* カード内の小さなタグ */
.CardNews_tag__uT1vt .Tag_tag__JZFoh {
  padding: 2px 12px;
  font-size: 11px;
}

/* パジネーション */
.Pagination_pagination__6AKf1 {
  display: flex;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin-top: 60px;
  gap: 15px;
}

.Pagination_link__v8KeI {
  cursor: pointer;
  text-decoration: none;
  color: var(--text-black);
}

.Pagination_active__ZJnj3 {
  font-weight: bold;
  border-bottom: 2px solid var(--text-black);
}





/* =============================================
   デザインの基本設定
   ============================================= */
.outer {
    background-color: #e8e7e1;
    padding: 60px 20px;
}

.inner_wide {
    max-width: 1000px;
    margin: 0 auto;
}

/* カテゴリー選択ボタンの装飾 */
.Tags_tags__w7qPK {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-filter {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid #5b920b;
    border-radius: 20px;
    cursor: pointer;
    color: #5b920b;
    background: transparent;
    transition: 0.3s;
    font-size: 14px;
}

/* ニュースカードの装飾 */
.page_list__8y6my {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.CardNews_item__OyyIX {
    background: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    flex-direction: column-reverse; /* 日付をタイトルの上に */
    gap: 10px;
}

.CardNews_title__VqQrs a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.CardNews_tag__uT1vt {
    display: flex;
    align-items: center;
    gap: 15px;
}

.CardNews_time__jsr4t {
    color: #5b920b;
    font-weight: bold;
    font-size: 14px;
}

.post-category-label {
    border: 1px solid #5b920b;
    color: #5b920b;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 11px;
}

/* --- 表示切り替えのロジック --- */

/* 1. デフォルト：全て表示 */
.CardNews_item__OyyIX { 
    display: flex; 
}

/* 2. 「お知らせ」がチェックされた時 */
/* カテゴリー「news」を持っていない記事を非表示にする */
#filter-info:checked ~ .page_content__3PFss .page_list__8y6my article:not(.cat-news) {
    display: none;
}

/* 3. 「コラム」がチェックされた時 */
/* カテゴリー「column」を持っていない記事を非表示にする */
#filter-column:checked ~ .page_content__3PFss .page_list__8y6my article:not(.cat-column) {
    display: none;
}

/* --- ボタンのアクティブ（選択中）表示 --- */
#filter-all:checked ~ .page_content__3PFss .btn-all,
#filter-info:checked ~ .page_content__3PFss .btn-info,
#filter-column:checked ~ .page_content__3PFss .btn-column {
    background-color: #5b920b; /* メインの青 */
    color: #fff;
    border-color: #5b920b;
}

/* 選択ボタンの基本スタイル（共通） */
.btn-filter {
    cursor: pointer;
    padding: 8px 25px;
    border: 1px solid #5b920b;
    border-radius: 20px;
    color: #5b920b;
    display: inline-block;
    transition: 0.3s;
}


/* =========================================
   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; /* 横方向の中央寄せ */
    }

    .explanation{
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    padding: 5px 0px;
}

    .section.section-concept .section_header {
        width: 100%; /* 幅を元に戻す */
        
        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: #5b920b;
    }
    .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_top {
    /* Flexboxでロゴとナビを左右に配置 */
    display: flex;
    justify-content: space-between; /* 両端に寄せる */
    align-items: center; /* 垂直方向中央揃え */
    padding: 10px 0;
}

.footer .footer_logo a img {
    /* ロゴのサイズ調整。画像では比較的コンパクト */
    height: 30px; 
    width: auto;
    /* ロゴ画像自体が黒背景に白文字である必要があります */
}

.footer_gnav {
    display: flex; /* ナビの各リンクを横並びにする */
    gap: 10px; /* リンク間の間隔 */
}

.footer_gnav a {
    /* リンクの色を白に、下線を非表示に */
    color: black;
    text-decoration: none;
    font-weight: bold; /* メニューの文字を太字に */
    white-space: nowrap; /* 折り返しを防ぐ */
}

/* -----------------------------------------
 * 区切り線
 * ----------------------------------------- */
.footer_divider {
    /* 罫線を表現するためにhrタグにスタイルを適用 */
    border: 0;
    height: 1px;
    background-color: #333; /* 暗い灰色で目立たない線 */
    margin: 20px 0;
}

/* -----------------------------------------
 * フッター下段 (プライバシーポリシーとコピーライト)
 * ----------------------------------------- */
.footer_bottom {
    /* Flexboxでプライバシーポリシーとコピーライトを左右に配置 */
    display: flex;
    justify-content: space-between; /* 両端に寄せる */
    align-items: center;
    padding-bottom: 10px;
}

.privacy a {
    color: black;
    text-decoration: none;
}

.footer_copyright small {
    color: black;
}

    /* === 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{
        display: flex;
        flex-flow: column;
        align-items: flex-start; /* コンテンツは左寄せ */
        margin: 0 auto 20px auto; /* 上下マージンと中央寄せ */
        padding: 15px; 
        width: 90%;
    }

    /* 偶数番目の反転を解除 */
    .flow-step:nth-child(even) {
        flex-direction: column;
    }
    .step-circle {
        position: static;
        margin: 0 0 5px 5px;
        flex-shrink: 0;
        border: none;
        box-shadow: none;
        background-color: #f90;
        width: 30px; /* サイズを小さくする */
        height: 30px;
        font-size: 1em;
        line-height: 30px;
        color: #fff;
        text-align: center;
        float: left; /* タイトルの横に配置 */
        margin-right: 10px;
    }

    .step-content {
        max-width: 100%;
        width: 90%;
    }

}



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





/*以下single.phpに関するCSS*/

.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 .section_desc {
    padding-bottom: 30px
}

.section .section_desc p {
    font-weight: bold;
    font-size: 16px
}

.section .section_body .section_pic {
    padding: 30px 0
}

.section .section_body .section_text p {
    line-height: 3;
    font-size: 16px
}

.section.section-concept .section_inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.section.section-concept .section_inner .section_headerWrapper {
    width: 50%
}

.section.section-concept .section_inner .section_pic {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -10px;
    padding-top: 0px
}

.section.section-concept .section_inner .section_pic>div {
    width: 33.3333333333%;
    padding: 0 10px;
    text-align: center
}

.section.section-concept .section_inner .section_pic>div img {
    height: auto;
    max-width: 100%
}

.section.section-concept .section_inner .section_body {
    width: 50%;
    padding-left: 30px;
    padding-top: 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

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

.section.section-concept .section_inner .section_btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 100%
}

.section.section-info .section_inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.section.section-info .section_content {
    width: calc(50% - 10px);
    margin-right: 20px
}

.section.section-info .section_pic {
    width: calc(50% - 10px);
    margin-right: 0
}

.section.section-info .section_pic img {
    height: auto;
    max-width: 100%
}

.section.section-access .section_inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse
}

.section.section-access .section_inner .section_pic {
    margin-bottom: 20px
}

.section.section-access .section_inner .section_pic img {
    height: auto;
    max-width: 100%
}

.section.section-access .section_inner .section_content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%
}

.section.section-access .section_inner .section_content .section_header {
    width: 15%
}

.section.section-access .section_inner .section_content .section_body {
    width: 85%;
    padding: 0 20px
}

.section.section-access .section_inner .section_content .section_btn {
    width: 100%;
    max-width: 350px;
    margin: 15px 0
}

.section.section-foodList .section_body {
    padding-top: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #ddd
}

.section.section-foodList .section_body:last-child {
    border-bottom: none
}

@media only screen and (max-width: 767px) {
    .section {
        padding:40px 0
    }

    .section.section-concept .section_inner {
        padding: 0 15px
    }

    .section.section-concept .section_content {
        width: 100%;
        margin: 0 auto
    }

    .section.section-concept .section_header {
        padding-bottom: 15px
    }

    .section.section-concept .section_picGroup {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center
    }

    .section.section-concept .section_body {
        width: 100%;
        margin-right: 0
    }

    .section.section-concept .section_text {
        font-size: 14px
    }

    .section.section-info .section_inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .section.section-info .section_inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .section.section-info .section_content {
        width: 100%;
        margin: 0 auto 20px
    }

    .section.section-info .section_pic {
        width: 100%;
        margin: 0 auto 20px
    }

    .section.section-access .section_inner .section_content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%
    }

    .section.section-access .section_inner .section_content .section_header {
        width: 25%
    }

    .section.section-access .section_inner .section_content .section_btn {
        width: 100%;
        max-width: 350px;
        margin: 15px 0
    }
}

.is-full .section .section_inner {
    max-width: none;
    padding-left: 0;
    padding-right: 0
}




















@media only screen and (max-width: 767px) {
    .post .post_content {
        padding:15px 0 30px
    }

    .post .post_prevNext {
        padding-top: 20px
    }

    .post .post_prevNext .post_prevNext_item a {
        font-size: 12px
    }

    .post .post_prevNext .post_prevNext_item a i {
        font-size: 18px
    }
}

.prevNext {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%
}

.prevNext .prevNext_item {
    height: 50px;
    width: 50%
}

.prevNext .prevNext_item a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    color: #000;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none
}

.prevNext .prevNext_item-prev a{
    height: 50px;
}

.prevNext .prevNext_item-prev svg{
    margin-top: 110px;
}

.prevNext .prevNext_item a i {
    color: #45C6E5;
    font-size: 28px
}

.prevNext .prevNext_item a span {
    display: inline-block;
    padding: 0 10px
}

.prevNext .prevNext_item a:hover span {
    text-decoration: underline
}

.prevNext .prevNext_item-prev {
    border-right: 1px solid #224163;
    margin-right: auto
}

.prevNext .prevNext_item-next {
    text-align: right;
    margin-left: auto
}

@media only screen and (max-width: 767px) {
    .prevNext {
        padding-top:20px
    }

    .prevNext .prevNext_item a {
        font-size: 12px
    }

    .prevNext .prevNext_item a i {
        font-size: 18px
    }
}









.category {
    margin-top: 20px;
    margin-bottom: 40px;
}

.category_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.category_item a {
    display: inline-block;
    padding: 6px 18px;
    background-color: transparent;
    border: 1px solid #224163;
    color: #224163;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category_item a:hover {
    background-color: #224163;
    color: #fff;
    transform: translateY(-2px);
}


