@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
  font-size: 100%;
}
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic",
    sans-serif;
  line-height: 1.7;
  color: rgb(255, 255, 255);
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}

/* レイアウト */
.wrapper {
  max-width: 1120px;
  margin: auto;
  padding: 0 1.5rem;
}
.align-center {
  text-align: center;
  margin-bottom: 3rem;
}

.location-map {
  width: 100%;
  /* height: 400px; */
  margin-top: 10%;
}

/* Sample素材横並び */
/* 親グリッドを押し広げない安全枠 */
.sample-area-wrap {
  max-width: 650px;   /* ← ここが重要：横幅を固定して下のグリッドと無関係に */
  margin: 0 auto 40px auto;
}

/* 画像とリスト横並び */
.sample-area {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* 画像は小さめ＋固定サイズ */
.sample-image {
  width: 160px;
  flex-shrink: 0;   /* 画像が潰れずレイアウトが崩れない */
}

/* リスト */
.sample-list h2 {
  margin-top: 0;
}


/* 見出し */
.font-english {
  font-family:"Philosopher", sans-serif;
  /* font-family: sans-serif,"Philosopher"; */
  font-weight: normal;
}
.font-english2 {
  font-family: "Philosopher",sans-serif;

}

.page-title,
.heading-large {
  font-size: 2.5rem;
  text-align: center;
}
.page-title {
  margin-top: 2rem;
  line-height: 1.4;
}
.heading-large {
  margin-bottom: 1rem;
}
.page-title2 {
  margin-top: -4rem;
  line-height: 1.4;
  text-align: center;
  font-size: 3rem;
  color: #150f45;
}

/* ボタン */
.btn {
  display: inline-block;
  font-size: 1.5rem;
  background-color: #09224e;
  color: #fff;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  transition: 0.5s;
}
.btn:hover {
  background-color: #0a4bff;
}
/* iframe */
iframe {
  width: 100%;
}


/* ーーーーーーーーーー切り替えボタンーーーーーーーーーーーーーーーーーーーーーーーーーー */
.small-thumbnail {
  width: 50px; /* サムネイルの幅を小さく設定 */
  height: auto; /* アスペクト比を維持 */
  margin: 5px; /* サムネイル間の余白 */
}

.prev-btn, .next-btn {
  font-size: 20px; /* ボタン内の文字サイズを大きく */
  padding: 10px 20px; /* ボタンの内側余白を広げる */
  background-color: #007BFF; /* ボタンの背景色 */
  color: #fff; /* ボタンの文字色 */
  border: none; /* ボーダーを削除 */
  border-radius: 5px; /* ボタンの角を丸く */
  cursor: pointer; /* ホバー時にカーソルをポインターに */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ボタンに影を追加 */
  transition: background-color 0.3s, transform 0.2s; /* ホバー時のアニメーション */
}

.prev-btn:hover, .next-btn:hover {
  background-color: #0056b3; /* ホバー時の背景色 */
}

.gallery-viewer {
  position: relative; /* ボタンを画像の上に配置するために相対位置を設定 */
  display: flex;
  align-items: center; /* 垂直方向に中央揃え */
  justify-content: center; /* 水平方向に中央揃え */
}

.prev-btn, .next-btn {
  position: absolute; /* ボタンを画像の上に配置 */
  top: 50%; /* 画像の真ん中に配置 */
  transform: translateY(-50%); /* ボタンを垂直方向に中央揃え */
  z-index: 10; /* ボタンを画像の上に表示 */
}

.prev-btn {
  left: 10px; /* 左側の位置を調整 */
}

.next-btn {
  right: 10px; /* 右側の位置を調整 */
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */



/* ヘッダー
------------------------------- */
.page-header {
  padding-top: 0.5rem;
}
.logo {
  width: 210px;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 1.5rem;
  list-style: none;
}
.main-nav a {
  color: rgb(255, 255, 255);
}
.main-nav a:hover {
  color: #0bd;
}

/* ヘッダーカバー画像
------------------------------- */
.cover {
  background-size: contain; /* 写真全体を表示 */
  background-repeat: no-repeat;
  background-position: center 100px;
  height: 55vh;        /* ← 固定pxやめる */  
}
.cover2 {
  background-size: cover;
  background-position: center bottom;
  height: 250px;
}
/* HOME
------------------------------- */

.cover-home {
  background-image: url(images/oimoスマホ.png);

}



.about {
  max-width: 736px;
  padding: 0 1.2rem;
  margin: 3rem auto 0;
  color: rgb(0, 0, 0);
  text-align: center;
}
.about p {
  margin-bottom: 3rem;
  /* text-align: center; */
}

.dt {
  background-image: url(images/oimoスマホドット.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
}

/* Pho */
.cover-list {
  background-color: rgb(245, 255, 208);
  background-image: url(images/l1.png);
}

/* more */
.container2 {
  text-align: center; /* 水平方向の中央揃え */
}
.samune {
  display: inline-block; /* インライン要素として扱う */
}
.y {
  color: #000;
  text-align: center;
}

/* indexのテーブル */
.table {
  color: #000;
  max-width: 100%;
  margin: 0px auto;
  padding: 1.0rem;
  font-size: 1.3rem;
  width: 75%;
  text-align: left;
}

.rogo1 {
  width: 15rem;
  height: auto;
  display: block;
  margin: -1rem auto 0;  /* ← 上に寄せる（ここがポイント） */
}

.logo2 {
  width: 15rem;
  height: auto;
  display: block;
  margin: 20px auto 0;
}

.table th {
  vertical-align: top;
  padding-top: 0.5rem; /* 微調整（なくてもOK） */
}


/* MENU
------------------------------- */
.grid {
  display: grid;
  /* margin-top: 60px; */
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.item img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 16px;
}
.item p {
  font-size: 0.875rem;
}

/* Pre----------------------- */
.responsive-video {
  width: 100%; /* 幅を親要素いっぱいに広げる */
  height: auto; /* 高さを自動調整してアスペクト比を維持 */
  display: block;
  padding: 10px;
}
.pretitle {
  text-align: center;
  color: #000;
}




/* フッター
------------------------------- */
.page-footer {
  background-color: #ffffff;
  background-size: cover;
  background-position: center;
  /* padding-top: 12rem; */
}
.info {
  width: 100%;
  max-width: 544px;
  margin: auto;
  padding: 0 1.5rem;
  border-spacing: 0;
}
.info th,
.info td {
  border-bottom: 1px solid #ffffff;
}
.info th {
  text-align: left;
  font-weight: normal;
  padding: 1rem;
}
.info td {
  padding: 1rem 0;
}
.copyright {
  background-color: rgb(133, 149, 255);
  text-align: center;
  padding: 2rem 0;
  color: #fff;
}
/* -----画像ギャラリー部分追加ここから----- */
.mihon {
  text-align: center;
  margin-top: 50px;
  font-size: 2rem;
  color: #000;
}


#gallery-image {
  max-width: 60%; /* 画像の最大幅を画面幅の80%に設定 */
  height: auto; /* アスペクト比を維持 */
  display: block; /* ブロック要素として中央揃え可能に */
  margin: 0 auto; /* 画像を中央に配置 */
}


.gallery-thumbnails{
  text-align: center;
  margin-top: 30px;
}

/* 【Amazon購入】 */
/* Amazonボタン装飾 */
.amazon-link-container {
  text-align: center;
  margin: 1rem 0 3rem 0; /* 上下の余白（必要に応じて調整してください） */
}

.amazon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #007BFF; /* ギャラリーのボタンと同じ青色 */
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 8px; /* 角丸 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影 */
  transition: background-color 0.3s, transform 0.2s;
}

.amazon-button:hover {
  background-color: #0056b3; /* マウスを乗せた時に少し暗い青にする */
  transform: translateY(-2px); /* マウスを乗せた時に少し上に浮き上がる */
}

.amazon-icon {
  margin-right: 8px;
  font-size: 1.5rem;
}





/* デスクトップ版
------------------------------- */
@media (min-width: 800px) {
  /* 見出し */


  .page-title {
    font-size: 5rem;
  }
  .heading-large {
    font-size: 3.5rem;
  }

  /* ヘッダー */
  .page-header {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
  }
  .main-nav {
    font-size: 2rem;
  }

  /* HOME */
  .cover-home {
    background-image: url(images/oimo.png);
  }

  .cover {
    background-size: contain; /* 写真全体を表示 */
    background-repeat: no-repeat;
    background-position: center top;
    /* height: 90vh; */
  }
   



  
  .font-english {
  font-family:"Philosopher", sans-serif;
  font-weight: normal;

}


.profile-container{
    color: #000;
    max-width: 100%;
    margin-top: 2rem;
    margin: 0 auto;
    padding: 0 1.5rem 0 2rem;
    font-size: 1.5rem;
    width: 60%;
    text-align: left;
}


 .profile-container .table {
    font-size: 1.8rem;
  }

  /* .table {
    color: #000;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem 0 2rem;
    font-size: 1.5rem;
    width: 60%;
    text-align: left;
  } */


  .rogo1 {
    width: 300px;
    display: block;
    margin: 4rem auto 0; /* ← DTでは従来通り */
  }


  .about {
    max-width: 1000px; 
  }



  /* Pho */
  .cover-list {
    background-color: rgb(237, 245, 207);
    /* background-image: url(images/a.png); */
  }

  .responsive-video {
    width: 80%; /* 画面幅が768px以上のときは幅を80%に */
    max-width: 500px; /* 最大幅を500pxに制限 */
    margin: 0 auto; /* 動画を中央に配置 */
  }
  
  

  /* フッター */
  .page-footer {
    background-color: #ffffff;

  }
  .info th {
    padding-left: 2.5rem;
  }
  


  .risu{
  margin-top: 200px;
  }

/* ーーーーーーーーーー切り替えボタンーーーーーーーーーーーー */
.small-thumbnail {
  width: 50px; /* サムネイルの幅を小さく設定 */
  height: auto; /* アスペクト比を維持 */
  margin: 5px; /* サムネイル間の余白 */
}

.prev-btn, .next-btn {
  font-size: 24px; /* ボタン内の文字サイズを大きく */
  padding: 10px 20px; /* ボタンの内側余白を広げる */
  background-color: #007BFF; /* ボタンの背景色 */
  color: #fff; /* ボタンの文字色 */
  border: none; /* ボーダーを削除 */
  border-radius: 5px; /* ボタンの角を丸く */
  cursor: pointer; /* ホバー時にカーソルをポインターに */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ボタンに影を追加 */
  transition: background-color 0.3s, transform 0.2s; /* ホバー時のアニメーション */
}

.prev-btn:hover, .next-btn:hover {
  background-color: #0056b3; /* ホバー時の背景色 */


}

}
/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
