body {
    margin: 0;
    font-family: "BIZ UDPGothic", sans-serif, Arial;
}

.main-container{
  max-width : 1200px;
  width : 100%;
  margin : 0 auto;
}

.top-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;  /* 最大幅を100%に設定 */
    margin-top:20px;
}

.top-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;  /* 画像のアスペクト比を保ちつつ、親要素を覆うように表示 */
  max-width: 100%;    /* 最大幅を100%に設定 */
}

.image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒色オーバーレイ */
}

.image-overlay h2,
.image-overlay p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* テキストの可読性を高めるためのシャドウ */
}

/* ヘッダー */

/* 既存のCSSはそのままで、以下にヘッダー用の新しいスタイルを追加します */

/* ヘッダー */
.sticky-header {
  position: sticky;
  top: 0;
  background-color: #0b0146;
  color: white;
  padding: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  height: 160px;
}

.column {
  height: 100%;
  display: flex;
  align-items: center;
}

.left-column {
  flex: 2;
}

.center-column {
  flex: 8;
  justify-content: center;
}

.right-column {
  flex: 2;
  justify-content: flex-end;
}

.logo {
  text-align: center;
}

.logo-image {
  max-height: 110px;
  width: auto;
}

.header-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.btn-image {
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 177px;
  height: 67px;
  border: none;
}

.btn-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.btn-image:hover span {
  background-color: rgba(0,0,0,0.7);
}

@media (max-width: 768px) {
  .sticky-header {
    position: sticky;
    top: 0;
    background-color: #0b0146;
    color: white;
    padding: 0px 0; /* パディングを75%に縮小 */
    z-index: 1000;
  }

  .header-content {
    flex-direction: column;
    height: auto;
    padding: 7px; /* パディングを75%に縮小 */
    padding-bottom : 3px;
  }

  .column {
    width: 100%;
    justify-content: center;
    margin-bottom: 7px; /* マージンを75%に縮小 */
  }

  .left-column {
    display: none;
  }

  .right-column {
    justify-content: center;
  }

  .header-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 7px; /* ギャップを75%に縮小 */
    width: 100%;
  }

  .btn-image {
    width: 45%; /* ボタンの幅はそのまま */
    max-width: 150px; /* 最大幅を75%に縮小 */
    height: 25px; /* 高さを75%に縮小 */
  }

  .btn-image span {
    font-size: 0.7em; /* フォントサイズを約75%に縮小 */
  }

  .btn-image {
    width: 120px;
    height: 45px;
}
}




/* お約束 */

.golfers-high-promise {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-image: url('./img/blueback.png');
  background-position: center center; /* 背景画像を中央に配置 */
  background-repeat: no-repeat; /* 背景画像の繰り返しを防止 */
  background-size: cover; /* 背景画像をコンテナに合わせて拡大縮小 */
  margin-top: 60px;
}

