@charset "utf-8";

/* ==========================================================================
   基本設定 (Base)
   ========================================================================== */

body {
    margin: 0;
    background-color: #FFFFFF;
    text-align: justify;
    line-height: 1.6rem;
    font-family: 'Oswald', "Noto Sans JP", sans-serif;
}

/* リンク設定 */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* アンカーリンクの位置調整 */
a.anchor {
    display: block;
    padding-top: 30px;
    margin-top: -30px;
}

/* 画像設定
   (下部にあったmax-widthの記述を優先・統合) */
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    display: block;
}

main {
    padding: 0;
}

section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.clear {
    clear: both;
}

/* ==========================================================================
   ヘッダー (Header)
   ========================================================================== */
header {
    width: auto;
    height: auto;
    background-color: #FFFFFF;
    margin: auto;
    clear: both;
}

header h1,
header h2 {
    display: none;
}

#logo_left img {
    width: 30%;
    height: auto;
    padding: 2%;
}

#logo_right {
    display: none;
}

/* ==========================================================================
   メインビジュアル・動画 (Video)
   ========================================================================== */

.video-container {
    display: grid;
    place-items: center;
    line-height: 0;
}

.video-container>* {
    grid-area: 1 / 1 / 2 / 2;
}

.video-container video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


.video-title {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    width: 90%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    z-index: 1;
    font-size: clamp(1.0rem, 50%, 3.0rem);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   レイアウトコンテナ・共通クラス
   ========================================================================== */
.container {
    width: 100%;
    background-color: #FFFFFF;
    height: auto;
    padding-bottom: 10px;
    overflow-x: hidden;
}

.container h1 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    text-align: center;
    padding: 0;
    line-height: 1.7rem;
}

.container h2 {
    font-size: 1.0rem;
    font-weight: bold;
    color: #000;
    text-align: center;
    padding: 1% 0 5% 0;
}

.sec0 {
    padding: 10% 5%;
}

.sec1 {
    background-color: #f4f8f8;
}

/* ==========================================================================
   固定タブ (Fixed Tabs)
   ========================================================================== */
.fixed-tabs {
    position: fixed;
    top: 200px;
    right: 0;
    z-index: 1000;
}

.fixed-tabs a {
    display: block;
    padding: 20px 20px 20px 5px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: upright;
    border-radius: 8px 0 0 8px;
    margin-bottom: 5px;
    font-size: 0.8rem;
    letter-spacing: 0;
    line-height: 1.0rem;
}

#contact-tab {
    background-color: #d93a3e;
}

#download-tab {
    background-color: #002778;
}

/* ==========================================================================
   トップページ要素
   ========================================================================== */
.first_text_field {
    width: 85%;
    margin: 10% auto 0 auto;
}

.first_text {
    width: 100%;
    padding: 1% 0 5% 0;
}

.first_text p {
    margin: 3% 0 0 0;
}

.banner_area {
    width: 100%;
}

.banner_separator {
    width: 90%;
    margin: 8% auto;
}

.banner_separator img {
    width: 100%;
    height: auto;
}

.banner_separator a {
    display: block;
}

.banner_separator a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}

/* リンクカードエリア */
.link_area {
    width: 90%;
    margin: 0 auto;
}

.link_area h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 15px;
    padding: 0 0 7px;
    border-bottom: 2px solid #073290;
    line-height: 1.4;
}

#cards {
    display: flex;
    flex-wrap: wrap;
}

.card {
    width: 47%;
    border: 1px solid lightgray;
    margin: 1%;
}

.card h3 {
    color: #000;
    font-weight: bold;
    font-size: 1.0rem;
    margin: 0px 10px 10px 10px;
    padding-top: 10px;
    line-height: 1.3rem;
}

.picture img {
    width: 100%;
    object-fit: cover;
    height: 180px;
}

.picture a:hover {
    opacity: 0.7;
}

