@charset "UTF-8";
:root {
  --font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ";
}

body {
  background-image: url(../images/back.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
  font-family: var(--font-family)
}

@media screen and (min-width: 750px) {
  .body-inner {
    max-width: 750px;
    box-shadow: 0 1px 20px rgb(0 0 0 / 30%);
    background: #fff;
    margin-left: auto;
    margin-right: auto;
  }
  .md\:grid-cols-\[1fr_auto_1fr\] {
    grid-template-columns: 1fr auto 1fr;
  }
  .pc-only {
    display: block;
  }
}

.grid-rows-1 {
  grid-template-rows: repeat(1, minmax(0, 1fr));
}

.grid {
  display: grid;
}

img {
  width: 100%;
  margin-top: 0px; /*--隙間調整--*/
}

/* ============================================ */

/* コンテンツの横幅 */
/* ============================================ */
.contents-inner {
  width: 100%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

aside {
  display: block;
  unicode-bidi: isolate;
}

/* コンテンツの横幅 ここまで */
/* ============================================ */

/* CTAボタン */
/* ============================================ */
.cta-area {
  position: relative;
}
.href-add-friend {
  width: 85%;
  bottom: 4%;
  left: -4%;
  right: 0;
  margin: 0 auto;
  position: absolute;
}

.href-add-friend img {
  animation: anime1 1s ease 0s infinite alternate;
  transform-origin: center;
}

@keyframes anime1 {
  from {
    transform: scale(0.9, 0.9);
  }
  to {
    transform: scale(1, 1);
  }
}

/* CTAボタン ここまで */
/* フローティングバナー */
/* ============================================ */

.float-bnr {
  position: fixed; /* 常に画面に固定 */
  bottom: 8px; /* 画面の下部に配置 */
  left: 0;
  width: 100%; /* 横幅を画面いっぱいに広げる */
  text-align: center; /* テキストを中央揃え */

  z-index: 9999; /* 他の要素の上に表示 */
}

.float-bnr_anchor {
  position: static;
  display: block;
  margin-inline: auto;
  left: -2%;
}

/* フローティングバナー ここまで */
/* ============================================ */

/*
右から左へ
----------------------------*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/*
IE11対策
----------------------------*/
_:-ms-lang(x)::-ms-backdrop,
.d-demo {
  display: -ms-grid;
  overflow: hidden;
}
/*----------------------------*/

.d-demo__wrap {
  display: flex;
  overflow: hidden;
  background-color: #fff;
}

.d-demo__list {
  display: flex;
  list-style: none;
}

.d-demo__list--left {
  animation: infinity-scroll-left 40s infinite linear 0.5s both;
}

.d-demo__item {
  width: calc(100vw / 1);
}
.d-demo__item > img {
  width: 100%;
}

ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 25px;
  unicode-bidi: isolate;
}

li {
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: isolate;
}

/* footer */
/* ============================================ */
footer {
  display: block;
  padding-top: 10px;
  border-top: 3px solid #ddd;
  background: #fff;
}
ul {
  list-style: none;
}
.footer_nav {
  text-align: center;
  padding: 10px 0;
}
.footer_nav li {
  display: inline-block;
  margin: 0 5px 0 0;
  border-right: #000 solid thin;
  font-size: 13px;
}
.footer_nav li:nth-child(2) {
  border-right: none;
}
.footer_nav li a {
  text-decoration: none;
  padding: 0 10px 0 0;
  color: #000;
}
.footer_nav li:last-child {
  border: none;
}
footer .copyright {
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
  padding-bottom: 10px;
}
/* footer ここまで */
/* ============================================ */

/* 追加CSS */

/* 真ん中のカラム */
.container {
  width: 100vw;
  max-width: 750px;
}

@media screen and (min-width: 750px) {
  .container {
    width: 50vw;
  }
}

/* 左のボタン */
.left-button {
  width: 85%;
  margin: 40px auto 0 auto;
  position: static;
  display: block;
  margin-inline: auto;
}

/* 右と左両方共通のクラス */
.side-colum-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  justify-content: center;
  padding: 24px;
}

/* メニュー全体のクラス */
.right-colum_index {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* メニュー項目 */
.right-colum_index a {
  padding: 4px;
  display: inline-block;
  /* 文字サイズ */
  font-size: 20px;
  /* 文字色 */
  color: #4d5a5c;
  /* 文字の太さ */
  font-weight: 700;
}

.right-colum_title {
  padding: 4px;
  display: inline-block;
  /* 文字サイズ */
  font-size: 32px;
  /* 文字色 */
  color: #659cad;
  /* 文字の太さ */
  font-weight: 1000;
}

img {
  max-width: 100%;
}

.sp-only {
  display: block;
}
.pc-only {
  display: none;
}
@media screen and (min-width: 750px) {
  .sp-only {
    display: none;
  }
  .pc-only {
    display: block;
  }
}

#float-bnr {
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  transition: opacity 0.3s ease, visibility 0.3s ease, z-index 0.3s ease;
}

/* 24/11/29追加 */
.side-colum-inner {

}
.float-form {
  position: absolute;
  bottom: var(--bottom, 2%);
  left: 0;
  right: 0;
}

.center-column {
  max-width: 500px;
}

.form-control {
  display: flex;
  column-gap: 0.5rem;
  padding: 0 1rem;
}

.flex-col {
  flex-direction: column;
}

input {
  display: block;
  flex-grow: 1;
  background-color: #ddd;
  border-radius: 10px;
  width: 100%;
  min-height: 3em;
  padding: 1em;
}

input::placeholder {
  font-family: var(--font-family);
  font-weight: medium;
}

.form-control button {
  max-width: 25%;
}

.form-control button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-size: contain;
  object-position: center;
}
