@charset "UTF-8";
/*色管理*/
:root {
  --body-base: #FFF;
  --base_font-color: #1F1F1F;
  --border-color: #999;
  --border-color_gray: #CAC5C5;
  --link-color: var(--base_font-color);
  --hover-color: #FFF;
  --footer-color: #7F7F7F;
  --header-bgcolor: #FFF;
  --pc_dropdown-color: #f2f2f2;
  --mask-color: rgba(0,0,0,0.6);
  --btn-height: auto; /*javascriptで値を書き換えます*/
  /*角丸*/
  --radius-value: 10px;
  /*headerの高さ*/
  --nav-height: 0px; /* 初期値 */
  /*ナビカラー管理*/
  --menu-link_color: #000;
  --menu-link_hober-color: var(--key-color);
  --menubg-link_hober-color: rgba(var(--key-color),0.6);
  /*スマホナビカラー管理*/
  --headerCL: var(--body-base);
  --nav1hoverCL: var(--key-color);
  --nav1hoverCL2: var(--key-color);
  --sp_navCL: transparent;
  --sp_maskCL: #FFF;
  --sp_hanCL: var(--key-color);
  --sp_barCL: #999;
  --sp_achanCL: #000;
  --sp_acbarCL: #FFF;
  --sp_navliCL: #FFF;
  --sp_navlibCL: #999;
  --sp_navaCL: #3D3A39;
  --sp_navli2CL: #CCC;
  --sp_navli2bCL: #999;
  --sp_gnavCL: rgba(169,169,169,0.6);
  --sp_gnavbarCL: #000;
}

/*基本*/
html {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem); /*14(320)-18*/
  line-height: 175%;
  font-family: "Noto Sans JP", メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", Osaka, sans-serif;
  font-weight: 400;
  font-style: normal;
  word-wrap: break-word;
  color: var(--base_font-color);
  background-color: var(--body-base);
  /* プロポーショナルメトリクスを有効にする指定 */
  font-feature-settings: "palt" 1;
  /* スマホ横画面で文字サイズが大きくなる場合、自動補正を無効化 */
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

:root {
  scroll-behavior: auto !important;
}

/* support iOS */
html {
  height: -webkit-fill-available;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

a {
  color: var(--key-color);
  text-decoration: none;
}
a:hover {
  color: var(--hover-color);
}

/*全体ラップ*/
/*ヘッダー*/
/*見出し*/
main h1, footer h1 {
  font-size: 18px;
  line-height: 120%;
  margin: 0px;
  font-weight: bold;
  font-family: LINESeedSansBd;
}
main h2, footer h2 {
  font-size: clamp(2.375rem, 2.148rem + 1.14vw, 3rem); /*38-48*/
  line-height: 120%;
  margin: 0px;
  font-weight: bold;
  font-family: LINESeedSansBd;
}
main h3, footer h3 {
  font-size: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem); /*30-40*/
  line-height: 120%;
  margin: 0px;
  font-weight: bold;
  font-family: LINESeedSansBd;
}
main h4, footer h4 {
  font-size: clamp(1.5rem, 0.308rem + 1.92vw, 1.75rem); /*24(992)-28*/
  line-height: 120%;
  margin: 0px;
  font-weight: bold;
  font-family: LINESeedSansBd;
}
main h5, footer h5 {
  font-size: clamp(1.375rem, 1.33rem + 0.23vw, 1.5rem); /*22-24*/
  line-height: 145%;
  margin: 0px;
  font-weight: bold;
  font-family: LINESeedSansBd;
}
main h6, footer h6 {
  font-size: 20px;
  line-height: 145%;
  margin: 0px;
  font-weight: bold;
  font-family: LINESeedSansBd;
}

/*---------------------------------------------*/
/* position設定                                */
/*---------------------------------------------*/
/*---------------------------------------------*/
/*bootstrap5追加                               */
/*---------------------------------------------*/
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
  position: relative;
  min-height: 1px;
}

.col-xs-15 {
  -ms-flex: 0 0 20%;
  flex: 0 0 20%;
  max-width: 20%;
}

