@charset "UTF-8";

/* アクセス (#Access) : PC用 → @media(レスポンシブ) */

#Access {
  --access-text-dark: #373737;
  --access-red: #c1272d;
  --access-brown: #90837a;
  --access-blue: #5994de;
  --access-paper: #ededee;
  --access-shadow: rgba(0, 0, 0, 1);
}

#Access main {
  overflow: hidden;
  text-align: left;
}

#Access .p-drive__note,
#Access .p-notes__txt p,
#Access .p-photos__note,
#Access .p-arrival__note,
#Access .p-station__mapnote,
#Access .p-daily__sub {
  font-family: var(--font-second);
  font-weight: 500;
}

/* ========================================
  KV
======================================== */
#Access .p-kv {
  --kv-image: url("../img/access/access-head.jpg");
}

/* ========================================
  導入・冒頭の写真6枚
======================================== */
#Access .p-lead {
  position: relative;
  padding: 87px 20px 120px;
  background: var(--access-paper);
}

#Access .p-lead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/common/page_bg.png") no-repeat center top / cover;
  opacity: 1;
  pointer-events: none;
}

#Access .p-intro,
#Access .p-photos {
  position: relative;
}

#Access .p-intro {
  text-align: center;
}

#Access .p-intro__ttl {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.87;
}

#Access .p-intro__txt {
  margin-top: 34px;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
}

#Access .p-intro__txt p {
  line-height: inherit;
}

#Access .p-intro__txt p + p {
  margin-top: 36px;
}

#Access .p-photos {
  max-width: 900px;
  margin: 83px auto 0;
}

#Access .p-photos__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

#Access .p-photos__item {
  position: relative;
}

#Access .p-photos__item img {
  display: block;
  width: 100%;
  height: auto;
}

#Access .p-photos__cap {
  position: absolute;
  left: 10px;
  right: 6px;
  bottom: 5px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-bg-white);
  /* 1回だけだと細い文字では薄いので、同じ影を3回重ねて濃くする */
  text-shadow:
    0 0 8px var(--access-shadow),
    0 0 8px var(--access-shadow);
}

#Access .p-photos__sub {
  display: block;
  font-size: 0.8125em;
  font-weight: 400;
  line-height: 1.5;
}

#Access .p-photos__sub--note {
  font-size: 0.6875em;
  line-height: 1.4;
}

#Access .p-photos__note,
#Access .p-arrival__note {
  color: var(--color-text-sub);
  text-align: right;
}

#Access .p-photos__note {
  margin: 6px 0 0;
}

/* ========================================
  帯（Train Access / Car Access / Highway 共通）
======================================== */
#Access .p-band {
  position: relative;
  height: 345px;
  color: var(--color-bg-white);
  text-align: center;
}

#Access .p-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: no-repeat center / cover;
}

#Access .p-band--train::before {
  background-image: url("../img/access/train-access-title.jpg");
}

#Access .p-band--car::before {
  background-image: url("../img/access/car-access-title.jpg");
}

#Access .p-band--highway::before {
  background-image: url("../img/access/highway-title.jpg");
}

#Access .p-band--train::after,
#Access .p-band--car::after,
#Access .p-band--highway::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--color-text-sub);
  opacity: 0.5;
  pointer-events: none;
}

#Access .p-band--highway {
  height: 300px;
}

#Access .p-band--highway::after {
  background: var(--access-blue);
}

#Access .p-band__body {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 31px;
}

#Access .p-band__en {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--color-bg-white);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.14;
}

#Access .p-band__lead {
  margin-top: 21px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
}

#Access .p-band--highway .p-band__body {
  padding-top: 40px;
}

#Access .p-band--highway .p-band__en {
  padding-bottom: 0;
  border-bottom: 0;
  font-size: 66px;
  font-weight: 500;
  line-height: 1.2;
}

#Access .p-band--highway .p-band__lead {
  margin-top: 19px;
  font-size: 18px;
  line-height: 2;
}

#Access .p-band__cap,
#Access .p-band__image {
  position: absolute;
  z-index: 20;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}

#Access .p-band__cap {
  right: 38px;
  bottom: 7px;
  text-align: left;
}

#Access .p-band__image {
  right: 23px;
  bottom: 9px;
}

