/*会社案内(サイトマップ)
---------------------------------------------------------------------------*/
.company_sitemap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  justify-items: center;
}

.company_sitemap_item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}

.company_sitemap_text {
  margin-top: 14px;
  font-size: 16px;
  color: #1e3a8a;
  border-bottom: 2px solid #1e3a8a;
  display: inline-block;
  transition: all 0.3s ease;
}

.company_sitemap_item:hover img {
  filter: brightness(0.85);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.company_sitemap_item:hover .company_sitemap_text {
  border-bottom: none;
  opacity: 0.7;
}

/* ===== スマホ ===== */
@media (max-width: 768px) {
  .company_sitemap {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 40px 6px;
  }

  .company_sitemap_item {
    max-width: none;
  }
}

/*本文横幅制限
---------------------------------------------------------------------------*/
.company-section {
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/*タカハシテクノとは
---------------------------------------------------------------------------*/
.au-block,
.au-hero__inner,
.au-grid,
.au-team__grid {
    max-width: 1200px;
    margin: 0 auto;
}

.about_banner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 0 50px;
}

.about_banner img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e5e5e5;
}

.au-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 30px 0 50px;
}

.au-hero__text p {
    margin: 0 0 24px;

    font-size: 15px;
    line-height: 2;
    color: #333;
}

.mission_title {
    margin: 0 0 20px;

    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .02em;
    color: #222;
}

.mission_list {
    margin: 0;
    padding-left: 1.2em;
}

.mission_list li {
    margin-bottom: 10px;

    font-size: 15px;
    line-height: 2;
    color: #333;
}

.au-hero__image {
    aspect-ratio: 4 / 3;
    background:
        url("../img/company/about/meeting.jpg")
        center / cover no-repeat;
    border: 1px solid #e5e5e5;
}

.au-text {
    margin-top: 24px;
}

.au-text p {
    max-width: 900px;

    font-size: 16px;
    line-height: 2;
    color: #333;
}

.au-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.au-card {
    display: flex;
    flex-direction: column;
}

.au-item {
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.au-item img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.au-caption {
    padding-top: 14px;

    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* ===== タブレット ===== */
@media (max-width: 900px) {

    .au-hero__inner,
    .au-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .au-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .au-hero__image {
        max-height: 420px;
    }
}

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

    .about_banner {
        max-width: 100%;
        padding: 20px 0 36px;
    }

    .au-hero__text p,
    .mission_list li,
    .au-text p {
        font-size: 14px;
        line-height: 1.9;
    }

    .mission_title {
        margin-bottom: 14px;
        font-size: 1.15rem;
        line-height: 1.6;
    }

    .au-gallery {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 30px;
    }

    .au-item img {
        height: 220px;
    }

    .au-caption {
        padding-top: 10px;
        padding-bottom: 12px;

        font-size: 13px;
        line-height: 1.7;

        border-bottom: 1px solid #eee;
    }

    .au-card:last-child .au-caption {
        border-bottom: none;
    }
}

/*代表挨拶
---------------------------------------------------------------------------*/
.message {
  padding: 30px 40px 0;
  background: #ffffff;
}

.message__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
  font-family: "Noto Sans JP", sans-serif;
}

.message__right {
  flex: 1;
}

.message__photo img {
  width: 100%;
  height: auto;
  border-radius: 0;
  filter: grayscale(10%);
}

.message__heading {
  font-size: 36px;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
  position: relative;
}

.message__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 2px;
  background: #000;
}

.message__text {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.mark-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.mark-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 12px;
  line-height: 1.8;
  color: #333;
  word-break: break-word;
}

.mark-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
}

.message__info {
  margin-top: 50px;
  text-align: right;
}

.message__title {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #666;
  margin: 0;
}

.message__name {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 8px 0 0;
}

.message__signature {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 12px 0 0 auto;
}

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

  .message {
    padding: 40px 20px 0;
  }

  .message__inner {
    flex-direction: column;
    gap: 30px;
  }

  .message__heading {
    font-size: 24px;
  }

  .message__text {
    font-size: 14px;
    line-height: 2;
  }

  .mark-list li {
    font-size: 14px;
    padding-left: 1.2em;
  }

  .message__info {
    margin-top: 40px;
  }

  .message__name {
    font-size: 18px;
  }

  .message__signature {
    width: 160px;
  }
}

