@charset "UTF-8";
/* --------------------------------------------------
   Template by espace（https://espace.monbalcon.net/）
   Copyright: 2020 espace.

   利用規約を遵守の上、ご利用ください。
   二次配布、販売は禁止しています。
   --------------------------------------------------*/

/* ----- ▼ リセット　ここから（基本的には触らない方が良い部分） ▼ ----- */
* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

:focus {
  outline: none;
}

a {
  text-decoration: none;
}

a,
a::after,
a::before,
button,
button::after,
button::before,
input,
textarea,
select {
  transition: all 0.7s;
}

a img,
button img {
  transition-duration: 0.35s;
}

button {
  outline: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  cursor: hand;
}

input,
textarea,
select {
  font-size: 1.6rem;
}

input,
textarea {
  box-shadow: none;
  -webkit-appearance: none;
}

select {
  appearance: button;
}

p,
dl,
ul,
form {
  margin: 25px 0;
  word-break: break-all;
}

p:last-child,
dl:last-child,
ul:last-child,
form:last-child {
  margin-bottom: 0;
}

img {
  vertical-align: middle;
  max-width: 100%;
}

@media only screen and (max-width: 900px) {

  p,
  form {
    margin: 0 0 1.7rem;
  }

  p:last-child,
  form:last-child {
    margin-bottom: 0;
  }
}

/* ----- ▲ リセット　ここまで（基本的には触らない方が良い部分） ▲ ----- */

/* ----- ▼ レイアウト　ここから ▼ ----- */
/* 基本 */
body {
  margin: 0;
  padding: 0;
  background: #071d43 url("../img/layout/bg_image.png");
}

body,
button,
input,
textarea,
select {
  font: 500 1.6rem / calc(1.6rem + 1.05rem) "Yu Gothic", Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
  color: #dee4ea;
}

header {
  position: sticky;
  top: 0;
  padding: 7px 20px;
  height: 50px;
  text-align: center;
  transition: all 0.7s;
  z-index: 1;
  background-color: rgba(4, 12, 36, 0.8);
}

header a {
  text-decoration: none;
}



main {
  max-width: 1000px;
  margin: auto;
}

main>article:first-of-type>*:first-child {
  margin-top: 150px;
}

footer {
  margin: 200px auto 50px;
  text-align: center;
}

a {
  color: #dfbf80;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* メニュー */
header .menu ul {
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
}

header .menu ul li {
  display: inline-block;
  margin-right: 20px;
}

header .menu a {
  color: #dfbf80;
  font-size: 1.8rem;
  font-family: "Shippori Mincho";
}

.fixed-menu {
  position: fixed;
  bottom: 100px;
  right: 100px;
}

.fixed-menu ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fixed-menu ul li:not(:first-of-type) a,
.fixed-menu ul li:not(:first-of-type) button {
  border-left: 0 !important;
}

.fixed-menu a,
.fixed-menu button {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent !important;
  color: #dfbf80 !important;
}

.fixed-menu a::before,
.fixed-menu button::before {
  position: absolute;
  width: 52px;
  top: 10px;
  left: calc(50% - 13px);
  text-align: center;
  font: 900 32px/1 "Font Awesome 5 Free";
}

.fixed-menu a:hover,
.fixed-menu button:hover {
  opacity: 1 !important;
}

.fixed-menu .pagetop a::before,
.fixed-menu .pagetop button::before {
  content: "\f106";
}

.fixed-menu .prev a::before,
.fixed-menu .prev button::before {
  content: "\f104";
}

.fixed-menu .next::before {
  content: none;
}

.fixed-menu .next a::before,
.fixed-menu .next button::before {
  content: "\f105";
}

.fixed-menu .toc a::before,
.fixed-menu .toc button::before {
  content: "\f0ca";
}

.fixed-menu .home a::before,
.fixed-menu .home button::before {
  content: "\f015";
}

@media only screen and (max-width: 900px) {

  header .menu {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
  }

  header .menu ul {
    /*width: calc(100vw - 110px);*/
    /*overflow-x: scroll;*/
    width: 100%;
    white-space: nowrap;
  }

  header .scroll {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  head .scroll h1 a {
    margin-left: 50%;
  }

  .fixed-menu {
    right: 30px;
  }

}

/*画面分割*/
.parent {
  display: flex;
  flex-direction: row;
}

.child1 {
  flex-grow: 1;
  flex-basis: 60%;
}

.child2 {
  flex-grow: 2;
  flex-basis: 40%;
}

.child3 {
  flex-grow: 1;
  flex-basis: 70%;
}

.child4 {
  flex-grow: 2;
  flex-basis: 30%;
}

/* 見出し */
h1 {
  position: relative;
  margin: 30px auto;
  width: 300px;
  font: 30px/1 "Shippori Mincho", serif;
}

h1 a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 35px 0;
  color: #fff;
  text-decoration: none;
}

h1::before,
h1::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 10px;
  border: 1px solid #fff;
  top: 0;
}

