/* .gruppo-regular {
    font-family: "Gruppo", sans-serif;
    font-weight: 400;
    font-style: normal;
  } */

  @media screen and (min-width: 769px) {
    .sp-only-br {
        display: none; /* PC版では改行を表示しない */
    }
  }
  @media screen and (max-width: 768px) {
    .pc-only-br {
        display: none; /* SP版では改行を表示しない */
    }
  }
  
body {
    background-color: #FFFDEC;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #fff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* フェードアップ */
.fade-up-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.zoom-in-on-scroll {
  transition: transform 0.5s ease-out; /* アニメーションの持続時間を調整 */
}

.zoom-in-on-scroll.visible {
  transform: scale(1.1);
}

.delayed-fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
  transition-delay: 0.3s; /* 少し遅れて開始 */
}

.delayed-fade-in.visible {
  opacity: 1;
}


a {
  font-size: 1rem;
  font-weight: 500;
  color: inherit; /* リンクの固有の文字色を無効にし、親要素の色を継承する */
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none !important;
  transition: color 0.3s ease; /* 色の変更にアニメーションを適用 */
}

a:hover,
a:focus { /* ホバーまたはフォーカス時のスタイル */
  color: #9f9f9f; /* ホバー時の文字色を指定 */
}

.centered-content {
  position: relative;
  text-align: center; /* 中央にテキストを配置 */
}

.top-icon {
  transform: translate(-100%, 0%); /* 画像をh1の左上に配置 */
}


.site-main{

    text-align: -webkit-center;
}