.golfers-high-promise__card {
  background-color: white;
  padding: 20px 20px;
  box-shadow: 2px 2px 6px 6px rgba(0,0,0,0.4);
  max-width: 800px;
  text-align: center;
}
.golfers-high-promise__title {
  color: #2989d8;
  font-size: 24px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.golfers-high-promise__text {
  line-height: 1.6;
  margin-bottom: 10px;
}



/* 5つの約束 */

@media (max-width: 480px) {
.mobile-no {
display : none;
}
}

@media (min-width: 480px) {
  .pc-no {
  display : none;
  }
  }

.fivesupport-container{
  max-width:1200px;
  margin : 0 auto;
}

.five-support {
  width: 100%;
  max-width: 1200px; /* ここで最大幅を設定します */
  margin: 0 auto; /* 中央揃えにします */
  margin-bottom : 100px;
  margin-top : 80px;
}

@media (max-width: 480px) {
  .five-support {
      margin: 20px 0; /* より小さい画面でのボタンの幅を微調整 */
      width : 100%;

  }

}

.five-support img {
  width: 100%;
  height: auto;
  max-width: 100%; /* 親要素の幅を超えないようにします */
  display: block; /* 画像下の余分なスペースを削除します */
  margin : 0 auto;
}

@media (max-width: 480px) {

  .five-support {
    text-align: center; /* 親要素に中央寄せを適用 */
  }
  
  .five-support img {
    width: 100%;
    height: auto;
    max-width: 100%; /* 親要素の幅を超えないようにします */
    display: inline-block; /* インラインブロック要素に変更 */
  }

  .five-support img {
      margin: 0; /* より小さい画面でのボタンの幅を微調整 */
      width : 91%;
      text-align: center;

  }
}



.support-section {
    padding: 2rem 0;
  }
  
  .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
  }
  
  .section-title::before,
  .section-title::after {
    content: "";
    flex-grow: 1;
    height: 2px;
    background-color: #a0d8ef; /* 薄い青色 */
    margin: 0 1rem;
  }
  
  .title-text {
    padding: 0 1rem;
    white-space: nowrap;
  }

  .simulation-section {
  padding: 2rem 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.number {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 5rem;
  color: rgba(160, 216, 239, 0.5); /* 薄い青色 */
  z-index: -1;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .number {
    font-size: 4rem;
    top: -10px;
    right: 0;
  }
}

.five_01{
  margin : 0 auto;
  max-width:1200px;
}


.two-column {
  display: flex;
  max-width: 1200px;
}
.two-column__image-column {
  flex: 1.15;
  padding: 20px 5px;
}
.two-column__image {
  width: 100%;
  height: auto;
}
.two-column__content-column-right {
  flex: 1;
  padding-left: 10px;
  display: flex;
}

.two-column__content-column-left {
  flex: 1;
  padding-left: 0px;
  display: flex;
}

.two-column__text{
  line-height: 2.4;
  letter-spacing:0.05em;
  margin-bottom: 10px;
  font-size : 1.4em;
  color : #4c536e;
  text-align: left;
}

.mobile-title{
  max-width:90%;
}

.mobile-title01{
  max-width:94%;
}

@media (max-width: 767px) {
  .two-column__text{
    line-height: 2.0;
    letter-spacing:0.05em;
    margin-bottom: 10px;
    font-size : 0.9em;
    color : #4c536e;
    text-align: left;
  }
}


.padding01{
  margin-top:60px;
}



.padding02{
  margin-top:30px;
}

.topmargin{
margin-top : 50px;  
}

.topmargin05{
  margin-top : 90px;  
  }

@media (max-width: 768px) {
  .two-column {
      flex-direction: column;
  }
}


.absolute {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 10%; /* コンテナの高さを設定（必要に応じて調整） */
}

.absolute__image {
  position: absolute;
  left: -20%;
  top: -30px;
  transform: translateY(-50%);
  width: 35%; /* 画像の幅を半分に */
  height: auto;
  max-width: 100%;
  object-fit: contain;
}


/* andmore */

.more-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

@media (max-width: 768px) {
  .more-container {
    padding: 20px 5px;
  }
}

.more-content {
  display: flex;
  gap: 30px;
}

.more-left-column {
  flex: 6;
}

.more-right-column {
  flex : 4;
}

.more-left-column2 {
  flex: 4;
}

.more-right-column2 {
  flex : 6;
}



.more-service-item {
  margin-bottom: 30px;
  text-align: left;
}

.more-service-image {
  max-width: 70%;
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.more-service-image1 {
  max-width: 140px;
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.more-service-description {
  line-height: 2.4;
  letter-spacing:0.05em;
  margin-bottom: 10px;
  font-size : 1.4em;
  color : #4c536e;
  text-align: left;
}

@media (max-width: 480px) {
  .more-service-description {
    line-height: 2.0;
    letter-spacing:0.05em;
    margin-bottom: 10px;
    font-size : 0.9em;
    color : #4c536e;
    text-align: left;
  }

  .more-service-item{
    margin-bottom : 10px;
  }
  .more-service-image1 {
    max-width:85px;
    height: auto;
    margin-bottom: 10px;
    display: block;
  }
  .more-content{
    gap:0px;
  }
  .more-service-image {
    max-width: 220px;
  }
}


.more-main-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

@media (max-width: 768px) {
  .more-content {
      flex-direction: column;
  }
}



/* 特徴 */

.simulation-section {
    padding: 2rem 0;
  }
  
  .content-wrapper {
    padding-left: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  
  .number {
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 5rem;
    color: rgba(160, 216, 239, 0.5); /* 薄い青色 */
    z-index: -1;
  }
  
  .description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  @media (max-width: 767px) {
    .content-wrapper {
      padding-left: 0;
    }
    
    .number {
      font-size: 4rem;
      top: -30px;
      left: 0;
    }
  }


/* price */
.price-container{
  margin-bottom : 50px;
}


/* price */
.membership-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  color: white;
  background-color: #000080;
}
.membership-table th, .membership-table td {
  border: 1px solid #4040A0;
  padding: 10px;
  text-align: left;
}
.membership-table th {
  background-color: #000060;
  font-weight: normal;
}
.membership-table td {
  background-color: #000080;
}
.price {
  font-size: 1.2em;
  font-weight: bold;
}
.tax-included {
  font-size: 0.8em;
  color: #B0B0FF;
}

.price-topmargin{
  margin-top: 50px;
}

  /* access */

/* 前回のCSSコードはそのままで、以下に新しいスタイルを追加します */

/* アクセス情報 */
.access-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.access-image {
  height: auto;
  max-width:100%;
}

.access-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
  margin-top: 60px;
}

@media (max-width: 768px) {
.access-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
  margin-top: 60px;
}
}


/* ショップ情報 */
.shop-info-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-info {
  flex: 0 0 70%;
  padding-right: 20px;
  padding-top: 60px;
  font-size: 1.2em;
}

.info-row {
  display: flex;
  padding-top: 20px;
  border-bottom: 1px solid #4c536e;
  padding-bottom: 15px;
}

.info-label {
  flex: 0 0 180px;
  font-weight: bold;
  color: #4c536e;
}

.info-value {
  flex: 1;
  color: #4c536e;
}

.shop-image {
  flex: 0 0 30%; /* デスクトップでの横幅を維持 */
  display: flex;
  justify-content: center;
  align-items: center; /* 高さ方向で中央揃え */
  margin-left: auto; /* 右揃え */
  max-width: 100%; /* 親要素を超えない */
  height: auto; /* 高さは内容に応じて調整 */
}

.kyodo-image {
  width: 100%; /* 親要素に合わせる */
  height: auto; /* アスペクト比を維持 */
  object-fit: cover; /* 親要素に収まるよう調整 */
}

/* モバイル対応 */
@media (max-width: 768px) {
  .shop-image {
    flex: 0 0 100%; /* 横幅を100%に調整 */
    margin: 0 auto; /* 中央揃え */
    padding: 0; /* 余計なパディングを削除 */
  }

  .kyodo-image {
    width: 100%; /* 幅いっぱいに拡大 */
    height: auto; /* 高さは自動調整 */
    object-fit: contain; /* 画像全体を表示 */
  }
}


small {
  font-size: 0.8em;
  color: #666;
}

.shop-space {
  letter-spacing: 0.05em;
}

.address-space {
  letter-spacing: 0.1em;
}

/* メディアクエリ */
@media (max-width: 768px) {
  .access-container {
    padding: 10px;
  }

  .shop-info-container {
    flex-direction: column;
  }
  
  .shop-info {
    flex: 0 0 100%;
    padding-right: 0;
    margin-bottom: 20px;
    padding-top: 30px; /* トップパディングを減らす */
  }


  .shop-image img {
    object-fit: cover; /* モバイルでは画像を覆うように設定 */
  }
  
  .info-row {
    flex-direction: column;
    margin-bottom: 10px; /* 行間のマージンを少し縮小 */
  }
  
  .info-label {
    margin-bottom: 2px; /* ラベルと値の間のスペースを縮小 */
  }

  .info-value {
    padding-left: 10px; /* 値に少しインデントを追加 */
  }
}

/* さらに小さい画面用 */
@media (max-width: 480px) {
  .shop-info {
    padding-top: 20px; /* さらにトップパディングを減らす */
    flex: 0 0 30%;
    font-size : 100%;

  }

  .access-image {
    height: auto;
  }

.mobile-slim{
  font-size : 0.9em;
}

.address-margin{
  padding-top : 4px;
  padding-bottom : 3px;
}

.train-margin{
  padding-top : 4px;
  padding-bottom : 3px;
}

.train-space {
  letter-spacing: 0.05em;
}

/*
  .shop-image {
    flex: 0 0 100%;
    padding-top: 100%;  モバイルでもアスペクト比を1:1に保持 
  }

  .shop-image img {
    object-fit: cover; /* モバイルでは画像を覆うように設定 
  }

*/

.shop-image {
  width: 100%;
}

.shop-image img {
  width: 100%;

}




  .info-row {
    margin-bottom: 8px; /* さらに行間のマージンを縮小 */
    padding : 5px 0px;
  }

  .info-label {
    margin-bottom: 1px; /* ラベルと値の間のスペースをさらに縮小 */
    flex: 0 0 30%;

  }
}

  /* google map */

  .map-container {
    position: relative;
    width: 100%;
    padding-bottom: 50%; /* デスクトップでのアスペクト比 (16:9) */
    height: 0;
    overflow: hidden;
    margin-top : 70px;
    margin-bottom : 40px;

}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 5px solid #CCCCCC;
}
@media (max-width: 767px) {
    .map-container {
        padding-bottom: 75%; /* モバイルでのアスペクト比 (4:3) */
        margin-top : 70px;
        margin-bottom : 10px;
    }
}