/*会社概要
---------------------------------------------------------------------------*/
.company-profile {
  width: 100%;
  padding: 30px 20px 0px 20px;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  color: #32454D;
  line-height: 1.8;
}

.table-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 10px 0;
}

.profile-table {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 15px;
}

.profile-table th,
.profile-table td {
  padding: 20px;
  text-align: left;
  position: relative;
  vertical-align: top;
}

.profile-table th {
  width: 150px;
  font-weight: bold;
}

.profile-table tr {
  border-bottom: 1px solid #565656;
}

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

.profile-table th::after {
  content: "";
  display: block;
  width: 2px;
  height: 50%;
  background-color: #565656;
  position: absolute;
  right: 0;
  top: 25%;
  border-radius: 40px;
}

/* ===== スマホ ===== */
@media screen and (max-width: 640px) {
  .profile-table {
    width: 90%;
  }

  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .profile-table tr {
    margin-bottom: 5px;
    border-bottom: 1px solid #565656;
  }

  .profile-table tr:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .profile-table th {
    padding: 10px 0 5px;
    width: 100%;
  }

  .profile-table td {
    padding: 0 0 10px;
  }

  .profile-table th::after {
    display: none;
  }
}

/* ===== 役員名前左揃え ===== */
.officer_list div {
  display: flex;
}

.officer_list .post {
  width: 9em;
  flex-shrink: 0;
}

.officer_list .name {
  white-space: nowrap;
}

/*事業概要
---------------------------------------------------------------------------*/
.main_hot_spot{
  position:relative;
  max-width:1200px;
  margin:0 auto;
}

.main_hot_spot > img{
  display:block;
  width:100%;
  height:auto;
}

.hotspot{
  position:absolute;

  margin:0;
  padding:0;

  background:none;
  border:none;

  cursor:pointer;

  z-index:10;
}

.hotspot:hover{
  z-index:100;
}

.pin{
  position:absolute;

  left:-14px;
  top:-28px;

  display:block;

  width:28px;
  height:28px;

  background:#d70015;

  border:3px solid #ffffff;

  border-radius:50% 50% 50% 0;

  transform:rotate(-45deg);

  transition:transform .3s ease;
}

.hotspot:hover .pin{
  transform:
    rotate(-45deg)
    scale(1.12);
}

.pin-center{
  position:absolute;

  left:50%;
  top:50%;

  width:10px;
  height:10px;

  background:#ffffff;

  border-radius:50%;

  transform:
    translate(-50%,-50%)
    rotate(45deg);
}

.pin::after{
  content:"";

  position:absolute;

  left:50%;
  top:50%;

  width:100%;
  height:100%;

  border-radius:50%;

  border:2px solid rgba(255,255,255,.7);

  transform:
    translate(-50%,-50%)
    rotate(45deg);

  animation:pinPulse 2.4s infinite;
}

@keyframes pinPulse{

  0%{
    opacity:1;

    transform:
      translate(-50%,-50%)
      rotate(45deg)
      scale(.9);
  }

  100%{
    opacity:0;

    transform:
      translate(-50%,-50%)
      rotate(45deg)
      scale(2.3);
  }

}

/* ===== モーダル ===== */

.business_modal{
  position:fixed;
  inset:0;

  display:flex;
  justify-content:center;
  align-items:center;

  padding:clamp(16px, 3vw, 40px);

  opacity:0;
  visibility:hidden;

  transition:.35s ease;

  overflow:auto;

  z-index:99999;
}

.business_modal.active{
  opacity:1;
  visibility:visible;
}

.business_modal_overlay{
  position:absolute;
  inset:0;

  background:rgba(0,0,0,.78);
}

.business_modal_content{
  position:relative;

  width:min(780px, calc(100vw - 32px));

  max-height:calc(100vh - 32px);

  overflow-y:auto;

  background:#ffffff;

  border:1px solid #d1d5db;

  padding:clamp(24px, 4vw, 50px);

  z-index:2;

  transform:translateY(20px);

  transition:transform .35s ease;
}

