/*
	トップページ
*/

/*-----------------------------
	CSSリセット
------------------------------*/
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  border: none;
  vertical-align: bottom;
}

html,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
sub,
sup,
var,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-weight: normal;
  color: inherit;
  word-break: normal;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block
}

ul {
  list-style: none
}

blockquote,
q {
  quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent
}

del {
  text-decoration: line-through
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0
}

input,
select {
  vertical-align: middle
}

div,
span {
  font-weight: inherit;
}

b,
strong {
  font-weight: bold;
}

.page-about__history #footer {
  position: relative;
  z-index: 10;
}

@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}

@media (max-width: 599px) {
  html {
    font-size: 4.2666666667vw;
  }
}

@media screen and (min-width: 600px) {
  html {
    font-size: 100%;
  }
}

@media (min-width: 1140px) {
  html {
    font-size: 100%;
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #000;
}

@media screen and (min-width: 768px) {

  a,
  button {
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }

  a:hover,
  button:hover {
    opacity: 0.7;
    cursor: pointer;
  }
}

/*****************************
* A Modern CSS Reset (https://github.com/hankchizljaw/modern-css-reset)
* 上記に、ul要素,ol要素,a要素への記述追加
*****************************/
/* Box sizing rules */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
li {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
  list-style: none;
  padding: 0;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  padding: 0;
  background-color: transparent;
  background-color: initial;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.l-inner {
  width: 100%;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (min-width: 768px) {
  .l-inner {
    max-width: 1140px;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}

.c-item02 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.8125rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media screen and (min-width: 600px) {
  .c-item02 {
    gap: 1.4375rem;
  }
}

.c-item02__image {
  width: 3.75rem;
  height: 3.75rem;
}

@media screen and (min-width: 600px) {
  .c-item02__image {
    width: 6.25rem;
    height: 6.25rem;
  }
}

.c-item02__image img {
  aspect-ratio: 1/1;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
}

.c-item02__balloon {
  background: #fff0b3;
  border-radius: 1.25rem;
  -webkit-box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, .08);
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, .08);
  width: 16.375rem;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 600px) {
  .c-item02__balloon {
    width: 30.625rem;
  }
}

.c-item02__balloon::before {
  content: "";
  position: absolute;
  top: 46%;
  left: 0;
  border-style: solid;
  border-width: 0.3125rem 0.5625rem 0.3125rem 0;
  border-color: transparent #fff0b3 transparent transparent;
  border-radius: 0.0625rem;
  translate: -100% -50%;
  z-index: -1;
}

@media screen and (min-width: 600px) {
  .c-item02__balloon::before {
    border-width: 0.4375rem 0.8125rem 0.4375rem 0;
  }
}

.c-item02__balloon-text {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  padding: 0.375rem 0.9375rem 0.8125rem;
}

@media screen and (min-width: 600px) {
  .c-item02__balloon-text {
    font-weight: 500;
    padding: 0.875rem 1.1875rem 1.0625rem;
  }
}

.c-item02__balloon-text a {
  color: #0066c0;
  text-decoration: underline;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.125rem;
}

@media screen and (min-width: 600px) {
  .c-item02__balloon-text a {
    text-underline-offset: 0.1875rem;
  }
}

.c-item02__balloon-text--wide {
  padding: 1.3125rem 0.9375rem;
}

@media screen and (min-width: 600px) {
  .c-item02__balloon-text--wide {
    padding: 1.75rem 1.0625rem;
  }
}

.p-history__eyecatch {
  background: url(../../images/page/history/eyecatch_sp@2x.jpg) no-repeat center/cover;
  position: relative;
  z-index: 3;
}

@media screen and (min-width: 600px) {
  .p-history__eyecatch {
    background: url(../../images/page/history/eyecatch_pc@2x.jpg) no-repeat center/cover;
  }
}

.p-history-eyecatch__inner {
  padding: 5.25rem 1.25rem;
}

@media screen and (min-width: 600px) {
  .p-history-eyecatch__inner {
    padding: 6.625rem 1.25rem;
  }
}

.p-history-eyecatch__title-heading {
  font-size: 2rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: bold;
  color: #ffffff;
}

@media screen and (min-width: 600px) {
  .p-history-eyecatch__title-heading {
    font-size: 3rem;
  }
}

.p-history-eyecatch__title-lead {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: bold;
  color: #ffffff;
}

@media screen and (min-width: 600px) {
  .p-history-eyecatch__title-lead {
    font-size: 1.25rem;
    padding-top: 0.5625rem;
  }
}

.p-history__wrapper {
  background: #fffcf2;
  padding-top: 4.0625rem;
  padding-bottom: 15.0625rem;
}

@media screen and (min-width: 600px) {
  .p-history__wrapper {
    padding-top: 3.9375rem;
  }
}

.p-history__intro {
  padding-inline: 1.25rem;
  position: relative;
  z-index: 10;
}

@media screen and (min-width: 600px) {
  .p-history__intro {
    width: 49.8125rem;
    padding-inline: 0;
    margin-inline: auto;
  }
}

.p-history-intro__text {
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  margin-top: 2rem;
}

@media screen and (min-width: 600px) {
  .p-history-intro__text {
    font-weight: 500;
    margin-top: 1.5rem;
  }
}

.p-history-intro__text--bold {
  font-weight: 500;
  color: #ff8800;
}

@media screen and (min-width: 600px) {
  .p-history-intro__text--bold {
    font-weight: bold;
  }
}

.p-history__timeline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4rem;
  padding-left: 1.25rem;
  margin-top: 3.9375rem;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 600px) {
  .p-history__timeline {
    max-width: 68.75rem;
    gap: 4.84375rem;
    padding-left: 9.375rem;
    margin-inline: auto;
  }
}

.p-history__timeline::before {
  content: "";
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .6s ease;
  pointer-events: none;
  /* 背景なので念のため */
}

/* 表示ON時（元の見た目＋不透明に） */
.p-history__timeline.is-bg::before {
  position: fixed;
  left: 0;
  top: 56px;
  width: 100%;
  height: auto;
  aspect-ratio: 750/1792;
  z-index: 0;
  background: url(../../images/page/history/bg-image_sp@2x.png) no-repeat center/cover;
  opacity: 1;
  transform: none;
  will-change: opacity, transform;
}

@media screen and (min-width: 600px) {
  .p-history__timeline.is-bg::before {
    aspect-ratio: 2880/2190;
    background: url(../../images/page/history/bg-image_pc@2x.png) no-repeat center/cover;
  }
}

@media screen and (min-width: 600px) {
  .p-history-timeline__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
  }
}