/* sns */

.sns-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 40px;
}

.icon {
  text-align: center;
}

.icon img {
  width:100px;
  height: 100px;
  padding: 10px;
}

.icon p {
  font-size: 14px;
  color: #1a1145; /* テキストの色 */
  font-weight: bold;
}

.snslink{
  text-decoration: none;
}

@media (max-width: 767px) {
  .icon img {
    width:90px;
    height: 90px;
    padding: 10px;
  }
  
  .icon p {
    font-size: 14px;
    color: #1a1145; /* テキストの色 */
    font-weight: bold;
  }

}



/* お問合せフォーム */

.inquiry-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.inquiry-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom : 50px;
  margin-top : 60px;

}

.redcolor {
  color:red;
}

@media screen and (max-width: 767px) {
  .inquiry-image-container {
    max-width: 100%; /* モバイルでは100%幅に */
    margin-bottom : 30px;
    margin-top : 45px;
  }

  .inquiry-image {   
    max-width : 100%;
  }
}

/* 入会関連のスタイル */

.inquiry-letter{
  font-size:1.3em;
  margin-top : 100px;
}

@media (max-width: 768px) {
  .inquiry-letter{
    margin-top:20px;
  }
}

.inquiry-p{
  font-size : 1.2em;

}

@media (max-width: 768px) {
  .inquiry-p-margin{
    margin-left:0px;
  }
}