.description {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

.description p {
    font-size: 0.8rem;
    color: #000;
    padding: 10px 0;
    line-height: 1.4;
}

.description a {
    font-weight: bold;
    font-size: 0.8rem;
}

/* 産業領域 (Business Fields) - 2025.8.9追加 */
.business-fields {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 90%;
    margin: 0 auto;
}

.field-item {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    width: 100%;
    max-width: 400px;
}

.field-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.field-item .item-title {
    text-align: center;
    margin-top: 15px;
    color: #00529A;
    font-weight: bold;
}

.field-item .item-title::after {
    content: ' →';
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-description {
    color: white;
    text-align: left;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    line-height: 25px;
}

.field-item:hover .item-overlay {
    opacity: 1;
}

.field-item:hover .item-description {
    transform: translateY(0);
}

.field-item:hover img {
    transform: scale(1.1);
}

.field-item:hover .item-title {
    text-decoration: underline;
}

/* ==========================================================================
   会社概要・一般ページ基本 (Kihon)
   ========================================================================== */
.kihon_area {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    color: #333;
    line-height: 1.6;
}

/* セクション見出し */
.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ddd;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 25px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #040561;
}

/* リード文 */
.lead-text {
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* 会社概要テーブル（汎用） */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 16px;
}

.company-table th,
.company-table td {
    display: block;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    text-align: left;
}

.company-table th {
    background-color: #eee;
    font-weight: bold;
    border-bottom: none;
}

.company-table td {
    border-bottom: 1px solid #ccc;
    padding-top: 5px;
}

.company-table li {
    list-style-type: disc;
}

.business-list {
    margin: 0;
    padding-left: 1.2em;
}

.en-name {
    font-size: 0.85rem;
    color: #666;
}

/* 会社概要（テーブルとマップの横並び） */
.company-overview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 3rem;
}

.overview-table {
    flex: 1 1 500px;
    width: 100%;
}

.overview-map {
    flex: 1 1 300px;
    width: 100%;
    min-height: 300px;
}

.overview-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 4px;
}

/* 沿革テーブル */
.table-history {
    width: 100%;
    border-collapse: collapse;
}

.table-history tr {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0;
    border-bottom: 1px dotted #ccc;
}

.table-history th {
    flex: 0 0 80px;
    text-align: left;
    padding-top: 4px;
}

.table-history .year-en {
    display: block;
    font-size: 1.1rem;
    line-height: 1.2;
}

.table-history .year-ja {
    display: block;
    font-size: 0.75rem;
    color: #888;
}

.table-history td {
    flex: 1;
    padding-left: 10px;
}

.table-history ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.table-history li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.5em;
    font-size: 0.95rem;
    line-height: 1.6;
}

.table-history li:last-child {
    margin-bottom: 0;
}

.table-history li::before {
    content: "－";
    position: absolute;
    left: 0;
    font-size: 0.7em;
    top: 0.1em;
    color: #333;
}

/* 認定ボックス（働き方改革） */
.certification-box {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.cert-title {
    font-weight: bold;
    font-size: 1.1rem;
    padding-left: 10px;
    border-left: 5px solid #040561;
    color: #333;
    min-height: 3em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.cert-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cert-img {
    flex: 0 0 200px;
    margin: auto;
}

.cert-text {
    flex: 1;
    min-width: 250px;
}

.cert-text p {
    margin-bottom: 10px;
}

.small-note {
    font-size: 0.8rem;
    color: #666;
}

/* 行動指針 */
.guideline-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.guideline-img {
    flex: 1 1 300px;
}

.guideline-list {
    flex: 1 1 400px;
}

.guideline-list ul {
    padding-left: 1.2em;
    margin-top: 0;
}

.guideline-list li {
    list-style: disc;
}

.guideline-value {
    margin-top: 20px;
    background: #f0f8ff;
    padding: 15px;
    border-radius: 5px;
}

.guideline-value h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #040561;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px dashed #040561;
    display: inline-block;
}

/* ==========================================================================
   会社概要ページ 特殊 (Corporate)
   ========================================================================== */
.corp-table {
    width: 90%;
    margin: auto;
}

.corp-table h1,
.corp-table h2 {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 3.0rem;
}

.corp-table .column_link {
    margin: 45px 0 60px;
}

.corp-table .column_link a {
    color: #fff;
    display: block;
    max-width: 200px;
    text-align: center;
    text-decoration: none;
    margin: 0 auto;
    padding: 10px;
    background: #073290;
    border: 1px solid #073290;
}

.corp-table.column_link a:hover {
    color: #073290;
    background: #fff;
}

/* 会社概要テーブル（枠線付き） */
.c-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-size: 1.0rem;
}

