/****************

master.cssは編集不可！！
LESSファイルを編集すること！

****************/
/*bootstrapの設定を読み込み*/
p {
  line-height: 2.1;
}
section {
  position: relative;
}
.text-bold {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 600;
}
.text-semibold {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 500;
}
.about-text {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
}
.about-pc-small {
  font-size: clamp(0.75rem, calc(0.2777777777777778vw + 0.6875rem), 0.875rem);
}
.small-text {
  font-size: clamp(0.625rem, calc(0.5555555555555556vw + 0.5rem), 0.875rem);
}
.text-red {
  color: #8D1C17;
}
.sp-center {
  text-align: center;
}
@media (min-width: 768px) {
  .sp-center {
    text-align: left;
  }
}
h2.about-tit {
  font-size: clamp(0.875rem, calc(0.7792207792207793vw + 0.6996753246753247rem), 1.625rem);
  font-weight: 600;
  margin-bottom: clamp(1.25rem, calc(1.1904761904761905vw + 0.9821428571428572rem), 1.875rem);
}
.white-content {
  padding-top: clamp(1.875rem, calc(1.948051948051948vw + 1.4366883116883118rem), 3.75rem);
  padding-bottom: clamp(1.875rem, calc(1.948051948051948vw + 1.4366883116883118rem), 3.75rem);
  padding-left: clamp(1.25rem, calc(1.2987012987012987vw + 0.9577922077922078rem), 2.5rem);
  padding-right: clamp(1.25rem, calc(1.2987012987012987vw + 0.9577922077922078rem), 2.5rem);
  background-color: #ffffff;
  position: relative;
  margin-bottom: clamp(1.875rem, calc(3.571428571428571vw + 1.0714285714285716rem), 3.75rem);
}
.section-margin-top {
  margin-top: clamp(3.75rem, calc(3.571428571428571vw + 2.9464285714285716rem), 5.625rem);
}
.section-margin-bottom {
  margin-bottom: clamp(3.75rem, calc(3.571428571428571vw + 2.9464285714285716rem), 5.625rem);
}
.page-about-title-wrap {
  position: relative;
  white-space: nowrap;
}
.page-about-title-left-white {
  font-size: clamp(1.75rem, calc(3.0555555555555554vw + 1.0625rem), 3.125rem);
  margin-bottom: clamp(1.25rem, calc(2.7777777777777777vw + 0.625rem), 2.5rem);
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  position: relative;
}
@media (min-width: 768px) {
  .page-about-title-left-white {
    margin-left: 0;
  }
}
.page-about-title {
  font-size: clamp(1.75rem, calc(3.0555555555555554vw + 1.0625rem), 3.125rem);
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1;
  color: #F0F0F0;
  width: fit-content;
  position: relative;
  margin-right: auto;
  margin-left: auto;
}
.page-about-title-jp {
  font-size: clamp(0.75rem, calc(0.8333333333333334vw + 0.5625rem), 1.125rem);
  margin-bottom: 0;
  font-weight: 500;
  color: #010101;
  line-height: 1;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
@media (min-width: 992px) {
  .page-about-title-jp {
    font-size: clamp(1.125rem, calc(0.3225806451612903vw + 0.8669354838709677rem), 1.25rem);
  }
}
.page-about-title-left {
  font-size: clamp(1.75rem, calc(3.0555555555555554vw + 1.0625rem), 3.125rem);
  margin-bottom: clamp(1.25rem, calc(2.7777777777777777vw + 0.625rem), 2.5rem);
  font-weight: 600;
  line-height: 1;
  color: #F0F0F0;
  position: relative;
}
@media (min-width: 768px) {
  .page-about-title-left {
    margin-left: 0;
  }
}
.page-about-title-jp-left {
  font-size: clamp(0.75rem, calc(0.8333333333333334vw + 0.5625rem), 1.125rem);
  margin-bottom: 0;
  font-weight: 500;
  color: #010101;
  line-height: 1;
  position: absolute;
  bottom: 0;
  left: 5%;
}
@media (min-width: 992px) {
  .page-about-title-jp-left {
    font-size: clamp(1.125rem, calc(0.3225806451612903vw + 0.8669354838709677rem), 1.25rem);
  }
}
.about-greeting-media {
  width: 100%;
  aspect-ratio: 1.60869565;
  overflow: hidden;
}
.about-greeting-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.philosophy-wrap {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(1.875rem, calc(4.166666666666666vw + 0.9375rem), 3.75rem);
  margin-bottom: clamp(1.875rem, calc(4.166666666666666vw + 0.9375rem), 3.75rem);
}
.philosophy-text {
  font-size: clamp(1.25rem, calc(1.3888888888888888vw + 0.9375rem), 1.875rem);
  font-weight: 900;
  line-height: 1;
  margin: 0;
  width: 100%;
  height: 40px;
  display: grid;
  place-items: center;
  background-color: #F0F0F0;
}
@media (min-width: 992px) {
  .philosophy-text {
    height: 65px;
  }
}
.about-contact {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  list-style-type: none;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(1.875rem, calc(3.571428571428571vw + 1.0714285714285716rem), 3.75rem);
}
@media (min-width: 768px) {
  .about-contact {
    max-width: 340px;
  }
}
.about-contact-icon {
  position: relative;
  z-index: 1;
}
.about-contact-icon img {
  width: auto;
  height: 1.625rem;
}
.about-contact-text-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-contact-text-wrap p {
  font-size: clamp(0.875rem, calc(0.2777777777777778vw + 0.8125rem), 1rem);
  font-weight: 500;
  margin-bottom: 0;
}
.about-contact-text-wrap .btn-circle {
  position: relative;
  overflow: hidden;
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid #010101;
  border-radius: 50%;
  margin-right: 0;
  transition: 0.5s ease-in-out;
}
@media (min-width: 992px) {
  .about-contact-text-wrap .btn-circle {
    width: 2rem;
    height: 2rem;
  }
}
.about-contact-text-wrap .btn-circle::before {
  content: "";
  width: .5rem;
  height: .5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  clip-path: polygon(0 45%, 85% 45%, 50% 0, 60% 0, 100% 50%, 60% 100%, 50% 100%, 85% 55%, 0 55%);
  background-color: #010101;
  transform: translate(-50%, -50%);
  transition: 0.5s ease-in-out;
}
.about-contact-link {
  color: #010101;
  background-color: #E6E6E6;
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  height: 100%;
  padding: 1rem;
  border: 1px solid #ffffff;
}
.about-contact-link:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-color: #dddddd;
  transform: scaleX(0);
  transform-origin: left top;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.about-contact-link:hover {
  color: #8D1C17;
}
.about-contact-link:hover .btn-circle::before {
  animation: move-arrow-about 0.8s linear;
}
@keyframes move-arrow-about {
  /* 円の中（少し左寄り） */
  0% {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
  /* 右側の外にはみ出す位置 */
  45% {
    transform: translateY(-50%) translateX(60px);
    opacity: 1;
  }
  /* 一瞬で左外へワープ（見た目を自然にするなら透明に） */
  50% {
    transform: translateY(-50%) translateX(-60px);
    opacity: 0;
  }
  /* 左外からまた見えるようにする */
  55% {
    transform: translateY(-50%) translateX(-60px);
    opacity: 1;
  }
  /* 元の位置（円の中）に戻る */
  100% {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}
.about-contact-link:hover:before {
  transform: scale(1);
}
.tbl-about {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 500;
  display: grid;
  grid-template-columns: 100px 1fr;
}
@media (min-width: 768px) {
  .tbl-about {
    grid-template-columns: 160px 1fr;
  }
}
@media (min-width: 992px) {
  .tbl-about {
    grid-template-columns: 200px 1fr;
  }
}
@media (min-width: 1200px) {
  .tbl-about {
    padding-left: 5%;
  }
}
.tbl-about dt,
.tbl-about dd {
  padding: 5px 0;
}
.tbl-about span {
  padding: 5px 10px;
  background-color: #F0F0F0;
  margin-right: 10px;
}
h3.access-tit {
  font-size: clamp(0.875rem, calc(0.38961038961038963vw + 0.7873376623376623rem), 1.25rem);
  font-weight: 600;
  margin-bottom: clamp(1.25rem, calc(1.1904761904761905vw + 0.9821428571428572rem), 1.875rem);
}
h3.access-tit:before {
  content: "■";
  color: #8D1C17;
  margin-right: 5px;
}
.tbl-access {
  font-size: clamp(0.75rem, calc(0.5555555555555556vw + 0.625rem), 1rem);
  font-weight: 500;
  display: grid;
  grid-template-columns: 60px 1fr;
}
@media (min-width: 768px) {
  .tbl-access {
    grid-template-columns: 160px 1fr;
  }
}
@media (min-width: 992px) {
  .tbl-access {
    grid-template-columns: 200px 1fr;
  }
}
@media (min-width: 1200px) {
  .tbl-access {
    padding-left: 5%;
  }
}
.tbl-access dt,
.tbl-access dd {
  padding: 5px 0;
}
.g-map {
  height: 0;
  overflow: hidden;
  padding-bottom: 50%;
  position: relative;
}
.g-map iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
/* HISTORY */
.history-margin-top {
  margin-top: clamp(7.5rem, calc(14.285714285714285vw + 4.2857142857142865rem), 15rem);
}
.marquee-history {
  border-top: 1px solid #010101;
  border-bottom: 1px solid #010101;
  color: #010101;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: transparent;
  height: 3rem;
}
@media (min-width: 992px) {
  .marquee-history {
    height: 3.5rem;
  }
}
@media (min-width: 1200px) {
  .marquee-history {
    height: 3.75rem;
  }
}
@media (min-width: 1600px) {
  .marquee-history {
    height: 5rem;
  }
}
.marquee-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeMove 18s linear infinite;
  flex: 0 0 auto;
}
.marquee-text {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: clamp(6.25rem, calc(11.29032258064516vw + -2.782258064516128rem), 10.625rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  padding-right: 2rem;
}
.marquee-text:after {
  content: attr(data-text);
  padding-left: 2rem;
}
@keyframes marqueeMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
h2.history-tit {
  font-size: clamp(1.5rem, calc(1.0389610389610389vw + 1.2662337662337662rem), 2.5rem);
  font-weight: 600;
  text-align: center;
  margin-top: clamp(1.875rem, calc(2.380952380952381vw + 1.3392857142857144rem), 3.125rem);
  margin-bottom: clamp(2.5rem, calc(2.380952380952381vw + 1.9642857142857144rem), 3.75rem);
}
.frame-target {
  position: relative;
}
.frame-target-last {
  position: relative;
  margin-bottom: clamp(3.75rem, calc(14.285714285714285vw + 0.535714285714286rem), 11.25rem);
}
.text-history {
  font-size: .75rem;
  font-weight: 500;
  transition: transform .15s linear;
}
@media (min-width: 768px) {
  .text-history {
    font-size: .875rem;
  }
}
@media (min-width: 992px) {
  .text-history {
    font-size: 1rem;
  }
}
.frame-line {
  position: absolute;
  top: 15px;
  left: 10px;
  width: 2px;
  height: 100%;
  background: #2D2D2D;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s linear;
}
@media (min-width: 768px) {
  .frame-line {
    left: 14px;
  }
}
@media (min-width: 992px) {
  .frame-line {
    left: 24px;
  }
}
.text-dot {
  position: absolute;
  left: 5px;
}
@media (min-width: 768px) {
  .text-dot {
    left: 8px;
  }
}
@media (min-width: 992px) {
  .text-dot {
    left: 18px;
  }
}
.ink-bg-on {
  background-color: #2D2D2D;
}
.ink-bg-on .btn-line {
  background-color: #f2f2f2;
}
.ink-bg-on .white-content {
  background-color: #2D2D2D;
}
.ink-bg-on .tbl-access {
  color: #ffffff;
}
.ink-bg-on .about-contact-link {
  background-color: #2D2D2D;
  border: 1px solid #010101;
}
.ink-bg-on .marquee-history {
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
}
.ink-bg-on h2.history-tit {
  color: #ffffff!important;
}
.ink-bg-on .text-history {
  color: #ffffff;
}
.ink-bg-on .frame-line {
  background: #ffffff;
}
