/* font */
body {
  font-family: "Noto Sans JP", "メイリオ", "Meiryo", "ＭＳ ゴシック",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", sans-serif;
}

body {
  margin: 0; /* ブラウザのデフォルトのマージンをリセット */
  padding: 0; /* ブラウザのデフォルトのパディングをリセット */
  overflow-x: hidden; /* 横スクロールを防ぐ */
}

/* h */
h2{
  text-align: center; 
  margin: 100px 0; /* 下に余白 */
  font-size: 50px;
  font-weight: normal;
  margin-top: 100px;
}


/* レスポンシブ時のスタイル */
@media screen and (max-width: 700px) {
  h2{
    margin: 50px auto; /* p要素を中央配置 */
    font-size: 20px;
    font-weight: bold;
    color: #313131;
    margin-top: 100px;
  }
}




/* リンクのスタイル */
a {
  position: relative;
  color: inherit; /* 親要素の色を継承 */
  text-decoration: none; /* 下線を消す */
}

a::after {
  content: '';
  position: absolute;
  left: 50%; /* 線の開始位置を中央に設定 */
  bottom: 0;
  width: 0;
  height: 1px; /* 線の太さ */
  background-color: white; /* 線の色 */
  transition: width 0.3s ease; /* アニメーションの速度とタイプ */
}

a:hover::after {
  width: 100%; /* マウスオン時に線の幅を100%にする */
  left: 0; /* 線の開始位置を左端に移動 */
}



  


/* box */
.box {
  width: 100%; /* 幅を100%に設定 */
  max-width: 1400px; /* 最大幅を1400pxに設定 */
  margin: 0 auto; /* 中央配置 */
  justify-content: center;
  margin-top: 300px;
}

.box p {
  text-align: left; /* テキストを左揃え */
  line-height: 1.5; /* 1.5倍の行間 */
}

/* レスポンシブ時のスタイル */
@media screen and (max-width: 700px) {
  .box p {
    width: 100%; /* p要素の幅を100%に設定 */
    max-width: 80%; /* 最大幅を80%に設定 */
    margin: 0 auto; /* p要素を中央配置 */
  }
}

/* header */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  height: 80px;
  width: 100%;
  margin: 0 auto;
}

.main-menu {
  margin: 0 auto;
  display: flex;
  align-items: center; /* 中央揃え */
}

.logo {
  text-align: center;
  width: 400px;
  padding-left: 20px;
  padding-right: 500px;
  padding-top: 10px;
  padding-bottom: 10px;
}


@media (max-width: 700px) {
   .logo {
    margin-left: -100PX;
  }
}



.pc-menu {
  width: 100%;
}

.pc-menu > ul {
  display: flex; /* 横並びにする */
  list-style: none;
  margin-right: 100px; /* デフォルトのマージンをリセット */
  padding: 0; /* デフォルトのパディングをリセット */
  justify-content: flex-end; /* 右寄せにする */
  margin-left: 10PX;
}

.pc-menu > ul > li {
  text-align: center;
  display: flex; /* 高さを調整するために追加 */
  align-items: center; /* 垂直方向の中央寄せ */
}

.pc-menu > ul > li > a {
  display: block;
  text-decoration: none;
  color: #2c2c2c;
  line-height: 1; /* 高さを調整 */
  padding: 10px; /* リンクの左右の余白を追加 */
}

.pc-menu > ul > li > a > img {
  width: auto; /* 幅を自動調整 */
  height: auto; /* 高さを自動調整 */
  max-width: 100%; /* 幅が親要素を超えないように */
  max-height: 100%; /* 高さが親要素を超えないように */
}



/* 1449px以下のときのスタイル */
@media (max-width: 1600px) {
  .pc-menu &gt; ul {
    justify-content: flex-start; /* 左寄せにする */
    margin-left: 0; /* マージンをリセット */
    margin-right: 10px; /* 右側に少しマージンを追加 */
  }

  .logo {
    padding-right: 20px; /* 右のパディングを調整 */
  }
}





#sp-menu__check:checked ~ .sp-menu__content {
  display: flex;
}




.sp-menu__box {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  height: 65px;
  width: 65px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background: #3fa9f5;
  margin: 5PX;
}

.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #ffffff;
  position: absolute;
}

.sp-menu__box span:before {
  bottom: 8px;
}

.sp-menu__box span:after {
  top: 8px;
}

#sp-menu__check {
  display: none;
}

#sp-menu__check:checked ~ .sp-menu__box span {
  background: rgba(255, 255, 255, 0);
}

