/*
Theme Name: Shinkai Theme
Theme URI: https://example.com/shinkai
Author: Your Name
Author URI: https://example.com
Description: A minimal WordPress theme for Shinkai based on the provided design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shinkai
*/

/* Basic Reset & Body Styling */
html, body {
    overflow: hidden; /* スクロール禁止 */
}

body {
    margin: 0;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    background-color: #7b7b7b; /* Overall light gray background */
    display: flex;
    min-height: 100vh;
    min-width: 1200px; /* PC表示時の最小幅 */
}

.sp_block{
    display: none;
}

.sp_none{
    display: block;
}


/* Site Wrapper */
.site {
    display: flex;
    width: 100%;
}

/* Left Sidebar Navigation */
.site-header {
    width: 60px; /* 通常状態で幅60px */
    background-color: #c0c0c0; /* 通常時は背景なし */
    position: fixed;
    height: 100vh; /* ビューポート全体の高さ */
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding-top: 0; /* パディングを削除してメニューを上端から開始 */
    box-shadow: none; /* 通常時はシャドウも削除 */
    transition: width 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* 背景色とシャドウの変化も追加 */
    overflow: visible; /* ホバー領域を確保するため変更 */
    z-index: 1000; /* 他の要素より前面に表示 */
    border-right: none; /* 通常時は境界線も削除 */
}

.site-header:hover {
    width: 250px; /* マウスホバーで250pxに変更 */
    background-color: #808080; /* ホバー時にグレー背景を表示 */
    box-shadow: 2px 0 5px rgba(0,0,0,0.2); /* ホバー時にシャドウを表示 */
    border-right: 2px solid #ffffff; /* ホバー時に白い境界線を表示 */
}

.site-header .main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header .main-navigation li {
    margin-bottom: 0; /* マージンを削除 */
    border-bottom: 1px solid #ffffff; /* 通常時も白い境界線を表示 */
    height: calc(100vh / 6); /* ページ高さの1/6に設定 */
    display: flex; /* フレックスレイアウトを適用 */
    align-items: stretch; /* 子要素を親の高さに合わせて伸ばす */
}

.site-header .main-navigation a {
    display: flex;
    align-items: center; /* 垂直方向中央揃え */
    justify-content: flex-start; /* 水平方向左揃え */
    position: relative;
    width: 250px; /* 固定幅を設定 */
    height: 100%; /* 親要素（li）の高さ全体を使用 */
    padding: 0 15px; /* 左右のパディングのみ設定 */
    color: #ffffff; /* White text for menu items */
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease; /* 背景色の変化のみ */
    box-sizing: border-box; /* パディングを含めた幅計算 */
    overflow: hidden; /* はみ出し部分を隠す */
    border-right: 1px solid #ffffff; /* 通常時も白い境界線を表示 */
    gap: 0; /* アイコンとテキストの間隔を制御 */
}

/* 個別のメニューアイテムにホバーした時の背景色変更 */
.site-header .main-navigation a:hover {
    background-color: #696969; /* 添付画像に合わせて濃いグレーに調整 */
    color: #ffffff; /* Text color remains white on hover */
}

/* 個別のメニューアイテムにホバーした時のアイコン拡大 */
.site-header .main-navigation a:hover .dashicons {
    font-size: 28.8px; /* 24px × 1.2 = 28.8px (20%拡大) */
    margin-right: 25px;
    transition: font-size 0.3s ease, margin-right 0.3s ease; /* フォントサイズの変化も追加 */
}

/* 個別のメニューアイテムにホバーした時のテキスト拡大 */
.site-header .main-navigation a:hover .menu-item-text {
    font-size: 19.2px;
}

.site-header .main-navigation a .dashicons {
    margin-right: 15px; /* アイコンとテキストの間のスペースを調整 */
    font-size: 24px;
    flex-shrink: 0; /* アイコンサイズを固定 */
    transition: font-size 0.3s ease; /* アイコンサイズの変化をスムーズに */
    display: flex;
    align-items: center; /* アイコンを垂直方向中央に配置 */
}

.site-header .main-navigation a .menu-item-text {
    opacity: 0; /* 通常時は非表示 */
    visibility: hidden; /* 通常時は非表示 */
    transition: opacity 0.3s ease, visibility 0.3s ease, font-size 0.3s ease; /* フォントサイズの変化も追加 */
    white-space: nowrap; /* テキストが折り返さないようにする */
    font-size: 16px; /* 基本フォントサイズ */
    display: flex;
    align-items: center; /* テキストを垂直方向中央に配置 */
}

/* サイドバーにホバーした時にテキストを表示 */
.site-header:hover .main-navigation a .menu-item-text {
    opacity: 1; /* サイドバーホバー時に表示 */
    visibility: visible; /* サイドバーホバー時に表示 */
}

