@charset "UTF-8";
/* CSS Document */
/* Google Fonts の読み込み */
@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

/* 基本設定 */
body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}
main{
	margin-top: 100px;
}
main, .main-content {
    flex: 1; 
}
.site-header {
	position: fixed !important;
    width: 100% !important;
    background-color: #ffffff;
    /*border-bottom: 1px solid #eee;*/
    padding: 15px 0;
    top: 0 !important;
    z-index: 9999 !important; /* 他の要素（SVGなど）より確実に手前に出す */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* スクロールした時に浮いて見える演出 */
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* スクロール後のヘッダーのデザイン */
.site-header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.7) !important; /* 透明度70% */
    -webkit-backdrop-filter: blur(8px); /* Safari用 */
    backdrop-filter: blur(8px); /* 後ろの画像をぼかす */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* 薄い線を入れると境界がハッキリします */
}
/* ロゴ周り */
.logo a {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: flex-start; /* 左寄せ */
    text-decoration: none;
}

.logo-copy {
    display: block;
    font-size: 8pt; /* 指定のサイズ */
    color: #333; /* 落ち着いたグレーまたはロゴの色に合わせて調整 */
    line-height: 1;
    margin-bottom: 5px; /* ロゴとの隙間 */
    letter-spacing: 0.05em; /* 少し広げて読みやすく */
    font-weight: 500;
	z-index: 1000;
}

.logo a img {
    display: block;
    height: 15px; /* ロゴの高さ（適宜調整してください） */
    width: auto;
	z-index: 1000;
}
/* 右側エリアの構造 */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 右寄せ */
}
/* お問い合わせボタン */
.header-top-row {
    display: flex;
    gap: 10px; /* ボタン同士の間隔 */
    margin-bottom: 15px;
}

.contact-btn {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 25px; /* 少しスリムに調整 */
    text-decoration: none;
    z-index: 1;
}

.contact-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0068b2;
    transform: skewX(-25deg);
    z-index: -1;
    transition: all 0.3s;
}

/* スラッシュを模した傾いた背景 */
.contact-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0068b2; /* 指定のブルー */
    transform: skewX(-25deg); /* 右側に25度傾ける（skewXを使用） */
    z-index: -1; /* 文字の後ろへ */
    transition: all 0.3s;
}

/* 日本語テキストの調整 */
.contact-btn .jp {
    font-size: 13px;
    font-weight: bold;
    color: #fff; /* 同じく白 */
}

/* ホバー時の演出（少し色を明るくしたり、傾きを強調する） */
.contact-btn:hover::after {
    background-color: #191e37; /* 少し濃い青に */
    transform: skewX(-25deg) scale(1.05); /* 少しだけ大きくして反応を出す */
}

/* ヘッダーナビ */
.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav li {
    margin-left: 10px;
}

.main-nav a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    transition: opacity 0.3s;
}

.main-nav > ul > li > a::before {
    content: "/";             /* 表示する文字 */
    font-family: 'Michroma', sans-serif; /* 英語と同じフォントにすると統一感が出ます */
    font-size: 17px;          /* スラッシュの大きさ */
    color: #191e37;           /* 枠線と同じブルーにするとアクセントになります */
    margin-right: 15px;       /* スラッシュと英語の間の距離 */
    display: inline-block;
    font-weight: normal;
    -webkit-text-stroke: 0px; /* スラッシュは太くしすぎない方が綺麗です */
}
/* 英語ナビ */
.main-nav .en {
    font-family: 'Michroma', sans-serif;
    font-size: 0.9em; /* 少しだけサイズを調整 */
    color: #191e37;
    letter-spacing: 0.1em;
    margin-bottom: 0; /* 下の余白を消す */
    margin-right: 5px; /* 日本語との間の隙間を作る */
	
	/* ▼ 擬似的に太く ▼ */
    -webkit-text-stroke: 0.8px #333;
}

/* 日本語ナビ */
.main-nav .jp {
    font-size: 12px;
	font-weight: 500;
    color: #191e37;
}

/* ホバー時の挙動 */
.main-nav a:hover .jp {
    color: #0068b2; /* 指定のブルー */
    transition: color 0.3s; /* ふわっと色が変わるアニメーション */
}

 スマホ用ボタンのスタイル 
.menu-toggle {
    display: none; /* PCでは隠す */
    flex-direction: column;
    cursor: pointer;
    z-index: 100;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}
/* 親要素（header-innerなど）に依存せず画面幅いっぱいにする設定 */
.site-header {
    position: relative; /* サブメニューの基準点 */
}

/* ナビゲーションリスト */
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li.has-sub {
    /* ここをstaticにすることで、子要素の幅100%がheader基準になります */
    position: static; 
padding-bottom: 10px; 
    margin-bottom: -10px;
}

/* --- サブメニューパネル本体 --- */
.sub-menu-pane {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    
    /* 修正：高さを固定せず、中身に合わせる */
    height: auto; 
    min-height: 0; /* 最小値をリセット */
    
    background: rgba(44, 54, 73, 0.98);
    z-index: 1000;
    
    /* アニメーション設定 */
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease, visibility 0.4s;
    visibility: hidden;
    
    /* overflow: hidden を外すと、scaleY(1)の時に中身がしっかり出ます */
    overflow: hidden; 

    border-top: 10px solid transparent; 
    margin-top: -10px;
}
/* ホバー時の挙動 */
.main-nav ul li.has-sub:hover .sub-menu-pane {
    transform: scaleY(1);
    visibility: visible;
}
/* さらに念押し：パネル自体にマウスがある時も消えないようにする */
.sub-menu-pane:hover {
    transform: scaleY(1);
    visibility: visible;
}
/* 内部のレイアウト */
.sub-menu-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
    height: auto;
    align-items: auto;
}

.sub-menu-list {
    display: flex;
    justify-content: flex-start;
    gap: 30px; /* 項目間の隙間 */
    list-style: none;
    padding: 0;
    width: 100%;
}
.sub-menu-list li {
    width: 32%;
	max-width: 450px;
}
.sub-menu-list a {
	display: block;
    position: relative;
    z-index: 1001; /* テキストを最前面に */
    text-decoration: none;
    transition: opacity 0.3s;
}

.sub-menu-list a:hover {
    opacity: 0.7;
}
/* 「企業情報」などのテキスト */
.menu-title {
    display: block;
    color: #fff;
    font-size: 18px; /* 画像に合わせた少し大きめサイズ */
    font-weight: 500;
    margin: 15px 0 7px;
    letter-spacing: 0.05em;
	/*line-height: 1.6;  行間を少し広げる */
    /*min-height: 3em;   2行分の高さを確保して線を揃える */
}

/* 下の長い横線 */
.menu-line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.8); /* 完全に真っ白より少し馴染ませる */
}
/* サブメニュー内のセクション設定 */
.sub-section {
	display: block; /* 明示的にブロック要素にする */
    width: 100%;
    margin-bottom: 50px; /* 段落ごとの余白 */
}

.sub-section:last-child {
    margin-bottom: 0;
}

/* 上段：英語タイトルと日本語補足 */
.sub-header-top {
    display: flex;
    align-items: baseline; /* テキストの底辺を揃える */
    gap: 15px;
    margin-bottom: 25px;
	width: 100%;
}

.sub-title-en {
    font-family: 'Michroma', sans-serif;
    font-size: 26px; /* 画像のイメージに合わせたサイズ */
    color: #4da6ff; /* 画像のような鮮やかな青 */
    letter-spacing: 0.1em;
    margin: 0;
}

.sub-title-jp {
    font-size: 13px;
    color: #4da6ff;
    font-weight: bold;
}

/* 下段：メニュー項目リスト */
.sub-menu-list {
    display: flex;
    gap: 20px; /* 項目間の距離 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-menu-list li {
    flex: 1; /* 各項目を均等に広げる */
}

/* リンクテキストの設定 */
.menu-title {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 12px;
    transition: color 0.3s;
}

/* 白い横線 */
.menu-line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7); /* 少し透かした白 */
    transition: background-color 0.3s;
}

/* ホバー時の演出（お好みで） */
.sub-menu-list a:hover .menu-title {
    color: #4da6ff;
}
.sub-menu-list a:hover .menu-line {
    background-color: #4da6ff;
}
/* アンカーリンクの着地点をヘッダーの高さ分（約100px）ずらす */
#about-section {
  scroll-margin-top: 100px; 
}

/* タブレット・スマホ用の設定 (1024px以下) */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex; /* ボタンを表示 */
    }

/* お問い合わせボタンがある1段目を完全に隠す */
    .header-top-row {
        display: none;
    }

    /* メインナビの設定（前回のハンバーガーメニュー用） */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 80%;
        height: 100vh;
        background-color: #fff;
        transition: 0.5s;
        padding-top: 80px;
        z-index: 99;
    }

    /* メインナビ内のリストを縦並びに */
    .main-nav ul {
        flex-direction: column;
        padding-left: 40px;
    }

    .main-nav li {
        margin: 20px 0;
        margin-left: 0; /* PC用のマージンをリセット */
    }

    /* ハンバーガーメニューが開いた時 */
    .main-nav.is-open {
        right: 0;
    }

   .main-nav a {
        display: flex;
        flex-direction: row; /* 横並びを維持 */
        align-items: center;  /* ★ ここを center にすると上下の中央で揃います */
        padding: 15px 0;      /* タップしやすく余白を広げる */
        border-bottom: 1px solid #f0f0f0; /* 各項目の区切り線（お好みで） */
    }

    .main-nav .en {
        font-size: 15px;
        margin-right: 13px; /* 英語と日本語の距離を少し広げる */
        margin-bottom: 0;   /* PC版の余白が残っていたらリセット */
        line-height: 1;     /* 行の高さを最小限にしてズレを防ぐ */
        min-width: 100px;    /* ★ 英語の幅を揃えると、日本語の開始位置が縦にピシッと揃います */
    }

    .main-nav .jp {
        font-size: 12px;
        line-height: 1;     /* 日本語も行の高さを揃える */
    }

}