#sp-menu__check:checked ~ .sp-menu__box span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#sp-menu__check:checked ~ .sp-menu__box span::after {
  top: 0;
  transform: rotate(-45deg);
}

#sp-menu__check:checked ~ .sp-menu__content {
  left: 0;
}

.sp-menu__content {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:  #3fa9f5;
  z-index: 80;
  justify-content: flex-start; /* 左寄せに変更 */
  align-items: flex-start; /* 上寄せに変更 */
  padding-left: 40px;
  border-bottom: #ffffff;
}


.sp-menu__list {
  padding: 70px 10px 0;
}

.sp-menu__item {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}

.sp-menu__link {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
}




/* 画面サイズが1200px以下の時はPC用メニューは非表示 */
@media screen and (max-width: 1200px) {
  .pc-menu {
    display: none;
  }
}

/* 画面サイズが1200px以上の時はスマホ用メニューは非表示 */
@media screen and (min-width: 1200px) {
  .sp-menu {
    display: none;
  }
}

/* 画面がPCサイズの場合にのみヘッダーを固定する */
@media screen and (min-width: 1200px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
  }
}

/* top */
.wrappertop {
  background-image: url('/img/top.jpg'); /* 背景画像を設定 */
  background-size: cover; /* 背景画像を画面全体に広げる */
  background-position: center; /* 背景画像を中央に配置 */
  height: 100vh; /* ビューポートの高さに合わせる */
  display: flex;
  justify-content: center;
  flex-direction: column; /* p要素を縦に並べる */
  overflow-x: hidden; /* 横スクロールを防ぐ */
}


.topmesserge1,
.topmesserge2,
.topmesserge3 {
  font-size: 50px; /* フォントサイズを設定 */
  font-weight: 700;
  animation: fadeInUp 1s ease-in-out; /* フェードインアニメーションを設定 */
  width: 100%; /* 幅を100%に設定 */
  max-width: 1600px; /* 最大幅を1600pxに設定 */
  color: #ffffff;
  margin-left: 200px; /* 左のマージンを設定 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.76); /* ドロップシャドウを設定 */
}

.topmesserge1 {
  animation-delay: 0.2s; /* アニメーションの遅延を設定 */
}

.topmesserge2 {
  animation-delay: 0.4s; /* アニメーションの遅延を設定 */
}

.topmesserge3 {
  animation-delay: 0.6s; /* アニメーションの遅延を設定 */
}

/* フェードインアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px); /* 上方向に20px移動 */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* 元の位置に戻る */
  }
}

  



  /* レスポンシブ対応 */
  @media screen and (max-width: 1000px) {
    .topmesserge1,
    .topmesserge2,
    .topmesserge3 {
      font-size: 35px; /* レスポンシブ時のフォントサイズを調整 */
      max-width: 100%; /* 最大幅を100%に設定 */
      text-align: left; /* 左寄せに設定 */
      margin-left: 20px; /* 左のマージンを設定 */
    }

    
  .wrappertop {
    height: 800px; /* レスポンシブ時は高さを自動に設定 */
  }
}
  
  /* レスポンシブ対応 */
  @media screen and (max-width: 700px) {
    .topmesserge1,
    .topmesserge2,
    .topmesserge3 {
      font-size: 20px; /* レスポンシブ時のフォントサイズを調整 */
      max-width: 80%; /* 最大幅を100%に設定 */
      text-align: left; /* 左寄せに設定 */
      margin-left: 20px; /* 左のマージンを設定 */
    }
    .wrappertop {
      height: 600px; /* レスポンシブ時は高さを自動に設定 */
    }
  }
  
  
  /* フェードインアニメーション */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  


 /* wrapper1 */
 .wrapper1 {
  background-image: url('/img/wrapper1.jpg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  width: 100%;
  padding-bottom: 100px; /* フッターとの間に適切な余白を追加 */
  box-sizing: border-box; /* パディングを含めた全体の幅に設定 */
}

/* レスポンシブ対応 */
@media screen and (max-width: 700px) {
  .wrapper1 {
    padding-bottom: 200px; /* フッターとの間に適切な余白を追加 */
  }
}

.about2 {
  max-width: 1000px; /* 最大幅を1000pxに設定 */
  margin: 0 auto; /* 左右のマージンを自動で設定して中央揃え */
  margin-bottom: 100px;
}


.columnbox {
  display: flex; /* カラムを横並びに配置する */
  flex-wrap: wrap; /* レスポンシブ時に折り返す */
  padding-top: 100px;
  margin: 0 auto;
  justify-content: center;
  gap: 20px; /* カラム間のスペースを設定 */
  max-width: 1400px;
}


.columnbox .column {
  width: 650px; /* カラムの幅を設定 */
  margin-right: 50px; /* 右側のマージンを追加 */
}

.columnbox .column:last-child {
  margin-right: 0; /* 最後のカラムにはマージンを追加しない */
}



/* 全体のテーブルスタイル */
table.farst {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  background-color: rgba(255, 255, 255, 0.7); /* 背景に白の透過70% */
  max-width: 650px;
  font-size: 12px;
}

/* テーブルのセルに適用するスタイル */
table.farst td, table.farst th {
  border: 1px solid #ccc;
  padding: 8px;
}

/* ヘッダー行のスタイル */
table.farst tr:first-child {
  background-color: #ccc;
  color: white;
  text-align: center;
}

/* ヘッダーのセルのスタイル */
table.farst tr:first-child td {
  text-align: center;
}

/* コンテンツ行のスタイル */
table.farst td {
  text-align: left;
  white-space: nowrap;
}

 /* 3番目の列のテキストを中央揃えに */
 table.farst td:nth-child(3) {
  text-align: center;
}

@media (max-width: 700px) {
  table.farst td {
    white-space: normal;
  }
}


/* レスポンシブ対応 */
@media screen and (max-width: 700px) {
  .wrapper1 {
    height: auto; /* レスポンシブ時は高さを自動に設定 */
  }

  .wrapper1 .box,
  .columnbox .column {
    width: 100%; /* レスポンシブ時にカラムの幅を100%に設定 */
    margin-right: 0; /* レスポンシブ時に右側のマージンを削除 */
  }

  .wrapper1 .box {
    margin-bottom: 10px; /* レスポンシブ時の下部のマージンを調整 */
  }

  .columnbox {
    flex-direction: column; /* カラムを縦に並べる */
    margin: 0 20px;
    gap: 150px; /* カラム間のスペースを設定 */
    align-items: center; /* カラム内の要素を中央揃えに */
  }

  .columnbox .column {
    margin-bottom: 10px; /* レスポンシブ時の下部のマージンを追加 */
    align-items: center; /* カラム内の要素を中央揃えに */
    display: flex;
    flex-direction: column;
  }

  .columnbox .column p {
    font-size: small; /* レスポンシブ時のフォントサイズを調整 */
  }
}



/* 全体のテーブルスタイル */
table.second {
  width: 650px; /* テーブルの幅を650pxに設定 */
  border-collapse: collapse; /* セルの境界線を結合 */
  margin: 0 auto; /* テーブルを中央揃え */
  table-layout: fixed; /* テーブルレイアウトを固定 */
}

/* テーブルのセルに適用するスタイル */
table.second td, table.second th {
  padding: 4px 2px; /* セルのパディングを調整 */
  text-align: left; /* セル内のテキストを左揃え */
  vertical-align: top; /* セル内のテキストを上揃え */
  border: none; /* 区切り線を無しに設定 */
}

/* 1行目のスタイル */
table.second tr:first-child td {
  white-space: nowrap; /* テキストの折り返しを無しに設定 */
}

/* 列の幅を設定 */
table.second td:first-child {
  width: 30%; /* 1列目の幅を30%に設定 */
}

table.second td:nth-child(2) {
  width: 70%; /* 2列目の幅を70%に設定 */
}

/* 行間の余白をなくすためのスタイル */
table.second tr {
  margin-bottom: 8px; /* 行の間隔を調整 */
  padding: 0; /* 行のパディングをなしに設定 */
}

/* レスポンシブ対応 */
@media (max-width: 700px) {
  table.second {
    width: 100%; /* レスポンシブ時にテーブルの幅を100%に設定 */
    margin-left: 45px; /* 左のマージンを設定 */
  }
  table.second td {
    display: block; /* セルをブロック要素に設定 */
    width: 100%; /* セルの幅を100%に設定 */
    text-align: left; /* セル内のテキストを左揃え */
    white-space: normal; /* テキストの折り返しを有効に設定 */
    padding: 2px 4px; /* セルのパディングをレスポンシブ時に調整 */
    font-size: small;
  }
  table.second tr {
    display: flex; /* 行をフレックスボックスに設定 */
    flex-direction: column; /* 列の方向を縦に設定 */
    margin-bottom: 0; /* 行の間隔を調整 */
  }
}


/* iframeのサイズ調整用のスタイル */
.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 アスペクト比を維持するための値 (高さを幅の56.25%に設定) */
  height: 0;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none; /* 必要に応じて境界線を調整 */
}