/* header------------------------------------------------------------------------- */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.p-container {
  padding: 0 24px;
}
@media screen and (min-width: 768px) {
  .p-container {
    max-width: 720px;
    padding: 0;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1024px) {
  .p-container {
    max-width: 928px;
  }
}
@media screen and (min-width: 1280px) {
  .p-container {
    max-width: 1000px;
  }
}

@media screen and (min-width: 768px) {
  .p-header {
    height: 100px;
    /* background-color: rgb(79 79 79 / 30%); */
    transition: background-color 0.5s ease;
  }
}
.p-header__inner {
  display: flex;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .p-header__inner {
    height: 100px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    padding: 0 24px;
  }
}
.p-header__logo {
  padding: 4px 0 0 8px;
  display: block;
  width: 130px;
  position: relative;
  z-index: 101;
}
@media screen and (min-width: 768px) {
  .p-header__logo {
    width: 180px;
  }
}
.p-header__navArea {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #231815;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 100;
}
.p-header__navArea.is-active {
  transform: translateX(0);
}
@media screen and (min-width: 768px) {
  .p-header__navArea {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background-color: inherit;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    transform: translateX(0) !important;
  }
}
.p-header__navItems {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .p-header__navItems {
    flex-direction: row;
    gap: 24px;
  }
}
.p-header__navLink {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none; /* 下線を削除 */
}

.p-header__navLink:hover,
.p-header__navLink:focus { /* ホバーまたはフォーカス時のスタイル */
    color: #e7e7e7;
}

.p-header__blankItems {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .p-header__blankItems {
    flex-direction: row;
    gap: 16px;
  }
}
.p-header__blankLink {
  display: block;
  padding: 8px 16px;
  background-color: #fff;
  border-radius: 1000px;
  color: #231815;
  font-size: 0.875rem;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
}
.p-header__hamburger {
  width: 60px;
  height: 61px;
}
@media screen and (min-width: 768px) {
  .p-header__hamburger {
    display: none;
  }
}

.p-hamburger {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  border: none;
  padding: 0;
  background-color: #231815;
  z-index: 101;
  cursor: pointer;
}
.p-hamburger__bar {
  background-color: #fff;
  display: block;
  right: 50%;
  position: absolute;
  width: 24px;
  height: 2px;
  transition: all 0.3s ease-in;
}
@media screen and (min-width: 768px) {
  .p-hamburger__bar {
    height: 3px;
  }
}
.p-hamburger__bar--top {
  top: 18px;
  transform: translateX(50%);
}
.p-hamburger__bar--top.is-active {
  top: auto;
  bottom: 50%;
  transform: translate(50%, 50%) rotate(45deg);
}
.p-hamburger__bar--middle {
  bottom: 50%;
  transform: translate(50%, 50%);
}
.p-hamburger__bar--middle.is-active {
  opacity: 0;
}
.p-hamburger__bar--bottom {
  bottom: 18px;
  transform: translateX(50%);
}
.p-hamburger__bar--bottom.is-active {
  bottom: 50%;
  transform: translate(50%, 50%) rotate(-45deg);
}

.p-nav {
  padding: 32px 24px;
  width: 265px;
  max-height: 100vh;
  overflow-y: auto;
  position: fixed;
  top: 0;
  right: -265px;
  background-color: #fff;
  transition: right ease-in 0.3s;
}
.p-nav.is-active {
  right: 0;
}
.p-nav__items {
  padding: 0 8px;
}
.p-nav__link {
  font-size: 28px;
  font-weight: bold;
  text-decoration: underline;
}
.p-nav__sns {
  margin-top: 16px;
}
.p-nav__snsTitle {
  font-size: 20px;
  font-weight: bold;
}
.p-nav__snsItems {
  margin-top: 8px;
  padding-left: 8px;
  display: flex;
}
.p-nav__snsItem {
  width: 30px;
}
.p-nav__snsItem:not(:first-of-type) {
  margin-left: 16px;
}
.p-nav__pageItems {
  margin-top: 24px;
}
.p-nav__pageItem:not(:first-of-type) {
  margin-top: 8px;
}
.p-nav__pageLink {
  font-size: 12px;
  text-decoration: underline;
}

/* footer--------------------------------------------------------------------------- */
.p-footer {
    background-color: #191310;
  }
  .p-footer__inner {
    padding-top: 40px;
  }
  @media screen and (min-width: 768px) {
    .p-footer__inner {
      display: flex;
      justify-content: space-between;
    }
  }
  .p-footer__pcLogo {
    display: none;
  }
  @media screen and (min-width: 768px) {
    .p-footer__pcLogo {
      display: block;
      width: 100px;
    }
  }
  .p-footer__contents {
    display: flex;
    flex-direction: column;
  }
  @media screen and (min-width: 768px) {
    .p-footer__contents {
      flex-direction: row;
      gap: 24px;
    }
  }
  .p-footer__navItems {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  @media screen and (min-width: 768px) {
    .p-footer__navItems {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  .p-footer__navLink {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.1em;
  }
  .p-footer__otherLink {
    margin-top: 24px;
  }
  @media screen and (min-width: 768px) {
    .p-footer__otherLink {
      margin-top: 16px;
      display: flex;
      flex-direction: row;
      gap: 16px;
    }
  }
  .p-footer__blankItems {
    margin-top: 16px;
    display: flex;
    gap: 16px;
  }
  @media screen and (min-width: 768px) {
    .p-footer__blankItems {
      margin-top: 0;
      flex-direction: row;
      gap: 8px;
    }
  }
  .p-footer__blankLink {
    display: block;
    padding: 2px 20px;
    background-color: #fff;
    color: #191310;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 1000px;
    font-family: "Noto Sans JP", sans-serif;
  }
  .p-footer__snsItems {
    margin-top: 24px;
    display: flex;
    gap: 8px;
  }
  @media screen and (min-width: 768px) {
    .p-footer__snsItems {
      margin-top: 0;
      flex-direction: row;
      gap: 8px;
    }
  }
  .p-footer__snsLink {
    display: block;
    width: 32px;
    height: 32px;
  }
  @media screen and (min-width: 768px) {
    .p-footer__snsLink {
      width: 24px;
      height: 24px;
    }
  }
  .p-footer__pcQr {
    display: none;
  }
  @media screen and (min-width: 768px) {
    .p-footer__pcQr {
      display: block;
      width: 100px;
    }
  }
  .p-footer__spLogo {
    margin: 32px auto 0;
    display: block;
    width: 100px;
  }
  @media screen and (min-width: 768px) {
    .p-footer__spLogo {
      display: none;
    }
  }
  .p-footer__copy {
    padding: 16px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  @media screen and (min-width: 768px) {
    .p-footer__copy {
      justify-content: flex-end;
    }
  }
  .p-footer__copyText {
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.1em;
  }
  @media screen and (min-width: 768px) {
    .p-footer__copyText {
      font-size: 0.875rem;
    }
  }


  /* トップページ */
  .site-main h1{
    color: #231815;
    font-family: "Oswald";
    margin: 100px 0 30px;
    font-weight: 400;
    font-size: 70px;
  }
  .site-main h2{
    color: #231815;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0.15em;
    font-family: "Noto Sans JP", sans-serif;
  }

  .centered-content h1{
    color: #231815;
    font-family: "Oswald";
    margin: -40px 0 30px;
    font-weight: 400;
    font-size: 70px;
  }

  .centered-content-p{
    color: #e56542;
    font-weight: 500;
    margin-top: 15px;
    font-size: 18px;
    letter-spacing: 0.15em;
    font-family: "Noto Sans JP", sans-serif;
  }

  .top-section {
    background-color: #F9D800; /* 黄色背景 */
    /* background-image: url(images/top-background02.png); */
    background-size: cover;
    text-align: center; /* 中央寄せ（テキストに適用） */
    padding: 20px 0; /* 上下の余白 */
    height: 100vh; /* 高さをビューポートの80%に設定 */
    display: flex; /* Flexbox レイアウトを使用 */
    justify-content: center; /* 水平方向の中央揃え */
    align-items: center; /* 垂直方向の中央揃え */
    flex-direction: column; /* 子要素を縦方向に並べる */
  }
  
  .top-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .top-section img,
  .top-section .catchphrase {
    margin: 20px 0; /* 画像とキャッチコピーの間隔 */
  }

  .top-logo{
    width: 230px;
  }
  .top-title{
    width: 100%;
  }

  @media screen and (max-width: 768px) {
    .top-icon {
      display: none;
  }

    .top-group{
      margin-bottom: 55px;
    }
    .top-section img,
    .top-section .catchphrase {
      margin: 15px 0; /* 画像とキャッチコピーの間隔 */
    }

    .top-logo{
      width: 145px;
    }
    .top-title{
      padding: 0 10px;
    }

    .site-main h1{
      font-size: 50px;
      margin: 50px 0 25px;
    }
    .site-main h2{
      font-size: 18px;
    }
    .centered-content-p{
      font-size: 13px;
      line-height: 1.6em;
      letter-spacing: 0.15em;
      font-family: "Noto Sans JP", sans-serif;
    }
  }
  
  .catchphrase {
    font-size: 30px;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    letter-spacing: 0.15em;
    line-height: 1.8em;
    font-weight: bold;
  }
  

  .message-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    color: #231815;
    max-width: 1080px;
    margin: 60px auto;
}

.text-area {
  flex: 3.5;
  padding: 20px 0;
  text-align: left;
  align-self: center;
}

.text-area p{
  font-size: 18px;
  letter-spacing: 0.11em;
  line-height: 2.5em;
  font-family: "Noto Sans JP", sans-serif;
}

.highlight {
    font-size: 1.3em;
    font-weight: bold;
    color: #d9475d;
}

.no-highlight{
  font-size: 2em;
    font-weight: bold;
    color: #d9475d;
}

.photo-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.photo-area img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

.name {
    font-size: 1.2em;
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
    font-weight: 500;
    line-height: 1.7em;
}

@media (max-width: 768px) {
    .message-container {
        flex-direction: column;
        align-items: center;
        margin: auto;
    }

    .text-area, .photo-area {
        flex: 1 1 100%;
    }

    .photo-area {
      padding: 10px 20px;
    }

    .photo-area img {
      max-width: 65%;
    }
    .catchphrase{
      font-size: 4.5vw;
    }
    .text-area p{
      font-size: 3.3vw;
    }
    .highlight{
      font-size: 4vw;
    }
}

.concept-back, .map-back, .howto-back {
  position: relative;
}

.concept-back::before, .map-back::before, .howto-back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-out;
  z-index: -1;
}

.concept-back::before {
  background-image: url('images/concept-background.png');
}

.map-back::before {
  background-image: url('images/map-background.png');
}

.howto-back::before{
  background-image: url('images/howto-background.png');
}

.delayed-background-fade-in.visible::before {
  opacity: 1;
}

  .concept-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.1); /* 軽い影を追加 */
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 15px; /* グリッドアイテム間の隙間 */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* スムーズな遷移効果 */
  }
  
  .concept-container:hover {
    background-color: #f9f9f9; /* 背景色を少し変更 */
    transform: scale(1.01); /* 少し大きくする */
    box-shadow: 0 8px 50px rgba(73, 73, 73, 0.2); /* 影をより強調 */
  }

  .concept-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .concept-content img {
    max-width: 100%;
    height: auto;
  }

  .concept-content .button {
    padding: 4px 10px;
    background-color: transparent;
    color: #231815;
    text-decoration: none;
    border: 2px solid #231815;
    border-radius: 999px;
    text-align: center;
    /* margin-top: 10px; */
    margin: 10px 75px 0;
    display: inline-block;
    cursor: pointer;
  }

  .concept-content a{
    font-weight: 500;
    font-size: 18px;
  }

  .concept-content .button:hover {
    background-color: #231815; /* ホバー時の背景色を設定 */
    color: #FFFFFF; /* ホバー時のテキスト色を設定 */
    transition: background-color 0.3s ease, color 0.3s ease; /* 色の変化にアニメーションを適用 */
  }
  
  .concept-content a:hover {
    color: #231815; /* ホバー時のリンクテキスト色（必要に応じて） */
    transition: color 0.3s ease; /* テキスト色の変化にアニメーションを適用（必要に応じて） */
  }
  
  
  .concept-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }

  .concept-text h3{
    color: #231815;
    font-weight: 400;
    margin-bottom: 45px;
    text-align: left;
    font-size: 30px;
    letter-spacing: 0.15em;
    font-family: "Noto Sans JP", sans-serif;
  }

  .concept-text p{
    color: #231815;
    font-weight: 600;
    font-size: 16px;
    line-height: 2.1em;
    letter-spacing: 0.14em;
    text-align: left;
    font-family: "Noto Sans JP", sans-serif;

  }
  .concept-text img{
    width: 200px;
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .shortcode-background {
    background-image: url('./images/map-back.png'); /* 背景画像のパスを設定 */
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px; /* 必要に応じてパディングを設定 */
    margin: 50px 0;
}
@media screen and (max-width: 768px) {

  .concept-back, .map-back, .howto-back {
    
  }

  .concept-container {
      grid-template-columns: 1fr; /* 1カラムレイアウトに変更 */
      gap: 10px;
      margin: 10px;
      padding: 10px;
  }

  .concept-text p{
    font-size: 3.3vw;
  }

  .concept-text h3{
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
    font-size: 4.5vw;
  }

  .concept-content, .concept-text {
    text-align: -webkit-center;
  }

  .concept-content .button {
      margin: 10px auto; /* ボタンを中央に配置 */
  }

  .concept-content img{
    max-width: 70%;
    height: auto;
    align-self: center;
  }

  .concept-text img {
      position: static; /* 画像位置を通常の流れに */
      margin: 20px auto 0; /* 上部にマージンを追加して中央揃え */
      display: block;
  }
  .shortcode-background{
    background-size: contain;
    padding: 0;
    margin: 15px 0;
  }
}


.container {
  display: flex;
  justify-content: space-between; /* コンテンツ間に適切なスペースを確保 */
  width: 100%;
  flex-wrap: wrap; /* 必要に応じて折り返し */
}

.content-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 49%; /* ボーダーやパディングを考慮して少し小さめに設定 */
  background-color: #F3F2F1; /* 背景色の設定 */
  margin-bottom: 20px; /* コンテンツ間のマージン */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* オプションの軽い影で立体感を追加 */
  box-sizing: border-box; /* パディングを含む幅の計算 */
}

