/*  Access Section */
.access {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 80px;
    font-family: "Noto Sans JP", sans-serif;
    color: #222;
}

.access-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.access-map {
    width: 100%;
    max-width: 700px;
    height: 280px;
    margin: 0 auto 40px;
    background: #eee; /* iframe未設置時の仮背景 */
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.access-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 40px;
    border-collapse: collapse;
    font-size: 16px;
}

.access-table th,
.access-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: top;
}

.access-table th {
    width: 120px;
    font-weight: 500;
    color: #666;
    text-align: left;
}

.access-table td {
    color: #222;
}

.access-btn {
    text-align: center;
    margin: 40px 0 60px;
}

.access-btn .btn {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid #000;
    font-size: 16px;
    letter-spacing: 0.1em;
    transition: 0.3s ease;
}

.access-btn .btn:hover {
    background: #000;
    color: #fff;
}

.access-sns {
    text-align: center;
    margin-bottom: 60px;
}

.sns-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.sns-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sns-list li a {
    display: block;
    font-size: 16px;
    transition: opacity 0.3s;
}

.sns-list li a:hover {
    opacity: 0.6;
}

.access-doc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
}

.access-doc h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.access-doc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.access-doc li {
    margin-bottom: 10px;
    text-align: left;
}

.access-doc a {
    color: #000;
    text-decoration: underline;
    padding-left: 100px; 
}

/* SNS Icon（共通） */
.ext-link-block{
  text-align: center;
  margin: 0 auto 60px;
  padding: 0 16px;
}

/* 見出し：中央に固定（h3共通の左線・左padding・inline-block を全解除） */
.ext-link-heading{
  display: block !important;       /* h3.js-animate の inline-block を潰す */
  text-align: center !important;
  margin: 20px auto 20px !important;
  padding-left: 0 !important;      /* h3 { padding-left:14px; } を潰す */
}

/* 左の縦線（h3::before）も消す：中央見出し用 */
.ext-link-heading::before{
  content: none !important;
}

/* アニメ下線（title-line）はそのまま使う */
.ext-link-heading .title-line{
  display: inline-block;
}

/* もし h3.js-animate::after を使っている場合のズレ対策（念のため） */
.ext-link-heading.js-animate::after{
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* アイコン列：中央固定 */
.ext-link-badge{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
}

/* クリックしやすい当たり判定 */
.ext-link-item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  text-decoration: none;
  line-height: 1;
  transition: opacity .25s ease, transform .25s ease;
}

.ext-link-item:hover{
  opacity: .75;
  transform: translateY(-1px);
}

.ext-link-item:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* 画像 */
.ext-link-image{
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* SP */
@media (max-width: 767px){
  .ext-link-block{
    margin-bottom: 48px;
  }
  .ext-link-badge{
    gap: 20px;
  }
  .ext-link-item{
    width: 42px;
    height: 42px;
  }
  .ext-link-image{
    width: 36px;
    height: 36px;
  }
}

/* Responsive（SP） */
@media (max-width: 767px) {
    /* ---------- 共通 ---------- */
    .access {
        padding: 80px 16px;
    }
}

/*  Access Section（SP） */

.access {
    padding-top: 80px;
}

.access-title {
    font-size: 22px;
    margin-bottom: 32px;
}

/* Google Map */
.access-map {
    height: 220px;
    margin-bottom: 32px;
}

/* テーブル */
.access-table {
    font-size: 13px;
}

.access-table th {
    width: 90px;
    font-size: 12px;
}

.access-table th,
.access-table td {
    padding: 10px 6px;
}

/* ボタン */
.access-btn {
    margin: 32px 0 48px;
}

.access-btn .btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 0;
}

/* 自己評価 */
.access-doc h3 {
    font-size: 22px;
}

.access-doc li {
    font-size: 13px;
}

@media (max-width: 767px) {
    .access-doc a {
        padding-left: 0; 
    }
}

/*  Animation Base */
.js-animate {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.js-animate.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* H3 Line Animation */
h3 {
    position: relative;
    padding-left: 14px;
}

h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background-color: #ffffff;
    transition: height 0.6s ease;
}

h3.js-animate.is-show::before {
    height: 100%;
}

/*  H3 Underline Animation */
h3.js-animate {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

h3.js-animate.is-show::after {
    width: 100%;
}

.access-doc h3.js-animate{
    display: block;
    margin: 20px auto;
    text-align: center;
}

.access-doc h3.js-animate::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    position: relative;
}

/* 見出し：文字追従ライン（共通） */
/* span を基準にする */
.title-line {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

/* 下線（初期状態） */
.title-line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #EB5F51;
    transition: width 0.6s ease;
}

/* 表示時 */
.js-animate.is-show .title-line::after {
    width: 100%;
}