#Access .p-band--highway .p-band__image {
  bottom: 10px;
}

/* ========================================
  Train Access
======================================== */
#Access .p-station,
#Access .p-arrival {
  background: var(--color-bg);
}

#Access .p-station {
  padding: 100px 20px 0;
}

#Access .p-station > * {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#Access .p-station__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

#Access .p-station__photos img {
  display: block;
  width: 100%;
  height: auto;
}

#Access .p-station__name {
  margin-top: 24px;
}

#Access .p-station__name img {
  display: block;
  width: 100%;
  height: auto;
}

#Access .p-station__lead {
  margin-top: 53px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

#Access .p-station__map {
  margin-top: 30px;
}

#Access .p-station__map img {
  display: block;
  width: 611px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

#Access .p-station__mapnote {
  margin-top: 13px;
  padding-left: 130px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

#Access .p-daily {
  box-sizing: border-box;
  margin-top: 67px;
  padding: 15px 42px 3px;
  background: var(--color-bg-white);
}

#Access .p-daily__ttl {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

#Access .p-daily__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  margin-top: 18px;
}

#Access .p-daily__item img {
  display: block;
  width: 100%;
  height: auto;
}

#Access .p-daily__photo {
  position: relative;
}

#Access .p-daily__image {
  position: absolute;
  right: 4px;
  bottom: 3px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
}

#Access .p-daily__cap {
  margin: 13px -10px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--access-red);
  text-align: center;
}

#Access .p-daily__sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.508;
  color: var(--color-text-sub);
  text-align: center;
}

/* ========================================
  路線図・到着時間
======================================== */
#Access .p-arrival {
  padding: 114px 0 0;
}

#Access .p-arrival__map {
  max-width: 900px;
  margin-inline: auto;
  padding: 0 20px;
  box-sizing: content-box;
}

#Access .p-arrival__map img {
  display: block;
  width: 100%;
  height: auto;
}

#Access .p-arrival__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 35px;
}

#Access .p-arrival__list img {
  display: block;
  width: 100%;
  height: auto;
}

#Access .p-arrival__note {
  padding: 4px 24px 10px 0;
}

/* ========================================
  Car Access / Drive to Nagoya
======================================== */
#Access .p-drive {
  position: relative;
  background: var(--color-bg-white);
}

#Access .p-drive__stage {
  position: relative;
  height: 906px;
  text-align: center;
  color: var(--color-bg-white);
}

#Access .p-drive__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/access/car-access1.jpg") no-repeat center top / cover;
}

#Access .p-drive__cap {
  position: absolute;
  z-index: 10;
  right: 26px;
  top: 19px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

#Access .p-drive__body {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  top: 55px;
}

#Access .p-drive__icon {
  display: block;
  width: 102px;
  height: 90px;
  margin-inline: auto;
}

#Access .p-drive__ttl {
  margin-top: 20px;
  font-size: clamp(45px, 8vw, 86px);
  font-weight: 500;
  line-height: 1.2;
}

#Access .p-drive__lead {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
}

#Access .p-drive__card {
  position: relative;
  max-width: 900px;
  margin: -142px auto 0;
}

#Access .p-drive__scroll img {
  display: block;
  width: 100%;
  height: auto;
}

#Access .p-drive__note {
  box-sizing: border-box;
  max-width: 900px;
  margin: 10px auto 0;
  padding-left: 30px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-sub);
}

/* ========================================
  Nissin
======================================== */
#Access .p-nissin {
  box-sizing: border-box;
  max-width: 940px;
  margin-inline: auto;
  padding: 93px 20px 0;
  background: var(--color-bg-white);
  text-align: center;
}

#Access .p-nissin__en span {
  display: inline-block;
  margin-right: 48px;
}

#Access .p-nissin__en {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--access-brown);
  font-size: 66px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--access-brown);
}

#Access .p-nissin__lead {
  margin-top: 29px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
}

#Access .p-nissin__txt {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.67;
}

#Access .p-nissin__list {
  margin-top: 30px;
  text-align: left;
}

/* ========================================
  Highway
======================================== */
#Access .p-highway {
  margin-top: 107px;
}

#Access .p-highway__body {
  box-sizing: border-box;
  max-width: 940px;
  margin: 60px auto 0;
  padding: 0 20px;
}

