@charset "utf-8";

/* 共有 */

html{
    font-size: 100%;
}

body#top {
	font-family: "Zen Maru Gothic", serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-weight: 500;
	font-style: normal;
	font-size:17px;
	line-height: 1.9;
	color:#5e3c1a;
	background-color: #fff;
	letter-spacing: 2px;
}

a{
    text-decoration: none;
	transition: 0.5s; 
}
a:hover {
	opacity: 0.7;
}

img{
    width: 100%;
    vertical-align: top;
}
p{
    color: black;
}

#sp_only {
	display: none;
}

/* ======== header ======== */
.hed-contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #007bff;
    height: 10vh; 
    box-sizing: border-box; 
	background-image: url('../img/pc/hader.webp'); /* WordPressのテーマフォルダからのパスに合わせて要変更 */
    background-size: cover;       /* エリア全体を覆うように表示 */
    background-position: center;  /* 画像を中央に配置 */
    background-repeat: no-repeat; /* 画像を繰り返さない */
}

.logo {
    width: 200px;
}

/* PCナビの全体設定（Flexboxの親） */
.main-nav {
    display: flex;
    align-items: center;
    gap: 20px; /* 白枠とボタンの間の隙間 */
}

/* 白枠グループのスタイル */
.main-nav .nav-group {
    background-color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
}