.c-table tr,
.c-table th,
.c-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.c-table th {
    background: #f7f7f7;
    padding: 10px 15px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #ddd;
    border-bottom: none;
}

.c-table td {
    background: #fff;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-top: none;
    margin-bottom: 0;
}

/* 下部のtable-corp重複を統合 */
table.table-corp {
    width: 100%;
    font-size: 0.8rem;
    line-height: 1rem;
    float: none;
}

table.table-corp th {
    padding: 1%;
    text-align: left;
    font-size: 0.8rem;
    white-space: nowrap;
}

table.table-corp td {
    padding: 1%;
    vertical-align: top;
}

/* 沿革用テーブル */
table.table-corp_enkaku {
    width: auto;
    font-size: 0.8em;
    line-height: 150%;
    margin-left: 0px;
    float: none;
}

table.table-corp_enkaku th {
    padding: 10px;
    white-space: nowrap;
}

table.table-corp_enkaku th h1 {
    font-size: 0.8rem;
}

table.table-corp_enkaku th h2 {
    font-size: 0.6rem;
    line-height: 0.8rem;
}

table.table-corp_enkaku td {
    padding: 10px;
    vertical-align: top;
}

.corporate_googlemap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 95%;
    margin: 10% 0;
}

.corporate_googlemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.corp_nintei_title {
    font-size: 1.2rem;
    color: #ffffff;
    background-color: #60915A;
    padding: 20px;
    margin-bottom: 0px;
}

.corp_nintei_box {
    margin-bottom: 50px;
}

/* ==========================================================================
   設備ページ (Equipment)
   ========================================================================== */
.equipment_page {
    padding: 0 0;
    color: #333;
}

.page_header {
    text-align: center;
}

.page_header h1 {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

/* 下部の重複定義と統合 */
.page_lead {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
}

.equipment_section {
    margin-bottom: 60px;
    padding: 0 0px;
}

.section_title {
    font-size: 1.3rem;
    margin: 50px 0;
    padding-left: 15px;
    border-left: 4px solid #333;
}

/* レイアウト図 */
.layout_image img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
}

/* 設備テーブル */
.equ_category {
    margin-bottom: 40px;
}

.equ_category h3 {
    font-size: 1.0rem;
    background: #444;
    color: #fff;
    padding: 10px 15px;
    margin-bottom: 0;
}

.table_wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.equ_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 500px;
}

.equ_table th,
.equ_table td {
    border: 1px solid #eee;
    padding: 12px 15px;
    text-align: left;
}

.equ_table th {
    background: #f4f4f4;
    font-weight: bold;
}

.table_sub_head {
    font-size: 16px;
    color: #040561;
}

.table_sub_head td {
    background: #fcfcfc;
    font-weight: bold;
    color: #000000;
    font-size: 0.7rem;
}

/* セキュリティ設備 */
.security_text {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1.0rem;
    line-height: 1.5;
}

.security_gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.security_gallery .img_box img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   アクセスページ (Access)
   ========================================================================== */
.access_page {
    padding: 40px 0;
}

.map_wrapper {
    width: 100%;
    height: 300px;
    background: #eee;
    margin-bottom: 40px;
}

.map_wrapper iframe {
    width: 100%;
    height: 100%;
}

.access_container {
    padding: 0 0px;
}

/* 所在地カード */
.location_card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.location_info h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.address,
.tel {
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: #444;
}