.nyukai-p {
  margin: 0;
  padding-bottom : 10px;
}
.nyukai-bottom {
  margin-top: 0px;
  font-size : 1.4em;

}
@media (max-width: 767px) {
  .nyukai-mobile {
      display: block;
      font-size : 1em;
  }
  .nyukai-bottom{
    font-size:1em;
  }
  .nyukai-pc {
      display: none;
  }
}
@media (min-width: 768px) {
  .nyukai-mobile {
      display: none;
  }
  .nyukai-pc {
      font-size : 1.4em;
      display: block;
  }
}

/* フォームのスタイル */
#contact-form {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom : 50px;
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-group label {
  flex: 0 0 20%;
  padding-right: 15px;
  text-align: right;
}

.form-group .input-field {
  flex: 0 0 80%;
}

.name-fields {
  display: flex;
  gap: 10px;
}

.name-fields input {
  flex: 1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  appearance: none;
  width: 100%;
  padding: 15px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group select#inquiry-type {
  width: 50%;
}

.required {
  color: red;
  margin-left: 3px;
}

/* 送信ボタン */


.submit-button-container{
  text-align: center;
}

.button-51 {
  background-color: transparent;
  border: 1px solid #8ca9db;
  box-sizing: border-box;
  color: white;
  font-family: "Avenir Next LT W01 Bold",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  padding: 13px 30px;
  padding-left:35px;
  position: relative;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  letter-spacing: 0.5em;
  font-size:1em;
}