.text-side, .image-side {
  flex: 1;
}

.title, .arrow {
  transition: transform 0.3s ease;
  color: #231815;
  font-size: 35px;
}

.content-link:hover .title,
.content-link:hover .arrow {
  transform: translateX(10px);
}

.image-side img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .container {
      flex-direction: column;
      align-items: center;
  }

  .content-link {
      width: 100%; /* 幅を100%に設定して1カラム表示 */
      margin-bottom: 20px;
  }

  .title {
      font-size: 24px; /* フォントサイズを調整 */
  }

  .arrow {
      font-size: 24px; /* フォントサイズを調整 */
  }
}

/* howto---------------------------------------------------------------------------- */
.howto-container {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 800px;
  margin: 20px;
}

.image-container {
  display: flex;
  justify-content: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer; /* Add pointer cursor to indicate clickability */
  backface-visibility: hidden; /* For smooth flipping */
  transition: transform 1.2s, opacity 0.6s ease-in-out;
}

.image-container img.flip {
  transform: rotateY(180deg);
  opacity: 0;
}

.image-container img.fade-in {
  opacity: 1;
}
/* story---------------------------------------------------------------------------- */

.tab-title{
  color: #231815;
  font-size: 35px;
  font-weight: 300;
  letter-spacing: 0.15em;
  font-family: "Noto Sans JP", sans-serif;
}

