/* --- 1. 全体・レイアウト --- */
body {
  margin: 0;
  background-color: #f7f7f4;
}

.zentai {
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
}

.left {
  width: 100%;
  height: 50vh; /* モバイルでの高さ */
  background-color: var(--light-color); /* 画像がない時の予備色 */
}

.right {
  width: 100%;
}

/* --- 2. 特定のコンポーネント --- */
.taitoru {
  width: 90vmin;
  height: 90vmin;
  text-align: left;
}

.taitoru img {
  width: 55%;
  height: 55%;
  margin-top: 22.5%;
  padding-left: 5%;
}

.logo {
  position: absolute;
  top: 4%;      /* 上から50%の位置 */
  left: 4%;     /* 左から50%の位置 */
  z-index: 10;   /* スライド画像(デフォルト0〜1)より大きい数字にする */
  width: 50%;  /* ロゴの横幅（お好みで調整） */
  transform: translate(0%, 0%); /* 自身のサイズ分戻して真ん中へ */
  pointer-events: none; /* ロゴの下にあるリンク等をクリックできるようにする設定 */
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
  /* 必要ならドロップシャドウをつけてロゴを見やすくする */
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

/* --- 3. レスポンシブ (PC/スマホ切り替え) --- */
@media (min-width: 768px) {
  .zentai {
    flex-direction: row; /* 横並び */
  }

  .left {
    position: sticky; /* スクロールしても固定 */
    top: 0;
    width: 60%; /* 画面の左半分 */
    height: 100vh; /* 画面にフィット */
  }
}

@media (max-width: 768px) {
  .left {
    height: 100vh;
  }
  
  .logo {
    width: 50%;
  }
}


.link {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  margin-top: 20px;
}

.link img {
  width: 100%;
}

@media (min-width: 1200px) {
  .link img{
    width: 70%
  }
  .link{
    text-align: center;
  }
}

ul{
  padding-left: 10px;
}

footer{
  background-color: #e0e0e0;
}

.footer{
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  margin-top: 30px;
}

footer img{
  width: 20%;
  margin: 3%;
}

.kyouryoku li{
  width: 50%;
  float:left;
}

.center {
  text-align: center;
}

.tyousei li{
  width: 100%;
}

.gaiyou{
  margin: 3%;
  padding: 1%;
  border-width: 4px;
  border-style: dotted;
  border-color: var(--main-color);
}

.accordion-003 {
  width: 100%;
  margin: 0px;
}

summary {
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 10px;
  padding-right: 10px;
}


.osirase {
  margin: 3px;
}

.posta- {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 0%;
  padding-right: 0%;
  max-width: 700px;
}

.posta- img {
  width: 60%;
}

.dark {
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #eaeaea;
  border-radius: 30px;
}

.dark h3 {
  padding-top: 0px;
  padding-bottom: 3px;
}

@media (max-width: 768px) {
  #more-btn{
    font-size: 14px;
  }

}

.kiji {
  /* 方眼紙模様に必須のスタイル */
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #dddfff calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #dddfff calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;

  /* 以下任意のスタイル */
  padding: 20px;
}