/*--- フッターバナー ---*/
.footer-banners {
    display: flex;
    justify-content: center; /* 中央に配置 */
    width: 95%;              /* スマホ時に端がくっつかないよう少し余裕を持たせる */
    max-width: 1000px;        /* ご希望の幅 */
    margin: 50px auto 50px;       /* 上下に余白を持たせ、左右中央寄せ */
    height: 280px;           /* 高さを少し抑えると900pxに対してバランスが良いです */
    background-color: transparent; 
    overflow: visible;       /* 斜めがはみ出しても切れないように設定 */
}

.banner-item {
	position: relative;
    width: 52%;              /* 隙間を埋めるため50%より少し大きく */
    text-decoration: none;
    transition: transform 0.3s ease;
    /* 角度を保つための clip-path (900px時に最適化) */
    /* 左上を少し削り、右側を少し突き出させる */
    clip-path: polygon(60px 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
}

/* 最後の方のバナーのマージンをリセット */
.banner-item:last-child {
    margin-right: 0;
}

/* CONTACT（左側）の切り抜き */
.contact-banner {
    background-color: #0068b2;
    z-index: 2;
    margin-right: -6.3%;       /* ここで重なりを作って隙間を消す */
}

/* RECRUIT（右側）の切り抜き */
.recruit-banner {
    background-color: #191e37;
    z-index: 1;
}


/* ホバーで少し明るくする */
.banner-item:hover {
    transform: translateY(-5px);
    z-index: 3; /* ホバーした方が一番上に来るように */
    filter: brightness(1.1);
}

.banner-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px; /* 斜めになっている分、内側に寄せる */
}

.banner-content {
    text-align: center;
    color: #fff;
}

.banner-content .jp {
    font-size: 16px;
    margin-bottom: 0;
    letter-spacing: 0.1em;
}

.banner-content .en {
    font-family: 'Michroma', sans-serif;
    font-size: 35px;
    margin: 0;
}

/* アイコン本体：平行四辺形 */
.banner-icon {
	transform: skewX(-15deg); 
    position: absolute;
    right: 18%;
    bottom: 30px;
    width: 50px;          
    height: 30px;         
    border: 1px solid #fff; /* これが外枠の四角 */
    background-color: transparent;
    transition: all 0.3s ease;
}

/* 矢印の「棒」部分：以前の四角設定をリセット */
.banner-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;            
    width: 40px;          
    height: 1px;           /* 棒なので高さは1px */
    background-color: #fff;
    border: none !important; /* 別の四角が出ないように枠線を強制消去 */
    border-radius: 0;
    
    /* 親の傾きを打ち消す */
    transform: translateY(-30%) skewX(18deg); 
    transform-origin: left center;
    transition: all 0.3s ease;
}

/* 矢印の「先端」部分：ここもリセット */
.banner-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(26% + 40px); 
    width: 10px;
    height: 10px;
    background: none !important; /* 背景色を消して線だけにする */
    border: none;
    border-top: 1px solid #fff;    /* 上と右の線で「く」を作る */
    border-right: 1px solid #fff;
    
    /* 親の傾きを打ち消しつつ、45度回転させて矢印の向きにする */
    transform: translateY(-50%) skewX(12deg) rotate(45deg);
    transition: all 0.3s ease;
}

/* ホバー時の動き */
.banner-item:hover .banner-icon::before {
    width: 50px;
}

.banner-item:hover .banner-icon::after {
    left: calc(30% + 50px);
}

@media (max-width: 768px) {
    .footer-banners {
        height: 200px;           /* 高さを自動にして中身に合わせる */
        width: 100%;            /* 画面いっぱいに広げる */
        margin: 50px auto;
        gap: 0;                 /* 隙間をゼロにする */
    }

    .banner-item {
        width: 50%;             /* 均等に50%ずつ横並び */
        clip-path: none;        /* 斜めのカットを解除して真四角にする */
        margin-right: 0;        /* 重なりをリセット */
    }

    .banner-inner {
        padding: 0px 10px;     /* 上下に余白を持たせる */
    }

    /* 矢印アイコンを非表示にする */
    .banner-icon {
        display: none;
    }

    /* フォントサイズをスマホ向けに小さく調整 */
    .banner-content .jp {
        font-size: 12px;        /* 日本語を小さく */
        margin-bottom: 5px;
    }

    .banner-content .en {
        font-size: 18px;        /* 英語を収まりの良いサイズに */
        letter-spacing: 0.05em;
    }

}


/* --- フッター全体のスタイル --- */
.site-footer {
	width: 100%;
    background-color: #f2f3f7;
    padding: 200px 0 0px;
    margin-top: -200px;
}

.footer-inner {
    display: flex;
    justify-content: space-between; /* ロゴは左、ナビは右 */
    align-items: flex-start;        /* 上端で揃える */
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.footer-info {
    width: 250px;
}
/*フッターロゴ周り*/
.footer-logo a {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: flex-start; /* 左寄せ */
    text-decoration: none;
}
.footer-logo-copy{
	display: block;
    font-size: 10pt; /* 指定のサイズ */
    color: #666; /* 落ち着いたグレーまたはロゴの色に合わせて調整 */
    line-height: 1;
    margin-top: 7px; /* ロゴとの隙間 */
    letter-spacing: 0.05em; /* 少し広げて読みやすく */
    font-weight: 500;
}
.footer-logo a img {
    display: block;
    height: auto; /* ロゴの高さ（適宜調整してください） */
    width: 230px;
	margin-top: 2px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-top: 20px;
}

/* フッターナビゲーション */
.footer-nav {
    display: flex;
    flex-wrap: wrap;       /* 折り返しを許可する */
    width: 70%;
    max-width: 900px;     /* 全体の幅 */
    margin: 0 auto;
    gap: 20px 0;           /* 上下の隙間を40px、左右は0（幅指定で調整）にする */
}
.footer-nav-group{
	width: 33.33%;         /* 3つ並ぶように幅を3等分する */
    box-sizing: border-box; 
    padding: 0 20px;       /* 項目同士がくっつかないよう左右に余白 */
}

.footer-nav-group h4 {
    font-family: sans-serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    margin: 0 0 20px;
    color: #333;
	position: relative;
    padding-bottom: 10px;
}

.footer-nav-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-group li {
    margin-bottom: 12px;
}

.footer-nav-group a {
    text-decoration: none;
    font-size: 13px;
    color: #666;
    transition: color 0.3s;
}

.footer-nav-group a:hover {
    color: #0068b2;
}

/* コピーライト部分 */
.footer-bottom {
	background-color: #0068b2; /* 全幅でブルー */
    width: 100%;               /* 画面の端から端まで */
    margin-top: 50px;          /* フッター上部との隙間（お好みで） */
    color: #ffffff;            /* 文字は白 */
    text-align: center;
    padding: 15px 0;           /* 上下の余白 */
    font-size: 11px;
    letter-spacing: 0.1em;
}

.footer-bottom p {
    font-size: 11px;
    color: #ffffff;
}
/* トップへ戻るボタンの基本設定 */
.scroll-to-top {
    position: fixed;        /* 画面に固定 */
    right: 30px;            /* 右からの距離 */
    bottom: 30px;           /* 下からの距離 */
    background-color: #0068b2; /* ボタンの背景色 */
    width: 50px;            /* 幅 */
    height: 60px;           /* 高さ */
    border-radius: 0;     /* 円形にする */
    display: flex;          /* SVGを中央に配置 */
    justify-content: center;
    align-items: center;
    text-decoration: none;  /* 下線を消す */
    z-index: 999;           /* 他の要素より手前に表示 */
    opacity: 0;             /* 初期状態では非表示 */
    visibility: hidden;     /* 初期状態ではクリック不可 */
    transition: opacity 0.3s, visibility 0.3s; /* フェードイン・アウト */
	overflow: hidden;       /* 枠外の背景を隠す */
}

/* .scroll-to-top::before を以下に書き換え */
.scroll-to-top::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;               /* 最初はサイズ 0 */
    height: 0;
    background-color: #0068b3;
    transition: all 0.4s ease;
    z-index: -1;
    transform: translate(-50%, -50%); /* 中心に固定 */
    border-radius: 50%;     /* 円形に広げたい場合 */
}

/* ホバー時にボタンを覆い尽くすサイズに */
.scroll-to-top:hover::before {
    width: 150%;            /* 傾いているので少し大きめに設定 */
    height: 150%;
}

/* 中のSVGが消えないように調整 */
.scroll-to-top svg {
    width: 24px;
    height: auto;
    transform: skewX(25deg); /* 傾きを打ち消す */
    fill: #fff;              /* 矢印は白 */
}
/* SVGアイコン自体の調整 */
.scroll-to-top svg {
    width: 30px;   /* SVGのサイズ */
    height: 35px;
    transform: translateY(2px); /* 矢印が中央に見えるよう微調整 */
}

/* ホバー時の設定 */
.scroll-to-top:hover {
    background-color: #191e37; /* 少し濃いブルーに */
}

