/* =======================================
   base.css（全ページ共通）
   ※ デザインは一切変更していません
======================================= */

@charset "UTF-8";

/* ------------------------------
   Reset / ベース設定
------------------------------ */

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

body {
  position: relative;
  color: #333;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  animation: pageFadeIn 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.is-leaving {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

img {
  vertical-align: bottom;
}

ul {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: underline;
  color: #CD4145;
}

/* ------------------------------
   Typography（フォント共通）
------------------------------ */

h1 {
  font-family: "I-OTF明朝Pro M";
  font-size: 48px;
}

h2 {
  font-family: "I-OTF明朝Pro M";
}

h3 {
  font-family: "I-OTF明朝Pro M";
  font-weight: 400;
  font-size: 21px;
}

h4 {
  font-family: "I-OTF明朝Pro M";
  font-weight: 400;
  font-size: 19px;
}

h6 {
  font-family: "I-OTF明朝Pro M";
  color: #aaa;
  font-size: 12px;
}

p {
  font-family: "TazuganeGothicStdN-Light";
  font-size: 16px;
  margin-top: 20px;
  line-height: 1.7;
  word-break: keep-all;
}

/* ------------------------------
   フォーム要素のフォント固定
------------------------------ */

input,
textarea,
select {
  font-family: "TazuganeGothicStdN-Light", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 18px;
  color: #333;
}

input:focus,
textarea:focus {
  font-family: "TazuganeGothicStdN-Light", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

input:-webkit-autofill {
  -webkit-text-fill-color: #333;
  font-family: "TazuganeGothicStdN-Light", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

/* ------------------------------
   Layout 共通
------------------------------ */

#wrap {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  margin-top: 100px;
}

footer {
  position: static;
  width: 100%;
  padding: 20px 0;
  padding-bottom: 20px !important;
  text-align: center;
  background-color: #fff;
  font-size: 12px;
  color: #aaa;
}

/* ------------------------------
   Global Navigation（共通）
------------------------------ */

.global-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.global-nav a {
  font-family: "TazuganeGothicStdN-Light";
  font-size: 17px;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.global-nav a:not(.nav-lang):hover {
  color: #CD4145;
}

.global-nav a.nav-lang {
  font-weight: 700;
  font-family: "TazuganeGothicStdN-Medium";
  color: #CD4145;
}

.global-nav a.has-arrow {
  position: relative;
  padding-right: 18px;
}

.global-nav a.has-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 55%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background-image: url("../images/down_arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0s linear, transform 0.15s ease;
}

.global-nav a.has-arrow:hover::after {
  background-image: url("../images/down_arrow_red.svg");
  transition-delay: 0.1s;
  transform: translateY(-50%) translateY(3px);
}

/* ------------------------------
   Responsive（スマホ共通）
------------------------------ */

@media screen and (max-width: 600px) {
  .logo {
    top: 16px;
    left: 16px;
  }

  .logo img {
    width: 28vw;
  }

  h1 {
    font-size: 30px;
  }

  h3 {
    font-size: 19px;
  }

  h4 {
    font-size: 18px;
    line-height: 1.7;
  }

  p {
    font-size: 14px;
  }

  h6 {
    font-size: 9px;
  }
}