.p-history__timeline::before {
  content: "";
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .6s ease;
  pointer-events: none;
}

/* 表示ON時 */
.p-history__timeline.is-bg::before {
  position: fixed;
  left: 0;
  top: 56px;
  right: 0;
  bottom: 0;
  z-index: 0;

  /* 画像の“比率”は cover が面倒見ます（要素は画面を覆う） */
  background: url(../../images/page/history/bg-image_sp@2x.png) no-repeat center / cover;
  /* 透け防止に色も併記 */
  opacity: 1;
  transform: none;
  will-change: opacity, transform;
}

@media (min-width: 600px) {
  .p-history__timeline.is-bg::before {
    top: 0;
    background: url(../../images/page/history/bg-image_pc@2x.png) no-repeat center / cover;
  }
}

.p-history-timeline__item:last-child::before {
  bottom: 0rem;
}

.p-history-timeline__item-year {
  font-size: 2.5rem;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: bold;
  padding-left: 3.625rem;
}

.p-history-timeline__item-year time {
  font-weight: bold;
  position: relative;
}

@media screen and (min-width: 600px) {
  .p-history-timeline__item-year {
    font-size: 4rem;
    padding-left: 0;
  }
}

.p-history-timeline__events {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 2rem;
}

@media screen and (min-width: 600px) {
  .p-history-timeline__events {
    width: 90%;
    gap: 0;
  }
}

.p-history-timeline__event-item {
  padding-left: 3.3125rem;
  position: relative;
  z-index: 10;
}

@media screen and (min-width: 600px) {
  .p-history-timeline__event-item {
    padding-left: 1.875rem;
    margin-top: 2.0625rem;
  }
}

