/* =============================================================================
 * Base CSS
 * header.css から切り出した共通基盤スタイル（reset + base + utility + section）
 * ============================================================================= */

/* Reset */
blockquote,
body,
dd,
dl,
dt,
fieldset,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
html,
iframe,
legend,
li,
ol,
p,
pre,
textarea,
ul {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: 500;
}

ul {
  list-style: none;
}

button,
input,
select {
  margin: 0;
}

html {
  box-sizing: border-box;
}

*,
:after,
:before {
  box-sizing: inherit;
}

img,
video {
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
}

/* Font face */
@font-face {
  font-family: Yu Gothic;
  font-weight: 100;
  src: local("Yu Gothic Medium");
}

@font-face {
  font-family: Yu Gothic;
  font-weight: 200;
  src: local("Yu Gothic Medium");
}

@font-face {
  font-family: Yu Gothic;
  font-weight: 300;
  src: local("Yu Gothic Medium");
}

@font-face {
  font-family: Yu Gothic;
  font-weight: 400;
  src: local("Yu Gothic Medium");
}

@font-face {
  font-family: Yu Gothic;
  font-weight: 700;
  src: local("Yu Gothic Bold");
}

@font-face {
  font-family: Helvetica Neue;
  font-weight: 100;
  src: local("Helvetica Neue Regular");
}

@font-face {
  font-family: Helvetica Neue;
  font-weight: 200;
  src: local("Helvetica Neue Regular");
}

/* Body */
body {
  color: #4c3501;
  font-family: Noto Sans JP, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100%;
  overflow-x: hidden;
  word-break: break-all;
}

/* Base element styles */
img {
  height: auto;
  max-width: 100%;
  transition: 0.3s;
  vertical-align: top;
}

svg {
  height: 100%;
  width: 100%;
}

img[srcset] {
  width: 100%;
}

a,
img[srcset] {
  transition: 0.3s;
}

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

/* Font utilities */
.mincho {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
}

.font-oswald {
  font-family: Oswald, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
}

/* Layout utilities */
.inner {
  margin: 0 auto;
  max-width: 90%;
}

@media (max-width: 767px) {
  .inner {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
  }
}

/* Responsive display utilities */
.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: block;
  }
}

.pc-only {
  display: block;
}

@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
}

/* Section heading */
.section__head {
  text-align: center;
}

.section__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.05rem;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .section__title {
    font-size: clamp(22px, 6.5vw, 24px);
    font-weight: 600;
    margin-top: -0.5rem;
  }
}

.section__lead {
  color: #f5f1e9;
  font-family: Oswald, sans-serif;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(45px, 4.5vw, 64px);
  font-weight: 500;
  letter-spacing: 0.04rem;
}

@media (max-width: 767px) {
  .section__lead {
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 400;
  }
}