/* ボタンが表示される状態 */
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
/* レスポンシブ (スマホ表示) */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
    }

    .footer-info, .footer-nav {
        width: 100%;
    }

    .footer-nav {
        flex-wrap: wrap;
        margin-top: 40px;
    }

    .footer-nav-group {
        width: 50%;
        margin-bottom: 30px;
    }
}
.top-main-visual {
    width: 100%;
    /* 背景画像の設定 */
    background-image: url('images/hero_main2.webp');
    background-size: cover; /* 横幅いっぱいに合わせる */
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #fff; /* 画像の下が終わった後は白に繋げる */
	animation: fadeInUp 1s ease 0.3s forwards;
}
/* スマホ向けの調整（画面幅768px以下） */
@media (max-width: 768px) {
    .top-main-visual {
        background-size: cover; 
        background-position: center top; 
    }

    /* 【追加】画面が縦長（ポートレート）の時の調整 */
    @media (orientation: portrait) {
        .top-main-visual {
            /* 縦長の時は横幅を少し大きく（120%など）して、白場を埋める */
            background-size: cover;
            /* 背景画像の位置を調整。上側に固定することでtitle(40%)との重なりを維持 */
            background-position: center top;
            /* 背景を固定（fixed）にすると、スクロールしても画像が動かず
               文字だけが動くので、バランス崩れをごまかしやすくなります */
            background-attachment: scroll; 
        }
    }
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
}
@media (max-width: 480px) {
	.top-main-visual{
		background-image: url('images/hero_main5.webp');
		background-size: auto;
		
	}
}
/* --- ヒーローエリア --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 900px;
}

@media (min-width: 1600px) {
	.hero-section{
		min-height: 1000px;
	}
}
@media (min-width: 1800px) {
	.hero-section{
		min-height: 1050px;
	}
}
@media (min-width: 1920px) {
	.hero-section{
		min-height: 1100px;
	}
}
@media (min-width: 2020px) {
	.hero-section{
		min-height: 1150px;
	}
}
@media (min-width: 2100px) {
	.hero-section{
		min-height: 1200px;
	}
}
@media (min-width: 2210px) {
	.hero-section{
		min-height: 1250px;
	}
}
@media (min-width: 2300px) {
	.hero-section{
		min-height: 1300px;
	}
}
@media (max-width: 480px) {
	.hero-section{
		min-height: 880px;
	}
}
.hero-title {
    position: absolute;
    top: 26%; /* 中央よりやや上に配置 */
    left: 8%;  /* 左端からの距離（お好みで調整） */
    transform: translateY(-50%); /* 垂直方向の真ん中合わせ */
    color: #fff;
    z-index: 10;
    text-align: left; /* 左揃え */
	animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-title .en {
    display: block;
    font-family: 'Michroma', sans-serif;
    font-size: clamp(15px, 7vw, 50px); /* デザインに合わせて少し大きく */
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase; /* 大文字に固定 */
}

.hero-title .jp {
    display: block;
    font-family: "Noto Sans JP", sans-serif; /* 日本語は読みやすいフォントに */
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 500;
    letter-spacing: 0.1em;
}
.hero-text {
    /* 既存のスタイルに以下を追加 */
    opacity: 0;
    animation: fadeInText 1s ease-out 0.8s forwards; /* 0.8秒遅れて開始 */
}
/* --- ABOUTセクション --- */
.about {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
    margin-top: -10vh; /* ヒーローの切り込みに重ねる */
}

/* --- コンテンツを収める内側の枠 --- */
.about-section {
    padding: 30px 20px 60px;
    text-align: center;
    /* 背景画像の下半分の白い領域にコンテンツが乗るイメージ */
}

.about-inner {
    max-width: 800px;    /* 横幅を1000pxに制限 */
    margin: 0 auto;       /* 枠自体を画面の中央に配置 */
    padding: 0 20px;      /* スマホ時に端がくっつかないよう余白 */
    /*text-align: left;      中身のテキストを左詰めに設定 */
}
.section-title .line {
    display: block;
    width: 90px;
    height: 4px;
    background-color: #0068b2;
    margin: 0 auto 20px;
}

.section-title .en {
    font-family: 'Michroma', sans-serif;
    font-size: 40px;
    letter-spacing: 0.1em;
	color: #191e37;
}

.catchphrase {
    color: #0068b2;
    font-size: 28px;
    margin: 60px 0;
}

/*背景*/
.about-section::before {
    content: "";
    position: absolute;
    /* 0 ではなく、上に突き抜けさせたい分だけマイナスを指定 */
    top: -100px; 
    right: 0;
    width: 60%;
    height: 120%; /* 上に伸ばした分、高さも少し増やしておくと安全です */
}
/* 本文テキスト */
.about-text {
    /* 1. ブロック自体の最大幅を決める（これがないと横いっぱいに広がります） */
    max-width: 800px; 
    
    /* 2. 左右の余白を自動にして中央に配置 */
    margin: 0 auto; 
    
    /* 3. 文字を左詰めに固定 */
    text-align: left; 
    
    /* 4. 行間や段落の隙間を整えて読みやすくする */
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5em; /* 段落ごとの隙間 */
}

.about-text p {
    line-height: 2;
    margin-bottom: 1.5em;
    font-size: 15px;
}
/* --- ボタン共通設定（斜めカット & 背景スライド） --- */
.btn-common {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #0068b2; /* ベースの色 */
    color: #fff;
    text-decoration: none;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s, transform 0.3s;
    cursor: pointer;
    border: none;
}

/* 共通：マウスオーバーで動く背景色 */
.btn-common::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%; /* 少し多めに外へ出しておく */
    width: 120%;
    height: 100%;
    background-color: #191e37; /* ホバー後の濃い色 */
    transition: left 0.3s ease-out;
    z-index: -1;
    transform: skewX(-20deg); 
}

/* 共通：ホバー時の動作 */
.btn-common:hover {
    color: #fff;
    transform: translateX(5px); /* 少しだけ右に動く（スプラッシュボタンの要素） */
    filter: brightness(1.1);
}

.btn-common:hover::before {
    left: -10%; /* 背景をスライドイン */
}

/* スラッシュボタン固有 */
.btn-slash {
    padding: 15px 50px;
    margin-top: 40px;
}

/* MAPボタン固有 */
.btn-map {
    padding: 8px 30px;
    font-size: 14px;
    margin-top: 15px;
}

/* グッドデザイン賞ボタン固有 */
.btn-design-award {
    padding: 12px 50px;
    font-size: 14px;
}

.btn-slash .en{
	font-family: 'Michroma', sans-serif;
	font-size: 15px;
	letter-spacing: 0.1em;
}
.btn-slash .jp{
	padding: 3px 8px 0px;
	font-size: 12px;
}

/* --- 事業詳細セクション --- */
.service-detail {
    padding: 100px 0;
    background-color: #f2f3f7;
	margin-top: 50px;
}

.service-detail-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 共通の行レイアウト */
.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
	animation: fadeInUp 1s ease 0.3s forwards;
}

/* テキストボックスの設定 */
.detail-text-box {
    width: 70%;
}

.detail-title {
    color: #0068b2;
    font-size: 32px;
    margin-bottom: 30px;
}

.detail-lead {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 25px;
}

.detail-description {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

/* 画像ボックスの設定 */
.detail-img-box {
    width: 22%;
	float: left;
}

.detail-img-box img {
    width: 100%;
    height: auto;
    display: block;
}


/* --- ボタン（詳しくみる） --- */
.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #0068b2;
    color: #0068b3;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: #0068b2;
    color: #fff;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .detail-row, .detail-row.reverse {
        flex-direction: column;
        margin-bottom: 50px;
    }
    .detail-text-box, .detail-img-box {
        width: 100%;
    }
    .detail-img-box {
        display: none;;
    }
   /* テキストボックスを横幅いっぱいに広げる */
    .detail-text-box {
        width: 100%;
    }

    /* タイトルのサイズをスマホ用に少し小さく調整 */
    .detail-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    /* 本文の余白を調整 */
    .detail-description {
        margin-bottom: 20px;
    }
}


.group{
	text-align: center;
	max-width: 800px;
	margin: 0 auto 20px; /* 左右中央寄せにし、下に余白を作る */
    padding: 0 20px;
}
.grouptitle{
    display: inline-flex;
    align-items: center;
    background-color: #0068b2;
    color: #fff;
    padding: 15px 50px;
    text-decoration: none;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
    transition: 0.3s;
    margin-top: 80px;
}
.group-text p{
	max-width: 700px;      /* テキストが広がりすぎないよう制限 */
    margin: 20px auto 30px;   /* 枠を中央に配置 */
    text-align: center;      
    display: block; /* 内容に合わせて幅を可変にし、親のcenterに従わせる */
	line-height: 2;
}
.value-chain-section {
    /*display: flex;
    flex-direction: column; /* 縦に並べる 
    align-items: center;   
    justify-content: center;
    width: 100%;
    margin: 0 auto 80px;
	box-sizing: border-box;
	overflow: hidden;*/
	width: 100%;
	display: flex;            /* 追加：中身を整列させる */
    flex-direction: column;   /* 追加：縦に並べる */
    align-items: center;      /* 追加：左右中央に寄せる */
  
    height: auto !important; /* 高さを内容物に合わせる */
    min-height: min-content;  /* 最小の高さを中身に合わせる */
    overflow: visible;        /* 子要素（SVG）を隠さない */
    padding-bottom: 40px;     /* 下に少し余裕を持たせる */
}

.value-chain-section svg {
	display: block;
    margin: 0 auto !important; /* 重要：左右の余白を均等にして中央寄せ */
    width: 100% !important;
    max-width: 800px;        /* 追加：元のサイズ以上に大きくならないよう制限（PC対策） */
    height: auto !important;
    min-height: 250px;
    overflow: visible !important;
	
    pointer-events: auto;
	padding: 0 5px 50px;
}
.value-chain-section img{
	display: block;      /* blockにすることでmargin: autoを効かせる */
    margin: 100px auto 50px; /* 左右をautoにして中央寄せ */
    width: 60%;         /* 画像本来の比率を保つ */
	/*margin: 100px 20px 50px;
	width: 60%;*/
}
/*サービス*/

