/* ========================================
   Base
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/MaterialIcons-Regular.woff2") format("woff2"),
       url("../fonts/MaterialIcons-Regular.ttf") format("truetype");
}

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  background: #F0EDE8;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-navy);
  background: #F0EDE8;
  -webkit-font-smoothing: antialiased;
}

/* JFA共通CSS（body #fff）より優先 */
body.page-top,
body.page-detail {
  background: #F0EDE8;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.u-pc-only {
  display: block;
}
.u-sp-only {
  display: none;
}

@media (max-width: 640px) {
  .u-pc-only {
    display: none;
  }
  .u-sp-only {
    display: block;
  }
}

/* Typography helpers
   英語タイトル: minerva-modern 400 / 700
   英語サブ: gotham 400 / 700
   日本語: a-otf-ud-shin-go-pr6n 400
   明朝: toppan-bunkyu-mincho-pr6n 400
*/
.t-en-title {
  font-family: var(--font-en-title);
  font-weight: 400;
  font-style: normal;
}
.t-en-title--bold {
  font-family: var(--font-en-title);
  font-weight: 700;
  font-style: normal;
}
.t-en-sub {
  font-family: var(--font-en-sub);
  font-weight: 400;
  font-style: normal;
}
.t-en-sub--bold {
  font-family: var(--font-en-sub);
  font-weight: 700;
  font-style: normal;
}
.t-ja {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
}
.t-mincho {
  font-family: var(--font-mincho);
  font-weight: 400;
  font-style: normal;
}

/* Wave clip for card / KV photos */
.c-wave-bottom {
  clip-path: ellipse(120% 100% at 50% 0%);
}

.c-wave-mask {
  position: relative;
  overflow: hidden;
}
.c-wave-mask::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 18%;
  background: inherit;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleY(-1);
  pointer-events: none;
}

/* MORE button */
.c-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 56px;
  padding: 0 40px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-en-sub);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  border-radius: var(--radius-btn);
  box-shadow: 5px 5px 0 0 var(--color-white);
  text-decoration: none;
  transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out, color 0.2s ease-out;
}
.c-more::after {
  content: "chevron_right";
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  margin-left: 4px;
  letter-spacing: normal;
  text-transform: none;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  transition: transform 0.2s ease-out;
}
.c-more:hover,
.c-more:focus {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 5px 5px 0 0 var(--color-primary);
  text-decoration: none;
}
.c-more:hover::after,
.c-more:focus::after {
  transform: translateX(3px);
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .c-more {
    width: 100%;
    max-width: 280px;
    height: 50px;
    font-size: 16px;
  }
}