@media (max-width: 768px) {
  .button-51 {
    font-size: 14px; /* ボタンのフォントサイズを小さく */
    padding: 10px 20px; /* ボタンの上下左右の余白を調整 */
    padding-left: 25px; /* 左の余白を小さく調整 */
    line-height: 20px; /* ラインの高さを縮小 */
    letter-spacing: 0.3em; /* 文字間隔を少し狭める */
  }
}



.button-51:hover,
.button-51:active {
  outline: 0;
}

.button-51:hover {
  background-color: transparent;
  cursor: pointer;
}

.button-51:before {
  background-color: #8cc1dc;
  content: "";
  height: calc(100% + 3px);
  position: absolute;
  right: -7px;
  top: 6px;
  transition: background-color 300ms ease-in;
  width: 100%;
  z-index: -1;
}

.button-51:hover:before {
  background-color: #6DCFF6;
}

@media (min-width: 768px) {
  .button-51 {
    padding: 13px 50px;
  }
}







/* メディアクエリ */
@media (max-width: 768px) {
  .form-group {
    flex-direction: column;
    align-items: stretch;
    font-size : 14px;
  }

  .form-group label {
    flex: none;
    text-align: left;
    margin-bottom: 5px;
  }

  .form-group .input-field {
    flex: none;
    width: 100%;
  }

  .name-fields {
    flex-direction: column;
  }

  .name-fields input {
    width: 100%;
    margin-bottom: 10px;
  }

  .form-group select#inquiry-type {
    width: 100%;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    width: 100%;
    padding: 12px 8px;
    font-size: 16px;
  }

  .submit-button {
    width: 120px;
    padding: 15px;
    font-size : 14px;
  }
}

/* コーチ */


.golfers-high-coach {
  margin-top: 120px;
}

.golfers-high-coach__card {
  max-width: 1200px;
  text-align: center;
}


.m_golfers-high-coach {
  display: flex; /* フレックスボックスを使用 */
  flex-direction: column; /* 要素を縦に並べる */
  align-items: center; /* 要素を中央揃え */
  justify-content: center; /* 必要に応じて中央揃え */
  margin: 0 auto; /* 全体を中央寄せ */
  max-width: 1200px; /* 必要に応じてコンテナの最大幅を制限 */
  padding : 5px;
  background-image:url('./img/blueback.png');
  background-size: 100% auto; /* 幅を100%、高さを自動調整 */
    background-position: center; /* 画像の位置を中央に設定 */
  background-repeat: repeat-y; /* 垂直方向に繰り返し */
  padding-top: 20px;
  margin-top : 90px;
}

.m_coach_title {
  width: 100%; /* 親要素の幅に合わせる */
  max-width: 120px; /* 必要に応じて最大幅を制限 */
  height: auto; /* アスペクト比を維持 */
  margin-bottom: 20px; /* 下の余白を設定 */
}

.m_golfers-high-coach__card {
  width: 100%; /* 親要素の幅に合わせる */
  max-width: 350px; /* 必要に応じてカードの最大幅を制限 */
  text-align: center; /* 中央揃え */
  margin: 0 auto; /* カード全体を中央寄せ */
  margin-bottom : 25px;
}