/* セクション全体を縦並びに制御 */
.service-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* タイトルもコンテナも中央寄せ */
    padding: 100px 0 180px;
	margin-top: 100px;
    /* 背景に直接SVGデータを書き込む手法（ファイル不要で最速です） */
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='uuid-caee80fd-2f6e-4dea-ae5c-97605fb1edab' xmlns='http://www.w3.org/2000/svg' width='957.8' height='399.2' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 957.8 399.2'%3E%3Cdefs%3E%3Cstyle%3E.uuid-15fa38be-3d69-4dfe-af95-abb19db0a4c2%7Bfill:url(%23uuid-69b399e0-4ae8-4784-aa89-d16387eb3cc3);%7D.uuid-95a6f401-401d-4725-ba30-5070bcf620ab%7Bfill:url(%23uuid-3fe7552a-8bd8-46d6-9f7b-a36c2f980d97);%7D.uuid-69fafc8c-18ce-4b94-940c-e2abb3b8ca76%7Bfill:%23ededef;%7D.uuid-fa70bc07-6edf-4034-a2e3-d0297972e72c%7Bfill:%23ebebed;%7D%3C/style%3E%3ClinearGradient id='uuid-69b399e0-4ae8-4784-aa89-d16387eb3cc3' x1='1.2' y1='200.1' x2='341.9' y2='200.1' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.2' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23eee'/%3E%3C/linearGradient%3E%3ClinearGradient id='uuid-3fe7552a-8bd8-46d6-9f7b-a36c2f980d97' x1='749.6' y1='399.2' x2='749.6' y2='.5' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.2' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23eee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg id='uuid-bb8f3961-a2dd-48b5-9108-8fc2c3843ad3'%3E%3Cpolygon class='uuid-15fa38be-3d69-4dfe-af95-abb19db0a4c2' points='205.6 1 1.2 302.9 1.5 399.2 112 399.2 341.9 1 205.6 1'/%3E%3Cpolygon class='uuid-fa70bc07-6edf-4034-a2e3-d0297972e72c' points='957.8 399.2 771.9 .5 952.5 0 957.8 399.2'/%3E%3Cpolygon class='uuid-95a6f401-401d-4725-ba30-5070bcf620ab' points='771.9 .5 541.4 399.2 957.8 399.2 771.9 .5'/%3E%3Cpolygon class='uuid-69fafc8c-18ce-4b94-940c-e2abb3b8ca76' points='0 304.6 0 1 205.6 1 0 304.6'/%3E%3C/g%3E%3C/svg%3E");
    /* 背景を繰り返さない */
    background-repeat: no-repeat;
    
    /* 中央に配置 */
    background-position: center top;
    
    /* サイズを調整（例：横幅をセクションの80%にする、または 800px など固定値にする） */
    background-size: 110% auto;
	/* 背景を上端中央に固定 */
}
@media (max-width: 768px) {
    /* バナーを縦に並べる */
    .service-container {
        flex-direction: column;
        align-items: center;
        gap: 30px; /* 縦に並んだ時の隙間 */
    }

    .service-banner {
        width: 90%; /* 画面幅いっぱいに近くする */
        max-width: 400px; /* 大きくなりすぎないように制限 */
    }
}@media (max-width: 768px) {
    .service-section {
        /* スマホでは背景を少し小さく、または位置を調整 */
        background-size: 150% auto; /* 画面に対して少し大きめに敷く */
        background-position: center top; /* 上端に合わせる */
    }
	.value-chain-section img{
		margin: 50px 20px 50px;
		width: 80%;
	}
}
@media (max-width: 480px) {
	.value-chain-section img{
		margin: 40px 0 0;
		width: 85%;
	}
}

/* バナーが横に並ぶコンテナ */
.service-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
}
/* バナー内のテキストグループ */
.service-text-group {
    display: flex;
    flex-direction: column; /* 英語と日本語を縦に */
    align-items: center;    /* 左右中央揃え */
    text-align: center;
    color: #fff;
    z-index: 2;
}

.service-text-group .en {
	font-family: 'Michroma', sans-serif;
    font-size: 23px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 10px; /* 日本語との隙間 */
}

.service-text-group .jp {
    font-size: 17px;
    font-weight: normal;
    letter-spacing: 0.05em;
    opacity: 0.9; /* 日本語は少しだけ控えめにするとおしゃれ */
}

.service-banner {
    position: relative;
    flex: 1;
    aspect-ratio: 1 / 1; /* バナーの比率を固定 */
    overflow: hidden;
    display: block;
}

.service-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease; /* 画像自体のズーム用 */
}

/* オーバーレイの初期状態（全体が暗い） */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 全体を黒の50%で覆う */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

/* 中央から消える演出：擬似要素を使用 */
.service-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(0,0,0,0) 100%);
    transition: all 0.6s ease;
    transform: scale(0); /* 最初は中央に隠れている */
    opacity: 0;
}

/* マウスオーバー時の挙動 */
.service-banner:hover img {
    transform: scale(1.1); /* 画像を少しズーム */
}

.service-banner:hover .service-overlay {
    background-color: rgba(0, 0, 0, 0.2); /* 全体のトーンを少し明るく */
}
/* マウスオーバー時に文字をふわっと浮かせる（おまけ） */
.service-banner .service-text-group {
    transition: transform 0.5s ease;
}
.service-banner:hover .service-text-group {
    transform: translateY(-5px); /* 少し上に浮く */
}


/* ニュース*/
.news-section {
    /* linear-gradient(方向, 開始色, 終了色) */
    background: linear-gradient(to bottom, #f5f7f9 0%, #ffffff 100%);
    
    /* 上下の余白も調整しておくとグラデーションが綺麗に見えます */
    padding-top: 80px;
    padding-bottom: 80px;
}

.news-container {
    max-width: 1000px; /* バリューチェーン図の幅と合わせると綺麗です */
    margin: 100px auto auto;
    padding: 0 20px 60px; /* 下のボタンとの距離を調整 */
}


/* お知らせページのメインエリアのみに適用 
.is-news-page .news-main {
    flex-grow: 1;
}*/

/* お知らせページ内のカードのみに適用 */
.is-news-page .news-card {
    /* ここに以前のスタイル */
}

/* お知らせページの詳細本文のみに適用 */
.is-news-page .post-body {
    line-height: 1.8;
}
.news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd; /* スクリーンショットの線に対応 */
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.news-item:hover {
    background-color: #f2f3f7; /* マウスを乗せた時に少し反応させる */
}

.news-date {
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    color: #666;
    margin-right: 30px;
    min-width: 90px;
	padding-left: 20px;
}

.news-category {
    font-size: 11px;
    background: #0068b2; /* バリューチェーンで使った青色 */
    color: #fff;
    padding: 2px 10px;
    margin-right: 20px;
    border-radius: 2px;
}

.news-title {
    flex: 1;
    margin: 0;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 長いテキストを「...」にする */
}
.section-title{
	text-align: center;      /* 全体を中央寄せ */
    margin-bottom: 40px;     /* 下のお知らせ一覧との間隔 */
    display: flex;           /* 縦に並べるための設定 */
    flex-direction: column;
    align-items: center;
}
/*その他ページヒーローエリア*/
.hero-section2 {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 780.5 391.6' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='611.9' y1='391.6' x2='611.9' y2='0' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.2' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23eee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg%3E%3Cpolygon points='776.2 391.6 780.2 0 669.8 .5 443.7 390.8 776.2 391.6' fill='url(%23g)'/%3E%3Cpolygon points='780.5 192.6 669.8 .5 780.5 .8 780.5 192.6' fill='%23191e37'/%3E%3C!-- 左側の三角形：opacityを0から0.1に変更 --%3E%3Cpolygon points='.7 176.8 0 .6 103.5 .6 .7 176.8' fill='%23191e37' opacity='0.1'/%3E%3Cpolygon points='669.7 176.8 567 .6 772.6 .6 669.7 176.8' fill='%23191e37' opacity='0.1'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%; /* coverから変更：SVG全体を画面内に収めます */
    background-position: center;
}

.hero-content2 {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
    padding-left: 5%;
	box-sizing: border-box;
    z-index: 2;
	position: relative;   /* alignment調整用 */
}
/*製品サービヒーローエリア*/
.hero-section3 {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("images/hero3_1.svg");
    background-repeat: no-repeat;
    background-size: 70% 100%;
    background-position: right -30;
}

.hero-content3 {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
    padding-left: 5%;
	box-sizing: border-box;
    z-index: 2;
	position: relative;   /* alignment調整用 */
}

.main-title {
    font-family: 'Michroma', sans-serif;
    font-size: 40px;
    color: #0068b2;
    margin: 0 0 8px 0;
    font-weight: bold;
    /* アニメーションの適用 */
    animation: fadeInUp 1.0s ease-out forwards;
}

.sub-title {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
    font-weight: bold;
    /* メインタイトルより少し遅れて開始させる */
    animation: fadeInUp 1.0s ease-out 0.3s forwards;
    opacity: 0; /* 最初は隠しておく（遅延開始のため） */
}

/* パンくずリストもさらに遅れて出すとおしゃれです */
.breadcrumb {
    margin: 90px 0 30px;
    font-family: sans-serif;
    font-size: 13px;
    color: #888;
    animation: fadeInUp 1.0s ease-out 0.6s forwards;
    opacity: 0;
}

/* リンク自体の見た目 */
.breadcrumb a {
    color: #888; /* 通常の文字色と同じにする */
    text-decoration: none; /* 下線を消す */
    transition: color 0.3s ease; /* ホバー時の変化を滑らかに */
}

/* マウスを乗せた（ホバー）時 */
.breadcrumb a:hover {
    color: #0068b2;
    text-decoration: underline; /* ホバー時だけ下線 */
}
/* レスポンシブ対応 */
@media (max-width: 1024px) {
	.hero-content3 {margin: 20% 0 10%;}
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section2 { height: 350px;
	background-position: right top;
		background-size: 170% 100%;}
    .main-title { font-size: 2.2em; }
    .sub-title { font-size: 18px; }
	.hero-content2 {margin: 20% 0 0;}
	
	.hero-section3 { height: 300px;
	background-position: right top -80;
	background-size: 70% 100%;}
    .main-title { font-size: 2.2em; }
    .sub-title { font-size: 18px; }
	.hero-content3 {margin: 40% 0 0;}
}
/* --- 企業情報・拠点・決算共通 --- */
.base-info-section{
	position: relative;
  	z-index: 1; /* 他の要素より手前 */
	margin-top: -40px;
}
.explan{
	margin: 0 0 60px;
}
/* --- 企業情報セクション --- */
.container {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 20px 100px !important;
    width: 100% !important;
    box-sizing: border-box !important; /* box-sizingも重要です */
}

/* 各行のスタイル */
.info-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #b2d7e9;
    margin: 0;
    padding: 30px 0;
}