.tab-subtitle{
  color: #231815;
  font-size: 20px;
  letter-spacing: 0.15em;
  font-family: "Noto Sans JP", sans-serif;
}

.accordion .tab {
  max-width: 1080px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 25px 25px 8px 8px; /* 上部の角丸 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* 影をつける場合 */
}

.tab-header {
  cursor: pointer;
  padding: 30px;
  background-image: url('images/Group\ 16.png'); /* ここにアップロードされた画像のパスを設定 */
  background-size: cover;
  display: flex; /* 横並びにする */
  justify-content: space-between; /* タイトルとサブタイトルを左右に配置 */
  align-items: center; /* 縦方向の中央揃え */
}


.acc-titleback{
  background-color: #fff; /* 白背景 */
  padding: 5px 10px;
  border-radius: 50vw;
  margin: 0 5px;
}

.content {
  max-height: 0;
  transition: max-height 0.5s ease, padding 0.5s ease; /* トランジションを追加 */
  background-image: url('images/story-back.png');
  background-color: #FFF9E9;
  background-position-x: center;
    background-position-y: center;
  border: 4px solid #3a3a3a;
  overflow: hidden;
  border-radius: 0 0 8px 8px; /* 下部の角丸 */
}

.content.open {
  max-height: 1000px; /* 十分に大きな値に設定 */
}