.m-coach_profile {
  width: 100%; /* 親要素の幅に合わせる */
  height: auto; /* アスペクト比を維持 */
  max-width: 400px; /* 必要に応じて最大幅を制限 */
  object-fit: contain; /* 画像をトリミングせずに収める */
  display: block; /* ブロック要素として扱い中央揃えを維持 */
}


/* facility */


.facility-container {
  max-width: 1200px; /* 親要素の最大幅を制限 */
  margin: 0 auto; /* 中央寄せ */
  padding: 20px; /* 内側の余白 */
  box-sizing: border-box; /* パディングを幅に含める */
  margin-top : 80px;
}

@media (max-width: 768px) {
  .facility-container {
    padding: 20px 5px;
    margin-top : 30px;
  }
}

.facility-image {
  max-width: 1200px;
}

.m_facility-image-container {
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 40px;
  margin-top : 30px;
}


.facility-image-mobile {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.m_facility_title{
  margin-bottom:5px;
}


.facility-content {
  display: flex; /* フレックスボックス */
  gap: 30px; /* 子要素間の余白 */
  max-width: 100%; /* 親要素を超えないように制限 */
  flex-wrap: wrap; /* 必要に応じて折り返し */
  box-sizing: border-box; /* パディングを含めた幅計算 */
}

.facility-content-margin {
  margin-top: 50px;
}

.m_facility_topmargin{
  margin-top: 20px;
}

.facility-left-column{
  flex: 1; /* 自動で幅を調整 */
  max-width: calc(52% - 15px); /* 親要素の幅に基づき制限 */
  box-sizing: border-box; /* パディングを含めた幅計算 */
}

.facility-right-column {
  flex: 1; /* 自動で幅を調整 */
  max-width: calc(48% - 15px); /* 親要素の幅に基づき制限 */
  box-sizing: border-box; /* パディングを含めた幅計算 */
}

.facility-left-column2{
  flex: 1; /* 自動で幅を調整 */
  max-width: calc(50% - 15px); /* 親要素の幅に基づき制限 */
  box-sizing: border-box; /* パディングを含めた幅計算 */
}

.facility-right-column2 {
  flex: 1; /* 自動で幅を調整 */
  max-width: calc(50% - 15px); /* 親要素の幅に基づき制限 */
  box-sizing: border-box; /* パディングを含めた幅計算 */
}

.facility-main-image,
.facility-image {
  max-width: 100%; /* 親要素を超えないように制限 */
  height: auto; /* アスペクト比を維持 */
}

.facility-service-description{
  padding:10px;
}



.facility-service-item {
  margin-bottom: 30px;
  text-align: left;
}

.facility-service-image {
  max-width: 70%;
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.facility-service-image1 {
  max-width: 140px;
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.facility-height{
  line-height : 2.25;
}



@media (max-width: 480px) {

  .facility-service-item {
    margin-bottom: 10px;
  }

  .facility-service-image1 {
    max-width: 85px;
    height: auto;
    margin-bottom: 10px;
    display: block;
  }

  .facility-content {
    gap: 0px;
  }

  .facility-service-image {
    max-width: 220px;
  }

  .facility-service-description{
    padding-bottom : 0px;
  }

}

@media (max-width: 768px) {
  .facility-content {
    flex-direction: column; /* モバイルでは縦並び */
    gap: 15px; /* 余白を縮小 */
  }

  .facility-left-column,
  .facility-right-column {
    max-width: 100%; /* モバイルでは幅をフルにする */
  }

  .facility-image {
    max-width: 100%; /* モバイル対応 */
    height: auto;
  }
}



/* 特定商取引法 */

.container-tokutei
{
  font-family: 'BIZ UDPGothic', sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-size : 1.3em;
}

.content-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  margin-top : 100px;
}
.info-item {
  display: flex;
  margin-bottom: 30px;
  align-items: center;
}
.info-item h2 {
  color: #333;
  margin: 0;
  width: 400px;
  flex-shrink: 0;
  font-size : 1.1em;
}
.info-item p {
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 480px) {
  .container-tokutei {
      font-size: 0.5em; /* 全体的なフォントサイズを縮小 */
      padding: 5px; /* パディングを縮小 */
      width: 100%; /* 幅を画面いっぱいに */
  }

  .content-section {
      padding: 10px;
      margin-top: 30px; /* 上部マージンを縮小 */
  }

  .info-item {
      flex-direction: row; /* 横並びを維持 */
      margin-bottom: 10px; /* 項目間のマージンを縮小 */
  }

  .info-item h2 {
      width: 40%; /* PCと同じ比率を維持 */
      font-size: 1em; /* 相対的なサイズを維持 */
  }

  .info-item p {
      width: 60%; /* PCと同じ比率を維持 */
      font-size: 1em; /* 相対的なサイズを維持 */
  }

  .gray-logo img {
      max-width: 50%; /* ロゴのサイズを調整 */
      height: auto;
  }

  .back-to-top-container {
      margin-top: 20px; /* 「トップページに戻る」ボタンの位置調整 */
  }

  .back-to-top-button {
      font-size: 0.8em; /* ボタンのフォントサイズを調整 */
      padding: 5px 10px; /* ボタンのパディングを調整 */
  }
}


/* footer */

.footer-container {
  margin: 0;
  padding: 0;
}

.footer {
  background-color: #000033;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 0px 20px;
  border-bottom: white solid 1px;
  height: 50px; /* フッターの高さを固定。必要に応じて調整してください */
}

.footer-link {
  flex: 1;
  text-align: center;
  text-decoration: underline;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size:1.1em;
  color: white; /* リンクの色を白に設定 */
}

.footer-link:not(:last-child) {
  border-right: 1px solid white;
}


.footer-link:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .footer {
    flex-direction: column;
    height: auto;
    padding:  0;
  }

  .footer-link {
    padding: 5px 0;
    font-size : 0.9em
  }

  .footer-link:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid white;
  }
}