/* 最後の行の下にも線を引く */
.info-row:last-of-type {
    border-bottom: 1px solid #b2d7e9;
}

/* 項目名（左側） */
.info-row dt {
    width: 35%;
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

/* 内容（右側） */
.info-row dd {
    width: 65%;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
/* パートナー行などでddが複数ある場合の間隔調整 */
.info-row dd + dd {
    width: 65%; /* 1つ目と同じ幅を指定 */
    margin-left: 35%; /* dtの幅と同じ分だけ左に余白を作ることで、縦に並ぶ */
    margin-top: 10px;  /* 項目間の隙間 */
}

/* リンクのスタイル */
.info-link {
    color: #0068b2; /* 企業カラーに合わせる */
    text-decoration: none;
    transition: opacity 0.3s;
}

.info-link:hover {
    text-decoration: underline;
    opacity: 0.7;
}
/* 所在地内のグループ間隔 */
.address-group {
    margin-bottom: 30px;
}
.address-group:last-child {
    margin-bottom: 0;
}
.office-name {
    font-weight: bold;
    margin-bottom: 5px;
}


/* レスポンシブ対応（スマホ） */
@media (max-width: 768px) {
	.base-info-section{
		margin-top: 10px;
	}
    .info-row {
        flex-direction: column; /* 縦に並べる */
        padding: 20px 0;
    }
    .info-row dt {
        width: 100%;
        margin-bottom: 10px;
    }
    .info-row dd {
        width: 100%;
		margin-left: 0; /* 左側の余白を消す */
    }
	/* 2つ目以降のddの設定をスマホ用に上書き */
    .info-row dd + dd {
        width: 100%;    /* 2つ目以降も横幅いっぱい */
        margin-left: 0; /* ★ここが重要！PC用の35%を0に戻す */
        margin-top: 10px; /* 項目間の隙間だけ残す */
    }
}
/*googleMAP表示*/
/* モーダルの背景（暗くなる部分） */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
    /* 初期状態は非表示 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

/* 表示された時の状態 */
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* 地図を囲む箱 */
.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    /* 少し下から上に浮き上がる動き */
    transform: translateY(20px);
    transition: transform 0.4s;
}

.modal-overlay.is-open .modal-content {
    transform: translateY(0);
}

/* Googleマップのレスポンシブ対応 */
.modal-content iframe {
    width: 100%;
    height: 450px;
    vertical-align: middle;
}

/* 閉じるボタン */
.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
/* --- プライバシーポリシー用スタイル --- */
.privacy-section {
    padding: 20px 0 0;
    line-height: 1.8;
    color: #333;
	margin-top: -70px;
}

.page-section-title {
    font-size: 28px;
    margin-bottom: 40px;
    text-align: left;
    font-weight: bold;
}

.intro-text {
    margin-bottom: 60px;
}

.policy-block {
    margin-bottom: 60px;
}

/* 青いラインの見出し */
.policy-title {
    font-size: 30px;
    color: #0068b2; /* 画像に合わせた青色 */
    /*border-bottom: 1px solid #d1e7ff;
    padding-bottom: 15px;
    margin-bottom: 20px;*/
    display: flex;
    align-items: baseline;
}

.policy-title span {
    font-size: 28px;
    margin-right: 15px;
}

/* テーブル周り */
.table-container {
    margin-top: 30px;
}

.table-label {
    background-color: #000033; /* 濃紺のラベル */
    color: #fff;
    padding: 8px 20px;
    display: inline-block;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.table-sub-title {
    color: #0068b2;
    margin: 20px 0 10px;
    font-size: 16px;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
}

.privacy-table th, .privacy-table td {
    border: 1px solid #ccc;
    padding: 15px;
    text-align: left;
}

.privacy-table th {
    background-color: #f9f9f9;
    width: 100px;
    vertical-align: middle;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .page-section-title { font-size: 22px; }
    .policy-title { font-size: 20px; flex-direction: column; }
    .privacy-table th { width: 80px; font-size: 14px; }
    .privacy-table td { font-size: 14px; }
}
/* お問い合わせ窓口ボックス */
.contact-box {
    border: 1px solid #0068b2; /* ロゴに合わせた青い枠線 */
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    margin-bottom: 80px;
}

/* 左側：ロゴ */
.contact-logo {
    width: 40%;
}

.logo-catch {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.logo-wrapper img {
    width: 100%;
    max-width: 280px; /* ロゴの大きさを調整 */
    height: auto;
}

/* 右側：テキスト情報 */
.contact-info {
    width: 55%;
    line-height: 1.6;
}

.contact-info .company-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-info .address {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-info .email a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.contact-info .email a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-box {
        flex-direction: column; /* スマホでは縦並び */
        padding: 30px;
        text-align: center;
    }

    .contact-logo, .contact-info {
        width: 100%;
    }

    .contact-logo {
        margin-bottom: 30px;
    }

    .contact-info .company-name {
        font-size: 16px;
    }
}
/* 拠点情報：画像エリア */
.base-images {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.base-images img {
    width: 50%; /* 2枚並び */
    height: auto;
    object-fit: cover;
}

.base-description {
    margin-bottom: 1.5em;
    font-size: 15px;
    color: #333;
}

/* 拠点情報：画像エリアの基本（PC・タブレット共通） */
.base-images {
    display: flex;
    gap: 15px; /* 写真の間の溝を少し広げると綺麗です */
    margin-bottom: 20px;
}

.base-images img {
    width: calc(50% - 7.5px); /* gapを考慮した2枚並び */
    height: auto;
    object-fit: cover;
}

/* スマホ表示（600px以下）の設定 */
@media (max-width: 600px) {
    .base-images {
        flex-direction: column; /* ここで初めて縦並びにする */
    }
    .base-images img {
        width: 100%; /* スマホでは横幅いっぱい */
    }
    
    .btn-design-award {
        display: block;
        text-align: center;
        clip-path: none; /* スマホでは指で押しやすいよう四角に */
    }
}

/* --- 沿革 --- */

.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding-left: 45px;
    padding-bottom: 60px; /* 項目間の距離 */
}

/* ドットの下に伸びる線 */
.timeline-item::after {
    content: "";
    position: absolute;
    left: 6px;   /* ドット(13px)の中心 */
    /* top を 19px から 12px 程度に変更（ドットの中央から開始させる） */
    top: 12px;   
    width: 1px;
    height: 0;
    background-color: #ccc;
    transition: height 0.8s 0.2s ease-in-out; 
    z-index: 1; /* ドット(z-index:2)の下に潜り込ませる */
}

/* 最後の項目は線を引かない */
.timeline-item:last-child::after {
    display: none;
}

/* 項目がアクティブになったら線を次のドットまで伸ばす */
.timeline-item.is-active::after {
    /* 100% だと次のドットの「上端」で止まる可能性があるので、
       少しだけ（+10px程度）余分に伸ばして、次のドットに重ねます */
    height: calc(100% + 16px); 
}

/* ドットの設定 */
.timeline-dot {
    position: absolute;
    left: 0;
    top: 6px;
    width: 13px;
    height: 13px;
    background-color: #0068b2;
    border-radius: 50%;
    z-index: 2;

    /* アニメーション用：最初は透明で少し下から */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease-out;
}

/* 1番目のドットだけは最初から表示しておく（お好みで） */
.timeline-item:first-child .timeline-dot {
    opacity: 1;
    transform: translateY(0);
}

/* 項目がアクティブになったらドットを表示 */
.timeline-item.is-active .timeline-dot {
    opacity: 1;
    transform: translateY(0);
}

/* 日付・テキスト部分 */
.history-date {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    line-height: 1;
    /* テキストもふわっと出す場合 */
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.timeline-item.is-active .history-date,
.timeline-item.is-active .history-text {
    opacity: 1;
}

.history-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    opacity: 0;
    transition: opacity 0.8s 0.3s ease-out; /* 日付より少し遅れて出す */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .history-date { font-size: 18px; }
    .history-text { font-size: 14px; }
    .timeline-item { padding-bottom: 40px; }
}
/* --- 決算公告 --- */
.financial-list {
    margin-top: 40px;
    border-top: 1px solid #d1e7ff; /* 一番上の線 */
}

.financial-row {
    display: flex;
    align-items: center;
    padding: 20px 10px;
    border-bottom: 1px solid #d1e7ff; /* 青い細い下線 */
    transition: background-color 0.3s;
}

.financial-row:hover {
    background-color: #f9fbff; /* 軽くホバー感出し */
}

/* 第◯期 */
.term-box {
    width: 120px;
    font-size: 20px;
    font-weight: bold;
    color: #0068b2;
    letter-spacing: 0.1em;
}

/* 2025年3月期など */
.period-text {
    flex-grow: 1; /* 中央部分を広げる */
    font-size: 18px;
    color: #333;
}

.period-text .note {
    font-size: 14px;
    margin-left: 10px;
    color: #666;
}

/* 貸借対照表（リンク） */
.pdf-link {
    font-size: 16px;
    color: #999; /* 画像では少し薄めの色 */
    text-decoration: none;
    position: relative;
    padding-right: 20px;
}

.pdf-link::after {
    content: ""; /* 必要であればPDFアイコンなどを後で追加可能 */
}

.pdf-link:hover {
    color: #0068b2;
    text-decoration: underline;
}

/* まだ公開されていない、または準備中の場合 */
.pdf-link.disabled {
    cursor: default;
    pointer-events: none;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .financial-row {
        flex-wrap: wrap;
        padding: 15px 5px;
    }
    .term-box {
        width: 100%;
        margin-bottom: 5px;
        font-size: 18px;
    }
    .period-text {
        width: 70%;
        font-size: 15px;
    }
    .link-area {
        width: 30%;
        text-align: right;
    }
}
/* --- 事業セクション --- */
.business-detail {
    text-align: center;
	margin-top: 150px;
    padding: 0 0 100px 0; /* 上の画像は端までつけたいので上パディングは0 */
    /* 背景色：#191e37 の不透明度 6% */
    background-color: rgba(25, 30, 55, 0.06); 
}
/* 事業セクションメイン画像 */
.business-hero-image-wrap {
    width: 100%;
    margin-bottom: 60px;
    display: flex;
    justify-content: flex-end; /* 右寄せ */
}

.business-main-img {
    width: 85%; /* デザインに合わせて調整（右端から少し引くなら数値を下げる） */
    max-width: 1200px;
    height: auto;
    object-fit: cover;
	margin-top: -200px;
    /* 右側を画面端に合わせる */
}

/* 中央の青い縦線 */
.vertical-line-container {
    height: 100px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.vertical-line {
    width: 2px;
    height: 0; /* 最初は0 */
    background-color: #0068b2;
    transition: height 1.0s ease;
}

.vertical-line-container.is-active .vertical-line {
    height: 100%; /* 上から下へ伸びる */
}

/* タイピング風タイトルと下線 */
.business-title-area {
    display: block;
	width: 100%;
    margin-bottom: 20px;
    position: relative;
	text-align: center;
}
/* 内側の箱：テキストの長さにぴったり合わせる役割 */
.business-title-inner {
    display: inline-block; /* これでテキストの幅に縮みます */
    position: relative;
    text-align: left; /* 文字自体の揃え（念のため） */
}
.typing-title {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(18px, 4vw, 30px);
	width: 100%;
    color: #333;
    margin: 0 auto 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

/* 折り返しを禁止する設定 */
    white-space: nowrap; 
    display: flex;
    justify-content: center;
    /* flex-wrap: wrap; は折り返してしまうので削除または nowrap に変更 */
    flex-wrap: nowrap; 
}

/* 1文字ずつのスタイル */
.typing-title span {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.typing-title.is-active span {
    opacity: 1;
    transform: translateX(0);
}

/* スルスル伸びる下線 */
.horizontal-line {
    width: 0;
    height: 1px;
    background-color: #0068b2;
    margin: 0 auto;
    transition: width 1.2s ease 0.5s; /* 文字の後に少し遅れて開始 */
}

.business-title-area.is-active .horizontal-line {
    width: 100%;
}

/* キャッチコピーとテキストエリア */
.business-description{
	padding: 0 20px;
}
.catch-phrase {
    font-size: 23px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #333;
}

.description-text p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 20px;
    color: #444;
}

/* スマホ用改行制御 */
@media (max-width: 768px) {
    .pc-only { display: none; }
    .catch-phrase { font-size: 20px; }
	.business-main-img{margin-top: -110px;}
	
}
@media (max-width: 600px) {
    .pc-only { display: none; }
    .catch-phrase { display: 18px; }
	.business-main-img{margin-top: -80px;}
	.hero-content3{
		margin-top: 50%;
	}
}
@media (max-width: 497px) {
    .pc-only { display: 16px; }
	.business-main-img{margin-top: -80px;}
	.hero-section3{
		height: 400px;
	}
	.hero-content3{
		margin-top: 30%;
	}
	/*.breadcrumb{
		margin-top: 20px 0 30px;
	}*/
	.breadcrumb{
		display: none;
	}
	.service-section{
		padding-bottom: 50px;
	}
}

/* --- サービス特長セクション --- */
.advantages-section {
    padding: 100px 0 0;
    background-color: #fff; /* business-detailの背景色から白に戻す */
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header .en-title {
    font-family: 'Michroma', sans-serif;
    font-size: 50px;
    color: #f0f0f0; /* 背景に溶け込む薄いグレー */
    letter-spacing: 0.1em;
    line-height: 1;
}

.section-header .jp-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    position: relative;
    z-index: 1;
}

/* 特長リストのレイアウト */
.advantage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
}

.advantage-row:last-child {
    margin-bottom: 0;
}

/* テキストコンテンツ */
.advantage-content {
    flex: 1;
    position: relative;
}

.advantage-number {
    font-family: 'Michroma', sans-serif;
    font-size: 40px;
    color: #f2f2f2;
    line-height: 1;
    margin-bottom: 10px;
}

.advantage-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.advantage-text {
    font-size: 16px;
    line-height: 2;
    color: #444;
}

/* 画像エリア */
.advantage-image {
    flex: 1.2;
}

.advantage-image img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* デザイン案に合わせた控えめな角丸 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* 軽い影で浮き立たせる */
}
/* 特長コメント・リンクエリア */
.advantages-comment{
    text-align: center;
    padding: 100px 0 0;
}
/* スマホ対応 */
@media (max-width: 600px) {
    .advantage-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 80px;
    }
    
    .advantage-image {
        order: -1; /* スマホでは画像を先に表示 */
        width: 100%;
    }
    
    .advantage-title {
        font-size: 24px;
    }

    .section-header .en-title {
        font-size: 30px;
    }
}
/* --- 会社基本ページ共通 --- */
.common-section {
	margin-top: -40px;
    padding: 0;
    background-color: #fff;
}

.common-main-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #333;
    text-align: left; /* デザインに合わせて左寄せ */
}