.business_modal.active .business_modal_content{
  transform:translateY(0);
}

.business_modal_close{
  position:absolute;

  top:0;
  right:0;

  width:clamp(56px, 6vw, 72px);
  height:clamp(56px, 6vw, 72px);

  border:none;

  border-left:1px solid #d1d5db;
  border-bottom:1px solid #d1d5db;

  background:#ffffff;

  color:#111827;

  font-size:clamp(22px, 2vw, 28px);
  line-height:1;

  cursor:pointer;

  transition:
    background .3s ease,
    color .3s ease;
}

.business_modal_close:hover{
  background:#111827;
  color:#ffffff;
}

.business_modal_content h3{
  position:relative;

  margin:0 0 clamp(20px, 3vw, 36px);

  padding-bottom:clamp(14px, 2vw, 20px);

  font-size:clamp(24px, 4vw, 38px);
  font-weight:700;
  line-height:1.4;

  color:#111827;

  word-break:break-word;
}

.business_modal_content h3::after{
  content:"";

  position:absolute;

  left:0;
  bottom:0;

  width:clamp(50px, 8vw, 70px);
  height:3px;

  background:#111827;
}

.business_modal_content img{
  display:block;

  width:100%;
  height:auto;

  margin-bottom:clamp(20px, 3vw, 36px);

  border:1px solid #e5e7eb;
}

.business_modal_content p{
  margin:0;

  color:#4b5563;

  font-size:clamp(14px, 1.8vw, 16px);
  line-height:2;
}

.business_modal_content a{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-width:clamp(180px, 25vw, 240px);
  height:clamp(52px, 6vw, 60px);

  margin-top:clamp(24px, 3vw, 36px);

  padding:0 clamp(20px, 3vw, 30px);

  border:2px solid #111827;

  background:#111827;
  color:#ffffff;

  text-decoration:none;

  font-size:clamp(13px, 1.5vw, 14px);
  font-weight:700;

  letter-spacing:.08em;

  transition:
    background .3s ease,
    color .3s ease,
    border-color .3s ease;
}

.business_modal_content a::after{
  content:"→";
  margin-left:12px;
}

.business_modal_content a:hover{
  background:#ffffff;
  color:#111827;
}

.hotspot:focus-visible,
.business_modal_close:focus-visible,
.business_modal_content a:focus-visible{
  outline:2px solid #111827;
  outline-offset:3px;
}

/* =========================================================
TABLET
========================================================= */

@media screen and (max-width:1024px){

  .business_modal_content{
    width:min(720px, calc(100vw - 40px));
  }

}

/* =========================================================
SMARTPHONE
========================================================= */

@media screen and (max-width:768px){

  .business_modal{
    padding:16px;
    align-items:center;
  }

  .pin{
    width:22px;
    height:22px;

    left:-11px;
    top:-22px;
  }

  .pin-center{
    width:12px;
    height:12px;
  }

  .business_modal_content{
    width:100%;
    max-height:calc(100vh - 32px);
    padding:24px;
  }

  .business_modal_close{
    width:56px;
    height:56px;
  }

  .business_modal_content a{
    width:100%;
    min-width:auto;
  }

}

.image_note{
  margin-top:10px;
  font-size:14px;
  color:#666;
}

/*事業概要詳細
---------------------------------------------------------------------------*/
/* ========================= 全体 ========================= */
.hs_block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.hs_block_inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  font-family: "Noto Sans JP", sans-serif;
}

/* ========================= テキスト ========================= */
.hs_block_content {
  flex: 1;
}

.hs_block_content h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hs_block_content p {
  line-height: 1.7;
}

/* ========================= 画像 ========================= */
.hs_block_media {
  position: relative;
  flex: 1;
}

.hs_block_media img {
  width: 100%;
  display: block;
  border-radius: 0;
}

/* ========================= ホットスポット ========================= */
.hs_block_point {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ff3b30;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

/* 波紋 */
.hs_block_point::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  animation: hs_block_pulse 2s infinite;
}