@media (min-width: 768px) {
  .col-sm-15 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 992px) {
  .col-md-15 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (min-width: 1200px) {
  .col-lg-15 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}
/*---------------------------------------*/
/*比率を保って拡大・縮小処理                 */
/*---------------------------------------*/
.ratio-1_1:before {
  content: "";
  display: block;
  padding-top: 100%; /* 1:1 */
}

.ratio-7_3:before {
  content: "";
  display: block;
  padding-top: 30%; /* 7:3 */
}

.ratio-8_2:before {
  content: "";
  display: block;
  padding-top: 20%; /* 8:2 */
}

.ratio-1_2:before {
  content: "";
  display: block;
  padding-top: 200%; /* 1:2 */
}

.ratio-2_1:before {
  content: "";
  display: block;
  padding-top: 50%; /* 2:1 */
}

.ratio-4_3:before {
  content: "";
  display: block;
  padding-top: 75%; /* 4:3 */
}

.ratio-16_9:before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

.ratio-8_5:before {
  content: "";
  display: block;
  padding-top: 62.5%; /* 8:5 ≒ 黄金比 */
}

.ratio-1_90:before {
  content: "";
  display: block;
  padding-top: 90%;
}

.ratio-130:before {
  content: "";
  display: block;
  padding-top: 130%;
}

.ratio-1_1,
.ratio-7_3,
.ratio-8_2,
.ratio-1_2,
.ratio-2_1,
.ratio-4_3,
.ratio-16_9,
.ratio-1_90,
.ratio-130,
.ratio-8_5 {
  position: relative;
  overflow: hidden;
}

.ratio-1_1 > img,
.ratio-7_3 > img,
.ratio-8_2 > img,
.ratio-1_2 > img,
.ratio-2_1 > img,
.ratio-4_3 > img,
.ratio-16_9 > img,
.ratio-130 > img,
.ratio-8_5 > img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

@media (min-width: 769px) {
  .ratio-md-1_15:before {
    content: "";
    display: block;
    padding-top: 125%;
  }
}
@media (max-width: 991px) {
  .ratio-sp-2_1:before {
    content: "";
    display: block;
    padding-top: 50%; /* 2:1 */
  }
}
/*----------------------------------------*/
/*写真マスク                                */
/*----------------------------------------*/
.photo-area {
  overflow: hidden;
  position: relative;
  margin: 0px;
}
.photo-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.photo-area_v {
  overflow: hidden;
  position: relative;
  margin: 0px;
}
.photo-area_v img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/*---------------------------------------*/
/*gmapとyoutube                          */
/*---------------------------------------*/
.gmap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.youtube {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

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

/*---------------------------------------*/
/*電話リンク                               */
/*---------------------------------------*/
@media (min-width: 992px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
/*---------------------------------------*/
/*スペーサー                               */
/*---------------------------------------*/
.bt-sp10 {
  margin-bottom: 10px !important;
}

.bt-sp20 {
  margin-bottom: 20px !important;
}

.bt-sp30 {
  margin-bottom: 30px !important;
}

.bt-sp40 {
  margin-bottom: 40px !important;
}

.bt-sp80 {
  margin-bottom: 80px !important;
}

.mt-40_80 {
  margin-top: clamp(2.5rem, 1.591rem + 4.55vw, 5rem); /*40(320px)-80(1200px)*/
}

.mb-40_80 {
  margin-bottom: clamp(2.5rem, 1.591rem + 4.55vw, 5rem); /*40(320px)-80(1200px)*/
}

.my-40_80 {
  margin-top: clamp(2.5rem, 1.591rem + 4.55vw, 5rem); /*40(320px)-80(1200px)*/
  margin-bottom: clamp(2.5rem, 1.591rem + 4.55vw, 5rem); /*40(320px)-80(1200px)*/
}

.py-40_80 {
  padding-top: clamp(2.5rem, 1.591rem + 4.55vw, 5rem); /*40(320px)-80(1200px)*/
  padding-bottom: clamp(2.5rem, 1.591rem + 4.55vw, 5rem); /*40(320px)-80(1200px)*/
}

.pt-40_80 {
  padding-top: clamp(2.5rem, 1.591rem + 4.55vw, 5rem); /*40(320px)-80(1200px)*/
}

.pb-40_80 {
  padding-bottom: clamp(2.5rem, 1.591rem + 4.55vw, 5rem); /*40(320px)-80(1200px)*/
}

/*---------------------------------------------*/
/*テーブルリスト                                 */
/*---------------------------------------------*/
.table-ul {
  list-style: none;
  padding: 0px;
}
.table-ul.tr-top_line > li:first-of-type {
  border-top: 1px solid var(--border-color_gray);
}
.table-ul.tr-line > li {
  border-bottom: 1px solid var(--border-color_gray);
}
.table-ul.cell-7rem_all > li {
  display: flex;
  justify-content: flex-start;
}
.table-ul.cell-7rem_all > li div:first-of-type {
  width: 7rem;
}
.table-ul.cell-7rem_all > li div:last-of-type {
  flex: 1;
  min-width: calc(100% - 7rem);
}
.table-ul.cell-10rem_all > li {
  display: flex;
  justify-content: flex-start;
}
.table-ul.cell-10rem_all > li div:first-of-type {
  width: 10rem;
}
.table-ul.cell-10rem_all > li div:last-of-type {
  flex: 1;
}
.table-ul.td-fw-bold > li div:first-of-type {
  font-weight: bold;
}
.table-ul.td-fw-normal > li div:last-of-type {
  font-weight: normal;
}
.table-ul.td-x-sp20 > li div {
  padding: 10px 20px;
}
.table-ul.td-y-sp24 > li div {
  padding: 24px 20px;
}
.table-ul.tr-white > li:nth-of-type(odd) {
  background-color: var(--color_white);
}
.table-ul.th-center > li > div:first-of-type {
  align-self: center;
}

@media (min-width: 992px) {
  .table-ul > li {
    display: flex;
    justify-content: flex-start;
  }
  .table-ul > li div {
    padding: 5px;
  }
  .cell-10rem div:first-of-type {
    width: 10rem;
  }
  .cell-10rem div:last-of-type {
    flex: 1;
  }
  .cell-15rem div:first-of-type {
    width: 15rem;
  }
  .cell-15rem div:last-of-type {
    flex: 1;
  }
  .cell-20rem div:first-of-type {
    width: 20rem;
  }
  .cell-20rem div:last-of-type {
    flex: 1;
  }
}
@media (max-width: 991px) {
  .table-ul > li {
    padding-bottom: 5px;
    margin-bottom: 5px;
  }
}
.table-ul_py10px > li {
  padding-top: 10px;
  padding-bottom: 10px;
}

.table-ul_py20px > li {
  padding-top: 20px;
  padding-bottom: 20px;
}

/*オープニング*/
#loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100svw;
  height: 100dvh;
  background-color: #666;
  z-index: 9999;
}
#loading img {
  touch-action: none;
}

#progress {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  color: #FFF;
  width: 180px;
  position: relative;
}
#progress div {
  display: flex;
  align-items: baseline;
  position: absolute;
  top: 55%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