/* 白枠内のリスト設定 */
.main-nav .nav-group ul {
    display: flex;
    gap: 40px; /* ABOUT, WORKS, RECRUIT間の隙間 */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 白枠内のリンク文字 */
.main-nav .nav-group a {
    font-weight: 700;
    font-size: 1rem;
}

/* 問い合わせボタンのスタイル */
.main-nav .cta-button {
    display: block;
    font-weight: 700;
    background-color: #fff036;
    padding: 10px 30px;
    border-radius: 20px;
}

/* ======== ヒーロービジュアル ======== */
.hero {
    height: 100vh;
    width: 95%;
    /* コンテンツ配置のための設定 */
    position: relative; /* 子要素を絶対配置する基準点にする */
    display: flex;
    align-items: center;
    padding-left: 5%;
    height: clamp(500px, 60vw, 790px);
}
.hero .hero-background-image {
    height: clamp(250px, 40vw, 550px);
}
/* HTMLに追加した背景画像用のスタイル */
.hero-background-image {
    position: absolute;
    top: 0;
    right: 0;
    height: clamp(150px, 40vw, 550px);
    width: 70%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    margin-top: 50px;
    border-radius: 100px 0 0;
}

/* 青いテキストボックス */
.hero-content .text-box {
    background-color: #007bff;
    color: white;
    position: relative;
    z-index: 1;
    padding: clamp(10px, 2vw, 60px) clamp(10px, 4vw, 60px);
    max-width: clamp(300px, 80vw, 550px);
}

/* メインの見出し (h1) */
.hero-content .text-box h1 {
    font-weight: 700;
    line-height: 1.5;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(10px, 2vw, 1.5rem);
}

/* サブの見出し (p) */
.hero-content .text-box p {
    font-size: clamp(0.9rem, 1.5vw, 1.3rem);
    padding-top: clamp(10px, 1.5vw, 15px);
    line-height: 1.3;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    color: white;
}


/* ======== スクロールインジケーター ======== */
/* (変更なし) */
.scroll-indicator {
    position: absolute;
    bottom: 9.5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #333;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}
.scroll-indicator .arrow {
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
    margin: 0 auto 10px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}
.top_only{
    bottom: 5.5%;
}
/* ======== マーケティングセクション共通 ======== */
.marketing-section {
    position: relative;
}

.container {
    max-width: 1100px; /* コンテンツの最大幅 */
    margin: 0 auto; /* 中央揃え */
    padding: 0 20px; /* 左右の余白 */
    justify-content: space-between;
    align-items: center;
    gap: 50px; /* カラム間の隙間 */
}
.digital-flex,
.marketing-flex{
    display: flex;
    justify-content: center;
}

/* カラムの順序を逆にするためのクラス */
.container.reverse {
    flex-direction: row-reverse;
    padding-top: 50px;
}

/* 左側（または右側）の大きな見出し */
.heading-column {
    width: auto;
}

/* 右側（または左側）のテキスト */
.text-column {
    flex-basis: 50%;
    margin: 130px 3% 0;
}

.large-heading {
    font-size: clamp(1.3rem, 5vw, 5rem);
    font-weight: 900; /* 文字の太さ */
    line-height: 1.1;
}

.text-column h3 {
    font-size: clamp(1.3rem, 2vw, 1.4rem);
    padding-left: 20px;
    border-left: 4px solid; /* 線の色は各セクションで指定 */
    margin-bottom: 2rem;
}

.text-column p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 2.2; /* 行の高さ */
    color: #555; /* 少し薄い黒 */
}


/* ======== デジタルマーケティングセクション（白） ======== */
.digital-marketing {
    background-color: #fff;
    /* 下辺を斜めに切り取る */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    padding-bottom: 200px; /* 切り取られる分、下に多めに余白をとる */
    z-index: 2; /* リアルマーケティングセクションより手前に表示 */
}

.digital-marketing .large-heading {
    color: #333;
}

/* 頭文字の色 */
.digital-marketing .initial-digital {
    color: #007bff;
}

.digital-marketing .text-column h3 {
    border-left-color: #E95CB8;
}
.real-marketing .initial-real{
    color: white;
}

/* ======== リアルマーケティングセクション（水色） ======== */
.real-marketing {
    background-color: #007bff;
    color: #fff; /* このセクションの基本文字色を白に */
    margin-top: -120px; /* デジタルセクションと重ねる */
    z-index: 1; /* デジタルマーケティングセクションより後ろに表示 */
    padding: 120px 0;
}

/* 水色背景なので、本文の文字色を白にする */
.real-marketing .text-column p {
    color: #fff;
    font-weight: 500;
}

.real-marketing .large-heading {
    color: #000;
}

.real-marketing .text-column h3 {
    border-left-color: #FFEE15;
}

/* ======== SERVICEセクション ======== */
.service-section {
    padding: 100px 0;
    background-color: #fff;
}

/* ヘッダー全体を囲むコンテナ */
.service-header {
    display: flex; /* ★★★ これで中の要素が横並びになります ★★★ */
    align-items: flex-start;
    gap: 100px; /* 見出しと説明文の間の隙間 */
    justify-content: center;
    margin-bottom: 100px;
}

/* 左側の「SERVICE」見出し */
.service-title {
    /* font-family: sans-serif;  */
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900; /* 文字の太さ */
    color: #000;
    flex-shrink: 0; /* コンテナが狭くなっても文字が縮まないようにする指定 */
}

/* 見出しの最初の文字 'S' */
.service-title .initial-s {
    color: #007bff; /* 画像に近い青色 */
}

/* 右側の説明文 */
.service-lead {
    font-size: 1rem;
    line-height: 2.2; /* 行の高さ */
    color: #333;
    flex-basis: 55%;
    padding-top: 30px;
}
.service-main-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 60px;
    margin-top: 80px;
}

/* 左側：図のエリア */
.diagram-area {
    position: relative;
    width: 550px;
    height: 500px;
    flex-shrink: 0;
}

/* 中央のイラスト */
.center-illustrations {
    position: absolute;
    top: 50%;
    left: 49.5%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
}
.center-illustration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0; /* 基本は非表示 */
    transition: opacity 0.5s ease;
}
.center-illustration.active {
    opacity: 1; /* activeクラスがついたものだけ表示 */
}