@keyframes hs_block_pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ========================= モーダル ========================= */
.hs_block_modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.hs_block_modal.is-open {
  display: flex;
}

.hs_block_modal_inner {
  position: relative;
  background: #fff;
  padding: 16px;
  border-radius: 0;
  max-width: 90%;
  max-height: 80vh;
  text-align: center;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 画像 */
.hs_block_modal_inner img {
  max-width: 100%;
  max-height: 50vh; /* テキスト分の余白を確保 */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  flex-shrink: 1;
}

/* テキスト */
.hs_block_modal_text {
  padding: 14px 10px 6px;
  text-align: center;
  flex-shrink: 0; /* 画像に押し潰されない */
}

/* タイトル */
.hs_block_modal_text h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

/* 説明文 */
.hs_block_modal_text p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  line-height: 1.7;
  color: #333;
  max-width: 420px;
  margin: 0 auto;
}

/* 閉じる */
.hs_block_close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #111;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* ========================= SP ========================= */
@media (max-width: 768px) {
 
  .hs_block_inner {
    flex-direction: column;
  }

  .hs_block_content {
    order: 1;
  }

  .hs_block_media {
    order: 2;
  }

  /* ★スマホ時ホットスポットサイズ調整 */
  .hs_block_point {
    width: 16px;
    height: 16px;
  }

  /* 波紋も比例して調整 */
  .hs_block_point::after {
    inset: -5px;
  }
}



/*製造可能範囲
---------------------------------------------------------------------------*/
/* ==========================================
TABLE
========================================== */

.info_table{
  width:100%;
  border:1px solid #ddd;
}

.info_row{
  display:grid;
  grid-template-columns:1fr 1.5fr 1fr;
  border-bottom:1px solid #ddd;
}

.info_row:last-child{
  border-bottom:none;
}

.info_cell{
  padding:15px 20px;
  border-right:1px solid #ddd;
}

.info_cell:last-child{
  border-right:none;
}

.info_head{
  font-weight:700;
  background:#f7f7f7;
}

/* ==========================================
SP
========================================== */

@media screen and (max-width:768px){

  .info_row{
    display:block;
    border-bottom:2px solid #ddd;
  }

  .info_cell{
    border-right:none;
    border-bottom:1px solid #ddd;
    position:relative;
  }

  .info_cell:last-child{
    border-bottom:none;
  }

}


.processing_type{
  max-width:600px;
  margin:0 auto;
  text-align:center;
}

.processing_type_img{
  display:inline-block;
  max-width:100%;
  height:auto;
}

/*アクセス(表)
---------------------------------------------------------------------------*/
/* =========================
   ACCESS
========================= */

.access_section {
    margin-top:30px;
}


/* =========================
   TAB
========================= */

.access_tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 52px;
}

.access_tab {
    appearance: none;
    border: 1px solid #d9d9d9;
    background: #fff;

    position: relative;
    width: 100%;
    box-sizing: border-box;

    /* スリム化 */
    min-height: 58px;
    padding: 14px 20px;

    cursor: pointer;

    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .03em;
    color: #333;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .2s ease;
}

.access_tab:hover {
    border-color: rgba(0, 45, 120, .4);
}

/* 選択中 */
.access_tab.is-active {
    color: #fff;
    border-color: transparent;

    background: #004da1;
}

/* 吹き出し三角 */
.access_tab.is-active::after {
    content: '';
    position: absolute;

    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;

    width: 0;
    height: 0;

    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #004da1;
}


/* =========================
   PANEL
========================= */

.access_panel {
    display: none;
}

.access_panel.is-active {
    display: block;
}


/* =========================
   CARD
========================= */

.access_card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: start;
}

.access_card__map {
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.access_card__map iframe,
.access_card__map img {
    width: 100%;
    height: 420px;
    display: block;
    border: 0;
    object-fit: cover;
}


/* =========================
   INFO
========================= */

.access_info {
    margin-top: 24px;
    border-top: 1px solid #e5e5e5;
}

.access_row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;

    padding: 22px 0;
    border-bottom: 1px solid #e5e5e5;
}

.access_row dt {
    font-weight: 600;
    color: #333;
    letter-spacing: .02em;
}