#progress span {
  display: block;
}
#progress span:first-of-type {
  font-size: 70px;
}
#progress span:last-of-type {
  font-size: 42px;
  visibility: hidden;
  margin-left: -10%;
  transition: all 0.5s 0s ease;
}

#progress::before {
  content: "";
  width: 100%;
  padding-top: 100%;
  background-image: url("../img/circle.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  animation: rotateAnime 10s linear infinite;
  opacity: 0;
  transition: all 0.5s 0s ease;
}

#progress.loaded::before {
  opacity: 1;
  transition: all 0.5s 0s ease;
}

@keyframes rotateAnime {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#bg-circle {
  width: 30%;
  min-width: 300px;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto auto;
  opacity: 0;
}
#bg-circle img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  animation: rotateAnime2 30s linear infinite;
}

@keyframes rotateAnime2 {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}
#contents {
  visibility: hidden;
}

.svg-wrap {
  aspect-ratio: 1/1;
}
.svg-wrap img {
  aspect-ratio: 1/1;
}

header {
  padding: 10px 12px;
}
header h1 {
  margin-bottom: 0px;
}

@media screen and (min-width: 992px) {
  header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 99;
  }
  header #title {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--headerStartHeight);
    padding: 20px;
    margin: 0;
  }
  header #title img {
    width: 100%;
    max-width: 768px;
    height: auto;
  }
  header #title.in-view {
    filter: brightness(0) invert(1); /*白色化*/
  }
  #anniversary {
    position: fixed;
    top: -100%;
    right: 12px;
    filter: invert(66%) sepia(8%) saturate(12%) hue-rotate(348deg) brightness(91%) contrast(91%);
    width: 20%;
    max-width: 118px;
    min-width: 80px;
    z-index: 99;
  }
  #anniversary img:first-of-type {
    width: 100%;
    height: auto;
    animation: rotateAnime 10s linear infinite;
  }
  #anniversary img:last-of-type {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 30%;
    width: auto;
  }
  #anniversary.in-view {
    filter: none;
  }
  main {
    position: relative;
    z-index: 98;
  }
  main.in-step4 {
    background-color: #1f7fb2;
  }
  #scroll {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    padding-left: 10px;
    gap: 5px;
  }
  #scroll::after {
    content: "";
    animation: scroll 2s infinite;
    background: linear-gradient(0deg, #e54566 0%, #f7b63d 40%, #7ebf58 70%, #1f7fb1 100%);
    /*background-color: #e54566;*/
    height: 100px;
    margin: auto;
    width: 1px;
  }
  #scroll span {
    /*background: linear-gradient(0deg, #e54566 0%, #f7b63d 40%, #7ebf58 70%, #1f7fb1 100%);*/
    color: #7f7f7f;
    letter-spacing: 5%;
    /*-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
    line-height: 100%;
    writing-mode: vertical-rl;
    font-family: "Josefin Sans", sans-serif;
  }
  /**/
  #step1 {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: var(--headerStartHeight);
    min-height: 100dvh;
  }
  /**/
  #step2 {
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #step2 #target2 {
    height: 100%;
    flex-direction: column;
  }
  #step2 #target2 .row {
    height: 100dvh;
    display: flex;
  }
  #intoro2,
  #intoro25,
  #intoro3 {
    height: 100dvh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #FFF;
    opacity: 0;
  }
  /**/
  #step3 {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #step3 #target3 {
    height: 100%;
    flex-direction: column;
  }
  #step3 #target3 .row {
    height: 100dvh;
    padding-top: var(--anH);
    display: flex;
  }
  .photo-area_wrap {
    position: relative;
  }
  .photo-area_wrap figure {
    margin: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
  .photo-area_wrap figure:nth-of-type(2) {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
  }
  .photo-area_wrap figure:nth-of-type(3) {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
  }
  .circle1 {
    background-color: #1f7fb2;
    position: absolute;
    top: 0;
    right: -100%;
    z-index: 9;
    height: 100%;
    width: 100%;
    display: block;
  }
  #new-slogan {
    position: absolute;
    top: 0;
    z-index: 9;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #new-slogan h2 {
    opacity: 0;
  }
  /**/
  #step4 {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    background-color: #1f7fb2;
  }
  #step4 #target4 {
    height: 100%;
    padding-top: var(--anH);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #step4 #target4 .container-xxl {
    height: 100%;
  }
  #s4-cont {
    height: 100%;
  }
  .circle2 {
    background-color: #e64569;
    position: absolute;
    top: 0;
    right: -100%;
    z-index: 9;
    height: 100%;
    width: 100%;
    display: block;
  }
  #new-logo {
    position: absolute;
    top: 0;
    z-index: 9;
    height: 100dvh;
    min-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #new-logo h2 {
    opacity: 0;
  }
  #main-copy h2,
  #copy-text,
  #copy-photo1,
  #copy-photo2 {
    opacity: 0;
  }
  /**/
  #step5 {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    background-color: #e64569;
  }
  #step5 #target5 {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #s5-cont {
    height: 100dvh;
    opacity: 0;
  }
  .musubu-wrap {
    position: relative;
  }
  .musubu-wrap figure {
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: #e64569;
  }
  .musubu-wrap figure:nth-of-type(2) {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
  }
  .musubu-wrap figure:nth-of-type(3) {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
  }
  /**/
  #step6 {
    display: flex;
    flex-direction: column;
    height: calc(100dvh + 1px);
    margin-top: -1px;
    min-height: 900px;
    position: relative;
  }
  #step6 #target6 {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .panel1 {
    z-index: 1;
    background-color: #e64569;
  }
  .panel2 {
    z-index: 2;
    background-color: #f7b63d;
  }
  .panel3 {
    z-index: 3;
    background-color: #7ebf58;
  }
  .panel4 {
    z-index: 4;
    background-color: #1f7fb2;
  }
  .panel5 {
    z-index: 4;
    background-color: #FFFFFF;
  }
  .panel6 {
    z-index: 5;
    /*background-color: #FFFFFF;
    opacity: 0;*/
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
  }
  .panel6 h3 {
    transition: all 0.5s ease-out;
    opacity: 0;
    height: 0;
  }
  .panel6.in-view2 h3 {
    opacity: 1;
    height: auto;
  }
  .svg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    flex-wrap: wrap;
    z-index: 2;
    transform-origin: center center;
  }
  .svg-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 1;
    aspect-ratio: 1/1;
  }
  #step6-2 {
    background-color: #FFF;
    margin-top: -100px;
    position: relative;
  }
  .rogo-text {
    transition: all 0.5s ease-out;
  }
  /**/
  #step7-wrap {
    background-color: transparent;
    transition: background-color 0.4s ease;
  }
  #step7-wrap.color-yellow {
    background-color: #f8b73d;
  }
  #step7-wrap.color-green {
    background-color: #7dc058 !important;
  }
  #step7 {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    position: relative;
  }
  #step7 #target7 {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #step7 h3 {
    transform-origin: bottom left;
    transition: all 0.5s ease-out;
  }
  #step7 h4 {
    transform-origin: top left;
    transition: all 0.5s ease-out;
  }
  #step7.in-view h3 img {
    filter: brightness(0) invert(1); /*白色化*/
    transition: all 0.5s ease-out;
  }
  #step7.in-view h4 img {
    filter: brightness(0) invert(1); /*白色化*/
    transition: all 0.5s ease-out;
  }
  #mess-wrap {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: -2px;
    position: relative;
  }
  #mess-wrap::before {
    content: "";
    height: calc(100% - 80px);
    background-color: #FFF;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    position: absolute;
    top: 0;
    left: 8.33333333%;
    z-index: 0;
    width: 100vw;
    margin-right: calc(50% - 50vw);
  }
  #president,
  #ceo {
    z-index: 1;
    padding-bottom: 60px;
    padding-left: 40px;
    padding-right: 40px;
  }
  #presi-photo {
    position: absolute;
    bottom: 0;
    right: 0;
  }
  /**/
  #step8 {
    padding-top: var(--anH);
  }
  #step9 {
    padding-top: var(--anH);
  }
}
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
}
@media screen and (max-width: 991px) {
  header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100svh;
    width: 100%;
    position: fixed;
    z-index: 99;
  }
  #anniversary {
    position: fixed;
    top: -100%;
    right: 12px;
    filter: invert(66%) sepia(8%) saturate(12%) hue-rotate(348deg) brightness(91%) contrast(91%);
    width: 20%;
    max-width: 118px;
    min-width: 80px;
    z-index: 99;
  }
  #anniversary img:first-of-type {
    width: 100%;
    height: auto;
    animation: rotateAnime 10s linear infinite;
  }
  #anniversary img:last-of-type {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 30%;
    width: auto;
  }
  #scroll {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    gap: 5px;
  }
  #scroll::after {
    content: "";
    animation: scroll 2s infinite;
    background: linear-gradient(0deg, #e54566 0%, #f7b63d 40%, #7ebf58 70%, #1f7fb1 100%);
    height: 100px;
    margin: auto;
    width: 1px;
  }
  #scroll span {
    color: #7f7f7f;
    line-height: 100%;
    letter-spacing: 5%;
    writing-mode: vertical-rl;
    font-family: "Josefin Sans", sans-serif;
  }
  #step1 {
    height: 100dvh;
    width: 100%;
  }
  /**/
  #step2 {
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #step2 #target2 {
    height: 100%;
    flex-direction: column;
  }
  #step2 #target2 .row {
    height: 100dvh;
    display: flex;
  }
  #intoro2,
  #intoro25,
  #intoro3 {
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #FFF;
    opacity: 0;
  }
  /**/
  #step3 {
    width: 100%;
    min-height: 100dvh;
  }
  #step3 #new-slogan {
    padding-top: 40px;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    justify-content: center;
  }
  #step3 #new-slogan img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(88%) saturate(7454%) hue-rotate(215deg) brightness(87%) contrast(113%);
  }
  #step4 {
    width: 100%;
    min-height: 100dvh;
    padding-bottom: 0px;
  }
  #step4 #new-logo {
    margin-top: 40px;
    background-color: #e64569;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50dvh;
  }
  #step4 #new-logo h2 img {
    width: 100%;
    height: auto;
  }
  #step5 {
    background-color: #e64569;
    color: #FFF;
  }
  #step5 h2 img {
    filter: brightness(0) invert(1); /*白色化*/
  }
  #step5 #target5 {
    display: flex;
    height: 100dvh;
    justify-content: center;
    align-items: center;
  }
  #step6 {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    position: relative;
  }
  #step6 #target6 {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .panel1 {
    z-index: 1;
    background-color: #e64569;
  }
  .panel2 {
    z-index: 2;
    background-color: #f7b63d;
  }
  .panel3 {
    z-index: 3;
    background-color: #7ebf58;
  }
  .panel4 {
    z-index: 4;
    background-color: #1f7fb2;
  }
  .panel5 {
    z-index: 4;
    background-color: #FFFFFF;
  }
  .panel6 {
    z-index: 5;
    /*background-color: #FFFFFF;
    opacity: 0;*/
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
  }
  .panel6 h3 {
    transition: all 0.5s ease-out;
    opacity: 0;
    height: 0;
  }
  .panel6.in-view2 h3 {
    opacity: 1;
    height: "auto";
    margin-top: -50px;
  }
  .svg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    flex-wrap: wrap;
    z-index: 2;
    transform-origin: center center;
  }
  .svg-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 1;
  }
  #step6-2 {
    background-color: #FFF;
    margin-top: 40px;
    position: relative;
  }
  .rogo-text {
    transition: all 0.5s ease-out;
  }
  #step7-wrap {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f8b73d;
    transition: background-color 0.4s ease;
  }
  #step7-wrap #target7 {
    margin-bottom: 80px;
  }
  #step7-wrap #target7 img {
    filter: brightness(0) invert(1); /*白色化*/
  }
  #step7-wrap .mess-text {
    position: relative;
    padding: 40px;
    gap: 100px !important;
  }
  #step7-wrap .mess-text::before {
    content: "";
    height: 100%;
    background-color: #FFF;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100vw;
    margin-right: calc(50% - 50vw);
  }
  #step7-wrap.color-yellow {
    background-color: #f8b73d;
  }
  #step7-wrap.color-green {
    background-color: #7dc058 !important;
  }
  #step8 {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  #step9 {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