.copyright {
  background-color: #000033;
  color: white;
  padding: 10px 20px;
  font-size : 1em;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .copyright {
    font-size : 0.9em;
  }
}

/* privacypolicy */
.privacy-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.6;
  font-size : 1.2em;
}
.privacy-policy h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  margin-top : 100px;
}
.privacy-policy p {
  margin-bottom: 15px;
  margin-top : 0px;
}
.privacy-policy ol {
  padding-left: 20px;
}
.privacy-policy li {
  margin-bottom: 10px;
}
.privacy-policy h2 {
  font-size: 18px;
  color: #333;
  margin-top: 40px;
  margin-bottom: 10px;
  font-size : 1.1em;
}


/* モバイル用の調整 */
@media (max-width: 480px) {
  body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* 横スクロールを防止 */
  }

  .privacy-policy {
    font-size: 0.6em;
    padding: 10px;
    width: auto; /* 固定幅ではなく、自動幅に変更 */
    max-width: 100%; /* 最大幅を100%に制限 */
    box-sizing: border-box; /* パディングを幅に含める */
  }

  .privacy-policy h1 {
    font-size: 16px;
    margin-top: 50px;
    word-wrap: break-word; /* 長い単語を折り返す */
  }

  .privacy-policy h2 {
    font-size: 12px;
    margin-top: 20px;
    word-wrap: break-word;
  }

  .privacy-policy p, .privacy-policy li {
    margin-bottom: 8px;
    word-wrap: break-word;
  }

  .privacy-policy ol {
    padding-left: 15px;
    margin-left: 0; /* 左マージンを削除 */
  }

  .gray-logo img {
    max-width: 50%;
    height: auto;
  }

  .back-to-top-container {
    margin-top: 20px;
    text-align: center; /* ボタンを中央揃えに */
  }

  .back-to-top-button {
    font-size: 0.8em;
    padding: 5px 10px;
    display: inline-block; /* インラインブロック要素に変更 */
    max-width: 100%; /* 最大幅を制限 */
    box-sizing: border-box;
  }
}