/* Main Content Area */
.site-content {
    margin-left: 60px; /* サイドバーの幅に合わせてオフセットを調整 */
    flex-grow: 1;
    background: linear-gradient(to bottom right, #f0f0f0, #c0c0c0); /* Gradient background */
    box-sizing: border-box;
    display: flex;
    position: relative;
    overflow: hidden; /* For the background graphic */
}

/* SHINKAI Logo in main content area (spherical logo) */
.shinkai-logo {
    position: absolute; /* 絶対位置指定 */
    top: 40%; /* 垂直方向の中央より少し上に配置 */
    left: 50%; /* 水平方向の中央より少し左に配置 */
    transform: translate(-50%, -50%); /* 要素の中心が指定位置に来るように調整 */
    z-index: 10;
    /* text-align: center; は不要 */
}

.shinkai-logo img {
    width: 250px; /* 画像のサイズを調整 */
    height: auto;
    display: block;
    /* margin: 0 auto; は不要 */
}

.shinkai-main-graphic {
    position: absolute;
    width: 100%; /* ページ幅より大きくして広がるように */
    height: 100%; /* ページ高さより大きくして広がるように */
    top: 50%;
    right: -10%; /* さらに右にずらして端が見切れるように調整 */
    transform: translateY(-50%); /* 垂直方向中央に配置 */
    background: url('images/main_bg.svg') no-repeat center right; /* style.cssからの相対パスに修正 */
    background-size: cover; /* 要素全体を覆うように画像を拡大 */
    opacity: 0.3;
    z-index: 2;
}

.shinkai-main-graphic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shinkai-text-logo {
    position: absolute; /* 絶対位置指定 */
    top: 90%; /* 球体ロゴの下に配置 */
    left: 50%; /* 球体ロゴと同じ水平位置 */
    transform: translateX(-50%); /* テキストロゴの中心が指定位置に来るように調整 */
    z-index: 10;
}

.shinkai-text-logo img {
    width: 200px; /* テキストロゴのサイズを調整 */
    height: auto;
}

/* WORKS Page Styles */
.works-container {
    margin-top: 50px;
    margin-left: 60px; /* サイドバーの幅に合わせてオフセット */
    flex-grow: 1;
    background: linear-gradient(to bottom right, #f0f0f0, #c0c0c0); /* TOPページと同じグラデーション背景 */
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.works-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 0;
    background-color: rgba(255, 255, 255, 0.7); /* 半透明の白背景 */
    border: 2px solid #cccccc; /* 薄いグレーの境界線 */
    border-radius: 10px; /* 角を丸く */
    margin-bottom: 20px;
}

/* ヘッダーセクション */
.works-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #cccccc;
    margin-bottom: 30px;
}

.works-title-section {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.works-main-title {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 0px;
    color: #1B70F7;
    margin: 0;
}

.works-subtitle {
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 0px;
    color: #000000;
}

.works-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* スクロール可能エリア */
.works-scroll-area {
    max-height: 70vh; /* ビューポート高さの70% */
    overflow-y: auto; /* 縦スクロールを有効 */
    scrollbar-width: thin; /* Firefox用 */
    scrollbar-color: #4a90e2 #f0f0f0; /* Firefox用 */
}

/* Webkit系ブラウザ用スクロールバーのスタイル */
.works-scroll-area::-webkit-scrollbar {
    width: 8px;
}

.works-scroll-area::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.works-scroll-area::-webkit-scrollbar-thumb {
    background: #4a90e2;
    border-radius: 4px;
}

.works-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}

/* キャッチフレーズ */
.works-catchphrase {
    text-align: center;
    margin: 20px 0;
}

.works-catchphrase h2 {
    font-size: 35px;
    color: #333333;
    font-weight: bold;
    margin: 0;
    line-height: 1.5;
}

/* 会社説明 */
.works-description {
    text-align: center;
    margin: 40px 0;
}

.works-description p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    margin: 0;
}

/* 7つの力セクション */
.works_title {
    text-align: center;
    margin: 60px 0 40px 0;
}

.works_title h3 {
    font-size: 30px;
    color: #333333;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.powers-underline {
    width: 300px;
    height: 4px;
    background-color: #4a90e2;
    margin: 0 auto;
}

/* 相乗効果セクション */
.works_synergy {
    background: url('images/works_img1.jpg') no-repeat center center;
    background-size: cover;
}

.works_hope {
    background: url('images/works_img2.jpg') no-repeat center center;
    background-size: cover;
}

.works_integrity {
    background: url('images/works_img3.jpg') no-repeat center center;
    background-size: cover;
}

.works_network {
    background: url('images/works_img4.jpg') no-repeat center center;
    background-size: cover;
}

.works_kindness {
    background: url('images/works_img5.jpg') no-repeat center center;
    background-size: cover;
}

.works_action {
    background: url('images/works_img6.jpg') no-repeat center center;
    background-size: cover;
}

.works_innovation {
    background: url('images/works_img7.jpg') no-repeat center center;
    background-size: cover;
}

/* 相乗効果セクション */
.works_content1 {
    margin: 60px 0 0;
    width: 100%;
    height: 250px;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

/* 1つ目のフィルター: rgba(255, 255, 255, 0.6) */
.works_content1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

/* 2つ目のフィルター: linear-gradient */
.works_content1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #FFFFFF 0%, #80808000 100%);
    z-index: 2;
}




.works_content1_title {
    position: relative;
    z-index: 10; /* フィルターの上に表示されるよう調整 */
    display: flex;
    gap: 13px;
    align-items: center;
    margin-top: -30px;
}

.works_content1_title h4 {
    font-size: 30px;
    color: #4a90e2;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.title_large {
    font-size: 50px;
    font-weight: bold;
    margin-right: 13px;
}

.title_small {
    font-size: 16px;
    color: #4a90e2;
    margin: 20px 0 0 0;

}

.works_content1_text {
    position: relative;
    z-index: 10;
    font-size: 20px;
    color: #000;
    line-height: 2.2rem;
    margin: 0;
}

.works_content2 {
    margin: 60px 0;
    width: 100%;
    height: 250px;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

/* 1つ目のフィルター: rgba(255, 255, 255, 0.6) */
.works_content2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

/* 2つ目のフィルター: linear-gradient */
.works_content2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #80808000 0%, #FFFFFF 100%);
    z-index: 2;
}