/* 六角形アイコン */
.hexagon-item {
    position: absolute;
    width: 140px;
    height: 140px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    background: linear-gradient(to bottom left, #007bffba, #8dbbeeeb);
}
.hexagon-item span {
    width: 120px;
    height: 120px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(to bottom left, #d5e9ff, #52a6ff6b);
}
.hexagon-item span p{
    position: relative;
    top: 50px;
    font-weight: 400;
    font-size: 0.9rem;
    font-family: system-ui;
}
.hexagon-item:hover {
    border-color: #007bff;
}
.hexagon-item.active {
    border-color: #007bff;
    transform: scale(1.1);
}

/* 右側：説明文のエリア */
.description-area {
    max-width: 400px;
}
.description-content {
    display: none;
}
.description-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}
.description-content h3 {
    font-size: 1.5rem;
    padding-left: 20px;
    border-left: 4px solid #007bff;
    margin-bottom: 2rem;
}
.description-content p {
    line-height: 2;
    margin-bottom: 20px;
    font-size: 1rem;
}
.btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* ======== 会社概要セクション ======== */
.company-profile-section {
    padding: 100px 0 0;
    background-color: #fff;
}

/* 中央揃えのセクションタイトル */
.section-title-centered {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
}

/* タイトル下のアクセント線 */
.section-title-centered::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #64c5d8; /* SERVICEセクションの水色と同じ */
    margin: 15px auto 0; /* タイトルの下に余白を設けて中央配置 */
}

/* 会社情報リスト全体 */
.profile-list {
    max-width: 800px; /* リストの最大幅 */
    margin: 0 auto; /* 中央揃え */
    border-top: 1px solid #eee; /* 一番上の線 */font-size: 1rem;
}

/* リストの各行 */
.profile-item {
    display: flex;
    padding: 25px 10px;
    border-bottom: 1px solid #eee; /* 各行の下の線 */
}

/* 項目名（法人名、所在地など） */
.profile-item dt {
    flex: 0 0 160px; /* 幅を160pxで固定 */
    font-weight: bold;
    color: #333;
}

/* 内容 */
.profile-item dd {
    flex: 1; /* 残りの幅をすべて使用 */
    margin: 0; /* ddタグのデフォルトマージンをリセット */
    line-height: 1.8;
    color: #333;
}
/* ======== 会社概要セクション（Googleマップ） ======== */
.map-container {
    margin-top: 50px; /* リストと地図の間に余白を設ける */
    width: 100%;    aspect-ratio: 20 / 4;

}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0; /* iframeにデフォルトで付くことがある枠線を消す */
}
/* ======== フッター ======== */
footer{
    background-color: #007bff;
}
/* フッター画像を囲むコンテナ */
.footer-image-container {
    width: 30%;
    margin: auto;
    padding: 70px 0;
}

/* フッター画像本体のスタイル */
.footer-image-container img {
    max-width: 100%; /* 画面幅より画像が大きくならないようにする */
    height: auto; /* 画像の縦横比を維持する */
}
.site-footer {
    background-color: #a0c3d2; /* 画像に近い背景色 */
    color: #fff;
    padding: 80px 0 40px 0;
    text-align: center;
}

.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.9; /* 少しだけ透明にする */
        text-align: center;
    padding-bottom: 20px;
    color: white;
}
/* ページトップボタンの共通スタイル */
.page-top {
    display: none; /* デフォルトでは非表示 */
    position: fixed; /* 画面に固定 */
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: #A08CD1;
    border-radius: 50%;
    text-decoration: none;
    z-index: 99; /* 他の要素より手前に表示 */
    transition: opacity 0.3s ease-in-out;
}