/* footer */
#footer {
  background-color: #3fa9f5;
  color: #313131;
  padding: 20px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px; */
}

.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.left, .right {
  box-sizing: border-box;
  padding: 10px;
}

.left {
  text-align: left;
  flex: 1;
}

.right {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 50px;
  flex: 1;
}

.logotext {
  font-size: 25px;
  text-align: left; /* 通常時は左寄せ */
  margin: 0;
  flex-grow: 0; /* 伸縮しないようにする */
}

.navi {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.navi li {
  text-align: left; /* リストアイテムを左揃えにする */
  margin-bottom: 10px;
}

.navi a {
  color: #313131;
  text-decoration: none;
}

.copyright {
  text-align: center;
  margin-top: 10px;
  font-weight: 200;
  color: white;
}

/* レスポンシブ対応 */
@media (min-width: 700px) {
  .left, .right {
      width: 48%;
  }

}

@media (max-width: 700px) {
  .flex {
      flex-direction: column;
      align-items: center;
  }
  .left, .right {
      width: 100%;
      text-align: center;
  }
  .right {
      justify-content: center;
      border-top: 1px solid white; /* 上に白いボーダーラインを追加 */
      padding-top: 20px; /* ボーダーラインとコンテンツの間隔を設定 */
      gap: 0;
  }
  .copyright {
    justify-content: center;
    border-top: 1px solid white; /* 上に白いボーダーラインを追加 */
    padding-top: 20px; /* ボーダーラインとコンテンツの間隔を設定 */
  }
  .logotext {
    text-align: center; /* レスポンシブ時は中央揃え */
  }
}



.gallery1 {
  margin-top: 150px;
  width: 650px;
  margin: 0 auto;
}
.gallery1 img {
  width: 100%;
  height: auto;
}


/* ギャラリー1のレスポンシブ対応 */
@media screen and (max-width: 700px) {
  .gallery1 {
    width: 90%; /* 幅を100%に設定 */
  }
}



.gallery2 {
  width: 1000px;
  margin: 0 auto;
}
.gallery2 img {
  width: 100%;
  height: auto;
}



/* ギャラリー2のレスポンシブ対応 */
@media screen and (max-width: 700px) {
  .gallery2 {
    width: 90%; /* 幅を100%に設定 */
  }
}





/* contactform */

.container_contact {
  text-align: left; /* テキストを左寄せに */
  padding: 0 15px; /* レスポンシブ時の左右の余白を設定 */
  margin-bottom: 100px;
}

.container_contact h2 {
  text-align: center; /* h2を中央揃え */
}

.container_contact form {
  max-width: 800px; /* フォームの最大幅を設定 */
  margin: 0 auto; /* フォームを中央揃え */
  border-radius: 10px; /* フォームの角を丸く */
  padding: 20px; /* フォーム内の余白を設定 */
}

.container_contact label {
  display: block; /* ラベルをブロックレベルに */
  margin-bottom: 15px; /* ラベル間の余白を設定 */
}

.container_contact textarea,
.container_contact input[type="text"],
.container_contact input[type="email"],
.container_contact input[type="tel"] {
  width: calc(100% - 22px); /* 入力フィールドを幅100%に */
  padding: 10px; /* 入力フィールドのパディングを設定 */
  margin-bottom: 10px; /* 入力フィールド間の余白を設定 */
  border: 1px solid #ccc; /* 枠線を追加 */
  border-radius: 5px; /* 入力フィールドの角を丸く */
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); /* 入力欄の内側にドロップシャドウを追加 */
  transition: box-shadow 0.3s ease; /* マウスオーバー時のトランジションを設定 */
}

.container_contact textarea:hover,
.container_contact input[type="text"]:hover,
.container_contact input[type="email"]:hover,
.container_contact input[type="tel"]:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* マウスオーバー時の外側にドロップシャドウを追加 */
}

.container_contact .required {
  color: red; /* 必須マークの文字色を赤に */
}

.container_contact button[type="submit"] {
  width: 100%; /* 送信ボタンの幅を100%に */
  max-width: 400px; /* 最大幅を設定 */
  padding: 15px; /* パディングを設定 */
  margin-top: 10px; /* 送信ボタン上部の余白を設定 */
  background-color: #3fa9f5; /* 背景色を指定 */
  border: none; /* 枠線を削除 */
  border-radius: 5px; /* 角を丸く */
  color: #fff; /* テキスト色を白に */
  transition: all 0.3s ease; /* トランジションを設定 */
}

.container_contact button[type="submit"]:hover {
  transform: scale(1.05); /* マウスオーバー時に5%拡大 */
}