/*全般*/
.josefin-sans-500 {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

body {
  overflow-x: hidden;
  text-align: justify;
}

body.opening {
  overflow: hidden;
}
body.opening #contents {
  height: 100dvh;
  overflow: hidden;
}

main {
  overflow-x: hidden;
}
#step3 .message-text,
#step4 .message-text2 {
  line-height: 300%;
  letter-spacing: 10%;
}

#step6-2 {
  line-height: 250%;
  letter-spacing: 10%;
}

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

.img-height {
  height: clamp(3.125rem, -26.51rem + 47.85vw, 9.375rem); /*50(991)-150(1200)*/
  width: auto;
  margin: 0 auto;
  display: inline-block;
}

/*無限ループ*/
.scroll-infinity__wrap {
  overflow: hidden;
}

.scroll-infinity__list {
  display: flex;
  white-space: nowrap;
  list-style: none;
  padding: 0;
}

.scroll-infinity__item {
  width: 350px;
  padding-left: 15px;
  padding-right: 15px;
  flex-shrink: 0;
}
.scroll-infinity__item img {
  width: 100%;
  height: auto;
}

.scroll-infinity--1 .scroll-infinity__list {
  animation: scroll-left var(--duration-1) linear infinite;
}

.scroll-infinity--2 .scroll-infinity__list {
  animation: scroll-right var(--duration-2) linear infinite;
}

