/* =============================
   ArcLynk ホームページ用 style.css
   整理版／コメント付き
   2024/06/09
============================= */

/* -----------------------------
   全体・共通レイアウト
----------------------------- */
html, body {
  width: 100%;
  max-width: 100%;
  min-width: 320px; 
  overflow-x: hidden;
  height: 100%;
  background: #fff;
  color: #111;
  font-family: 'Noto Sans JP', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 60px;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

/* ロゴ部調整 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  z-index: 10;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.logo {
  height: auto;
  overflow: visible;
}
.logo img {
  max-height: 40px; /* 少し余裕を持たせる */
  margin-top: 15px;  /* 上方向に微調整 */
  margin-bottom: 4px;
}
.logo a {
  display: inline-block;
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  color: #0047AB;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.2s;
}
nav a:hover {
  color: #008060;
}

/* スクロール時にヘッダーの下に隠れないよう余白 */
section {
  width: 100%;
  margin: 0 auto;
  padding: 80px 0 60px 0;  /* 必要なセクション余白 */
  box-sizing: border-box;
}

/* ナビゲーションの調整 */
nav {
  display: flex;
  gap: 10px; /* 各リンクの間隔 */
  flex-wrap: wrap; /* モバイル対応（必要に応じて） */
}

/* ナビゲーションのリンク色 */
nav a {
  color: #0047AB;
  text-decoration: none;
  margin: 8px 12px;
  font-weight: bold;
  white-space: nowrap; /* ✅ 改行させない */
}

.lang-switcher {
  display: flex;
  gap: 12px;
}

.lang-btn {
  color: #0047AB;
  font-weight: bold;
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 6px;
  background: #f0f7ff;
  transition: background 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
  background: #0047AB;
  color: #fff;
}

/* -----------------------------
   トップビジュアル
----------------------------- */
.top-kv {
  position: relative;
  width: 100%;   /* 画像サイズに合わせて調整（px or 100%推奨） */
  height: 600px;  /* 画像の高さに合わせて */
  margin: 0 auto 32px auto;
}
.top-img {
  width: 100%;
  height: auto;
  display: block;
}
.top-catch {
  position: absolute;
  top: -20px;         /* 画像内の表示位置（上下）を調整 */
  right: 0px;       /* 画像内の表示位置（左右）を調整 */
  color: #111;
  font-size: 2em;  /* お好みで調整 */
  font-weight: bold;
  text-align: right;
  line-height: 1.2;
  letter-spacing: 1.5px;
  text-shadow: 0 3px 10px #fff, 0 0px 2px #fff; /* 白フチ効果で読みやすく */
  z-index: 2;
  white-space: pre-line;
}

/* -----------------------------
   CONCEPT円図スタイル例
----------------------------- */
#concept {
  min-height: 500px;          /* ← 背景縦方向設定 */
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.concept-desc p {
  font-size: 1.5em;      /* ← 文字大きさ調整 */
  line-height: 1.8;
  text-align: center;      /* ← 中央寄せの場合 */
  margin-bottom: 32px;     /* ← 余白設定 */
}

.link {
  color: #0047AB;
  font-weight: bold;
}

.concept-section {
  position: relative;
  overflow: hidden;
  background: none;
}
.concept-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('img/concept背景.JPG');
  background-size: cover;
  background-position: center;
  opacity: 0.15; /* 背景画像の薄さ */
  z-index: 0;
}
.concept-section > * {
  position: relative;
  z-index: 1;
}

/* コンセプトの図（円やテキスト） */
.concept-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  gap: 50px;           /* ← サークル間＆バツの間の余白（pxで自由に指定） */
  margin-top: 50px;    /* ← 上部余白 */
  margin-bottom: 50px; /* ← 下部余白 */  
}
.concept-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 32px 28px;
  box-sizing: border-box;
  margin-left: 0px;  /* ← 左サークルの左余白 */
  margin-right: 0px; /* ← 右サークルの右余白 */

}
.concept-circle.left {
  background: #0053B8;
}
.concept-circle.right {
  background: #008060;
}
.concept-x {
  font-size: 4.5em;
  color: #222;
  font-weight: bold;
  margin-left: 20px;      /* ← バツ左側の余白 */
  margin-right: 20px;     /* ← バツ右側の余白 */
}
.circle-title-left {
  position: absolute;
  top: 70px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}
.circle-text-left {
  position: absolute;
  top: 190px; 
  width: 270px;
  text-align: center;    
  font-size: 1em;
  line-height: 1.2;
}
.circle-title-right {
  position: absolute;
  top: 70px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}