#Access .p-highway__card img,
#Access .p-highway__map img {
  display: block;
  width: 100%;
  height: auto;
}

#Access .p-highway__map {
  margin-top: 73px;
}

/* ========================================
  注記
======================================== */
#Access .p-notes {
  position: relative;
  max-width: 1000px;
  margin: 159px auto 11px;
  padding: 0 103px;
  box-sizing: border-box;
}

#Access .p-notes__txt p {
  font-size: 10px;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text-sub);
}

#Access .c-pagetop--notes {
  right: -42px;
  top: 42px;
}

@media screen and (max-width: 1100px) {
  #Access .c-pagetop--notes {
    right: 0;
  }
}

/* ========================================
  レスポンシブ
======================================== */
@media screen and (max-width: 1023px) {
  #Access .p-photos__cap {
    font-size: clamp(10px, 1.6vw, 16px);
    line-height: 1.25;
  }

  #Access .p-daily {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  #Access .p-daily__cap {
    font-size: clamp(13px, 1.8vw, 18px);
    line-height: 1.4;
  }

  #Access .p-drive__stage {
    height: 700px;
  }

  #Access .p-drive__card {
    padding: 0 20px;
    box-sizing: border-box;
  }

  #Access .p-notes {
    padding: 0 20px;
  }

  #Access .c-pagetop--notes {
    right: auto;
    top: auto;
  }
}