h1::before {
  border-right: 0;
  left: 0;
}

h1::after {
  border-left: 0;
  right: 0;
}

header.scroll h1 {
  margin: 0;
}

header.scroll h1 a {
  height: auto;
  padding: 0;
}

h2 {
  max-width: 80%;
  margin-top: 200px;
  margin-bottom: 40px;
  text-align: left;
  font-size: 2rem;
  font-weight: 500;
  line-height: 160%;
  color: #dfbf80;
  font-family: 'Shippori Mincho';
}

h2 span {
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  background: rgba(60, 92, 132, 0.2);
}

h2 span::before,
h2 span::after {
  content: "";
  position: absolute;
  display: block;
  border-style: solid;
  border-width: 0 0 10px 10px;
}

h2 span::before {
  top: 0;
  left: 0;
  border-color: #dfbf80 #dfbf80 transparent;
}

h2 span::after {
  bottom: 0;
  right: 0;
  border-color: transparent transparent #dfbf80;
}

h3,
h4 {
  font-size: 1.6rem;
  font-weight: 500;
}

h3 {
  margin: 150px auto 75px;
  text-align: center;
  color: #dfbf80;
  max-width: calc(100% - 100px);
}

h3 span {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

h3 span::before,
h3 span::after {
  content: "///";
}

h3 span::before {
  margin-right: 30px;
}

h3 span::after {
  margin-left: 30px;
}

h4 {
  color: #fff;
}

h5 {
  color: #bca46c;
}

h4 {
  margin: 70px auto 50px;
  border-bottom: 1px solid #3c5c84;
}

h5 {
  font-size: 1.2rem;
  font-weight: 600;
}

/* リスト */
ul .description,
ol .description {
  margin-left: 10px;
}

ul .description::before,
ol .description::before {
  content: "…";
  margin-right: 10px;
}

ul li.next {
  list-style: none;
}

ul li.next::before {
  content: "→";
  margin-right: 5px;
  font-size: 120%;
}

ul.small {
  list-style: none;
  padding-left: 0;
}

ul.small li {
  display: inline;
}

ul.small li::before {
  color: #6c92ae;
}

ul.small li:not(:first-child):not(.next)::before {
  margin: 0 5px 0 2px;
  content: ":";
  font-weight: 900;
}

ul.small li.next::before {
  margin: 0 7px 0 2px;
}

dl {
  text-align: left;
}

dl dd {
  margin: 0 0 15px;
  padding: 0 0 15px 40px;
  border-bottom: 1px dotted #3c5c84;
}

dl dd:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

dl.inline {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
}

dl.inline dt,
dl.inline dd {
  vertical-align: top;
  margin: 0 0 15px 0;
  padding: 0 0 15px;
}

dl.inline dt:last-of-type,
dl.inline dd:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}

dl.inline dt {
  width: 200px;
  padding: 0 30px 10px 0;

  border-bottom: 1px dotted #3c5c84;
}

dl.inline dt:last-of-type {
  border-bottom: 0;
}

dl.inline dd {
  width: calc(100% - 200px - 30px);
}

