/*
Theme Name: Yasuda Komuten Theme
Author: Your Name
Description: Custom theme for Yasuda Komuten
Version: 1.0
*/

:root {
  --color-primary: #12213e;
  --color-secondary: #19223a;
  --color-accent: #7c8393;
  --color-third: #4e566a;
  --color-bg: #eff0f1;
  --base-width: 1600px;
  --font-dnp: "dnp-shuei-kaku-gothic-gin-std", sans-serif;
  /* Adobe Font */
  --font-tt-commons: "tt-commons-pro", sans-serif;
  /* Adobe Font */
}

body {
  font-family: var(--font-dnp), var(--font-tt-commons), sans-serif;
  font-weight: 500;
  background-color: var(--color-bg);
  color: var(--color-primary);
  max-width: var(--base-width);
  margin: 0 auto;
}
body.js-show {
  overflow: hidden;
}

/* common */
a {
  color: var(--color-primary);
  text-decoration: none;
}

.bg-white {
  background: white;
}
/* Utility */
.hidden-pc {
  display: none;
}
.hidden-pc-inline {
  display: none;
}
/* font */
.dnp {
  font-family: var(--font-dnp), sans-serif;
}

.commons {
  font-family: var(--font-tt-commons), sans-serif;
}

/* container */
.container {
  width: calc(100% - 240px);
  max-width: 1360px;
  margin: 0 auto;
}

.container-left {
  width: calc(100% - 120px);
  max-width: 1480px;
  margin: 0 0 0 auto;
}

/* view more link */
.view-more-link {
  position: relative;
  display: inline-block;
  width: 155px;
  font-family: var(--font-tt-commons), sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--color-third);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 12px;
}

.view-more-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  background-image: url(assets/images/arrow_gray.svg);
  background-size: contain;
  transform: translateY(-50%);
}
/* Header Section */
.header {
  padding-top: 29px;
  padding-bottom: 12px;
  background: white;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
}
.header__inner {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1600px;
  padding-inline: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
}
.header__logo {
  margin: 0;
  display: block;
  font-size: 20px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--main-color);
}
.header__logo a {
  font-size: 20px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--main-color);
}
.header__nav {
  margin-left: auto;
  margin-right: 13px;
}
.header__nav-list {
  display: flex;
  align-items: center;
  column-gap: 28px;
  padding: 0;
}
.header__nav-item {
  list-style: none;
}
.header__nav-item a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
}
.header__icon {
  width: 22px;
  height: 12px;
  padding: 0;
  border: none;
  background: transparent;
}
.header__icon.js-show .header__icon--bar1 {
  rotate: 30deg;
  top: 6px;
  background: var(--color-primary);
}
.header__icon.js-show .header__icon--bar2 {
  rotate: -30deg;
  bottom: 5px;
  background: var(--color-primary);
}
.header__icon--bar {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.header__icon--bar1 {
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--color-primary);
  top: 0;
  left: 0;
  transition: top 0.3s, bottom 0.3s, rotate 0.3s;
}

.header__icon--bar2 {
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--color-primary);
  bottom: 0;
  left: 0;
  transition: top 0.3s, bottom 0.3s, rotate 0.3s;
}

/* Drawer Section */
.drawer {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  translate: 101% 0;
  background: #ededef;
  z-index: 50;
  transition: translate 0.3s;
  overflow: scroll;
}
.drawer.js-show {
  translate: 0 0;
}
.drawer-icon {
  position: absolute;
  top: 50px;
  right: 50px;
}
.drawer__inner {
  box-sizing: border-box;
  padding-top: 100px;
  padding-inline: 20px 40px;
  padding-bottom: 100px;
  margin-inline: auto;
  max-width: 440px;
}
.drawer-logo img {
  width: 183px;
  height: 24px;
}
.drawer__links {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.drawer__link {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
  border-bottom: 1px solid var(--color-accent);
}
.drawer__link-text {
  font-size: 13px;
  letter-spacing: 0.24em;
  line-height: 2;
  font-weight: 500;
  color: var(--color-accent);
}
.drawer__link .top-arrow {
  width: 13px;
  height: 13px;
}
.drawer__nav {
  margin-top: 45px;
}
.drawer__nav-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  justify-content: space-between;
  column-gap: 10px;
  row-gap: 30px;
  margin: 0;
  padding: 0;
}
.drawer__nav-item {
  list-style: none;
}
.drawer__nav-link {
  display: flex;
  column-gap: 15px;
  align-items: flex-end;
}
.drawer__nav-link.drawer__nav-link--gap-s {
  column-gap: 7px;
}
.drawer__nav-link--en {
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 500;
}
.drawer__nav-link--jp {
  font-size: 7px;
  letter-spacing: 0.16em;
}
.drawer__bottom {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 32px;
  row-gap: 20px;
}