@media screen and (max-width: 600px) {
  #Access main {
    --sp-gutter: 13px;
  }

  /* KV */
  #Access .p-kv {
    --kv-image: url("../img/access/access-head-sp.jpg");
  }

  #Access .p-band--train::before {
    background-image: url("../img/access/train-access-title-sp.jpg");
  }

  #Access .p-band--car::before {
    background-image: url("../img/access/car-access-title-sp.jpg");
  }

  #Access .p-band--highway::before {
    background-image: url("../img/access/highway-title-sp.jpg");
  }

  #Access .p-drive__stage::before {
    background-image: url("../img/access/car-access1-sp.jpg");
  }

  /* 導入・写真 */
  #Access .p-lead {
    padding: 42px var(--sp-gutter) 13px;
    background: none;
  }

  #Access .p-lead::before {
    display: none;
  }

  #Access .p-intro {
    text-align: left;
  }

  #Access .p-intro__ttl {
    font-size: 20px;
    line-height: 2;
  }

  #Access .p-intro__txt {
    margin-top: 30px;
    font-size: 14px;
    line-height: 2.14;
  }

  #Access .p-intro__txt p + p {
    margin-top: 30px;
  }

  #Access .p-photos {
    margin: 33px auto 0;
  }

  #Access .p-photos__list {
    row-gap: 10px;
    margin: 0 calc(var(--sp-gutter) * -1);
  }

  #Access .p-photos__cap {
    position: static;
    margin-top: 2px;
    padding: 0 2px;
    font-size: 10px;
    line-height: 1.25;
    color: var(--color-text);
    text-shadow: none;
  }

  #Access .p-photos__sub,
  #Access .p-photos__sub--note {
    font-size: 0.8em;
    line-height: 1.4;
  }

  #Access .p-photos__note,
  #Access .p-arrival__note {
    font-size: 10px;
    line-height: 1.6;
    text-align: left;
  }

  #Access .p-photos__note {
    margin: 17px 0 0;
    padding-left: 1px;
  }

  /* 帯 */
  #Access .p-band__body {
    padding-top: 0;
    padding-bottom: 18px;
  }

  #Access .p-band__en {
    padding-bottom: 0;
    font-size: 25px;
    line-height: 1.6;
  }

  #Access .p-band__lead {
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.56;
  }

  #Access .p-band--highway {
    height: 300px;
  }

  #Access .p-band--highway .p-band__body {
    padding-top: 26px;
    padding-bottom: 0;
  }

  #Access .p-band--highway .p-band__en {
    font-size: 45px;
    line-height: 1.2;
  }

  #Access .p-band--highway .p-band__lead {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
  }

  #Access .p-band__cap {
    right: 15px;
    bottom: 6px;
  }

  #Access .p-band__image {
    right: 13px;
    bottom: 7px;
  }

  /* Train Access */
  #Access .p-station {
    padding: 20px 0 0;
  }

  #Access .p-station > * {
    max-width: none;
  }

  #Access .p-station__photos {
    grid-template-columns: 1fr;
    margin-inline: var(--sp-gutter);
  }

  #Access .p-station__name {
    margin: 20px var(--sp-gutter) 0;
  }

  #Access .p-station__lead {
    margin-top: 30px;
    font-size: 18px;
    line-height: 1.56;
  }

  #Access .p-station__map {
    margin: 20px var(--sp-gutter) 0;
  }

  #Access .p-station__map img {
    width: 100%;
  }

  #Access .p-station__mapnote {
    margin-top: 8px;
    padding-left: 12px;
    font-size: 10px;
    line-height: 1.6;
    text-indent: -12px;
  }

  #Access .p-daily {
    margin: 30px var(--sp-gutter) 0;
    padding: 20px 0 23px;
  }

  #Access .p-daily__ttl {
    padding: 0 8px;
    font-size: 18px;
    line-height: 2.22;
  }

  #Access .p-daily__list {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 14px;
  }

  /* 写真だけ左右 49px 内側に入れる（文字は枠いっぱい） */
  #Access .p-daily__item > img,
  #Access .p-daily__photo {
    margin-inline: 49px;
  }

  #Access .p-daily__item > img {
    width: calc(100% - 98px);
  }

  #Access .p-daily__cap {
    margin: 10px 0 0;
    font-size: 17px;
    line-height: 1.47;
  }

  #Access .p-daily__sub {
    margin: 4px 0 0;
    font-size: 13px;
  }

  /* 路線図・到着時間 */
  #Access .p-arrival {
    padding: 40px 0 9px;
  }

  #Access .p-arrival__map {
    padding: 0 var(--sp-gutter);
  }

  #Access .p-arrival__list {
    grid-template-columns: 1fr;
    gap: 1px;
    margin-top: 31px;
  }

  #Access .p-arrival__note {
    margin: 4px var(--sp-gutter) 0;
  }

  /* Drive to Nagoya */
  #Access .p-drive__stage {
    height: 585px;
  }

  #Access .p-drive__cap {
    right: 14px;
    top: 4px;
    font-size: 10px;
    line-height: 1.4;
  }

  #Access .p-drive__body {
    top: 42px;
  }

  #Access .p-drive__icon {
    width: 83px;
    height: 73px;
  }

  #Access .p-drive__ttl {
    margin-top: 15px;
    font-size: 45px;
    line-height: 1.27;
  }

  #Access .p-drive__lead {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.7;
  }

  #Access .p-drive__card {
    margin: 20px var(--sp-gutter) 0;
    padding: 0;
  }

  #Access .p-drive__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  #Access .p-drive__scroll img {
    width: 720px;
    max-width: none;
  }

  #Access .p-drive__note {
    margin: 6px var(--sp-gutter) 0;
    padding-left: 0;
    font-size: 10px;
    line-height: 1.566;
  }

  /* Nissin */
  #Access .p-nissin {
    padding: 40px var(--sp-gutter) 0;
    text-align: left;
  }

  #Access .p-nissin__en span {
    margin-right: 0;
  }

  #Access .p-nissin__en {
    padding-bottom: 10px;
    font-size: 45px;
    line-height: 1.2;
    text-align: center;
  }

  #Access .p-nissin__lead {
    margin-top: 36px;
    font-size: 18px;
    line-height: 1.67;
    text-align: center;
    color: var(--access-text-dark);
  }

  #Access .p-nissin__txt {
    margin-top: 15px;
    font-size: 14px;
    line-height: 2;
    color: var(--access-text-dark);
  }

  #Access .p-nissin__list {
    margin-top: 20px;
  }

  /* Highway */
  #Access .p-highway {
    margin-top: 53px;
  }

  #Access .p-highway__body {
    margin-top: 35px;
    padding: 0 var(--sp-gutter);
  }

  #Access .p-highway__map {
    margin-top: 37px;
  }

  /* 注記 */
  #Access .p-notes {
    margin: 35px auto 0;
    padding: 0 var(--sp-gutter);
  }

  #Access .p-notes__txt p {
    line-height: 2;
  }
}
