@charset "UTF-8";

/* ========================================
   Font family variables
   Adobe Fonts Web Project で読み込む共通フォント
======================================== */

:root {
  --font-ryo-display:
    "ryo-display-plusn", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", serif;

  --font-ryo-gothic:
    "ryo-gothic-plusn", "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

/* ========================================
   Reset
======================================== */

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #111;
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "Meiryo", sans-serif;
  background: #fff;
  line-height: 1.7;
}

body.is-menu-open {
  overflow: hidden;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

button,
input,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

main {
  display: block;
}

[hidden] {
  display: none !important;
}

/* ========================================
   Accessibility
======================================== */

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ========================================
   Common layout helpers
======================================== */

.l-container {
  width: min(calc(100% - 48px), 1200px);
  margin-inline: auto;
}

.l-container--narrow {
  width: min(calc(100% - 48px), 960px);
  margin-inline: auto;
}

.l-main {
}

/* ========================================
   Common utility
======================================== */

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

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

@media (max-width: 767px) {
  .l-container,
  .l-container--narrow {
    width: min(calc(100% - 40px), 100%);
  }

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

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