.common-description p,
.common-footer-text p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 25px;
    color: #333;
}

.mt-large {
    margin-top: 50px !important;
}
.common-list-area{
	line-height: 2;
	padding: 0 20px;
}
.common-list{
	padding: 10px 0;
}
/* SDGsマークの横並び設定 */
.sdgs-flex-container {
    display: flex;
    justify-content: flex-start; /* 左寄せ */
    gap: 15px; /* マーク間の隙間 */
    margin: 60px 0;
    flex-wrap: wrap; /* スマホで折り返す設定 */
}

.sdgs-item {
    width: calc(16.666% - 13px); /* 6個並び */
    min-width: 120px;
}

.sdgs-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* ホバー時に少し浮く演出（任意） */
.sdgs-item img:hover {
    transform: translateY(-5px);
}

.common-footer-text {
    margin-top: 60px;
}

/* スマホ対応 */
@media (max-width: 768px) {
	.common-section{margin-top: -10px;}
    .common-main-title {
        font-size: 24px;
    }
    .sdgs-item {
        width: calc(33.333% - 10px); /* スマホでは3列 */
        min-width: 100px;
    }
    .sdgs-flex-container {
        justify-content: center;
    }
}
/* --- 製品サービスタイトル（斜めカット） --- */
.service-slash-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #191e37; /* ベースの色 */
    color: #fff;
    text-decoration: none;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
    overflow: hidden;
    z-index: 1;
    border: none;
	margin-bottom: 20px;
	padding: 5px 30px;
}

/* サイドナビ付きページレイアウト設定 */
.service-page-container {
  display: flex;
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* --- サイドナビ --- */
.side-nav {
  width: 280px;
  flex-shrink: 0;
/* --- 追従のための追加設定 --- */
  position: -webkit-sticky; /* Safari用 */
  position: sticky;         /* 追従させる */
  top: 120px;                /* 上からどれくらい空けて止まるか */
  height: fit-content;      /* 中身の高さに合わせる（重要！） */
}
.nav-group {
  margin-bottom: 40px;
}
.nav-title {
  background-color: #191e37;
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  margin-bottom: 0; /* 下線とくっつけるため0に */
  text-align: left;
}
.nav-list {
  list-style: none;
  padding: 0; 
  margin: 0;
}

.nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  color: #191e37; /* 元の色 */
  /* 【修正】solidを追加 */
  border-bottom: 1px solid #191e37; 
  overflow: hidden; /* はみ出た色を隠す */
}

/* 【修正】上から下へ「文字色」を変えるための仕掛け */
.nav-item span:first-child {
  position: relative;
  z-index: 1;
}

/* 文字の上に重なる青い文字レイヤー */
.nav-item::before {
  /* contentを空にせず、リンクのテキストをdata-textで呼ぶか、
     今回はシンプルに「背景の高さ」ではなく「青文字用レイヤー」として制御します */
  content: ""; 
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0; /* 最初は高さ0 */
  background-color: rgba(0, 104, 178, 0.1); /* ほんのり背景も色付けする場合（不要なら消せます） */
  transition: height 0.4s ease;
  z-index: 0;
}

/* ホバー・アクティブ時のアクション */
.nav-item:hover, .nav-item.active {
  color: #0068b2; /* ここで色を青に変える */
  transition: color 0.4s ease; /* 文字色もスルスル変える */
}

/* --- 丸い矢印ボタン --- */
.arrow-circle {
  width: 30px;
  height: 30px;
  background-color: #191e37;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

/* ホバー時に矢印の色を変える */
.nav-item:hover .arrow-circle,
.nav-item.active .arrow-circle {
  background-color: #0068b2;
  color: #fff;
  transform: translateY(2px); /* わずかに下に動かすと「下へ」の動きが強調されます */
}

.main-content {
  text-align: left; /* 全体を左寄せに */
}
.page-header .en{
	font-family: 'Michroma', sans-serif;
    font-size: 2em;
	margin: 0 0 10px;
}
.page-header .jp{
	font-size: 16px;
    font-weight: bold;
	margin-top: 0;
}
/* アコーディオン */
.accordion-container {
  width: 100%;
	margin: 50px 0 100px;
}
.accordion-item {
  border: 1px solid #0068b2;
  margin-bottom: 15px;
text-align: left;
}
.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between; /* これでテキストとアイコンを両端に */
  align-items: center;
  padding: 25px;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  color: #191e37;
  text-align: left;
}
/* ＋とーのアイコンを表示する設定 */
.plus-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0; /* アイコンが潰れないように固定 */
}