.p-history-timeline__event-item::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  background: #ff8800;
  border-radius: 50%;
  position: absolute;
  top: 0.375rem;
  left: 0;
}

@media screen and (min-width: 600px) {
  .p-history-timeline__event-item::before {
    width: 1rem;
    height: 1rem;
    top: 0.5rem;
    left: 5.825rem;
  }
}

.p-history-timeline__event-item::after {
  content: "";
  width: 2.5rem;
  height: 0.25rem;
  background: #d9d9d9;
  border-radius: 0.125rem;
  position: absolute;
  top: 0.625rem;
  left: 0.5rem;
  z-index: -1;
}

@media screen and (min-width: 600px) {
  .p-history-timeline__event-item::after {
    width: 6.25rem;
    top: 0.875rem;
    left: 6.1875rem;
  }
}

.p-history-timeline__event-item-month {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: bold;
  color: #ff8800;
  max-width: 13%;
}

@media screen and (min-width: 600px) {
  .p-history-timeline__event-item-month {
    font-size: 1.25rem;
    float: left;
    width: 23%;
    max-width: 23%;
  }
}

.p-history-timeline__event-item-text {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: bold;
  display: inline-block;
  vertical-align: top;
  max-width: 87%;
}

@media screen and (min-width: 600px) {
  .p-history-timeline__event-item-text {
    font-size: 1.25rem;
    max-width: 77%;
  }
}

.p-history-timeline__event-item-achievement {
  display: inline-block;
  background: url(../../images/page/history/point@2x.png) no-repeat center/contain;
  width: 1.125625rem;
  height: auto;
  aspect-ratio: 18.01/24;
  vertical-align: bottom;
}

@media screen and (min-width: 600px) {
  .p-history-timeline__event-item-achievement {
    width: 1.500625rem;
    right: -2rem;
  }
}

.p-history-timeline__event-item-image {
  width: 12.8125rem;
  height: 9rem;
  margin: 0.5rem 0 0 0.25rem;
}

@media screen and (min-width: 600px) {
  .p-history-timeline__event-item-image {
    margin: 0.5625rem 0 0 11.125rem;
  }
}

.p-history-timeline__event-item-image img {
  aspect-ratio: 205/144;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0.625rem;
}

@media screen and (min-width: 600px) {
  .p-history-timeline__event-item-image a:hover {
    opacity: 0.5;
  }
}

@media screen and (min-width: 600px) {
  .p-history-timeline__year-item:nth-child(3) .p-history-timeline__event-item:nth-child(2) .u-mobile-block {
    margin-right: -0.3125rem;
  }
}

.p-history__outro {
  padding-inline: 1.25rem;
  margin-top: 5.375rem;
  position: relative;
  z-index: 10;
}

@media screen and (min-width: 600px) {
  .p-history__outro {
    width: 49.8125rem;
    padding-inline: 0;
    margin-top: 3.5625rem;
    margin-inline: auto;
  }
}

.p-history-outro__heading {
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 500;
  color: #ff8800;
}

@media screen and (min-width: 600px) {
  .p-history-outro__heading {
    font-size: 4rem;
  }
}

.p-history-outro__content {
  margin-top: 2rem;
}

@media screen and (min-width: 600px) {
  .p-history-outro__content {
    margin-top: 2.375rem;
  }
}

.p-test {
  color: red;
  font-size: 1.5625rem;
}

@media screen and (min-width: 768px) {
  .p-test {
    font-size: 3.125rem;
  }
}

body {
  min-width: 20rem;
}

@media screen and (min-width: 600px) {
  body {
    min-width: 68.75rem;
  }
}

@media screen and (min-width: 600px) {
  .u-desktop-block {
    display: block;
  }
}

.u-desktop {
  display: none;
}

@media screen and (min-width: 768px) {
  .u-desktop {
    display: block;
  }
}

.u-mobile-block {
  display: block;
}

@media screen and (min-width: 600px) {
  .u-mobile-block {
    display: inline;
  }
}

@media screen and (min-width: 768px) {
  .u-mobile {
    display: none;
  }
}