.circle-text-right {
  position: absolute;
  top: 190px;
  width: 270px;
  text-align: center;    
  font-size: 1em;
  line-height: 1.2;
}
.concept-x {
  font-size: 4.5em;
  color: #222;
  margin: 0 10px;
  font-weight: bold;
}

/* -----------------------------
   事業内容グリッド
----------------------------- */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 24px;
}
.business-item {
  background: #b3d2ff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 18px 10px 18px 10px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.business-item:hover {
  box-shadow: 0 6px 24px rgba(0,32,128,0.08);
}
.business-item h3 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
}

/* -----------------------------
   メンバー紹介（横並びカード）
----------------------------- */
.members-list {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.member-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px #fff;
  padding: 28px 18px;
  width: 300px;
  text-align: center;
}
.member-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.member-role {
  font-size: 1.05rem;
  color: #111;
}
.member-name {
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 6px;
}
.member-desc {
  font-size: 0.96rem;
  color: #444;
  text-align: left;
  margin-top: 12px;
  line-height: 1.6;
}

/* -----------------------------
   COMPANY PROFILE レイアウト
----------------------------- */
.profile-table {
  width: 100%;
  display: flex;
  gap: 44px;
  margin-top: 30px;
}
#profile .section-title {
  text-align: center;
  font-size: 2.4em;
  font-weight: bold;
  margin-bottom: 28px;
}

.company-container {
  display: flex;
  gap: 40px;  /* カラム間のスペース */
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.company-info {
  min-width: 340px;
  max-width: 380px;
  font-size: 1.12em;
  line-height: 1.7;
}

.company-info .row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}

.company-info .label {
  font-weight: bold;
  width: 100px; /* ラベル部分幅 */
  min-width: 120px;
  font-size: 1.07em;
  margin-right: 30px; /* ラベルと値の間の隙間 */
}

.company-info .value {
  max-width: 280px;
  word-break: break-word;     /* 長い場合は折り返し */
}

.company-info .line {
  border-bottom: 1px solid #ccc;
  margin-bottom: 16px;
  margin-top: -8px;
  margin-left: 2px;
  width: 95%;
}

.company-business {
  min-width: 410px;
  max-width: 540px;
  font-size: 1.09em;
  line-height: 1.8;
}

.company-business .biz-label {
  font-weight: bold;
  font-size: 1.15em;
  margin-bottom: 8px;
  display: block;
}

.company-business ul {
  margin: 6px 0 0 24px;
  padding: 0;
}

.company-business li {
  margin-bottom: 2px;
  font-size: 0.98em;
  text-indent: 10px;
}

/* -----------------------------
   CONTACTフォーム
----------------------------- */
.section-title {
  font-size: 2.5rem;      /* お好みで調整可 */
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px;
  margin-top: 0;
  letter-spacing: 0.02em;
}

/* フォームの内側余白やデザインは必要なら残す */
#contact form {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
#contact h2 {
  margin-bottom: 24px;
}

#contact form label {
  display: block;
  margin-bottom: 18px;
}

#contact .field-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

#contact .required {
  color: red;
  font-size: .97em;
}

#contact input,
#contact select,
#contact textarea {
  width: 100%;
  padding: 8px;
  margin: 0;
  border: 1px solid #bbb;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1rem;
  margin-bottom: 0;
}

#contact textarea {
  height: 100px;
}

#contact .privacy-block {
  margin-bottom: 24px;
}

#contact .chk-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

#contact .chk-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

#contact .note {
  font-size: 0.97em;
}

#contact .send-btn {
  background: #0047AB;
  color: #fff;
  border: none;
  padding: 12px 36px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

/* 共通：セクション見出しの中央寄せ＆幅揃え */
#concept {
  max-width: 1100px;       /* フォームの幅と揃える */
  margin: 0 auto 0 auto;  /* 左右中央寄せ */
  padding: 0 0 4px 0;     /* 必要なら微調整 */
}
#concept h2 {
  margin: 0 0 12px 0;     /* 下だけ余白、左端ゼロ */
  padding: 0;
  font-size: 2em;         /* 必要なら調整 */
  font-weight: bold;
}

/* 下のフォームも幅を合わせて中央寄せ */
#contact {
  max-width: 800px;
  margin: 0 auto 0 auto;
  padding: 4px 0 32px 0;
  background: #fff;
  border-radius: 0;   /* 枠消したい場合 */
  box-shadow: none;   /* 枠消したい場合 */
}