dl.border {
  padding: 20px 20px;
  border: 1px dotted #3c5c84;
}

.required::after {
  content: "*";
  color: #dfbf80;
}

input::placeholder,
textarea::placeholder,
select::placeholder,
button:not(.manu-toggler)::placeholder,
input[type="submit"]::placeholder,
input[type="button"]::placeholder {
  color: #3c5c84;
}

input,
textarea,
select {
  border: 1px solid #3c5c84;
  background: transparent;
}

input:hover,
input:focus,
textarea:hover,
textarea:focus,
select:hover,
select:focus {
  border: 1px solid #6c92ae;
}

button:not(.manu-toggler),
input[type="submit"],
input[type="button"] {
  background: #6c92ae;

  color: #040c24;
}

button:not(.manu-toggler):hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  border-color: #3c5c84;
  background: #3c5c84;
}

/* 装飾 */
b,
em,
strong {
  font-weight: bold;
}

em {
  font-style: normal;
  background: linear-gradient(transparent 50%, #14548d 50%);
}

strong {
  background: #14548d;
}

hr {
  margin: 100px auto;
  border: 0;
  color: #dfbf80;
  font-size: 10px;
  text-align: center;
}

hr::after {
  content: "///";
  letter-spacing: 6px;
}

.big {
  margin-bottom: 20px auto;
  font-size: 30px;
  letter-spacing: normal;
  color: #bca46c;
  line-height: 1.5;
}



.dt em {
  border-bottom: 30% #fff;
}



.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-bold {
  font-weight: bold;
}

.text-small {
  font-size: smaller;
}


/*背景色変え*/
.gradient_block {
  background: linear-gradient(145deg, #3c5c84, rgba(108, 146, 174, 0));
  margin: auto;
  padding: 5px 5px;
}

.gradient_block .border {
  border-bottom: 1px dotted #fff;
  margin: 0 0 15px;
  padding: 0 0 15px 40px;
}

/*下線消す*/
.gradient_block a {
  color: #fff;
  text-decoration: none;
}

.gradient_block a:hover {
  color: #c0a668;
  text-decoration: underline;
}

.gradient_block ol {
  margin-left: -10px;
  margin-right: 20px;
}

.gradient_block li {
  color: #e0c078;
  border-bottom: 1px dotted #c0a668;
  margin: 15px auto;
  padding: 5px;
  position: relative;
}

.gradient_block li::before {
  content: "";
  display: block;
  border-bottom: 1px dotted #c0a668;
  width: 0px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.gradient_block li::after {
  content: "";
  display: block;

  width: 70%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.size10 {
  position: relative;
  text-align: center;
  width: 20%;
  height: 20%;
  margin: auto;
  top: auto;
}

.child1 .size2,
.child1 .size3,
.child1 .size4 {
  display: none;
}

.animated-text {
  font-size: 30px;
  font-family: "Shippori Mincho";
  letter-spacing: 5px;
}

.animated-text span {
  display: inline-block;
  opacity: 0;

  transform: translateY(-20px);

  animation: drop-in 1s ease forwards;
  animation-play-state: paused;

  transition: none !important;

  will-change: transform, opacity;

  letter-spacing: normal;
}

.is-animated span {
  animation-play-state: running;
}

@keyframes drop-in {
  to {
    transform: translateY(0);
    opacity: 1;
    color: #acd2ee;
  }
}

.delay span {
  animation-delay: 2s !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 2s ease-in-out;
}

/* 星のスタイル */
#sky {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  background-color: #fff;
  /* 星の色 */
  border-radius: 50%;
  box-shadow: 0 0 4px 2px rgba(255, 255, 255, 0.2);
  /* 星の影 */
  opacity: 0;
  animation: twinkle 5s infinite;
}

/* 星がキラキラ光るアニメーション */
@keyframes twinkle {
  0% {
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/*テキスト縦書き用*/
.textbox {
  margin: 20px;
  display: flex;
}

.textbox.title {
  margin: 20px;
  display: flex;
}

.textbox.center {
  align-items: center;
}

.space {
  margin-left: 10px;
}

.vertical1 {
  writing-mode: vertical-rl;
  margin: 5px;
}

.vertical2 {
  writing-mode: vertical-rl;
  margin: 5px;
}

#sparkle-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* キラキラ */
.sparkle {
  position: fixed;

  width: 4px;
  height: 4px;

  pointer-events: none;

  border-radius: 70%;

  background:
    radial-gradient(ellipse 50% 70%,
      #fffffff2 0%,
      #7cb5fbb3 10%,
      #ffffff00 100%);

  transition: none !important;

  will-change: transform, opacity;

  transform: translateZ(0);
  /*
    mix-blend-mode: screen;

    filter: blur(0.2px);
    */

  animation:
    sparkle-fade 1.6s ease-out forwards;
}

.sparkle::before,
.sparkle::after {
  transition: none !important;
}

/* 十字のきらめき */
.sparkle::before,
.sparkle::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  background:
    linear-gradient(to bottom,
      transparent,
      rgba(255, 255, 255, 0.9),
      transparent);

  transform:
    translate(-50%, -50%);
}

/* 縦線 */
.sparkle::before {
  width: 2px;
  height: 2em;
}

/* 横線 */
.sparkle::after {
  width: 1em;
  height: 2px;
}

@keyframes sparkle-fade {

  0% {
    opacity: 0;
    transform:
      scale(0.3) translateY(0px);
  }

  15% {
    opacity: 0.9;
  }

  60% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;

    transform:
      scale(0.7) translateY(-30px);
  }
}

/*横流れ*/
/* シンプルカルーセルの完全CSS実装 */
.carousel {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

/* ラジオボタンを非表示にする */
.simple-carousel input[type="radio"] {
  display: none;
}

/* カルーセルコンテナの設定 */
.carousel-container {
  overflow: hidden;
  border-radius: 10px;
}

/* スライド全体のラッパー */
.carousel-slides {
  display: flex;
  width: 800%;
  /* スライド数 × 100% */
  transition: transform 2.5s ease-in-out;
}

/* 各スライドの設定 */
.slide {
  width: 12.5%;
  padding: 40px 20px;
  margin: auto;
  text-align: center;
  box-sizing: border-box;
}

/* ナビゲーションボタンの配置 */
.carousel-nav {
  text-align: center;
  margin-top: 0;
}

.nav-btn {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border: 1px solid #dfbf80;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* アクティブ状態とスライド制御 */
#slide1:checked~.carousel-container .carousel-slides,
#slide2:checked~.carousel-container .carousel-slides,
#slide3:checked~.carousel-container .carousel-slides,
#slide4:checked~.carousel-container .carousel-slides,
#slide5:checked~.carousel-container .carousel-slides,
#slide6:checked~.carousel-container .carousel-slides,
#slide7:checked~.carousel-container .carousel-slides {
  animation: none;
}

#slide1:checked~.carousel-container .carousel-slides {
  transform: translateX(0%);
}

#slide2:checked~.carousel-container .carousel-slides {
  transform: translateX(-12.5%);
}

#slide3:checked~.carousel-container .carousel-slides {
  transform: translateX(-25%);
}

#slide4:checked~.carousel-container .carousel-slides {
  transform: translateX(-37.5%);
}

#slide5:checked~.carousel-container .carousel-slides {
  transform: translateX(-50%);
}