/* ボタン内の矢印のスタイル */
.page-top span {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* ボタンが表示されるときのスタイル */
.page-top.is-show {
    display: block;
}

/* ボタンのホバー効果 */
.page-top:hover {
    opacity: 0.8;
}
/* ======== 下層ヒーロービジュアル ======== */
.page-hero {
    height: clamp(290px, 60vw, 770px);
    width: 95%;
    /* コンテンツ配置のための設定 */
    position: relative; /* 子要素を絶対配置する基準点にする */
    display: flex;
    align-items: center;
    padding-left: 5%;
}
/* 青いテキストボックス */
.page-hero-content .text-box {
    background-color: #007bff;
    color: white;
    position: relative;
    z-index: 1;
    padding: clamp(10px, 2vw, 30px) clamp(10px, 4vw, 60px);
    max-width: clamp(300px, 80vw, 550px);
}

/* メインの見出し (h1) */
.page-hero-content .text-box h1 {
    font-size: clamp(0.8rem, 3vw, 2rem);
    margin-bottom: clamp(10px, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.5;
}
/* ======== ABOUTセクション ======== */
.about-section {
    padding: 0 0 100px;
    background-color: #fff;
}

/* 中央揃えのセクションタイトル（会社概要セクションから再利用） */
/* もしstyle.cssに既にこの記述があれば、追加は不要です */
.section-title-centered {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    text-transform: uppercase; /* ABOUTのように英語を大文字に揃える */
}

.section-title-centered::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #64c5d8;
    margin: 15px auto 0;
}

/* ABOUTセクションの本文 */
.about-text {
    max-width: 800px; /* 文章が長くなりすぎないように最大幅を指定 */
    margin: 0 auto; /* 中央揃え */
    text-align: center; /* テキストを中央揃えに */
    line-height: 2.5; /* 行の高さを広めにとって読みやすくする */
    color: #333;
    font-size: 1rem;
}
/* ======== 代表者プロフィールセクション ======== */
.profile-section {
    background-color: #f2f2f2; /* 薄いグレーの背景色 */
    padding: 100px 0 150px 0; /* 下に多めに余白をとる */
    /* 下辺を斜めに切り取る（右下がり） */
    clip-path: polygon(0 20%, 100% 0, 100% 80%, 0% 100%);
}

.profile-content {
    display: flex;
    align-items: center; /* 要素を垂直方向の中央に揃える */
    gap: 60px; /* カラム間の隙間 */
}

/* 左側：テキストエリア */
.profile-text {
    flex: 1.5; /* 画像より少し広い幅をとる */
    padding: 150px 0 50px;
}

/* 左揃えのセクションタイトル */
.section-title-left {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
}

/* タイトル下のアクセント線 */
.section-title-left::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #64c5d8;
    margin-top: 15px;
}

.profile-text p {
    line-height: 2.2;
    color: #333;
    font-size: 1rem;
}

.profile-signature {
    margin-top: 30px;
    text-align: right; /* 右寄せにする */
    font-weight: bold;
    font-size: 1.1rem;
}

/* 右側：画像エリア */
.profile-image {
    flex: 1;
}

.profile-image img {
    width: 50%;
    height: auto;
    display: block; /* 画像下の余分な隙間をなくす */
    margin: auto;
}
/* ======== 特徴紹介セクション ======== */
.features-section {
    padding:0 0 100px ;
    background-color: #fff;
}
.products-section{
    padding-bottom: 100px;
}

/* カードエリア */
.feature-cards {
    display: flex;
    /* ↓↓↓ 画面幅に応じてカラム数を自動調整するように変更 */
    gap: 30px;
    justify-content: center;
}

.feature-card,
.sp-feature-card{
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 3px 3px 5px #169bd6;
    width: 200px;
}
.feature-cards .adjustment h3{
    margin-top: -10px;
    margin-bottom: 10px;
}
.feature-card,.sp-feature-card:hover {
    box-shadow: 0 8px 20px #169bd6;
    transform: translateY(-5px);
}

.feature-card.active,
.sp-feature-card.active {
    border-color: #007bff;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
}

.feature-card h3,
.sp-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}
/* タイトル下のアクセント線 */
.feature-card h3::after,
.sp-feature-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #64c5d8;
}

.feature-icon {
    margin: 20px 0;
    height: auto;
    width: 150px;

}