.works_content2_title {
    position: relative;
    z-index: 10; /* フィルターの上に表示されるよう調整 */
    display: flex;
    justify-content: right;
    gap: 13px;
    align-items: center;
    margin-top: -30px;
}

.works_content2_title h4 {
    font-size: 30px;
    color: #4a90e2;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.works_content2_text {
    display: flex;
    justify-content: right;
    position: relative;
    z-index: 10;
    font-size: 20px;
    color: #000;
    line-height: 2.2rem;
    margin: 0;
}


/* 追加コンテンツエリア */
.works-additional-content {
    min-height: 200px;
    margin: 40px 0;
}

/* ABOUTコンテンツセクション */
.about_content1 {
    margin: 0px 0 60px 0;
    padding: 40px 20px;
}

/* セクションタイトル共通スタイル */
.section_title {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.blue_line {
    width: 4px;
    height: 40px;
    background-color: #1B70F7;
    margin-right: 20px;
}

.section_title h3 {
    font-size: 28px;
    color: #333333;
    font-weight: bold;
    margin: 0;
}

/* ご挨拶セクション */
.greeting_section {
    margin-bottom: 80px;
}

.greeting_content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
    height: 280px;
}

.greeting_text {
    flex: 1;
    margin-right: 40px;
}

.greeting_text p {
    font-size: 18px;
    color: #333333;
    line-height: 1.8;
    margin: 0;
}

/* CEO署名 */
.ceo_signature {
    position: absolute;
    z-index: 10;
    right: 20px;
    bottom: 0;
    margin-top: 60px;
}

.company_name {
    font-size: 26px;
    font-weight: bold;
    color: #333333;
    margin-bottom: -10px;
    letter-spacing: 2px;
}

.ceo_title {
    font-size: 18px;
    color: #333333;
    font-weight: normal;
    letter-spacing: 1px;
}

/* 会社概要セクション */
.company_overview_section {
    margin-top: 60px;
}

/* 会社概要テーブル */
.company_overview_content {
    margin-top: 30px;
    padding: 0 20px;
}

.company_info_table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.company_info_table tr {
    border-bottom: 1px solid #cccccc;
}

.company_info_table tr:last-child {
    border-bottom: none;
}

.table_label {
    background-color: #76A3EB; /* 青色の背景 */
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    padding: 20px 25px;
    text-align: center;
    width: 200px;
    vertical-align: middle;
    border-right: 1px solid #ffffff;
}

.table_content {
    background-color: #ffffff;
    color: #333333;
    font-size: 16px;
    padding: 20px 25px;
    vertical-align: middle;
    line-height: 1.5;
}

/* ハンバーガーメニュー（モバイル専用） */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.hamburger-icon {
    width: 25px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333333;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
}

.hamburger-icon span:nth-child(3) {
    top: 16px;
}

.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* 全画面メニューオーバーレイ - 添付画像風デザイン */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #4A6B8A 0%, #2E4A6B 50%, #1E3A5F 100%);
    z-index: 9998;
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* 背景の曲線的装飾要素 */
.mobile-menu-overlay::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -30%;
    width: 150%;
    height: 80%;
    background: conic-gradient(from 45deg, rgba(126, 200, 227, 0.15) 0%, rgba(74, 144, 226, 0.1) 25%, transparent 50%);
    border-radius: 50%;
    transform: rotate(-15deg);
    z-index: -1;
}