#slide6:checked~.carousel-container .carousel-slides {
  transform: translateX(-75%);
}

#slide7:checked~.carousel-container .carousel-slides {
  transform: translateX(-87.5%);
}

/* アクティブなナビゲーションボタンのスタイル */
#slide1:checked~.carousel-nav label[for="slide1"],
#slide2:checked~.carousel-nav label[for="slide2"],
#slide3:checked~.carousel-nav label[for="slide3"],
#slide4:checked~.carousel-nav label[for="slide4"],
#slide5:checked~.carousel-nav label[for="slide5"],
#slide6:checked~.carousel-nav label[for="slide6"],
#slide7:checked~.carousel-nav label[for="slide7"] {
  background: #dfbf80;
}

.index {
  background-color: #040c24;
  width: 50px;
  height: auto;
  top: 0;
  position: fixed;
}

/*グリッド状配置*/
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 3列に分割 */
  gap: 20px;
}

.box {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.thumbnail {
  width: 80px;
  height: auto;
  margin-left: 20px;
  margin-right: 20px;
  flex-shrink: 0;

  overflow: hidden;
  object-fit: cover;
  border-radius: 50%;
}

.thumbnail.contact {
  width: 120px;
}

.box a {
  color: #fff;
  text-decoration: none;
}

.logo {
  width: 20%;
  margin: 0 auto;
}

.details {
  border-top: 1px solid #dfbf80;
  border-left: 1px solid #dfbf80;
  border-right: 1px solid #dfbf80;

  &:last-of-type {
    border-bottom: 1px solid #dfbf80;
  }
}

.details-summary {
  position: relative;
  display: block;
  padding: 20px;
  color: #fff;
  text-align: left;
  background-color: #040c24;

  &:hover {
    cursor: pointer;
  }

  .btn {
    position: absolute;
    top: 37%;
    left: 10%;
    width: 18px;
    height: 18px;
    transform-origin: center center;
    transition-duration: 0.2s;
  }
}

.details-summary::-webkit-details-marker {
  display: none;
}

.details-content {
  border-top: 0.5px solid #dfbf80;
  padding: 20px;
  background-color: #0e152b;

  p {
    margin: 0 0 20px;
    text-align: left;

    &:last-of-type {
      margin: 0 0 0;
    }
  }
}


/* スマホ設定 */
@media only screen and (max-width: 900px) {

  body,
  button,
  input,
  textarea {
    font-size: 1.6rem;
    line-height: calc(1.6rem + 1.05rem);
  }

  .fixed-menu {
    position: fixed;
    bottom: 50px;
    right: 50px;
  }

  main {
    margin: auto 20px;
  }

  /* 見出し */
  h3 {
    max-width: 100%;
  }

  /* 装飾 */
  /* ヘッダー画像 */
  .header-image {
    max-width: calc(100% - 40px);
    max-height: max-content;
    margin: 20px auto;
  }

  /* リスト */
  ul .description,
  ol .description {
    display: block;
    margin-left: 10px;
  }

  ul .description::before,
  ol .description::before {
    content: "└";
    margin-right: 10px;
  }

  dl.inline dt {
    width: 140px;
    padding: 0 0 10px 0;

    border-bottom: 1px dotted #3c5c84;
  }

  dl.inline dt:last-of-type {
    border-bottom: 0;
  }

  dl.inline dd {
    width: calc(100% - 140px - 10px);
  }

  /*画面分割解除*/
  .parent {
    display: block;
  }

  .child1,
  .child2,
  .child3,
  .child4 {
    width: 100%;
    margin: 0 auto;
  }

  .child2 .size2,
  .child2 .size4,
  .child2 .size3 {
    display: none;
  }

  .child1 .size2,
  .child1 .size3,
  .child1 .size4 {
    display: block;
  }

  .animated-text {
    font-size: 18px;
  }

  .size10 {
    order: 1;
    width: 40%;
    margin: 50px;
  }

  .vertical1 {
    order: 3;
    writing-mode: unset;
    margin: 0;
  }

  .vertical2 {
    order: 2;
    writing-mode: unset;
    margin: 0;
  }

  .textbox.title {
    flex-direction: column;
    align-items: center;

    margin: 0;
    gap: 10px;
  }

  .textbox.center {
    flex-direction: column;

    align-items: center;
    text-align: center;

    gap: 10px;
  }

  .box {
    justify-content: center;
  }

  .space {
    line-height: 1;
  }

  .thumbnail {
    width: 60px;
    height: auto;
  }

  .logo {
    width: 40%;
  }


}

/* ----- ▲ レイアウト　ここまで ▲ ----- */