.access_row dd {
    margin: 0;
    color: #444;
    line-height: 1.9;
}


/* =========================
   DETAIL IMAGE
========================= */

.access_detail {
    margin-top: 50px;
}

.access_detail__image {
    max-width: 700px;   /* ← 小さく */
    margin: 0 auto;     /* 中央寄せ */
    margin-top: 50px;

    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.access_detail__image img {
    width: 100%;
    display: block;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .access_card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .access_card__map iframe,
    .access_card__map img {
        height: 340px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .access_section {
        margin-top: 40px;
    }

    /* ボタン縦積み */
    .access_tabs {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 36px;
    }

    .access_tab {
        min-height: 50px;
        padding: 12px 16px;

        font-size: 14px;
    }

    /* 三角小さめ */
    .access_tab.is-active::after {
        bottom: -10px;

        border-left-width: 10px;
        border-right-width: 10px;
        border-top-width: 10px;
    }

    .access_card__map iframe,
    .access_card__map img {
        height: 260px;
    }

    .access_row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }

    .access_row dt {
        font-size: 13px;
    }

    .access_row dd {
        font-size: 14px;
    }

    .access_detail {
        margin-top: 40px;
    }
}

/*会社沿革
---------------------------------------------------------------------------*/
/* =========================
   全体レイアウト
========================= */
.history_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px 20px;

  position: relative;
  font-family: "Noto Sans JP", sans-serif;
}

/* =========================
   ナビ（固定）
========================= */
.history_nav {
  position: fixed;
  top: 300px;
  width: 220px;
  z-index: 10;

  /* 画面幅に対して安全に配置 */
  left: max(20px, calc((100% - 1200px) / 2));
}

/* =========================
   ナビUI
========================= */
.history_nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history_nav a {
  display: block;
  padding: 3px 12px;
  font-size: 16px;
  color: #1e3a8a;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: 0.3s;
}

.history_nav a:hover {
  background: rgba(30, 58, 138, 0.08);
  transform: translateX(4px);
}

.history_nav a.active {
  font-weight: bold;
  border-left: 2px solid #1e3a8a;
  background: rgba(30, 58, 138, 0.08);
}

/* =========================
   タイムライン本体
========================= */
.history_content {
  padding-left: 260px;
  position: relative;
}

/* 縦線 */
.history_content::before {
  content: "";
  position: absolute;
  left: 200px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1e3a8a;
  pointer-events: none;
}

/* 年 */
.history_year_block {
  margin-bottom: 100px;
}

.year_title {
  font-size: 32px;
  color: #1e3a8a;
  margin-bottom: 40px;
}

/* =========================
   アイテム
========================= */
.history_item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 100px;
}

/* 丸 */
.history_item::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 12px;
  width: 14px;
  height: 14px;
  background: #1e3a8a;
  border-radius: 50%;
  transform: translateX(-50%);
}

/* 横線 */
.history_item::after {
  content: "";
  position: absolute;
  left: 47px;
  top: 18px;
  width: 40px;
  height: 2px;
  background: #1e3a8a;
}

/* テキスト */
.date {
  font-weight: bold;
  margin-bottom: 6px;
  line-height: 1.4;
}

.text {
  line-height: 1.7;
  margin-top: 6px;
}

/* 画像 */
.history_item img {
  margin-top: 10px;
  max-width: 520px;
  border-radius: 8px;
}


@media (max-width: 1100px) {

.history_nav {
  position: fixed;
  top: 220px;
  width: 220px;

  /* 画面幅に対して安全に配置 */
  left: max(20px, calc((100% - 1200px) / 2));
}

}


@media (max-width: 1000px) {

  .history_nav {
    display: none;
  }

  .history_content {
    padding-left: 20px;
  }

  .history_content::before {
    left: 1px;
  }

  .history_item {
    padding-left: 40px;
  }

  .history_item::before,
  .history_item::after {
    display: none;
  }

.history_item img {
  margin-top: 10px;
  max-width: 400px;
  border-radius: 8px;
}

}

@media (max-width: 768px) {

.history_item img {
  margin-top: 10px;
  max-width: 100%;
  border-radius: 8px;
}

}