.drawer__tel {
  margin: 0;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  font-size: 15px;
  letter-spacing: 0.12em;
}
.drawer__tel .drawer__tel--s {
  font-size: 14px;
  letter-spacing: 0.06em;
}
.drawer__address {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 12px;
  letter-spacing: 0.2em;
  line-height: 2.3;
  font-weight: 400;
}
.drawer__map {
  position: relative;
  padding-left: 10px;
  padding-bottom: 4px;
  font-size: 9.11px;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  width: fit-content;
  border-bottom: 1px solid var(--color-primary);
}
.drawer__map::after {
  content: "\2197";
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  color: var(--color-primary);
  position: absolute;
  top: -2px;
  right: -17px;
}
.drawer__bottom-right {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.drawer__social {
  display: flex;
  align-items: center;
  column-gap: 15px;
}
.drawer__social img {
  width: 18px;
  height: 18px;
}
.drawer__privacy {
  margin-top: 42px;
}
.drawer__privacy a {
  font-size: 10px;
  letter-spacing: 0.16em;
}
/* Footer Section */
.footer {
  padding: 52px 0 32px 0;
  font-size: 13px;
  color: var(--color-primary);
  border-top: 1px solid var(--color-accent);
  margin-top: 120px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-col.footer-brand {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
  flex: 0 0 30%;
  max-width: 30%;
}

.footer-center {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-col.footer-links {
  flex: 0 0 25%;
  max-width: 25%;
  margin-top: 30px;
}

.footer-logo {
  width: 100px;
}

.footer-company {
  font-size: 18px;
  font-weight: bold;
  margin-top: 49px;
  margin-bottom: 28px;
  letter-spacing: 1.2px;
}

.footer-address {
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 3.1px;
  margin-top: 25px;
}

.footer-map {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 10px;
  letter-spacing: 0.9px;
  position: relative;
}

.footer-map::after {
  content: "\2197";
  font-size: 13px;
  margin-left: 6px;
  color: var(--color-accent);
  position: relative;
  top: -1px;
}

.footer-tel {
  margin-bottom: 32px;
  font-size: 13px;
  letter-spacing: 1.2px;
  margin-top: 47px;
}

.footer-tel:before {
  content: "tel";
  display: block;
  font-size: 13px;
  color: var(--color-accent);
  margin-bottom: 27px;
  letter-spacing: 1.2px;
}

.footer-tel {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.2px;
  margin-bottom: 0;
}

.footer-copyright {
  font-size: 11px;
  color: var(--color-accent);
  margin-top: 32px;
  letter-spacing: 0.4px;
  margin-top: 84px;
}

.footer-brand {
  max-width: 220px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav-ja {
  font-size: 11px;
  color: var(--color-accent);
  margin-left: 12px;
  letter-spacing: 0.5px;
  font-family: var(--font-tt-commons), sans-serif;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.footer-nav li {
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.footer-links-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 33px;
  border-bottom: 1px solid var(--color-accent);
}

.footer-links a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 17px;
  letter-spacing: 5.2px;
}

.footer-links .top-arrow {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.footer-arrow {
  font-size: 20px;
  color: var(--color-accent);
  margin-left: 6px;
  position: relative;
  top: 2px;
}

.footer-social {
  display: flex;
  /* flex-direction: column; */
  align-items: flex-start;
  gap: 16px;
  margin-top: 93px;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-social-inner {
  display: flex;
  align-items: center;
  margin-bottom: 11px;
}

.footer-social-links img {
  width: 18px;
  height: 18px;
  padding-left: 6px;
  object-fit: contain;
}

.footer-social-links a {
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  padding-left: 21px;
  letter-spacing: 2.5px;
  gap: 6px;
}

.footer-policy {
  font-size: 9px;
  margin-top: 8px;
  padding-left: 157px;
  letter-spacing: 1.9px;
}

.footer-col.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 114px;
  align-items: flex-start;
  margin-top: 36px;
  margin-bottom: 0;
  padding-left: 4px;
}

.footer-col.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col.footer-nav li {
  display: flex;
  align-items: baseline;
  font-size: 13px;
  font-family: var(--font-tt-commons), sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  gap: 12px;
  line-height: 1.3;
}

.footer-nav-ja {
  font-size: 8px;
  font-family: var(--font-dnp), sans-serif;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-left: 16px;
  margin-top: 6px;
  white-space: nowrap;
}
.footer-copy-wrap {
  display: none;
}

/* ---------   1550px以下   ----------------- */
@media screen and (max-width: 1550px) {
  .footer .container {
    box-sizing: border-box;
    width: 100%;
    padding-inline: 60px;
  }
  .footer-inner {
    display: flex;
    /* justify-content: flex-start; */
    align-items: flex-start;
    gap: 32px;
    /* column-gap: 100px;
    row-gap: 50px; */
    flex-wrap: wrap;
  }

  .footer-col.footer-brand {
    flex: unset;
    max-width: 100%;
  }

  .footer-center {
    flex: unset;
    max-width: 100%;
  }

  .footer-col.footer-links {
    flex: unset;
    max-width: 100%;
  }
  .footer-col.footer-nav {
    gap: 10%;
  }
}

/* ------------------ SP -------------------------- */
@media screen and (max-width: 768px) {
  /* Utility */
  .hidden-pc {
    display: block;
  }
  .hidden-pc-inline {
    display: inline-block;
  }
  .hidden-sp {
    display: none;
  }
  /* Container */
  .container {
    box-sizing: border-box;
    width: 100%;
    padding-inline: 20px;
  }
  .container-left {
    width: 100%;
    margin: 0;
  }
  /*  view-more-link */
  .view-more-link::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 0;
    width: 10px;
    height: 10px;
    background-image: url(assets/images/arrow_gray.svg);
    background-size: contain;
    transform: translateY(0%);
  }
  /* Header Section */
  .header {
    padding-block: 26px;
  }
  .header__inner {
    padding-inline: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
  }
  .header__logo {
    font-size: 14px;
  }
  .header__logo a {
    font-size: 14px;
  }
  .header__icon {
    width: 28px;
  }
  .header__nav {
    display: none;
  }
  /* Drawer Section */
  .drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    translate: 101% 0;
    background: #ededef;
    z-index: 50;
    transition: translate 0.3s;
    overflow: scroll;
  }
  .drawer.js-show {
    translate: 0 0;
  }
  .drawer-icon {
    position: absolute;
    top: 30px;
    right: 20px;
  }
  .drawer__inner {
    box-sizing: border-box;
    padding-top: 100px;
    padding-inline: 20px 40px;
    padding-bottom: 100px;
    margin-inline: auto;
    max-width: 440px;
  }
  .drawer-logo img {
    width: 183px;
    height: 24px;
  }
  .drawer__links {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .drawer__link {
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    border-bottom: 1px solid var(--color-accent);
  }
  .drawer__link-text {
    font-size: 13px;
    letter-spacing: 0.24em;
    line-height: 2;
    font-weight: 500;
    color: var(--color-accent);
  }
  .drawer__link .top-arrow {
    width: 13px;
    height: 13px;
  }
  .drawer__nav {
    margin-top: 45px;
  }
  .drawer__nav-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    justify-content: space-between;
    column-gap: 10px;
    row-gap: 30px;
    margin: 0;
    padding: 0;
  }
  .drawer__nav-item {
    list-style: none;
  }
  .drawer__nav-link {
    display: flex;
    column-gap: 15px;
    align-items: flex-end;
  }
  .drawer__nav-link.drawer__nav-link--gap-s {
    column-gap: 7px;
  }
  .drawer__nav-link--en {
    font-size: 14px;
    letter-spacing: 0.16em;
    font-weight: 500;
  }
  .drawer__nav-link--jp {
    font-size: 7px;
    letter-spacing: 0.16em;
  }
  .drawer__bottom {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 32px;
    row-gap: 20px;
  }

  .drawer__tel {
    margin: 0;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    font-size: 15px;
    letter-spacing: 0.12em;
  }
  .drawer__tel .drawer__tel--s {
    font-size: 14px;
    letter-spacing: 0.06em;
  }
  .drawer__address {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 12px;
    letter-spacing: 0.2em;
    line-height: 2.3;
    font-weight: 400;
  }
  .drawer__map {
    position: relative;
    padding-left: 10px;
    padding-bottom: 4px;
    font-size: 9.11px;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    width: fit-content;
    border-bottom: 1px solid var(--color-primary);
  }
  .drawer__map::after {
    content: "\2197";
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    color: var(--color-primary);
    position: absolute;
    top: -2px;
    right: -17px;
  }
  .drawer__bottom-right {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
  }
  .drawer__social {
    display: flex;
    align-items: center;
    column-gap: 15px;
  }
  .drawer__social img {
    width: 18px;
    height: 18px;
  }
  .drawer__privacy {
    margin-top: 42px;
  }
  .drawer__privacy a {
    font-size: 10px;
    letter-spacing: 0.16em;
  }
  /* Footer Section */
  .footer {
    padding-top: 35px;
    padding-bottom: 0px;
    font-size: 13px;
    color: var(--color-primary);
    border-top: none;
    margin-top: 0px;
  }

  .footer-inner {
    gap: 0px;
    flex-direction: column;
    display: grid;
    grid-template-areas:
      "brand links"
      "social social"
      "copy copy";
    grid-template-columns: auto 1fr;
    column-gap: 50px;
  }

  .footer-col.footer-brand {
    grid-area: brand;
    order: 1;
    margin-bottom: 0px;
    display: grid;
    grid-template-areas:
      "logo "
      "company "
      "address "
      "map"
      "tel";
    column-gap: 17px;
    text-align: left;
    max-width: 100%;
  }
  .footer-brand .footer-copyright {
    display: none;
  }
  .footer-center {
    order: 3;
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .footer-col.footer-links {
    width: 100%;
    max-width: 100%;
    margin-top: 83px;
  }

  .footer-logo {
    grid-area: logo;
  }

  .footer-company {
    grid-area: company;
    font-size: 14.27px;
    letter-spacing: 0.06em;
    margin-top: 34px;
    margin-bottom: 0px;
  }

  .footer-address {
    grid-area: address;
    margin-top: 16px;
    margin-bottom: 0px;
    font-size: 11.1px;
    line-height: 2.3;
    letter-spacing: 0.1em;
  }

  .footer-map {
    margin-top: 20px;
    grid-area: map;
    display: inline-block;
    align-self: flex-end;
    margin-bottom: 6px;
    padding-bottom: 0px;
    font-size: 11px;
    letter-spacing: 0.06em;
    width: 60px;
  }

  .footer-map::after {
    margin-left: 11px;
  }

  .footer-tel {
    position: relative;
    grid-area: tel;
    margin-bottom: 0px;
    font-size: 11.89px;
    letter-spacing: 0.06em;
    margin-top: 30px;
    display: inline-grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 10px;
  }

  .footer-tel::before {
    content: "tel";
    display: block;
    font-size: 11.89px;
    color: var(--color-primary);
    margin-bottom: 0px;
    letter-spacing: 1.2px;
  }
  .footer-tel::after {
    content: "";
    position: absolute;
    width: 88px;
    height: 1px;
    background: var(--color-accent);
    bottom: -3px;
    left: 30px;
  }
  .footer-links {
    order: 2;
    gap: 27px;
  }

  .footer-links-inner {
    padding-bottom: 10px;
    margin-bottom: 0px;
    border-bottom: 1px solid var(--color-accent);
  }

  .footer-links a {
    font-size: 12.12px;
    font-weight: 500;
    letter-spacing: 0.24em;
  }
  .footer-links .top-arrow {
    width: 10px;
    height: 10px;
  }
  .footer-copyright {
    font-size: 11px;
    color: var(--color-accent);
    margin-top: 32px;
    letter-spacing: 0.4px;
    margin-top: 84px;
  }

  .footer-nav {
    display: none;
  }

  .footer-arrow {
    font-size: 20px;
    color: var(--color-accent);
    margin-left: 6px;
    position: relative;
    top: 2px;
  }

  .footer-social {
    grid-area: social;
    margin-top: 80px;
  }

  .footer-social-links {
    grid-area: links;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .footer-social-inner {
    display: flex;
    align-items: center;
    margin-bottom: 11px;
  }

  .footer-social-links img {
    width: 15px;
    height: 15px;
    padding-left: 6px;
    object-fit: contain;
  }

  .footer-social-links a {
    font-size: 12px;
    padding-left: 21px;
    letter-spacing: 0.16em;
    gap: 6px;
  }

  .footer-social .footer-policy {
    display: none;
  }

  .footer-col.footer-nav {
    display: none;
  }

  .footer-nav-ja {
    font-size: 8px;
    font-family: var(--font-dnp), sans-serif;
    font-weight: 800;
    letter-spacing: 0.2px;
    margin-left: 16px;
    margin-top: 6px;
    white-space: nowrap;
  }
  .footer-copy-wrap {
    grid-area: copy;
    box-sizing: border-box;
    padding-inline: 3px;
    margin-top: 110px;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    order: 4;
  }
  .footer-copy-wrap::before {
    content: "";
    position: absolute;
    width: calc(100% + 40px);
    height: 1px;
    background: var(--color-accent);
    left: -20px;
    top: 0;
  }
  .footer-copy-wrap .footer-copyright {
    margin-top: 0;
    font-size: 10px;
    letter-spacing: 0.16em;
  }
  .footer-copy-wrap .footer-policy {
    padding-left: 0;
    margin: 0;
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--color-accent);
  }
}

/* ------------ 500px以下 ------------------*/
@media screen and (max-width: 500px) {
  .footer-inner {
    gap: 0px;
    display: flex;
    flex-direction: column;
  }
  .footer-col.footer-brand {
    grid-template-areas:
      "logo logo"
      "company company"
      "address map"
      "tel  tel";
  }
  .footer-map {
    margin-top: 0px;
    width: 100%;
  }
}