.content-inner {
  padding: 50px 10px 0;
}


/* 新しいチャット関連のスタイル */
@keyframes getBlurry {
  0% {
    filter: blur(0px);
    transform: scale(1);
  }
  100% {
    filter: blur(10px);
    transform: scale(1.2);
  }
}

@keyframes popFromBottom {
  0% {
    transform: translateY(300px) scale(0);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

.chat {
    position: relative;
    display: inline-block;
    min-width: 400px;
    margin-bottom: 70px;
    max-width: 80%;
    animation: popFromBottom 0.5s ease-in-out;
}

.profile img {
  height: 13vmin;
}

.profile {
  background-color: #ffe271;
  display: inline-block;
  width: 15vmin;
  height: 15vmin;
  border-radius: 50%;
  position: absolute;
  left: -11vmin;
  top: -2vmin;
  border: 1vmin solid #fff;
}

.message {
    background: #ffe271;
    padding: 4vmin 5vmin 2vmin 10vmin;
    border-radius: 0px 20px 20px 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    color: #231815;
    font-family: "Noto Sans JP", sans-serif;
}

.message p{
  line-height: 1.9em;
  letter-spacing: 0.06em;
}

.user {
  text-align: left;
  padding: 10px 30px 5px 60px;
  border-radius: 0px 0px 20px;
  font-size: 20px;
  background: #fff;
  color: #737373;
  display: inline-block;
  float: left;
  font-weight: 600;
  font-style: normal;
}

/* 新しいチャット関連のスタイル */
.custom-chat {
  position: relative;
    display: inline-block;
    min-width: 400px;
    margin-bottom: 70px;
    max-width: 80%;
    animation: popFromBottom 0.5s ease-in-out;
}

.custom-profile img {
height: 13vmin;
}

.custom-profile {
background-color: #EBEBEB;
display: inline-block;
width: 15vmin;
height: 15vmin;
border-radius: 50%;
position: absolute;
right: -11vmin;
top: -2vmin;
border: 1vmin solid #fff;
}

.custom-message {
  background: #EBEBEB;
  padding: 3.5vmin 10vmin 2vmin 5vmin;
  border-radius: 20px 0px 20px 20px;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  color: #231815;
  font-family: "Noto Sans JP", sans-serif;
}

.custom-message p{
  line-height: 1.7em;
  letter-spacing: 0.06em;
}

.custom-user {
  text-align: left;
  padding: 10px 60px 5px 30px;
  border-radius: 0px 20px 0px;
  font-size: 18px;
  background: #fff;
  color: #737373;
  display: inline-block;
  float: right;
  font-weight: 600;
  font-style: normal;
}

@keyframes popFromBottom {
0% {
  transform: translateY(300px) scale(0);
}
100% {
  transform: translateY(0px) scale(1);
}
}

.read-more {
  background-color: #ffe271;
  border: none;
  color: #231815;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 0;
  cursor: pointer;
  border-radius: 20px;
  font-weight: 600;
  font-family: "Noto Sans JP", sans-serif;
}

.read-more:hover {
  background-color: #ffd700;
}

.content.open {
  max-height: none; /* 初期状態で開いた状態 */
}

.content-inner {
  overflow: hidden;
}

.initial-content, .more-content {
  padding: 10px 0;
}

@media screen and (max-width: 768px) {
  .accordion .tab {
      max-width: 100%;
      margin: 20px 0;
  }

  .tab-title {
      font-size: 20px;
  }

  .tab-subtitle {
    font-size: 14px;
  }

  .tab-header {
    padding: 13px;
      flex-direction: column;
  }

  .acc-titleback {
      padding: 3px 5px;
  }

  .content-inner {
      padding: 20px 10px;
  }

  .content{
    background-size: contain;
  }

  .chat, .custom-chat {
      min-width: 100%;
      max-width: 100%;
      margin: 40px 0;
  }

  .profile {
    width: 15vmin;
    height: 15vmin;
      left: 0;
      top: 0;
      transform: translate(-16%, -56%);
  }

  .custom-profile {
    width: 15vmin;
    height: 15vmin;
      right: 0;
      top: 0;
      transform: translate(14%, -68%);
  }

  .message, .custom-message {
    padding: 7vmin 6vmin 4vmin 6vmin;
      font-size: 16px;
  }

  .user {
      padding: 8px 20px 4px 60px;
      font-size: 16px;
  }

  .custom-user{
    padding: 8px 60px 4px 20px;
    font-size: 16px;
  }

  .read-more {
      padding: 8px 16px;
      font-size: 14px;
  }

  .custom-message p, .message p{
    font-size: 3.2vw;
  }
}
@media screen and (min-width: 768px) {
  #jpmapbase svg {
      height: 800px!important;
  }
}