/* ＋アイコンの棒（共通） */
.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  background-color: #0068b2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

/* 横棒 */
.plus-icon::before {
  width: 100%;
  height: 2px;
}

/* 縦棒（閉じている時だけ表示） */
.plus-icon::after {
  width: 2px;
  height: 100%;
}

/* 開いている時は縦棒を回転させて横棒と重ねる（＝マイナスにする） */
.accordion-item.open .plus-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0; /* 完全に消す場合はこれ */
}

/* ぬるっと開く仕掛け：Gridを使用 */
.accordion-content {
	display: grid;
	grid-template-rows: 0fr; /* 最初は高さ0 */
	transition: grid-template-rows 0.4s ease; /* 0.5秒かけてぬるっと */
	visibility: hidden; /* 閉じている時は完全に隠す */
	overflow: hidden;
}

/* 開いた時の状態 */
.accordion-item.open .accordion-content {
  grid-template-rows: 1fr; /* 中身に合わせて広がる */
	visibility: visible;    /* 表示する */
	/*max-height: 500px;  十分な高さを指定 */
}

.content-inner {
	min-height: 0;
}
.content-sub-title {
  background-color: #0068b2;
  color: #fff;
  padding: 10px;
  margin-bottom: 15px;
}
.padding-box {
  padding: 0 25px 25px 25px;
  text-align: left;
}

/* 青いサブタイトルの左寄せ */
.blue-sub-title {
  background-color: #0068b2;
  color: #fff;
  padding: 10px 15px;
  margin-bottom: 15px;
  display: block; /* 横いっぱいに広げる */
  text-align: left;
  font-size: 16px;
}

/* 説明文の左寄せ */
.description {
  margin: 0;
  padding: 0;
  line-height: 1.8;
  text-align: left;
  color: #333;
}
html {
  scroll-behavior: smooth; /* スムーズスクロールになります */
}

/* スクロールした時に、一番上にピタッとくっつきすぎないための余白設定 */
.accordion-item {
  scroll-margin-top: 120px; /* 固定ヘッダーなどがある場合に、その分を避けて止まります */
}

/* アコーディオン内の画像レイアウト */
.main-visual-img {
  width: 100%;
  margin: 15px 0 30px;
}
.main-visual-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 横並びのコンテナ */
.flex-item-container {
  display: flex;
  gap: 30px; /* 画像とテキストの間隔 */
  align-items: flex-start;
  margin-top: 40px;
}

/* 左側の画像サイズ固定 */
.flex-item-img {
  width: 180px; /* 写真のサイズに合わせて調整してください */
  flex-shrink: 0;
}
.flex-item-img img {
  width: 100%;
  height: auto;
}

/* 右側のテキストエリア */
.flex-item-text {
  flex: 1;
}
.item-border-title {
  font-size: 20px;
  color: #0068b2;
  font-weight: bold;
  padding-bottom: 10px;
  margin: 5px 0 15px;
  border-bottom: 2px solid #0068b2;
  text-align: left;

  /* --- ここが重要 --- */
  display: block;
  width: 100%;           /* 基本の横幅いっぱい */
  flex-shrink: 0;        /* 親がFlexでも縮ませない */
  align-self: stretch;   /* 親がFlexの場合、端まで引き伸ばす */
  box-sizing: border-box; 
}

/* ベジモン吹き出し全体のコンテナ */
.speech-bubble-container {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* 右側に寄せる */
  margin-top: 40px;
  padding: 0 10px;
  position: relative;
}

/* 吹き出し部分 */
.speech-bubble {
  position: relative;
  background: #ebf4f9; /* 薄い青色の背景 */
  border-radius: 15px;
  padding: 20px 30px;
  margin-right: 20px; /* モンスターとの距離 */
  flex: 1;
  max-width: 80%; /* 広がりすぎないように */
}

/* 吹き出しの三角部分（右側） */
.speech-bubble::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #ebf4f9;
}

/* 吹き出し内のテキスト */
.bubble-text {
  color: #0068b2;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0;
  text-align: left; /* 左寄せ */
}

/* モンスターの配置とアニメーション */
.monster-wrapper {
  width: 80px; /* イラストのサイズに合わせて調整 */
  flex-shrink: 0;
	min-height: 100px;
}

.moving-monster {
  width: 100%;
  height: auto;
transition: transform 0.1s ease-out;
  will-change: transform;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .bubble-text {
    font-size: 1rem;
  }
  .monster-wrapper {
    width: 60px;
  }
  .speech-bubble {
    padding: 15px 20px;
  }
}
/* スマホ対応（600px以下） */
@media (max-width: 600px) {
  .flex-item-container {
    flex-direction: column; /* 縦並びにする */
    gap: 15px;
	  display: block; /* Flexboxを解除して通常のブロックレイアウトにする */
  }
  .flex-item-img {
    width: 120px; /* スマホでは少し小さく */
    margin: 0 auto; /* 中央寄せ */
  }
  .item-border-title {
    font-size: 18px;
	 width: 100%;
    display: block;
    border-bottom: 2px solid #0068b2;
  }
	/*.hero-section{
		max-height: 400px;
	}*/
}

/* 余白調整用クラス */
.mb-20 { margin-bottom: 20px; }
/* スマホ用の設定（画面幅が768px以下になったら） */
@media (max-width: 768px) {
  .service-page-container {
    flex-direction: column; /* 縦並びに変更 */
    gap: 40px; /* スマホでは間隔を狭くする */
  }
  .side-nav {
    width: 100%; /* サイドナビを横いっぱいに */
	
  }
}

/* 画面幅が1024px以下（タブレット・スマホ）になった時の設定 */
@media (max-width: 1024px) {
  /* サイドナビを非表示にする */
  .side-nav {
    display: none;
	z-index: 5;
  }
	
	main{
		margin-top: 0;
	}
  /* 横並びを解除して、メインコンテンツを横幅いっぱいに広げる */
  .service-page-container {
    display: block; /* flexを解除 */
    padding: 30px 15px; /* 余白をスマホ用に少し狭める */
  }

  .main-content {
    width: 100%;
  }

  /* アコーディオンと見出しの間の余白を調整 */
  .service-header {
    margin-bottom: 30px;
    text-align: center; /* スマホでは中央寄せにしても綺麗です */
  }
}
.news-container {
    display: flex;
    max-width: 1200px;
    margin: -70px auto 100px;
    gap: 60px;
    padding: 0 20px;
	clear: both;
}

/* --- サイドナビの調整 --- */
.side-nav {
    width: 250px;
    flex-shrink: 0;
}
/* --- ニュース --- */
.nav-title {
    background-color: #191e37; /* 画像のような濃紺 */
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    margin-bottom: 0;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5px;
    border-bottom: 1px solid #191e37;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.3s;
}

.nav-item:hover {
    padding-left: 10px;
    color: #0068b2;
}

.arrow-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
   /* border: 1px solid #191e37;*/
    border-radius: 50%;
    font-size: 10px;
}

/* --- 記事一覧（グリッド） --- */
.is-news-page .news-main {
    flex-grow: 1;
	margin-top: 15px;
}

.news-grid {
    display: grid;
    clear: both;    /* 左右の回り込みを解除 */
    overflow: hidden; /* 親要素に高さを認識させるもっとも簡単な方法 */
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
	
}

.news-card a {
    text-decoration: none;
    color: inherit;
}

.news-card {
    transition: opacity 0.4s ease;
}
/* カテゴリラベルが縦長になるのを防ぐ */
.news-card .category {
    writing-mode: horizontal-tb !important; /* 横書きを強制 */
    display: inline-block !important;
    white-space: nowrap !important;        /* 改行禁止 */
    width: auto !important;                /* 幅を自動に */
    padding: 4px 12px;
    text-align: center;
}
.card-img {
	width: 100%;
    aspect-ratio: 3 / 2;
    background-color: #eee; /* 画像がない時のダミー色 */
    margin-bottom: 15px;
	overflow: hidden;
    position: relative;
	border: 1px solid #e0e0e0; /* 薄いグレーの線 */
    box-sizing: border-box;
}
/* 画像自体の設定 */
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* 中央を基準に切り抜く（見切れるならtopに変更） */
    
    /* 追加：変形の基準点を中央に固定 */
    transform-origin: center center;
    /* 追加：初期状態を「拡大なし・移動なし」と明示する */
    transform: scale(1.0) translateY(0);
    
    transition: transform 0.5s ease;
}

/* マウスを乗せた時の設定 */
.news-card:hover .card-img img {
    /* ズームする際、上にズレないよう scale だけを指定 */
    transform: scale(1.1);
}

/*.card-info {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
}*/
/* 日付とカテゴリを横に並べる */
.card-info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px; /* 日付とカテゴリの隙間 */
    margin-bottom: 15px;
}
.card-info .date{
	font-size: 12px;
	color: #141414;
}
.card-info .category{
	font-size: 10px;
	color: #fff;
}
.card-title {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}


/* --- ページネーション --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-num, .next {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #0068b2;
    text-decoration: none;
    color: #0068b2;
}

.page-num.active {
    background-color: #0068b2;
    color: #fff;
}
/* --- 既存の「1024px以下で消す」設定がどこかにあっても --- */

/* お知らせページ限定で、1024px〜769pxの間も表示を維持する設定 */
@media (max-width: 1024px) {
    .is-news-page .side-nav {
        display: block !important; /* 他の「display: none」を強制的に上書き */
        width: 250px; /* PCサイズと同じ幅を維持 */
    }
}

/* 768px以下のスマホサイズ：アコーディオン形式に切り替え */
@media (max-width: 768px) {
    .is-news-page .news-container {
        flex-direction: column;
    }
    .is-news-page .side-nav {
        width: 100%; /* スマホでは横幅いっぱいに */
    }
	.news-container{
		margin-top: 0;
	}
}