/* -----------------------------
   フッター（必要時）
----------------------------- */
footer {
  background: #1653a2;
  color: #fff;
  text-align: center;
  padding: 30px 0 12px 0;
  font-size: 0.96rem;
}


/* -----------------------------
   タブレット対応
----------------------------- */
@media (max-width: 900px) {
  .concept-circles {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .concept-circle {
    width: 88vw;
    max-width: 400px;
    min-width: 180px;
    height: 320px;
    border-radius: 50%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    padding: 18px 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* ↑ここまでは"だいたい円形" */
  }
  .circle-title-left, .circle-title-right,
  .circle-text-left, .circle-text-right {
    font-size: 1em;
    line-height: 1.4;
    width: 95%;
    margin: 0 0 8px 0;
    text-align: center;
    position: static;
  }
  .concept-x {
    font-size: 3em;
    margin: 10px 0;
  }
}

/* -----------------------------
   スマホ対応
----------------------------- */
@media (max-width: 900px) {
  html, body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  /*  旧header　250618　*/
  /*
  header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 8px 4%;
    gap: 6px;
  }
  */
  /*  ここまで　250618　*/
  
  .logo {
    margin-bottom: 2vw;
  }

  /*  スマホのみ小さく変更　250618　*/
  .logo img {
    max-height: 20px;
  }
  /*  ここまで　250618　*/

  nav ul {
    flex-direction: column !important;
    gap: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  nav ul li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  nav ul li a {
    display: block;
    padding: 10px 0;
    font-size: 1em;
    margin: 0 0 2px 0;
    width: 100%;
    text-align: left;
  }
  /*  言語切り替えを縦置きに変更　250618　*/
  .lang-switcher {
    display: flex !important;
    flex-direction: column !important;  /* ←縦並びに */
    gap: 4px !important;
    align-items: flex-start !important; /* 左寄せ */
    margin: 6px 0 !important;
  }
  .lang-btn {
    display: inline-block !important;   /* 横書きに */
    writing-mode: horizontal-tb !important; /* 横書きを強制 */
    font-size: 13px !important;
    padding: 3px 10px !important;
    min-width: 38px !important;
    background: #fff !important;
    border-radius: 8px !important;
    margin: 0 !important;
    text-align: center !important;
    border: none !important;
    color: #0047AB !important;
  }
  /*  ここまで　250618　*/

  .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  .top-kv {
    width: 100vw;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    height: auto;
  }
  .top-img {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .top-catch.en {
    background: none;
    position: absolute;
    right: 0vw;
    top: -vw;
    font-size: 0.8em;
    width: 66vw;
    max-width: 240px;
    min-width: 60px;
    word-break: break-word;
    line-height: 1.2;
    text-align: right;
    z-index: 5;
    padding: 4px 6px;
    border-radius: 6px;
    color: #111;
    text-shadow: none;
    box-sizing: border-box;
  }
  /* コンセプト図 */
  .concept-circles {
    flex-direction: column;
    gap: 18px;
    align-items: center;
    margin-top: 22px;
    margin-bottom: 22px;
  }
  .concept-circle {
    width: 90vw;
    height: 90vw;
    max-width: 260px;
    max-height: 260px;
    min-width: 100px;
    min-height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 3px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
  }
  .circle-title-left, .circle-title-right,
  .circle-text-left, .circle-text-right {
    font-size: 0.9em;
    line-height: 1.15;
    width: 98%;
    margin: 0 0 5px 0;
    text-align: center;
    padding: 0;
    position: static;
  }
  .concept-x {
    font-size: 1.2em;
    margin: 6px 0;
  }
  /* 事業内容 */
  .business-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }
  .business-item {
    width: 96vw;
    margin: 0 auto;
    min-width: 0;
    box-sizing: border-box;
  }
  /* 会社情報 */
  .company-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    width: 100%;
  }
  .company-info,
  .company-business {
    min-width: 0;
    max-width: 100vw;
    width: 100vw;
    box-sizing: border-box;
    padding: 0 2vw;
  }
  /* メンバー紹介 */
  .members-list {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    width: 100%;
  }
  .member-card {
    width: 95vw;
    min-width: 0;
    box-sizing: border-box;
  }
  .member-card img {
    width: 110px;
    height: 110px;
  }
  header {
    position: static !important;
    height: auto !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    padding: 8px 2vw !important;
    box-sizing: border-box !important;
    top: unset !important;
    left: unset !important;
    right: unset !important;
    bottom: unset !important;
    z-index: 1 !important;
    background: #fff !important;
    box-shadow: none !important;
  }  
}