/* sitepolicy */
.site-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.6;
  font-size : 1.2em;
}
.site-policy h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  margin-top : 100px;
}
.site-policy p {
  margin-bottom: 15px;
  margin-top : 0px;
}
.site-policy ol {
  padding-left: 20px;
}
.site-policy li {
  margin-bottom: 10px;
}
.site-policy h2 {
  font-size: 18px;
  color: #333;
  margin-top: 40px;
  margin-bottom: 10px;
  font-size : 1.1em;
}

/* モバイル用の調整 */
@media (max-width: 480px) {
  body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* 横スクロールを防止 */
  }

  .site-policy {
    font-size: 0.6em; /* 全体的なフォントサイズを縮小 */
    padding: 10px;
    width: auto; /* 固定幅ではなく、自動幅に変更 */
    max-width: 100%; /* 最大幅を100%に制限 */
    box-sizing: border-box; /* パディングを幅に含める */
  }

  .site-policy h1 {
    font-size: 16px;
    margin-top: 50px;
    word-wrap: break-word; /* 長い単語を折り返す */
  }

  .site-policy h2 {
    font-size: 12px;
    margin-top: 20px;
    word-wrap: break-word;
  }

  .site-policy p, .site-policy li {
    margin-bottom: 8px;
    word-wrap: break-word;
  }

  .site-policy ol {
    padding-left: 15px;
    margin-left: 0; /* 左マージンを削除 */
  }

  .gray-logo img {
    max-width: 50%;
    height: auto;
  }

  .back-to-top-container {
    margin-top: 20px;
    text-align: center; /* ボタンを中央揃えに */
  }

  .back-to-top-button {
    font-size: 0.8em;
    padding: 5px 10px;
    display: inline-block; /* インラインブロック要素に変更 */
    max-width: 100%; /* 最大幅を制限 */
    box-sizing: border-box;
  }
}


  /*トップに戻るボタン */


  .back-to-top-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  
  .back-to-top-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent; /* 背景色を透明に */
    color: navy; /* 文字色を紺に */
    text-decoration: none;
    border: 2px solid navy; /* 紺の枠線を追加 */
    border-radius: 5px;
    font-weight: bold;
    transition: color 0.3s ease, border-color 0.3s ease; /* トランジション効果を変更 */
  }
  
  .back-to-top-button:hover {
    color: #003d82; /* ホバー時の文字色を少し明るい紺に */
    border-color: #003d82; /* ホバー時の枠線の色も変更 */
  }

@media (max-width: 768px) {
  /* 既存のメディアクエリ（省略） */

  .back-to-top-button {
      padding: 8px 16px;
      font-size: 14px;
  }
}


.reform-container{
  width : 900px;
  margin : 0 auto;
}



/* グレーのロゴ */
.gray-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px; /* 必要に応じて調整 */
  margin: 0 auto;
  padding: 20px;
}

.graylogo {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 480px) {
  .gray-logo {
      padding: 10px;
  }
  
  .graylogo {
      max-width: 80%; /* 小さい画面では画像を少し小さくする */
  }
}

@media (min-width: 1200px) {
  .gray-logo {
      max-width: 600px; /* 大きい画面ではコンテナを広げる */
  }
}

.graylogo:hover {
  cursor: pointer;
  opacity: 0.8; /* ホバー時に少し透明にする */
  transition: opacity 0.3s ease;
}



/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .fivesupport-container,
    .access-container,
    #inquiry,
    .shop-info-container {
        width: 95%;
    }
    #inquiry{
      padding : 5px;
      width : 100%;
    }
}

@media (max-width: 768px) {


    .logo-image {
        max-height: 80px;
    }

    .header-buttons {
        align-items: center;
    }
    .two-column {
        flex-direction: column;
    }

    .shop-info-container {
        flex-direction: column;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group label {
        margin-bottom: 5px;
    }
  }

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .logo-image {
        max-height: 60px;
    }
    .form-group select,
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        font-size: 14px;
    }
}