@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* Noto Sans JP を Google Fonts から読み込む */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/* サイト全体の基本的なフォントを Noto Sans JP に設定 */
body {
  font-family: "Noto Sans JP", "メイリオ", Meiryo, "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}


.must {
    color: white;
    font-weight: normal;
    font-size: small;
    background-color: #CC0505;
    padding: 2px;
}
.contact7 {
  display: flex;
  justify-content: center;
}
.contact7 dd {
padding-bottom: 5%;
}
.btn_contact7 {
  text-align: center;
}

.p-mainVisual__slideTitle {
    font-size: xx-large;
    font-family: "Arial Black", Gadget, sans-serif;
    font-weight: 800;
}

/**/
.m-2 {
padding: 5rem 0 0 0;
}

/* セクション */
.title_h3 {
  margin-top: 5% !important;
  font-size: 16px !important;
  text-align: center;
}

/*会社概要あ/
/* 会社概要ページ専用スタイル */
    .company-profile-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* ヘッダーセクション */
    .company-header {
        position: relative;
        height: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        color: white;
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
        background-size: cover;
        margin-bottom: 60px;
        border-radius: 8px;
        overflow: hidden;
    }

    .company-header h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .company-header p {
        font-size: 1.2rem;
        max-width: 600px;
        margin: 0 auto;
    }

    /* 会社情報セクション */
    .company-info {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 60px;
        gap: 40px;
    }

    .company-details {
        flex: 1;
        min-width: 300px;
    }

    .company-vision {
        flex: 1;
        min-width: 300px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
        padding-bottom: 10px;
        border-bottom: 2px solid #3498db;
        display: inline-block;
    }

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

    .info-table tr:not(:last-child) {
        border-bottom: 1px solid #eee;
    }

    .info-table th {
        text-align: left;
        padding: 15px 10px 15px 0;
        width: 30%;
        vertical-align: top;
        font-weight: bold;
    }

    .info-table td {
        padding: 15px 0;
    }

    /* 事業内容セクション */
    .services {
        margin-bottom: 60px;
    }

    .service-items {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 30px;
    }

    .service-card {
        background-color: #f9f9f9;
        border-radius: 8px;
        padding: 25px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .service-icon {
        font-size: 2.5rem;
        color: #3498db;
        margin-bottom: 15px;
    }

    .service-card h3 {
        margin-bottom: 15px;
    }

    /* 創業ストーリー */
    .founding-story {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        margin-bottom: 60px;
        align-items: center;
    }

    .story-content {
        flex: 1.5;
        min-width: 300px;
    }

    .story-image {
        flex: 1;
        min-width: 300px;
    }

    .story-image img {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    /* お問い合わせ */
    .contact-section {
        text-align: center;
        background-color: #f9f9f9;
        padding: 60px 20px;
        border-radius: 8px;
        margin-bottom: 60px;
    }

    .contact-section h2 {
        margin-bottom: 25px;
    }

    .contact-section p {
        max-width: 600px;
        margin: 0 auto 30px;
    }

    .cta-button {
        display: inline-block;
        background-color: #3498db;
        color: white;
        padding: 12px 30px;
        border-radius: 50px;
        font-weight: bold;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .cta-button:hover {
        background-color: #2980b9;
    }

    /* レスポンシブ対応 */
    @media (max-width: 768px) {
        .company-header h1 {
            font-size: 2rem;
        }

        .company-header p {
            font-size: 1rem;
        }

        .section-title {
            font-size: 1.5rem;
        }
    }

/*タイトル非表示*/
h1 {
display: none;
}
.l-mainContent__inner>.post_content {
margin-top: 0;
}

    /*テスト分*/
/* グローバル設定 */
/* トップページ用スタイル - 2025年Pantone 17-1230 Mocha Mousseをメインカラーとして使用 */
:root {
  --main-color: #A77F5C; /* Pantone 17-1230 Mocha Mousse */
  --main-color-light: #C4A48C;
  --main-color-dark: #8A6343;
  --text-color: #333333;
  --bg-color: #FAFAFA;
  --white: #FFFFFF;
  --accent-color: #4A6670; /* 相性の良い補色 */
}

/* 全体のスタイル */
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  z-index: 1;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  z-index: 1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta .wp-block-button__link {
  background-color: var(--main-color);
  color: var(--white);
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  z-index: 1;
}

.hero-cta .wp-block-button__link:hover {
  background-color: var(--main-color-dark);
}

/* セクション共通 */
section.wp-block-group {
  padding: 5rem 2rem;
}

section h2.wp-block-heading {
  font-size: 2.5rem;
  text-align: center;
  color: var(--main-color);
  margin-bottom: 3rem;
  position: relative;
}

section h2.wp-block-heading:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--main-color);
  margin: 1rem auto 0;
}

/* 会社紹介セクション */
.about-section {
  background-color: var(--bg-color);
}

.about-section > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.company-values {
  margin-top: 3rem;
}

.company-values .wp-block-column {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.company-values .wp-block-column:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.company-values h3 {
  font-size: 1.5rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

/* 事業内容セクション */
.services-section {
  background-color: var(--white);
}

.services-container {
  margin-top: 2rem;
}

.service-card {
  padding: 2.5rem;
  background-color: var(--bg-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--main-color);
  margin-bottom: 1rem;
  position: relative;
}

.service-card h3:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--main-color-light);
  margin-top: 0.5rem;
}

.service-features {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
}

.service-features li {
  margin-bottom: 0.5rem;
}

/* お問い合わせセクション */
.contact-section {
  background-color: var(--main-color-light);
  text-align: center;
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section h2:after {
  background-color: var(--white);
}

.contact-button .wp-block-button__link {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 15px 40px;
  font-size: 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 2rem;
}

.contact-button .wp-block-button__link:hover {
  background-color: #3A5361;
}

/* アコーディオンメニュー（スマホ用） */
.sp-only {
  display: none;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  section h2.wp-block-heading {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  section.wp-block-group {
    padding: 4rem 1.5rem;
  }

  section h2.wp-block-heading {
    font-size: 2rem;
  }

  .company-values .wp-block-column {
    margin-bottom: 2rem;
  }

  .service-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  section.wp-block-group {
    padding: 3rem 1rem;
  }

  section h2.wp-block-heading {
    font-size: 1.8rem;
  }

  /* スマホ用アコーディオン表示 */
  .sp-only {
    display: block;
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .accordion-content.open {
    max-height: 500px;
  }

  .toggle-button {
    width: 100%;
    text-align: center;
  }

  .toggle-button .wp-block-button__link {
    background-color: var(--main-color);
    width: 100%;
    font-size: 0.9rem;
    padding: 8px 15px;
  }


    .hero-section {
        position: relative;
        background-color: #000;
        color: #fff;
        text-align: center;
    }
    .hero-video-container {
        position: relative;
    }
    .hero-video-container video {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .cta-button {
        background-color: #ff9900;
        padding: 10px 20px;
        font-size: 16px;
        color: white;
        text-decoration: none;
        border-radius: 5px;
    }
    .cta-button:hover {
        background-color: #e68900;
    }
    .about-section {
        padding: 60px 20px;
        background-color: #f9f9f9;
    }
    .about-values {
        display: flex;
        justify-content: space-around;
        margin-top: 40px;
    }
    .value-card {
        text-align: center;
        padding: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-width: 250px;
    }
    .service-card-container {
        display: flex;
        justify-content: space-around;
        margin-top: 40px;
    }
    .service-card {
        text-align: center;
        padding: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-width: 300px;
    }
    .service-details-button {
        color: #ff9900;
        text-decoration: none;
        font-weight: bold;
    }
    .service-details-button:hover {
        text-decoration: underline;
    }

}

/* メインビジュアル テキストのフォントサイズ調整 */
.mv-overlay {
  position: absolute; /* または fixed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* 必要に応じて調整 */
}
/* デフォルトのオーバーレイ画像スタイル (必要に応じて調整) */
.mv-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* スマートフォン向けのスタイル (画面幅が 767px 以下の場合) */
@media screen and (max-width: 767px) {
  .mv-overlay img {
    width: 100%; /* 親要素いっぱいの幅 */
    height: 100%; /* 親要素いっぱいの高さ */
    object-fit: cover; /* 要素全体を覆うようにリサイズ */
    /* 中央配置のスタイルは不要になる可能性 */
    top: auto;
    left: auto;
    transform: none;
  }
}

.mv-container {
  position: relative; /* 親要素を相対配置にする (念のため) */
}

.mv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* 動画より手前に配置 */
  pointer-events: none; /* 画像をクリックできないようにする場合 */
}

.mv-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-text-overlay {
  position: absolute; /* 絶対配置で重ねる */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央に配置 */
  z-index: 3; /* 画像よりも手前に表示 */
  color: #fff; /* テキストの色 (必要に応じて変更) */
  text-align: center; /* テキストを中央揃え (必要に応じて変更) */
  width: 80%; /* テキストの幅 (必要に応じて調整) */
}

.mv-text-overlay h1 {
  font-size: 2rem; /* キャッチコピーのフォントサイズ (必要に応じて調整) */
  margin-bottom: 10px;
}

.mv-text-overlay p {
  font-size: 1rem; /* 説明文のフォントサイズ (必要に応じて調整) */
}

/* スマートフォン向けのスタイル (必要に応じて調整) */
@media screen and (max-width: 767px) {
  .mv-text-overlay {
    width: 100%; /* さらに狭める */
  }
  .mv-text-overlay h1 {
    font-size: 1.4rem;
    width: auto;
    max-width: 100%;
  }
  .mv-text-overlay p {
    font-size: 1.4rem;
  }
}
/*詳細ボタン　　　　　　　　　　　　　　　　*/


/* 詳細ボタンの位置調整とスタイリング */
.button-detail {
    background-color: var(--main-color);
    color: #000 !important; /* デフォルトのテキスト色を黒に設定 */
    padding: 8px 20px;
    border: 1px solid #333;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-align: center;
}
.button-detail .arrow { /* HTMLに矢印がある場合 */
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s ease-in-out; /* アニメーション */
  transform-origin: left center; /* 伸びる方向の基準 */
}
.button-detail:hover .arrow { /* hover時 */
  transform: scaleX(1.5); /* 横方向に1.5倍に拡大 */
}


/* 全体レイアウト調整 */
.swell-block-columns__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* ★ この設定で高さを揃えます */
    }

/* カラムの設定 */
.swell-block-column {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* 親要素の高さいっぱいに */
    padding-bottom: 60px !important; /* ボタン用のスペース */
    min-height: 200px; /* カラムの最小高さを設定 (必要に応じて調整) */
}

/* カラム内のコンテンツ配置 */
.swell-block-column > *:not(.wp-block-html) { /* ボタン以外の要素 */
    flex: 1; /* 残りのスペースを埋める */
}

/* ボタンコンテナの配置 */
.swell-block-column .wp-block-html {
    width: 100% !important;
    text-align: center !important;
    margin-top: auto !important; /* 上部のスペースを自動調整 */
    margin-bottom: 0 !important;
    padding-bottom: 10px !important;
}

/* その他のスタイルの調整 (必要に応じて) */
.swell-block-column figure {
    margin-bottom: 5px !important; /* アイコン画像とタイトルの間隔 */
}

.swell-block-column .title_h3,
.swell-block-column h3.wp-block-heading {
    margin-top: 0 !important;
    padding-top: 5px !important;
    margin-bottom: 10px !important;
}

.swell-block-column h3.wp-block-heading + p,
.swell-block-column .title_h3 + p,
.swell-block-column .is-style-section_ttl + p {
    margin-top: 5px !important;
    padding-top: 5px !important;
}

.swell-block-column p {
    margin-bottom: 30px !important; /* 説明文の下マージン */
}


/*トップの背景画像*/
.bg-column {
  background-image: url('images/bg_01.webp');
  background-size: cover;
  background-position: right 30%; /* 上から30%の位置を中央に */
  background-repeat: no-repeat;
  padding: 2em;
  color: #fff;
  min-height: 600px;
}
.bg-column2 {
  background-image: url('images/bg_01.webp');
  background-size: cover;
  background-position: left 30%; /* 上から30%の位置を中央に */
  background-repeat: no-repeat;
  padding: 2em;
  color: #fff;
  min-height: 600px;
}
.bg-column3 {
  background-image: url('images/bg_02.webp');
  background-size: cover;
  background-position: right 30%; /* 上から30%の位置を中央に */
  background-repeat: no-repeat;
  padding: 2em;
  color: #fff;
  min-height: 600px;
}
.swell-block-column.column_right {
  padding-right: calc(1rem + 2vw); /* 例：固定値とビューポート幅に応じた値を加算 */
  padding-left: calc(1rem + 2vw); /* 例：固定値とビューポート幅に応じた値を加算 */
}

@media (max-width: 767px) {
.bg-column {
  background-image: url('images/bg_01.webp');
  background-size: cover;
  background-position: right 30%; /* 上から30%の位置を中央に */
  background-repeat: no-repeat;
  padding: 2em;
  color: #fff;
  min-height: 450px;
}
}
/*スマホの時だけ改行させるクラス*/
　.br-sp {
    display: none;
　}
@media (max-width: 600px) {
  .br-sp {
    display: block;
  }
}
/*カラム左右入れ替え*/
@media (max-width: 768px)  {
.swell-col-reverse .swell-block-columns__inner{
flex-direction: column-reverse; 
}
}

/*下からふわっと*/
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/*qaアコーディオン*/
.faq_q {
    background-color: var(--color_main);
    color: #fff;
}
.faq_a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0s;
    padding: 0!important;
}
.faq_a.open {
    max-height: fit-content;
    padding: 1em 1em 2em 3em!important;
    border: solid 1px var(--color_main);
}
.swell-block-faq .faq_q:before,
.swell-block-faq .faq_a:before {
    box-shadow: none;
    left: 1px;
}
.swell-block-faq .swell-block-faq__item+.swell-block-faq__item {
    position: relative;
}
.swell-block-faq__item .faq_q:after {
    content: "\e910";
    font-family: icomoon!important;
    color: #fff;
    font-weight: bold;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
}
.swell-block-faq .faq_q:before {
    margin-right: 8px; /* この値を小さくすると、Qアイコンとテキストの間隔が狭くなります */
    left: 10px; /* 必要に応じて左側の位置も調整できます */
}
.swell-block-faq__item.open .faq_q:after {
    content: "\e912";
}
.swell-block-faq__item .faq_q:after {
    content: "\e91c";
}
.swell-block-faq__item.open .faq_q:after {
    content: "\e919";
}
/* スマホでのQアイコンとテキストの間隔を狭くする */
@media screen and (max-width: 768px) {
    .swell-block-faq .faq_q:before {
        left: 0.5em !important; /* Qアイコンの位置を左寄りに */
        margin-right: 0.3em !important; /* 右側の余白を小さく */
    }
    
    .swell-block-faq .faq_q {
        padding-left: 3em !important; /* 質問全体の左パディングを小さく */
        padding-right: 3em !important; /* 右側に+アイコン用のスペースを確保 */
    }
    
    /* +アイコンをもう少し右に */
    .swell-block-faq__item .faq_q:after {
        right: 15px !important; /* この値を小さくすると+アイコンが右に移動 */
    }
}


/*LP502---------------------------------------------------------------------*/

.wp-block-heading {
font-size: 3.0em;
}

/* ヒーローセクション設定 */
.wp-block-group.hero-content-wrapper,
.hero-content-wrapper {
  background-image: url('images/lp502_main.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100vw;
  max-width: 100vw;
  height: auto;
  min-height: 80vh;
  margin: 0;
  padding: 2rem;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

/* 画像設定統一 */
.wp-block-image.u-lb-off,
.wp-block-image.u-lb-off_3 {
  margin: 0;
  padding: 0;
  text-align: left;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.wp-block-image.u-lb-off img {
  display: block;
  margin: 0 auto;
  height: auto;
  max-width: 50%;
}

.wp-block-image.u-lb-off img {
  display: block; /* もし必要なら残す */
  margin-left: 0 !important; /* もし必要なら残す */
  height: auto; /* もし必要なら残す */
  max-width: 50%; /* ← 小さくしたい希望の値 */
}

/* キャッチフレーズ設定 */
.wp-block-heading.lp-catchphrase {
  margin-top: -160px;
  margin-left: 10px;
}

/* ボタン設定 */
.hero-content-wrapper .swell-block-button {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
  align-self: flex-start !important;
  width: auto !important;
  box-sizing: border-box;
}

/* 問題解決カラム */
.problem-solution-column {
  background-color: #eeebe5;
  padding: 5% 10% 0 10%;
}

/* 背景画像カラム */
.bg-image-column {
  background-image: url('images/top_06.png');
  background-size: 240px auto;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 200px;
}

/* 見出し設定 */
.three-feature-columns h3 {
  color: #c16c26;
  border-bottom: 1px solid #c16c26;
  padding-bottom: 10px;
  margin-bottom: 15px;
  text-align: center;
}

.two-feature-columns h3 {
  color: #c16c26;
  padding-bottom: 10px;
  margin-bottom: 15px;
  text-align: center;
}

.custom-heading {
  color: #c16c26;
  text-align: center;
  font-size: 3.0rem !important;
}

/* カラム設定 */
.three-feature-columns .swell-block-column,
.two-feature-columns .swell-block-column {
  background-color: #eeebe5;
  padding: 20px;
  border-radius: 5%;
}

/* 白背景パラグラフ */
.paragraph-white-bg {
  background-color: #ffffff;
  padding: 10%;
  min-height: 500px;
  padding-bottom: 30px !important;
}

/* 料金表示 */
.swl-has-mb--s .cost {
  font-size: 1.5rem;
}

.swl-has-mb--s .cost_b {
  font-size: 2.5rem;
  color: #c16c26;
  font-weight: bold;
}

/* カラム高さ調整 */
.two-feature-columns .swell-block-columns__inner {
  align-items: stretch !important;
}

.two-feature-columns .swell-block-column {
  align-self: stretch !important;
  height: auto !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
}

.two-feature-columns .paragraph-white-bg {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-sizing: border-box;
  margin-bottom: 0 !important;
}

/* リスト設定 */
.paragraph-white-bg ul {
  margin-top: 15px;
}

.is-style-btn_normal {
padding-top: 30px;
}
/* レスポンシブ設定 */
@media (max-width: 767px) {
  .hero-content-wrapper {
    background-position: 60% center;
  }
  
  .hero-content-wrapper .wp-block-image.u-lb-off,
  .hero-content-wrapper .wp-block-image.u-lb-off_3 {
    margin-top: 70px !important;
  }
  
  .wp-block-image.u-lb-off img {
    max-width: 100%;
  }
  
  .wp-block-heading.lp-catchphrase {
    margin-top: -120px;
  }
  
  .problem-solution-column {
    padding: 10% 10% 3% 10%;
  }
  
  .bg-image-column {
    background-size: 60% auto;
  }
  
  .custom-heading {
    font-size: 2.5rem !important;
  }
  
  .paragraph-white-bg {
    min-height: auto;
  }
}

/**/
/* container_01: 外側の2カラム全体のコンテナ */
.container_01 {
    display: flex; /* Flexbox を有効にして子要素(.left, .right)を横並びに */
    gap: 40px; /* 左右のカラム間の隙間 */
    flex-wrap: wrap; /* 子要素が収まらない場合に折り返す */
    /* 必要に応じてコンテナ全体の幅や中央寄せ、上下の余白を設定 */
    max-width: 1000px; /* 例: 最大幅 */
    margin: 20px auto; /* 例: 上下20px、左右中央 */
    padding: 20px; /* 例: 全体の内側の余白を少し追加 */
    box-sizing: border-box; /* paddingを幅に含める */
    background-color: #eeebe5; /* 背景色を追加・変更 */
}

/* left: 外側の左カラム */
.container_01 .left {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    box-sizing: border-box;
}

/* right: 外側の右カラム */
.container_01 .right {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    box-sizing: border-sizing;
}

/* ... その他のtext-image以下のCSSは変更ありません ... */

/* text-image: 内側のテキストと画像のコンテナ */
.text-image {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

/* text-image内のテキスト */
.text-image p {
    flex: 1;
    margin: 0;
}

/* text-image内の画像 */
.text-image img {
    display: block;
    max-width: 100px;
    height: auto;
    flex-shrink: 0;
}

/* レスポンシブ対応: 画面幅が狭い場合の調整 */
@media (max-width: 768px) {
    .container_01 {
        flex-direction: column;
        gap: 20px;
        /* スマートフォンでは左右のパディングを減らすなど調整 */
        padding: 15px;
    }

    .container_01 .left,
    .container_01 .right {
        flex: auto;
        min-width: auto;
        /* 縦並び時のカラム間の下マージン */
        margin-bottom: 20px;
    }

    .container_01 .right {
        margin-bottom: 0; /* 最後のカラムの下マージンは不要 */
    }


    .text-image {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .text-image img {
        max-width: 80px;
    }
}





.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  text-align: center;
}

.lead {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 0.25em;
}

.sublead {
  font-size: 1rem;
  color: #777;
  text-align: center;
  margin-bottom: 2em;
}

.section-heading {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1em;
}

.bg-light {
  background-color: #f9f9f9;
}

.bg-beige {
  background-color: #f4eee8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2em;
}

.service-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}

.reasons-list {
  list-style: none;
  padding: 0;
}

.reasons-list li {
  margin-bottom: 0.5em;
  padding-left: 1em;
  position: relative;
}

.reasons-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #c48a54;
}

.btn-primary {
  background-color: #c48a54;
  color: #fff;
  padding: 0.75em 2em;
  border-radius: 2em;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: #a46c3d;
}

/*WEB制作・保守管理*/
/* ==================================== */
/* 1. ファーストビュー (Hero Section) スタイル */
/* ==================================== */

.hero-section-wrapper {
    background-color: #f8f8f8; /* 画像の背景色に合わせて調整 */
    padding: 80px 20px;
    /* bodyやcontainerに影響しないように、このセクション専用のスタイルを適用 */
}

.hero-content-container {
    display: flex;
    align-items: center;
    max-width: 1200px; /* コンテンツの最大幅 */
    margin: 0 auto;
    gap: 40px; /* テキストと画像間のスペース */
    flex-wrap: wrap; /* 小画面で折り返す */
}

.hero-text-content {
    flex: 1;
    min-width: 300px; /* 小画面での最小幅 */
    max-width: 50%; /* 大画面での最大幅 */
}

.hero-text-content h2 {
    font-size: 2.8em; /* 適切なサイズに調整 */
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text-content p {
    font-size: 1.1em; /* 適切なサイズに調整 */
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px; /* ボタン間のスペース */
    flex-wrap: wrap;
}

.hero-image-content {
    flex: 1;
    min-width: 300px; /* 小画面での最小幅 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-content img {
    max-width: 70%;
    height: auto;
    display: block;
    border-radius: 8px; /* 画像の角を丸くする */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-content-container {
        flex-direction: column; /* 縦並びにする */
        text-align: center; /* テキストを中央寄せにする */
        gap: 30px; /* 縦並びになった時のスペース */
    }
    .hero-text-content {
        max-width: 100%; /* 全幅にする */
        min-width: unset; /* 最小幅をリセット */
    }
    .hero-text-content h1 {
        font-size: 2em; /* フォントサイズを小さくする */
    }
    .hero-text-content p {
        font-size: 1em; /* フォントサイズを小さくする */
    }
    .hero-buttons {
        justify-content: center; /* ボタンを中央寄せにする */
    }
    .hero-buttons .custom-button {
        width: 100%; /* ボタンを全幅にする */
        box-sizing: border-box; /* パディングを含めて幅を計算 */
    }
    .hero-section-wrapper {
        padding: 60px 15px; /* パディングを調整 */
    }
}


/* ==================================== */
/* 共通スタイル（もし含まれていなければ追加） */
/* ==================================== */

/* ボタン共通スタイル */
/* WordPressのGutenbergブロックのボタンを使う場合、
   wp-block-button__link にスタイルを適用するのが一般的です。*/
.wp-block-button__link.custom-button {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.wp-block-button__link.primary-button {
    background-color: #e5a960; /* オレンジ系 */
    color: #fff;
}

.wp-block-button__link.primary-button:hover {
    background-color: #d49a50;
}

.wp-block-button__link.secondary-button {
    background-color: #fff;
    color: #e5a960;
    border: 1px solid #e5a960;
}

.wp-block-button__link.secondary-button:hover {
    background-color: #f5f5f5;
}

/* 他のセクションでも使う共通スタイルがあればここに追記
   例: セクションのパディング、タイトルのスタイル、カードのスタイルなど */

.wp-block-group.section-padding { /* 仮のクラス名、Gutenbergのグループブロックを想定 */
    padding: 60px 20px; /* セクションの上下左右の余白 */
    max-width: 1200px; /* コンテンツの最大幅 */
    margin-left: auto;
    margin-right: auto;
}

.wp-block-heading.section-title { /* 仮のクラス名、Gutenbergの見出しブロックを想定 */
    font-size: 2.2em; /* 適切なサイズに調整 */
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}