@media (max-width: 768px) {
    .news-container {
        flex-direction: column; /* 縦並びに変更 */
        gap: 30px;
    }

    .side-nav {
        width: 100%; /* 全幅に広げる */
    }

    .nav-group {
        margin-bottom: 10px;
    }

    .nav-title {
        position: relative;
        cursor: pointer;
        padding-right: 40px; /* アイコン用のスペース */
    }

    /* プラス・マイナスアイコンの作成 */
    .nav-title::after {
        content: '+';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        transition: transform 0.3s;
    }

    /* 開いている時のアイコン（マイナス） */
    .accordion-group.is-active .nav-title::after {
        content: '-';
    }

    /* 初期状態は中身を隠す */
    .js-accordion-content {
        display: none;
        background: #f9f9f9;
        padding: 0 10px;
    }
}
/* --- ナビ　デフォルトの設定 --- */
.sp-only { display: none; }
.header-right.pc-only { display: block; }

/* ============================================================
   表示の出し分け設定（PCとスマホの競合を防ぐ）
   ============================================================ */

/* 1025px以上の設定（PC表示） */
@media (min-width: 1025px) {
    /* スマホ専用ナビとトグルボタンを完全に消してレイアウトから排除 */
    .sp-nav, 
    .menu-toggle {
        display: none !important;
    }

    /* PC用エリアを確実に表示 */
    .header-right {
        display: flex !important;
    }

    /* ロゴ(左)とheader-right(右)の2要素だけの並びにする */
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* 1024px以下の設定（スマホ・タブレット表示） */
@media (max-width: 1024px) {
    /* 1. ヘッダーの余白をリセットしてボタンを密着させる */
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px; /* 実際のロゴの高さに合わせて数値を調整してください */
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        padding-right: 0 !important;
    }

    /* 2. トグルボタン本体：高さを100%にして右端に固定 */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80px;  /* ヘッダーの高さと同じにすると正方形で綺麗です */
        height: 100%; /* これで上下の隙間がなくなります */
        background-color: #191e37; /* 画像の青色。ロゴの色に合わせて適宜変更 */
        cursor: pointer;
        z-index: 1000;
        border: none;
        padding: 0;
        gap: 8px; /* 二本線とMENU文字の間の距離 */
    }

    /* 3. 二本線のデザイン */
    .menu-toggle .bar-container {
        display: flex;
        flex-direction: column;
        gap: 8px; /* 線と線の間隔 */
    }

    .menu-toggle .bar {
        display: block;
        width: 35px; /* 線の長さ。画像に合わせて少し長めに設定 */
        height: 1.5px; /* 線の太さ。繊細な印象にするため細めに設定 */
        background-color: #fff;
        transition: all 0.3s ease;
    }

    /* 4. MENU文字のデザイン */
    .menu-toggle::after {
        content: "MENU";
        color: #fff;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.15em; /* 文字の間隔を広げて高級感を出す */
        font-family: sans-serif;
    }
	.site-header{
		padding: 0;
	}
    /* 5. 開いた時のアニメーション（CLOSEに変化） */
    .site-header.is-open .menu-toggle::after {
        content: "CLOSE";
    }

    /* 二本線が中央で交差して「×」になる設定 */
    .site-header.is-open .menu-toggle .bar:nth-child(1) {
        transform: translateY(5px) rotate(45deg); 
    background-color: #fff !important; /* 念のため色を強制 */
    }
    .site-header.is-open .menu-toggle .bar:nth-child(2) {
    /* 下の線は上に移動させて回転 */
    transform: translateY(-12px) rotate(-45deg);
    background-color: #fff !important; /* 念のため色を強制 */
	
}
}
    /* スマホナビの基本スタイル */
    .sp-nav {
        display: block; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #191e37; /* 濃紺背景 */
        z-index: 999;
		margin-top: 80px;
        padding: 40px 40px; /* ロゴと被らないよう上部を空ける */
        transform: translateX(100%); /* 右側に隠しておく */
        transition: transform 0.4s ease;
        box-sizing: border-box;
        overflow-y: auto; /* 項目が多い場合にスクロール可能に */
	
    }

    /* メニューが開いた時（JSで.site-headerに.is-openが付与される想定） */
    .site-header.is-open .sp-nav {
        transform: translateX(0);
    }

    /* リストのデザイン */
    .sp-nav-list { 
        list-style: none; 
        padding: 0; 
        margin: 0;
    }
    .sp-nav-list li a, .sp-sub-trigger {
        display: block;
        color: #fff;
        font-size: 1.1rem;
        padding: 18px 0;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        background: none;
        border-top: none; 
        border-left: none; 
        border-right: none;
        width: 100%;
        text-align: left;
        font-family: inherit;
    }

    /* お問い合わせ・採用ボタン風のデザイン */
    .sp-nav-btn a {
        background: #0068b2;
        text-align: center;
        border-radius: 5px;
        margin-top: 20px;
        border: none !important; /* 下線を消す */
        padding: 15px 0 !important;
    }
/* ==========================================
   　　　　　　　ニュース記事ページ
   ========================================== */
/*--トップページのお知らせ--*/
.top-news{
	margin: 0 auto 80px;
	width: 80%;
}
.top-news-list{
    grid-template-columns: repeat(1, 1fr);
}
/* カテゴリーラベルの共通スタイル */
.category-label {
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 2px;
    display: inline-block;
}
/* --- カテゴリー別の背景色 --- */
.cat-info {
    background-color: #0068b2 !important; /* お知らせ：ブルー */
}

.cat-press {
    background-color: #191e37 !important; /* プレスリリース:紺お*/
}

.cat-event {
    background-color: #27ae60 !important; /* イベント：緑 */
}

/* お知らせ詳細全体のコンテナ */
.news-detail-container {
    padding: 60px 0 100px;
    background-color: #fff;
}

.news-detail-container .inner {
    max-width: 900px; /* 記事が読みやすい幅に制限 */
    margin: 0 auto;
    padding: 0 20px;
}

/* パンくずリスト */
.news-detail-container .breadcrumb {
    margin-top: 0;    /* 例：ヘッダーとの距離をさらに広げる */
}

/* 記事ヘッダー */
.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.article-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}
.category-label {
    background: #191e37; /* ロゴの紺色 */
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 2px;
}
.article-title {
    font-size: 28px;
    line-height: 1.4;
    color: #191e37;
}

/* 本文エリア */
.article-content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}
.article-content p {
    margin-bottom: 1.5em;
}

/* 画像とキャプション */
.image-box {
    margin: 40px 0;
}
.image-box img {
    width: 100%;
    height: auto;
}
.image-box .caption {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}
/* 記事内画像 */
.post-image{
	text-align: center;
}
.post-image img{
	width: 100%;
	max-width: 600px;
}
/* 戻るボタン */
.article-footer {
    margin-top: 60px;
    text-align: center;
}
.back-btn {
    display: inline-block;
    padding: 15px 50px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}
.back-btn:hover {
    background: #191e37;
    color: #fff;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .article-title { font-size: 22px; }
    .news-detail-container { padding: 40px 0 60px; }
	/* パンくずリスト */
.news-detail-container .breadcrumb {
    margin-top: 70px;    /* 例：ヘッダーとの距離をさらに広げる */
	
}
}
@media (max-width: 480px) {
	.news-detail-container { padding: 110px 0 60px; }
}

/* 共通お問い合わせエリア */
.common-contact-area {
    margin-top: 80px;
    padding: 60px 40px;
    background-color: #f8f9fa; /* 薄いグレーで記事本文と区別 */
    border-top: 4px solid #191e37; /* 上部に紺色のアクセント */
    text-align: center;
}

.contact-title {
    font-size: 24px;
    color: #191e37;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    font-weight: bold;
}

.contact-lead {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 35px;
    color: #333;
}

/* ボタンの並び */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
	padding: 0 20px 0;
}

.contact-buttons a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 320px;
    padding: 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s ease;
    font-weight: bold;
}
/* アイコンの設定 */
.contact-buttons .material-symbols-outlined {
    margin: 0 12px 5px 0;
    font-size: 24px;
}
/* メールボタンの色 */
.btn-mail {
    background-color: #191e37;
    color: #fff;
    flex: 1;
    min-width: 250px;
}

/* 電話ボタンの色 */
.btn-tel {
    background-color: #fff;
    border: 2px solid #191e37;
    color: #191e37;
    flex: 1;
    min-width: 250px;
}
/* 電話番号と受付時間を縦並びにする */
.tel-text {
    display: flex;
    flex-direction: column;
    align-items: center;
	text-align: center;
}

.tel-text .number {
    font-weight: bold;
    font-size: 1.1em;
}

.tel-text .time {
    font-size: 12px;
}

/* ホバー時の挙動 */
.contact-buttons a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .common-contact-area {
        padding: 40px 20px;
    }
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    .contact-buttons a {
        width: 100%;
        max-width: 350px;
    }
}
/* --- アニメーション共通設定 --- */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px); /* 30px下に配置 */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* 元の位置に戻る */
    }
}
/* 1. 最初は透明で、30px下に下げておく */
.fade-in-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 2. JavaScriptで .is-visible が付いたら、不透明にして元の位置に戻す */
.fade-in-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* googleフォーム全体を囲むエリアの調整 */
.contact-form-wrapper {
    width: 100%;
    max-width: 800px; /* フォームが広がりすぎないように制限 */
    margin: 0 auto;   /* 中央寄せ */
    padding: 0;
}

/* iframe自体の調整 */
.contact-form-wrapper iframe {
    width: 100% !important; /* 横幅をレスポンシブ（親要素いっぱい）にする */
    min-height: 800px;      /* フォームの長さに合わせて調整してください */
    border: none;           /* 枠線を消す */
}