.scroll-infinity--3 .scroll-infinity__list {
  animation: scroll-left var(--duration-3) linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--scroll-width));
  }
}
@keyframes scroll-right {
  from {
    transform: translateX(var(--scroll-width));
  }
  to {
    transform: translateX(0);
  }
}
/*
.scroll-infinity__wrap:hover .scroll-infinity__list {
  animation-play-state: paused;
}
*/
.marqueeWrapper {
  overflow-x: hidden; /* clip は使わない */
  display: flex;
  gap: 50px;
}

.marquee {
  white-space: nowrap;
  width: max-content; /* fit-content は避ける */
  animation: courseMarquee var(--marquee-duration, 0s) linear infinite;
}

@media screen and (min-width: 992px) {
  .marquee img {
    height: 180px;
    width: auto;
  }
}
@media screen and (max-width: 991px) {
  .marquee img {
    height: 125px;
    width: auto;
  }
}
@media screen and (min-width: 1200px) {
  .img-md-height {
    height: clamp(3.125rem, -26.51rem + 47.85vw, 9.375rem);
    width: auto;
    margin: 0 auto;
    display: inline-block;
  }
  .gap-md-100 {
    gap: 100px;
  }
}
@media screen and (max-width: 1199px) {
  .img-md-height {
    max-width: 100%;
    height: auto;
  }
  .gap-50 {
    gap: 50px;
  }
}
@keyframes courseMarquee {
  0% {
    translate: 0 0;
  }
  to {
    translate: calc(-1 * var(--marquee-width) - 50px) 0;
  }
}
footer {
  background-color: #666666;
  color: #FFF;
  padding-top: 40px;
  padding-bottom: 40px;
}
footer a {
  color: #FFF;
  cursor: pointer;
}
footer nav {
  display: flex;
  justify-content: space-between;
}
footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer nav ul li + li {
  margin-top: 20px;
}

@media screen and (min-width: 992px) {
  #footer-parent {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
  }
  .grid1 {
    grid-column: span 2/span 2;
    grid-column-start: 4;
    grid-row-start: 1;
  }
  .grid2 {
    grid-row: span 2/span 2;
    grid-column-start: 1;
    grid-row-start: 1;
  }
  .grid3 {
    grid-column: 2/span 4;
    grid-row: 2;
  }
  .grid3 small {
    justify-content: end;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  #footer-parent {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
  }
  .grid1 {
    grid-column: 3/span 4;
    grid-column-start: 3;
    grid-row-start: 1;
  }
  .grid2 {
    grid-row: 1/span 2;
    grid-column-start: 1;
    grid-row-start: 1;
  }
  .grid3 {
    grid-column: 2/span 4;
    grid-row: 2;
  }
  .grid3 small {
    justify-content: end;
  }
}
@media screen and (max-width: 768px) {
  #footer-parent {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
  }
  #footer-parent .grid1 {
    width: 100%;
  }
  #footer-parent .grid3 small {
    justify-content: center;
    text-align: center;
  }
}/*# sourceMappingURL=site-style.css.map */