.mobile-menu-overlay::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -40%;
    width: 120%;
    height: 70%;
    background: conic-gradient(from 225deg, rgba(126, 200, 227, 0.1) 0%, rgba(74, 144, 226, 0.08) 30%, transparent 60%);
    border-radius: 50%;
    transform: rotate(20deg);
    z-index: -1;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-nav {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

/* SHINKAIロゴをメニュー中央に配置 */
.mobile-menu-nav::before {
    content: 'SHINKAI';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 3px;
    z-index: -1;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 50vw 50vw;
    grid-template-rows: repeat(3, calc(100vh / 3));
    gap: 0;
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.mobile-menu-nav li {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* 右列のボーダーを削除 */
.mobile-menu-nav li:nth-child(even) a {
    border-right: none;
}

/* 最下行のボーダーを削除 */
.mobile-menu-nav li:nth-child(5) a,
.mobile-menu-nav li:nth-child(6) a {
    border-bottom: none;
}

.mobile-menu-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mobile-menu-nav .dashicons {
    font-size: 50px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* スマートフォン表示（550px以下） */
@media (max-width: 550px) {
    /* 基本設定をモバイル用にリセット */
    body {
        min-width: auto;
        overflow-x: hidden;
        display: block;
    }
    
    html, body {
        overflow: auto; /* スマホではスクロール可能 */
    }

    .sp_block{
        display: block;
    }

    .sp_none{
        display: none;
    }
    
    /* デスクトップメニューを非表示 */
    .site-header {
        display: none;
    }
    
    /* ハンバーガーメニューを表示 */
    .hamburger-menu {
        display: block;
    }
    
    /* メインコンテンツエリアを全幅に */
    .site-content {
        margin-left: 0;
        width: 100%;
        padding: 0;
    }
    
    .site {
        display: block;
        width: 100%;
    }
    
    /* スマートフォン時の背景をPC画像の3/4サイズで中央配置 */
    body {
        position: relative;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0.3);
    }
    
    /* PC時の背景画像を3/4サイズで中央配置 */
    .shinkai-main-graphic {
        display: block;
        position: fixed;
        right: 0;
        background-image: url('images/main_bg.svg');
        background-size: 230%;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.3;
    }
    
    .works-container,
    .shinkai-logo {
        position: relative;
        z-index: 1;
    }

    .works-container {
        margin-top: 0;
        margin-left: 0; /* サイドバーの幅に合わせてオフセット */
        flex-grow: 1;
        background: linear-gradient(to bottom right, #f0f0f0, #c0c0c0); /* TOPページと同じグラデーション背景 */
        min-height: 100vh;
        position: relative;
        overflow: hidden;
    }

    
    .works-content {
        width: 100%;
        margin: 0;
        padding: 20px 1%;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 0;
        box-sizing: border-box;
    }
    
    .works-header {
        padding: 20px 3%;
        flex-direction: row;
        text-align: left;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
    }
    
    .works-title-section {
        margin-bottom: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    
    .works-main-title {
        font-size: 28px;
        margin: 0;
        line-height: 1.2;
    }
    
    .works-subtitle {
        font-size: 16px;
        margin: -10px 0 0 0;
        line-height: 1.2;
    }
    
    .works-logo img {
        max-width: 60px;
        height: auto;
        flex-shrink: 0;
    }
    
    .works-scroll-area {
        max-height: none;
        padding: 20px 3%;
        box-sizing: border-box;
    }
    
    /* キャッチフレーズセクション */
    .works-catchphrase {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .works-catchphrase h2 {
        font-size: 20px;
        color: #1B70F7;
        margin: 0;
        line-height: 1.4;
        font-weight: bold;
    }
    
    /* 会社説明セクション */
    .works-description {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .works-description p {
        font-size: 14px;
        color: #555555;
        line-height: 1.6;
        margin: 0;
    }
    
    /* 7つの力タイトルセクション */
    .works_title {
        margin-top: 30px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .works_title h3 {
        font-size: 18px;
        color: #333333;
        margin: 0 0 10px 0;
        font-weight: bold;
    }
    
    .powers-underline {
        width: 60px;
        height: 3px;
        background-color: #1B70F7;
        margin: 0 auto;
    }
    
    /* 7つの力コンテンツセクション */
    .works_content1,
    .works_content2 {
        height: 150px;
        margin-top: 30px;
        margin-bottom: 0;
        padding: 20px 15px;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 1 );
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .works_content1_title,
    .works_content2_title {
        margin-top: -10px;
        text-align: center;
    }

    .works_content2_title {
        position: relative;
        z-index: 10; /* フィルターの上に表示されるよう調整 */
        display: flex;
        justify-content: left;
        gap: 13px;
    }
    
    .works_content1_title h4,
    .works_content2_title h4 {
        font-size: 18px;
        color: #333333;
        margin: 0 0 8px 0;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    
    .title_large {
        font-size: 24px;
        color: #1B70F7;
        font-weight: bold;
        margin-right: 5px;
    }
    
    .title_small {
        font-size: 12px;
        color: #666666;
        margin: 0;
        font-weight: normal;
    }
    
    .works_content1_text,
    .works_content2_text {
        font-size: 13px;
        color: #555555;
        line-height: 1.2rem;
        text-align: left;
        margin: -10px 0 0;
    }
    
    /* フッターお問い合わせセクション（スマホ用） */
    .footer_contact {
        margin-top: 40px;
        margin-bottom: 20px;
    }
    
    .footer_contact .works_title {
        margin-bottom: 20px;
    }
    
    .footer_contact_area {
        padding: 20px 0;
    }
    
    .contact_content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .footer_contact_phone_section,
    .footer_contact_form_section {
        width: 100%;
        max-width: unset;
        padding: 20px 15px;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .footer_phone_number {
        font-size: 24px;
        color: #1B70F7;
        font-weight: bold;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .footer_phone_hours {
        font-size: 12px !important;
        color: #666666;
    }

    .footer_form_label {
        font-size: 15px !important;
        color: #333333;
        margin-bottom: 15px !important;
        line-height: 1.4;
    }
    
    .footer_contact_form_button {
        font-size: 12px !important;
        padding: 8px 30px !important;
        border-radius: 25px;
    }
    
    /* ABOUTページ スマートフォン表示 */
    .about_content1 {
        padding: 0;
        margin: 0;
    }
    
    /* セクションタイトル共通スタイル */
    .section_title {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        padding: 0 3%;
    }
    
    .blue_line {
        width: 4px;
        height: 30px;
        background-color: #1B70F7;
        margin-right: 15px;
        flex-shrink: 0;
    }
    
    .section_title h3 {
        font-size: 18px;
        color: #333333;
        font-weight: bold;
        margin: 0;
    }
    
    /* ご挨拶セクション */
    .greeting_section {
        margin-bottom: 40px;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        padding: 20px 0 40px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .greeting_content {
        padding: 0 3%;
        flex-direction: column;
        align-items: stretch;
    }
    
    .greeting_text {
        margin-bottom: 20px;
    }
    
    .greeting_text p {
        font-size: 14px;
        color: #555555;
        line-height: 1.6;
        margin: 0;
        text-align: left;
    }
    
    .ceo_signature {
        position: relative;
        right: 0;
        margin-top: 20px;
    }
    
    .company_name {
        position: absolute;
        right: 0;
        bottom: 3px;
        font-size: 16px !important;
        font-weight: bold;
        margin-bottom: -5px !important;
        text-align: left;
    }
    
    .ceo_title {
        position: absolute;
        right: 0;
        font-size: 12px;
        color: #666666;
        margin: 0;
        text-align: left;
    }
    
    /* 会社概要セクション */
    .company_overview_section {
        margin-bottom: 40px;
        background-color: #ffffff;
        border-radius: 8px;
        padding: 20px 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .company_overview_content {
        padding: 0 3%;
    }
    
    /* 会社情報テーブル（スマホ用） */
    .company_info_table {
        width: 100%;
        border-collapse: collapse;
        margin: 0;
    }
    
    .company_info_table tr {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .company_info_table tr:last-child {
        border-bottom: none;
    }
    
    .table_label {
        background-color: #f8f9fa !important;
        color: #333333;
        font-weight: bold;
        font-size: 13px;
        padding: 12px 10px;
        width: 30%;
        vertical-align: top;
        text-align: left;
        border-right: 1px solid #e0e0e0;
        opacity: 1;
    }
    
    .table_content {
        background-color: #ffffff;
        color: #555555;
        font-size: 13px;
        padding: 12px 10px;
        vertical-align: top;
        text-align: left;
        line-height: 1.4;
        opacity: 1;
    }
    
    /* BLOGページ スマートフォン表示 */
    .blog_content1 {
        padding: 0;
        margin: 0;
    }
    
    .blog_main_area {
        flex-direction: column;
        gap: 0;
    }
    
    /* ブログ記事エリア */
    .blog_posts_area {
        width: 100%;
        margin-bottom: 30px;
    }
    
    /* 個別ブログ記事 */
    .blog_post {
        background-color: #ffffff;
        border-radius: 8px;
        padding: 20px 3%;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* 記事ヘッダー */
    .post_header {
        display: flex;
        align-items: flex-start;
        margin-bottom: 15px;
    }
    
    .blue_line_left {
        width: 4px;
        height: 30px;
        background-color: #1B70F7;
        margin-right: 15px;
        flex-shrink: 0;
        margin-top: 3px;
    }
    
    .post_title {
        margin: 0;
        flex: 1;
    }
    
    .post_title a {
        font-size: 16px;
        color: #333333;
        text-decoration: none;
        font-weight: bold;
        line-height: 1.4;
    }
    
    .post_title a:hover {
        color: #1B70F7;
    }
    
    /* 記事メタ情報 */
    .post_meta {
        margin-bottom: 15px;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        font-size: 12px;
        color: #666666;
    }
    
    .post_date,
    .post_category {
        display: inline-block;
    }
    
    .post_category a {
        color: #1B70F7;
        text-decoration: none;
    }
    
    .post_category a:hover {
        text-decoration: underline;
    }
    
    /* 記事コンテンツ */
    .post_content {
        margin: 0;
    }
    
    .post_content p {
        font-size: 14px;
        color: #555555;
        line-height: 1.6;
        margin: 0 0 15px 0;
    }
    
    .read_more_link {
        display: inline-block;
        color: #1B70F7;
        text-decoration: none;
        font-size: 13px;
        font-weight: bold;
        padding: 8px 15px;
        border: 1px solid #1B70F7;
        border-radius: 20px;
        transition: all 0.3s ease;
    }
    
    .read_more_link:hover {
        background-color: #1B70F7;
        color: white;
    }
    
    /* 投稿がない場合のメッセージ */
    .no_posts_message {
        text-align: center;
        padding: 40px 20px;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .no_posts_message p {
        font-size: 14px;
        color: #666666;
        margin: 0;
    }
    
    /* サイドバー */
    .blog_sidebar {
        width: 100%;
        margin-top: 20px;
    }
    
    .sidebar_widget {
        background-color: #ffffff;
        border-radius: 8px;
        padding: 20px 3%;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .widget_title {
        font-size: 16px;
        color: #333333;
        font-weight: bold;
        margin: 0 0 15px 0;
        padding-bottom: 10px;
        border-bottom: 2px solid #1B70F7;
    }
    
    .recent_posts_list,
    .archive_list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .recent_post_item,
    .archive_item {
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .recent_post_item:last-child,
    .archive_item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .recent_post_item a,
    .archive_item a {
        font-size: 13px;
        color: #555555;
        text-decoration: none;
        line-height: 1.4;
        display: block;
    }
    
    .recent_post_item a:hover,
    .archive_item a:hover {
        color: #1B70F7;
    }
    
    .recent_post_item span,
    .archive_item span {
        font-size: 13px;
        color: #999999;
        font-style: italic;
    }
    
    /* ページネーション */
    .blog_pagination {
        text-align: center;
        margin-top: 30px;
        padding: 20px 3%;
    }
    
    .blog_pagination a,
    .blog_pagination span {
        display: inline-block;
        padding: 8px 12px;
        margin: 0 3px;
        font-size: 13px;
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .blog_pagination a {
        background-color: #ffffff;
        color: #1B70F7;
        border: 1px solid #1B70F7;
    }
    
    .blog_pagination a:hover {
        background-color: #1B70F7;
        color: white;
    }
    
    .blog_pagination .current {
        background-color: #1B70F7;
        color: white;
        border: 1px solid #1B70F7;
    }
    
    .blog_pagination .dots {
        color: #666666;
        border: none;
        background: none;
    }
    
    /* CONTACTページ スマートフォン表示 */
    .contact_content1 {
        padding: 0;
        margin: 0;
    }
    
    /* セクションヘッダー共通スタイル */
    .contact_section_header {
        display: flex;
    align-items: left !important;
        margin-bottom: 20px;
        padding: 0 3%;
    }
    
    .blue_line_contact {
        width: 4px;
        height: 30px;
        background-color: #1B70F7;
        margin-right: 10px !important;
        flex-shrink: 0;
    }
    
    .contact_section_header h3 {
        font-size: 15px !important;
        color: #333333;
        font-weight: bold;
        margin: 0;
        text-align: left;
    }
    
    /* お電話でのお問い合わせセクション */
    .contact_phone_section {
        margin-bottom: 40px;
        background-color: #ffffff;
        border-radius: 8px;
        padding: 20px 0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .phone_display_area {
        text-align: center;
        padding: 20px 3%;
    }
    
    .phone_number_display {
        font-size: 24px;
        font-weight: bold;
        color: #1B70F7;
        margin-bottom: 15px;
        letter-spacing: 1px;
        line-height: 1.2;
        word-break: break-all;
    }
    
    .phone_hours_display {
        font-size: 12px;
        color: #666666;
        margin: 0;
        font-weight: normal;
    }
    
    /* インターネットからのお問い合わせセクション */
    .contact_internet_section {
        margin-bottom: 40px;
        background-color: #ffffff;
        border-radius: 8px;
        padding: 20px 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .internet_contact_content {
        padding: 0 3% !important;
    }
    
    .contact_instruction_area {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .instruction_text {
        font-size: 14px;
        color: #333333;
        margin: 0;
        line-height: 1.6;
    }
    
    .required_notice {
        font-size: 14px;
        color: #e74c3c;
        font-weight: bold;
        margin: 0;
        align-self: flex-end;
    }
    
    /* フォームテーブル（スマホ用） */
    .contact_form_section {
        margin-top: 20px;
    }
    
    .form_table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        background-color: #ffffff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .form_row {
        border-bottom: 1px solid #e0e0e0;
        display: block;
        margin-bottom: 20px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .form_row:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .form_label_cell {
        background: linear-gradient(135deg, #6fa8dc 0%, #4a90e2 100%);
        color: white;
        font-weight: bold;
        font-size: 13px;
        padding: 12px 15px;
        width: 100%;
        display: block;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .required_mark {
        color: #ff4444;
        font-size: 14px;
        margin-left: 3px;
    }
    
    .form_input_cell {
        background-color: white;
        padding: 15px;
        display: block;
        width: 100%;
    }
    
    .form_input_field {
        width: 100%;
        padding: 10px 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        background-color: #fafafa;
        box-sizing: border-box;
        transition: border-color 0.3s ease, background-color 0.3s ease;
    }
    
    .form_input_field:focus {
        outline: none;
        border-color: #4a90e2;
        background-color: white;
        box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
    }
    
    .form_textarea_field {
        width: 100%;
        padding: 10px 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        background-color: #fafafa;
        box-sizing: border-box;
        resize: vertical;
        min-height: 100px;
        font-family: inherit;
        transition: border-color 0.3s ease, background-color 0.3s ease;
    }
    
    .form_textarea_field:focus {
        outline: none;
        border-color: #4a90e2;
        background-color: white;
        box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
    }
    
    .phone_input_group {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .phone_input_field {
        width: 60px;
        padding: 10px 5px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        background-color: #fafafa;
        text-align: center;
        transition: border-color 0.3s ease, background-color 0.3s ease;
    }
    
    .phone_input_field:focus {
        outline: none;
        border-color: #4a90e2;
        background-color: white;
        box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
    }
    
    .form_submit_area {
        text-align: center;
        margin-top: 20px;
        padding: 20px 0;
    }
    
    .submit_form_button {
        background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
        color: white;
        font-size: 16px;
        font-weight: bold;
        padding: 12px 30px;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    }
    
    .submit_form_button:hover {
        background: linear-gradient(135deg, #357abd 0%, #2c5f94 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    }
    
    .submit_form_button:active {
        transform: translateY(0);
        box-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
    }
    
    /* TOPページのモバイル専用デザイン */
    .shinkai-logo {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 2;
    }
    
    .shinkai-logo img {
        width: 150px;
        height: 150px;
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
        margin-bottom: 20px;
    }
    
    .shinkai-text-logo {
        margin-top: -10px;
    }
    
    .shinkai-text-logo img {
        width: 180px;
        height: auto;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .greeting_content {
        flex-direction: column;
    }
    
    .greeting_text {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .ceo_signature {
        text-align: center;
    }
    
    .section_title h3 {
        font-size: 24px;
    }
    
    .company_name {
        font-size: 28px;
    }
    
    /* テーブルのレスポンシブ対応 */
    .company_info_table {
        font-size: 14px;
    }
    
    .table_label {
        width: 30%;
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .table_content {
        padding: 15px 10px;
        font-size: 14px;
    }
}

/* BLOG Page Styles */
.blog_content1 {
    margin: 40px 0;
    padding: 20px 20px;
    box-sizing: border-box;
}

.blog_main_area {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ブログ記事エリア */
.blog_posts_area {
    flex: 2;
    padding-right: 20px;
}

.blog_post {
    margin-bottom: 60px;
    padding-bottom: 40px;
}

.blog_post:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
}

/* 記事ヘッダー */
.post_header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.blue_line_left {
    width: 4px;
    height: 30px;
    background-color: #1B70F7;
    margin-right: 15px;
}

.post_title {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin: 0;
    line-height: 1.4;
}

/* 投稿日 */
.post_meta {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.post_date,
.post_category {
    font-size: 14px;
    color: #666666;
}

.post_category a {
    color: #1B70F7;
    text-decoration: none;
}

.post_category a:hover {
    text-decoration: underline;
}

/* 記事内容 */
.post_content {
    color: #333333;
    line-height: 1.8;
}

.post_content p {
    font-size: 16px;
    margin: 0 0 15px 0;
}

/* タイトルリンク */
.post_title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post_title a:hover {
    color: #1B70F7;
}

/* 続きを読むリンク */
.read_more_link {
    display: inline-block;
    color: #1B70F7;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    padding: 5px 15px;
    border: 1px solid #1B70F7;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.read_more_link:hover {
    background-color: #1B70F7;
    color: #ffffff;
}

/* 投稿がない場合のメッセージ */
.no_posts_message {
    text-align: center;
    padding: 40px 20px;
    color: #666666;
    font-size: 16px;
}

/* ページネーション */
.blog_pagination {
    margin-top: 40px;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.blog_pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    color: #333333;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.blog_pagination .page-numbers:hover,
.blog_pagination .page-numbers.current {
    background-color: #1B70F7;
    color: #ffffff;
    border-color: #1B70F7;
}

.blog_pagination .page-numbers.dots {
    border: none;
    background: none;
    color: #666666;
}

.blog_pagination .page-numbers.dots:hover {
    background: none;
    color: #666666;
}

/* サイドバー */
.blog_sidebar {
    flex: 1;
    padding-left: 20px;
    border-left: 1px solid #e0e0e0;
}

.sidebar_widget {
    margin-bottom: 40px;
}

.widget_title {
    background-color: #76A3EB;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px;
    margin: 0 0 20px 0;
    border-radius: 5px;
}

/* 最近の投稿リスト */
.recent_posts_list,
.archive_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent_post_item,
.archive_item {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.recent_post_item:last-child,
.archive_item:last-child {
    border-bottom: none;
}

.recent_post_item a,
.archive_item a {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.recent_post_item a:hover,
.archive_item a:hover {
    color: #1B70F7;
}

.recent_post_item::before,
.archive_item::before {
    content: "•";
    color: #1B70F7;
    margin-right: 10px;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .blog_main_area {
        flex-direction: column;
        gap: 30px;
    }
    
    .blog_posts_area {
        padding-right: 0;
    }
    
    .blog_sidebar {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding-top: 30px;
    }
    
    .post_title {
        font-size: 20px;
    }
    
    .widget_title {
        font-size: 16px;
        padding: 12px 15px;
    }
}

/* CONTACT Page Styles */
.contact_content1 {
    padding: 0 40px;
}

/* セクションヘッダー共通スタイル */
.contact_section_header {
    display: flex;
    align-items: center;
}

.blue_line_contact {
    width: 4px;
    height: 40px;
    background-color: #1B70F7;
    margin-right: 20px;
}

.contact_section_header h3 {
    font-size: 24px;
    color: #333333;
    font-weight: bold;
    margin: 0;
}

/* お電話でのお問い合わせセクション */
.contact_phone_section {
    margin-bottom: 120px;
}

.phone_display_area {
    text-align: center;
    padding: 20px 20px;
    width: 100%;
    box-sizing: border-box;
}

.phone_number_display {
    font-size: 64px;
    font-weight: bold;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 30px;
    letter-spacing: 8px;
    line-height: 1.1;
    white-space: nowrap; /* 改行を防ぐ */
    overflow-x: auto; /* 必要に応じて横スクロール */
}

.phone_hours_display {
    font-size: 20px;
    color: #666666;
    margin: 0;
    font-weight: normal;
}

/* インターネットからのお問い合わせセクション */
.contact_internet_section {
    margin-bottom: 60px;
}

.internet_contact_content {
    padding: 40px 0;
}

.contact_instruction_area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.instruction_text {
    font-size: 18px;
    color: #333333;
    margin: 0;
    line-height: 1.6;
}

    .required_notice {
        font-size: 18px;
        color: #e74c3c;
        font-weight: bold;
        margin: 0;
    }

    /* フォームテーブルスタイル */

    .form_table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 30px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .form_row {
        border-bottom: 1px solid #ddd;
    }

    .form_label_cell {
        background: linear-gradient(135deg, #6fa8dc 0%, #4a90e2 100%);
        color: white;
        font-weight: bold;
        font-size: 16px;
        padding: 20px 25px;
        width: 200px;
        vertical-align: middle;
        text-align: left;
        border-right: 1px solid #ddd;
    }

    .required_mark {
        color: #ff4444;
        font-size: 18px;
        margin-left: 5px;
    }

    .form_input_cell {
        background-color: white;
        padding: 15px 20px;
        vertical-align: middle;
    }

    .form_input_field {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 16px;
        background-color: #fafafa;
        box-sizing: border-box;
        transition: border-color 0.3s ease, background-color 0.3s ease;
    }

    .form_input_field:focus {
        outline: none;
        border-color: #4a90e2;
        background-color: white;
        box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
    }

    .form_textarea_field {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 16px;
        background-color: #fafafa;
        box-sizing: border-box;
        resize: vertical;
        min-height: 150px;
        font-family: inherit;
        transition: border-color 0.3s ease, background-color 0.3s ease;
    }

    .form_textarea_field:focus {
        outline: none;
        border-color: #4a90e2;
        background-color: white;
        box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
    }

    .phone_input_group {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .phone_input_field {
        width: 80px;
        padding: 12px 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 16px;
        background-color: #fafafa;
        text-align: center;
        transition: border-color 0.3s ease, background-color 0.3s ease;
    }

    .phone_input_field:focus {
        outline: none;
        border-color: #4a90e2;
        background-color: white;
        box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
    }

    .form_submit_area {
        text-align: center;
        margin-top: 30px;
        padding: 20px 0;
    }

    .submit_form_button {
        background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
        color: white;
        font-size: 18px;
        font-weight: bold;
        padding: 15px 40px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    }

    .submit_form_button:hover {
        background: linear-gradient(135deg, #357abd 0%, #2c5f94 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    }

    .submit_form_button:active {
        transform: translateY(0);
        box-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
    }

    /* プライバシーポリシーページスタイル */
    .policy_content1 {
        margin: 60px 0;
        padding: 0 40px;
        color: #333333;
        line-height: 1.8;
    }

    /* 前文セクション */
    .policy_introduction {
        margin-bottom: 50px;
        padding: 30px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .policy_intro_text {
        font-size: 16px;
        color: #555555;
        margin: 0;
        text-align: justify;
    }

    /* 各セクション */
    .policy_section {
        margin-bottom: 40px;
        padding: 25px 30px;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 6px;
        border-left: 4px solid #1B70F7;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    }

    .policy_section_title {
        font-size: 20px;
        color: #1B70F7;
        font-weight: bold;
        margin: 0 0 20px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #e0e0e0;
    }

    .policy_section_content {
        font-size: 15px;
        color: #555555;
        margin: 0;
        text-align: justify;
    }

    /* リストスタイル */
    .policy_list {
        margin: 20px 0 0 0;
        padding: 0;
        list-style: none;
    }

    .policy_list_item {
        font-size: 15px;
        color: #555555;
        margin: 12px 0;
        padding: 8px 0 8px 25px;
        position: relative;
        text-align: justify;
    }

    .policy_list_item::before {
        content: "•";
        color: #1B70F7;
        font-size: 18px;
        font-weight: bold;
        position: absolute;
        left: 8px;
        top: 8px;
    }

    /* お問い合わせセクション */
    .policy_contact_section {
        margin-bottom: 40px;
        padding: 25px 30px;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 6px;
        border-left: 4px solid #1B70F7;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    }

    /* 会社情報 */
    .policy_company_info {
        margin-top: 30px;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
        border: none;
    }

    .company_name_policy {
        font-size: 18px;
        font-weight: bold;
        color: #333333;
        margin-bottom: 15px;
        text-align: left;
        letter-spacing: 0;
    }

    .company_address_policy {
        margin-bottom: 15px;
        font-size: 15px;
        color: #555555;
    }

    .address_label,
    .tel_label,
    .email_label {
        font-weight: bold;
        color: #333333;
        display: inline-block;
        min-width: 60px;
    }

    .address_text,
    .tel_number,
    .email_address {
        color: #555555;
    }

    .company_contact_info {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .contact_tel_policy,
    .contact_email_policy {
        font-size: 15px;
        color: #555555;
    }

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact_content1 {
        padding: 0 20px;
        margin: 40px 0;
    }
    
    .contact_section_header {
        margin-bottom: 40px;
    }
    
    .contact_section_header h3 {
        font-size: 20px;
    }
    
    .contact_phone_section {
        margin-bottom: 20px;
    }
    
    .phone_display_area {
        padding: 0px 0;
    }
    
    .phone_number_display {
        font-size: 25px;
        letter-spacing: 4px;
        margin-bottom: 20px;
        white-space: nowrap; /* 改行を防ぐ */
        overflow-x: auto; /* 必要に応じて横スクロール */
    }
    
    .phone_hours_display {
        font-size: 13px;
    }
    
    .contact_instruction_area {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0 10px;
    }
    
    .required_notice {
        align-self: flex-end;
        font-size: 16px;
    }
    
    .instruction_text {
        font-size: 16px;
    }
    
    /* プライバシーポリシー モバイル対応 */
    .policy_content1 {
        padding: 0 20px;
        margin: 40px 0;
    }
    
    .policy_introduction,
    .policy_section,
    .policy_contact_section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .policy_section_title {
        font-size: 18px;
    }
    
    .policy_intro_text,
    .policy_section_content {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .policy_list_item {
        font-size: 14px;
        padding: 6px 0 6px 20px;
    }
    
    .policy_list_item::before {
        left: 6px;
        top: 6px;
        font-size: 16px;
    }
    
    .policy_company_info {
        padding: 0;
    }
    
    .company_name_policy {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .company_address_policy,
    .contact_tel_policy,
    .contact_email_policy {
        font-size: 14px;
    }
}

/* フッターお問い合わせエリア */
.footer_contact {
    margin: 60px 0 0px 0;
}

.footer_contact_area {
    background: transparent linear-gradient(360deg, #3F83EF 0%, #FDFDFD00 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
    margin-top: 30px;
    padding-bottom: 60px;
}

.contact_content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

/* 左側：電話での問い合わせ（フッター用） */
.footer_contact_phone_section {
    background-color: rgba(255, 255, 255, 0.35);
    text-align: center;
    padding: 40px 30px;
    box-sizing: border-box;
    width: 400px;
    height: 200px;
}

.footer_phone_number {
    font-size: 36px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.footer_phone_hours {
    font-size: 16px;
    color: #666666;
    margin: 0;
}

/* 右側：インターネットでの問い合わせ（フッター用） */
.footer_contact_form_section {
    background-color: rgba(255, 255, 255, 0.35);
    text-align: center;
    padding: 40px 30px;
    box-sizing: border-box;
    width: 400px;
    height: 200px;

}

.footer_form_label {
    font-size: 18px;
    color: #333333;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer_contact_form_button {
    display: inline-block;
    background-color: #1B70F7;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(27, 112, 247, 0.3);
}

.footer_contact_form_button:hover {
    background-color: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 112, 247, 0.4);
    color: #ffffff;
    text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 550px) {
    .contact_content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer_contact_phone_section,
    .footer_contact_form_section {
        width: 100%;
        max-width: unset;
        height: auto;
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .footer_phone_number {
        font-size: 20px;
    }
    
    .footer_contact_area {
        padding: 20px;
    }
}