.feature-btn,
.sp-feature-btn {
    border: 1px solid #007bff;
    background-color: #007bff;
    color: #fff;
    padding: 10px 40px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
/* activeなカードのボタンは白抜きに */
.feature-card.active .feature-btn,
.feature-card.active .sp-feature-btn, {
    background-color: #fff;
    color: #007bff;
}

/* パネルエリア */
.feature-panels {
    margin-top: 30px;
}

.feature-panel {
    display: none; /* 普段は非表示 */
    padding: 50px;
    background-color: #f2f2f2;
    border-radius: 8px;
    position: relative;
    overflow: hidden; /* 背景タイトルがはみ出さないように */
}

.feature-panel.active {
    display: block; /* activeクラスが付いたら表示 */
    animation: fadeIn 0.5s ease;
}
.sp-feature-panels {
    margin-top: 30px;
}

.sp-feature-panel {
    display: none; /* 普段は非表示 */
    padding: 50px;
    background-color: #f2f2f2;
    border-radius: 8px;
    position: relative;
    overflow: hidden; /* 背景タイトルがはみ出さないように */
}

.sp-feature-panel.active {
    display: block; /* activeクラスが付いたら表示 */
    animation: fadeIn 0.5s ease;
}

/* 背景の巨大な文字 */
.panel-bg-title {
    font-size: 3rem;
    font-weight: 900;
    color: #93c1d1;
    z-index: 1;
    user-select: none; /* テキスト選択不可に */
}

.panel-content {
    position: relative;
    z-index: 2;
    line-height: 2;
    font-size: 1rem;
    margin-top: 10px;
}
.text-center{
    text-align: center;
}
/* --------------------------------
 * ABOUTページ：お問い合わせセクション (CTA)
 * -------------------------------- */
.cta {
	padding: 80px 40px;
    background-image: url('../images/service/cta-bg.png'); 
    background-size: cover;
    background-position: center;
	margin-bottom: 100px;
}

.cta-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center; /* 中の要素をすべて中央揃え */
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cta .cta-button {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 15px 50px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
	font-size: 1.1rem;
}
/* --------------------------------
 * お問い合わせフォーム（MW WP Form）
 * -------------------------------- */

/* フォームテーブル全体 */
.form-decoration{
    width: 95%;
    margin: auto;
    max-width: 800px;
    padding: 10px 100px;
    box-shadow: 3px 3px 5px #007bff;
    margin-bottom: 100px;
}

.form-table {
    width: 100%;
    max-width: 800px; /* フォームの最大幅 */
    margin: 60px auto; /* 上下の余白と中央揃え */
    border-collapse: collapse; /* テーブルの線を結合 */
}

/* ラベル（th）と入力欄（td） */
.form-table th,
.form-table td {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.form-table th {
    width: 240px; /* ラベル列の幅を固定 */
    font-weight: 700;
    text-align: left;
    vertical-align: top; /* 上揃えにする */
    font-size: 1.1rem;
}

/* 「必須」マーク */
.form-table .required {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 8px;
    font-size: 0.8em;
    background-color: #e53935;
    color: #fff;
    border-radius: 4px;
}

/* 入力フィールド（input, textarea） */
.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="tel"],
.form-table textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.form-table input:focus,
.form-table textarea:focus {
    outline: none;
    border-color: #5e3c1a;
    box-shadow: 0 0 5px rgba(94, 60, 26, 0.3);
}
/* サンキューメッセージ */
.thank-you-message{
    width: 800px;
    margin: auto;
    font-size: 1rem;
    letter-spacing: 0.6px;
    line-height: 1.3;
    box-shadow: 3px 3px 5px #007bff;
    padding: 50px;
    margin-bottom: 50px;
}

/* ボタンエリア */
.inc-btn{
    text-align: center;
}
.btn-2nd {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    padding-bottom: 50px;
}

/* 送信・確認ボタン */
.btn_submit {
    background-color: #2D2D2D;
    color: #fff;
    border: none;
    padding: 15px 50px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn_submit:hover {
    background-color: #444;
}

/* 戻るボタン */
.back {
    background-color: #ccc;
    color: #333;
    border: none;
    padding: 15px 50px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.back:hover {
    background-color: #bbb;
}
@media (max-width: 1000px) {
    .service-main-content {
    flex-direction: column;
    }
    .description-area {
    margin: 50px 0 0 0;
    }
}
/* --------------------------------
 * レスポンシブ設定
 * -------------------------------- */
@media (max-width: 768px) {

    /* --- ヘッダー関連 --- */
    #sp_only{
        display: block;
    }
    #pc_only{
        display: none;
    }
    .logo {
        width: 70px;
    }
    .hed-contents {
        padding: 10px 20px;
    }
/* ======== ヒーロービジュアル ======== */
    .hero-background-image {
        /* width: 85%;
        height: 80%;
        padding-top: 20px;
        object-position: 70% 50%; */
        border-radius: 50px 0 0;
    }
    .hero-content{
        margin-top: 150px;
    }
    .page-hero{
        /* height: 80vh; */
    }
    .page-hero-content .text-box{
        padding: 10px;
        margin-top: 100px;
    }
    .scroll-indicator{
        bottom: -60px;
    }
    .top_only{
        bottom: 30px;
    }
/* ======== マーケティングセクション共通 ======== */
     /* スマホでは縦並びにする */
     .digital-flex , .marketing-flex{
        display: block;
     }
     .text-column{
        margin-top: 2rem;
     }
    .container,
    .container.reverse {
        flex-direction: column;
        text-align: center;
        padding-top: 0;
    }

    .large-heading {
        font-size: 3rem; /* 文字サイズを調整 */
        margin-bottom: 40px;
    }

    .text-column h3 {
        text-align: justify;
        line-height: 1.3;
    }

    .text-column p {
        text-align: left; /* 本文は左揃えの方が見やすい */
    }

    /* スマホでは斜め切り抜きを解除し、余白を調整 */
    .digital-marketing {
        clip-path: none;
        padding: 0 0 60px;
    }
    .real-marketing {
        margin-top: 0;
        padding: 60px 0;
    }
/* ======== ABOUセクション ======== */
    .about-section{
        padding: 100px 0;
    }
    .about-text{
        text-align: left;
    }
    .section-title-left::after{
        margin: 15px auto 0;
    }
    .profile-text p{
        text-align: left;
    }
    .profile-section {
        clip-path: none; /* スマホでは斜め切り抜きを解除 */
        padding: 80px 0;
    }

    .profile-content {
        flex-direction: column; /* スマホでは縦並びに */
        gap: 0;
    }

    .profile-signature {
        text-align: left; /* スマホでは署名を左寄せに戻す */
    }
/* ======== SERVICEセクション ======== */
    .service-section{
        padding: 60px 0;
    }
    .service-header {
        flex-direction: column; /* スマホでは縦並びに変更 */
        align-items: flex-start; /* 左揃えにする */
        gap: 0;
        margin-bottom: 0;
    }
    .service-lead{
        text-align: left;
        font-size: 1rem;
    }
    .service-title {
        margin-bottom: 20px;
    }
    .service-main-content {
        flex-direction: column;
        margin-top: 20px;
    }
    .diagram-area {
        transform: scale(0.65);
        margin-bottom: -50px;
    }
    .description-content p{
        text-align: left;
    }
    .description-area {
    margin: 0;
    }

/* ======== 会社概要セクション ======== */
    .company-profile-section{
        padding: 60px 0 0;   
    }
    .profile-item {
        flex-direction: column; /* スマホでは縦並びに */
        padding: 20px 10px;
    }
    .profile-list{
        text-align: left;
    }
    .profile-item dt {
        flex-basis: auto; /* 幅の固定を解除 */
        margin-bottom: 10px; /* 内容との間に余白を設ける */
    }
    .map-container{
        aspect-ratio: 7 / 3;
    }
/* ======== レスポンシブ対応（フッター） ======== */
    .footer-logo-area {
        /* スマホでは要素を縦並びに */
        flex-direction: column;
        gap: 20px;
    }
    .footer-image-container{
        padding: 30px 0;
    }
    .footer-brand {
        font-size: 3.5rem;
    }
/* ======== 代表者プロフィールセクション ======== */
    .profile-section {
        clip-path: none; /* スマホでは斜め切り抜きを解除 */
        padding: 60px 0;
    }
    .profile-text{
        padding: 0px 0 50px;
    }
    .profile-content {
        flex-direction: column; /* スマホでは縦並びに */
        gap: 0;
    }
    .profile-image img{
        width: 60%;
    }

    .profile-signature {
        text-align: left; /* スマホでは署名を左寄せに戻す */
    }
/* ======== 特徴紹介セクション ======== */
    .feature-cards {
        flex-direction: column;
        align-items: center;
    }
    .sp-feature-panel{
        padding: 30px;

    }
    .panel-bg-title{
        font-size: 2.5rem;
        margin-bottom:20px;
    }
    .sp-feature-panel p{
        text-align: left;
    }
    /* ======== CTA ======== */
    .cta {
        padding: 40px;
    }
    .cta h2 {
        font-size: 1.5rem;
    }
    .cta p {
        font-size: 1rem;
        line-height: 1.5;
    }
    /* --- お問い合わせフォーム --- */
    .form-decoration {
        width: 90%;
        padding: 0;
    }
    .text-center { 
        margin: 20px 0;
    }
    .form-table, .form-table tbody, .form-table tr, .form-table th, .form-table td {
        display: block;
        width: 100%;
    }
    .form-table tr {
        border-bottom: 1px solid #e0e0e0;
        padding: 20px 0;

    }
    .form-table tr:last-child { border-bottom: none; }
    .form-table th {
        padding: 0 0 10px 10px;
        border-bottom: none;
    }
    .form-table td { 
        padding: 0; 
        border-bottom: none;
        width: 95%;
        margin: auto; 
    }
    .btn-2nd { 
        gap: 0;
     }
    .form-table input[type="text"], .form-table input[type="email"], .form-table input[type="tel"], .form-table textarea {
    padding: 3px;
    }
    .back {
        padding: 15px 20px;
        margin-right: 20px;
    }
    .btn_submit {
        padding: 15px 30px;
    }
}
/* --------------------------------
 * ハンバーガーボタン
 * -------------------------------- */
.hamburger-button {
    position: relative;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.hamburger-button span {
    position: absolute;
    left: 5px;
    width: 30px;
    height: 2px;
    background-color: #5e3c1a;
    transition: all 0.3s;
}

.hamburger-button span:nth-of-type(1) {
    top: 10px;
}
.hamburger-button span:nth-of-type(2) {
    top: 19px;
}
.hamburger-button span:nth-of-type(3) {
    bottom: 10px;
}

/* --------------------------------
 * スライドメニュー
 * -------------------------------- */
.slide-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #f0f0f0;
    padding-top: 100px;
    transform: translateX(100%); /* 右側画面外に隠す */
    transition: transform 0.4s;
    z-index: 105;
}

.slide-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* --------------------------------
 * メニューが開いた時のスタイル
 * -------------------------------- */
body.is-active .slide-nav {
    transform: translateX(0); /* 右からスライドイン */
}

body.is-active .hamburger-button span:nth-of-type(1) {
    top: 19px;
    transform: rotate(45deg);
}

body.is-active .hamburger-button span:nth-of-type(2) {
    opacity: 0;
}

body.is-active .hamburger-button span:nth-of-type(3) {
    top: 19px;
    transform: rotate(-45deg);
}