.map_btn_area {
    margin-top: 20px;
}

.btn_google_map {
    display: inline-block;
    background: #4285F4;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: background 0.3s;
}

/* アクセス目安 */
.route_info {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed #ccc;
}

.route_info h3 {
    font-size: 1.0rem;
    margin-bottom: 15px;
}

.route_info .highlight {
    font-size: 0.8rem;
    line-height: 1.6;
}

.time_badge {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 5px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
    border-radius: 4px;
}

/* 案内図画像 */
.visual_map_section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.visual_map_image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
}

.caption {
    font-size: 0.6rem;
    color: #999;
    text-align: center;
    margin-top: 10px;
}

.access_googlemap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 500px;
    margin-top: 3%;
}

.access_googlemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.access image {
    width: 100%;
}

/* ==========================================================================
   お問い合わせページ (Contact)
   ========================================================================== */
table.table-toiawase {
    font-size: 1.0em;
    width: 30%;
    margin-left: 0px;
    line-height: 1.2em;
}

table.table-toiawase th {
    line-height: 1.3rem;
}

table.table-toiawase td {
    padding: 5px;
    vertical-align: top;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="textarea"] {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    font-size: 1.2em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* ==========================================================================
   プライバシーポリシー (Privacy)
   ========================================================================== */
.privacy {
    width: 85%;
    max-width: 900px;
    margin: 40px auto;
}

.privacy h1 {
    font-size: 1.4rem;
    color: #333333;
    line-height: 1.6;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2.5rem;
}

.privacy h2 {
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #000000;
    text-align: left;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.privacy p {
    font-size: 1.0rem;
    color: #333333;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 1rem;
    text-align: justify;
}

.privacy ol {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
    color: #333333;
}

.privacy ol li {
    font-size: 1.0rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    list-style-type: disc;
}

.privacy address {
    font-style: normal;
    font-size: 1.0rem;
    line-height: 1.8;
    margin: 1rem 0 2rem 1rem;
    color: #333333;
    border-left: 4px solid #ccc;
    padding-left: 1rem;
}

.privacy address strong {
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   フッター (Footer)
   ========================================================================== */
.footer {
    padding: 60px 20px 30px;
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
    text-align: center;
    color: #333;
}

.footer_inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer_brand {
    margin-bottom: 25px;
}

.footer_brand a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.footer_brand a:hover {
    opacity: 0.7;
}

.footer_logo {
    width: 160px;
    margin: 0 auto 12px;
}

.footer_logo img {
    width: 100%;
    height: auto;
}

.company_name {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
}

.footer_contact {
    margin-bottom: 40px;
    font-size: 0.8rem;
    line-height: 1.8;
}

.footer_address a {
    text-decoration: none;
    color: #666;
    display: inline-block;
    padding: 5px 0;
}

.footer_tel_fax {
    margin-top: 5px;
}

.footer_tel_fax .tel {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 5px 10px;
}

.footer_tel_fax .fax {
    color: #999;
    margin-left: 10px;
}

.sns_image_area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.sns_image {
    width: 40px;
    height: auto;
    transition: transform 0.3s;
}

.sns_image:hover {
    transform: translateY(-3px);
}

.sns_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sns_image p {
    margin: 0;
    line-height: 1.0rem;
    font-size: 0.8rem;
    text-align: center;
    font-weight: bold;
}

.sns_image a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.footer_policy_nav {
    margin-bottom: 40px;
}

.footer_policy_nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 0;
}

.footer_policy_nav li {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}

.footer_policy_nav li:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 10px;
    background-color: #ddd;
    margin: 0 12px;
}

.footer_policy_nav a {
    text-decoration: none;
    color: #888;
    transition: color 0.3s;
}

.footer_policy_nav a:hover {
    color: #000;
}

.footer_copyright {
    border-top: 1px solid #eee;
    padding-top: 25px;
    font-size: 0.8rem;
    color: #6e6e6e;
    letter-spacing: 0.05em;
}