/* =========================================
   基本設定（共通）
   ========================================= */

   /* --- Reset & Base --- */
:root {
    --main-color: #004a99;
    --accent-color: #e60012;
    --text-color: #333;
    --bg-light: #f4f7f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    /* padding: 0; */
    /* font-family: 'Noto Sans JP', sans-serif; */
    /* color: #333; */
    /* line-height: 1.8; */
    /* background-color: #fff; */
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

header.nav_header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


/* =========================================
   メインコンテンツ（共通レイアウト）
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
}



.logo {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--main-color);
}

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

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--main-color);
}

.btn-entry-small {
    background: var(--accent-color);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
}

/* ヘッダー（青背景） */
h1.main-title {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin: 0px;
}

.page-header {
    background-color: rgb(81, 113, 145);
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 120px 20px 60px 20px;
}

.company_scenery {
    background-image: linear-gradient(rgb(173 214 255 / 60%), rgb(65 65 65 / 60%)), url(img/main-b.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.subtitle {
    font-size: 14px;
    letter-spacing: 0.4em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.main-title {
    font-size: 42px;
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.1em;
}

header.page-header.header-photo {
  background-color: rgb(181 203 225);

}

/* レイアウト */
.info-section {
    display: flex;
    gap: 60px;
    margin-top: 80px; 
    margin-bottom: 80px;
    align-items: flex-start;
}

/* ビジュアル（画像・マップ） */
.company-visual, .map-container {
    flex: 1.2;
}

.company-visual img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* テキスト */
.text-content {
    flex: 1;
}

.eng-name {
    color: #517191;
    font-size: 13px;
    letter-spacing: 0.2em;
    margin-bottom: 5px;
    font-weight: bold;
}

.company-name, .section-title-blue {
    color: #1a4a82;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: bold;
}

.address-info, .access-detail {
    font-style: normal;
    font-size: 15px;
    color: #777;
    line-height: 2;
}

.access-detail p {
    margin-bottom: 25px;
}

/* =========================================
   [2] フォトギャラリー セクション（下部・追加部分）
   ========================================= */
.photo-gallery-section {
    margin-top: 100px;
}

/* ヘッダー（薄い水色背景） */
.header-photo {
    background-color: #EBF7FC; 
    text-align: center;
    padding: 60px 20px;

    background-image: 
    linear-gradient(rgba(81, 113, 145, 0.6), rgba(81, 113, 145, 0.6)),
    url('img/photo-k.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.subtitle-photo {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    margin-top: 0;
}

.main-title-photo {
    color: #333; 
    font-size: 32px;
    margin: 0;
    font-weight: normal; 
    letter-spacing: 0.1em;
}

/* ギャラリーコンテナ */
.gallery-container {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* グリッド（2列） */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px; 
}

/* 各階写真*/
.photo-item {
    text-align: center;
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 1.5 / 1;
    background-color: #BDBDBD; 
    border-radius: 12px; 
    overflow: hidden; 
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* 画像タイトル （説明文）*/
.photo-caption {
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 13px;
    color: #999;
    letter-spacing: 0.1em;
}


/* =========================
   メニューバー統一
   ========================= */

/* PC */
nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* スマホ */
@media (max-width: 768px) {


    nav {
        display: none;
    }

    /*
    nav {
        display: flex;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px;
    }
    */
}

/* =========================================
   レスポンシブ設定（スマホ表示共通）
   ========================================= */
@media (max-width: 768px) {

	
	/* コンテナ共通 */
    .container {
        padding: 0 20px;
    }

    /* ヘッダー（濃い青） */
    .header-main {
        padding: 50px 20px;
    }
    .header-main .main-title {
        font-size: 28px;
    }

    .info-section {
        flex-direction: column;
        gap: 30px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .company-visual, .map-container, .text-content {
        flex: none;
        width: 100%;
    }

    .map-container {
        aspect-ratio: 4 / 3;
    }


    .header-photo {
        padding: 40px 20px;
    }
    .main-title-photo {
        font-size: 22px;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
}


/* 問い合わせ */

/* 背景＋全体 */
.toiawase_top {
  background: #004a99;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

/* タイトル */
.toiawase_title {
  font-size: 28px;
  margin-bottom: 30px;
}

/* 横並び */
.toiawase_gr {
  display: flex;
  justify-content: center;
  gap: 80px;
  align-items: center;
  margin-bottom: 30px;
}

/* 電話・メール共通 */
.row_tel,
.row_mail {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* アイコン */
.tel_a i,
.mail_ahref i {
  font-size: 50px;
  color: #fff;
}

/* 電話番号 */
.time_a {
  font-size: 36px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* 受付時間 */
.time_p {
  font-size: 14px;
  margin-bottom: 5px;
}

/* フォーム */
.form_ahref {
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* 下のコメント */
.coment_toiawase_p p {
  font-size: 16px;
  opacity: 0.9;
}

.row_a_mail {
    display: flex;
    gap: 10px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .toiawase_gr {
    flex-direction: column;
    gap: 30px;
  }

  .time_a {
    font-size: 28px;
  }

  .form_ahref {
    font-size: 22px;
  }

  .tel_a i,
  .mail_ahref i {
    font-size: 40px;
  }
}


/* ===== Footer ===== */
/* フッター全体 */
.main-footer {
  background: #e9e9e9;
  padding: 60px 0 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
}

/* カラム余白 */
.main-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

/* 各カラム */
.main-footer .col-lg-3 {
  flex: 1;
  min-width: 220px;
}

/* 見出し */
.main-footer h4,
.main-footer h2 {
  font-weight: bold;
  margin-bottom: 15px;
}

.main-footer h2 {
  color: #2b6cb0;
  font-size: 22px;
}

/* リスト */
.main-footer ul {
  padding: 0;
  margin: 0;
}

.main-footer ul li {
  list-style: none;
}

.main-footer li {
  line-height: 1.8;
}

/* リンク */
.main-footer a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: 0.2s;
}

.main-footer a:hover {
  color: #2b6cb0;
  text-decoration: underline;
}

li.text-primary {
    font-size: 14px;
}

/* SNS */
.social-custom {
  margin: 10px 0 15px;
}

.social-custom li {
  display: inline-block;
  margin-right: 10px;
}

.social-custom i {
  font-size: 22px;
}

/* YouTube赤 */
.fa-youtube {
  color: #e60023;
}

/* Facebook青 */
.fa-facebook-square {
  color: #1877f2;
}

/* TEL */
/* .tel a {
  color: #2b6cb0;
} */

/* コピーライト */
.copyrights {
  background: #3a3a3a;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 13px;
}



/* ===== ヘッダー全体 ===== */
.nav_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-left: 30px;
}

/* ===== PCナビ ===== */
#nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
	margin-right: 30px;
}

#nav a {
    text-decoration: none;
    color: #333;
}

/* ===== ハンバーガー ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
margin-right: 10px;
}


/* ===== スマホ ===== */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    #nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: #fff;
        display: none;
        border-top: 1px solid #eee;
    }

    #nav.active {
        display: block;
    }

    #nav ul {
        flex-direction: column;
        padding: 20px;
    }

    #nav li {
        margin-bottom: 10px;
    }
}




