
/* 文字のスタイル */
body {
    font-family: 'Arial', sans-serif; /* フォントをArialに設定 */
    line-height: 1.6; /* 行間を1.6倍に設定 */
    background-color: #f4f4f4; /* 背景色を薄いグレーに設定 */
    color: #333; /* 文字色を濃いグレーに設定 */
    padding: 20px; /* 上下左右に20pxの余白を追加 */
}

header {
    display: flex; /* フレックスボックスを使用 */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: space-between; /* 左右の要素を分ける */
    width: 100%; /* 幅を100%に設定 */
    height: auto; /* 高さを自動に変更 */
    color: #333; /* テキストの色を白に設定 */
    text-align: center; /* テキストを中央揃え */
    margin: 0 auto; /* 中央寄せ */
    border-bottom: 5px solid #162e78; /* ヘッダーの下に青い線を追加 */
}

.hidden-title {
    display: none; /* 完全に非表示にする */
}

.image-container img {
    position: relative; /* 画像を相対位置にする */
    z-index: 0; /* 画像を前面に持ってくる */
}

img {
    max-width: 100%; /* 画像の幅を100%に設定 */
    height: auto; /* 画像の高さを800pxに設定 */
}

.header-logo a {
    display: block; /* aタグをブロック要素に */
}

.header-logo img {
    width: 525px; /* 画像の幅を525pxに設定 */
    height: 112px; /* 画像の高さを112pxに設定 */
    max-width: 100%; /* 親要素の幅に合わせて縮小するが、拡大はしない */
    height: auto; /* 高さを自動調整 */
}

.header-menu {
    list-style: none; /* リストスタイルをなしに設定 */
    display: flex; /* フレックスボックスを使用 */
    justify-content: flex-end; /* メニューアイテムを右寄せ */
    gap: 20px; /* リストアイテム間の隙間を設定 */
    padding: 0; /* パディングをリセット */
    margin: 0; /* マージンをリセット */
}

.header-menu li {
    margin: 0; /* マージンをリセット */
    font-size: 1em; /* フォントサイズを1emに設定 */
}

.header-menu {
    margin-left: auto; /* ナビゲーションメニューを右寄せ */
}

.header-menu a {
    color: inherit; /* 親要素の色を継承 */
    text-decoration: none; /* 下線を削除 */
    display: block; /* aタグをブロック要素に */
    padding: 10px; /* パディングを追加 */
}

.header-menu a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
    text-decoration-color: #ed9028; /* 下線の色を#ed9028に設定 */
    text-decoration-thickness: 2px; /* 下線の太さを調整 */
}

div {
    position: relative; /* 要素の位置を相対的に設定 */
}

.image-container {
    position: relative;
    width: 100%; /* 画像が親コンテナに合わせて調整されるようにします */
    overflow: hidden; /* コンテナの境界を超えた部分を隠します */
  }
  
  .image-container img {
    width: 100%; /* 画像が親コンテナに合わせて調整されるようにします */
    display: block;
  }
  
  .text-top {
    position: absolute;
    top: 5%; /* 上からの位置調整（必要に応じて変更） */
    left: 5vw; /* ビューポート幅の割合で位置を調整 */
    width: 90vw; /* ビューポート幅の割合で幅を調整 */
    color: black; /* テキストの色を白に設定 */
    font-size: 1vw; /* ビューポート幅の割合でフォントサイズを調整 */
    opacity: 0; /* 初期状態で非表示 */
    transform: translateY(-10px); /* 初期位置で少し上に移動 */
  transition: opacity 1s ease, transform 1s ease; /* アニメーションの設定 */
  }

  .image-container:hover .text-top {
    opacity: 1; /* ホバー時にテキストを表示 */
    transform: translateY(0); /* アニメーションで元の位置に戻す */
  }
  
  .image-container:hover .text-bottom {
    opacity: 1; /* ホバー時に下のテキストを表示 */
    transform: translateY(0); /* アニメーションで元の位置に戻す */
  }
  
.nav {
    display: flex; /* フレックスボックスを使用 */
    justify-content: flex-end; /* ナビゲーションを右寄せ */
    width: 100%; /* ナビゲーションの幅を画面いっぱいに広げる */
}

/* 幅100%と高さ300pxのスタイル */
.container {
    width: 100%; 
    height: 300px; 
    max-width: 900px; /* 最大幅900px */
    margin: 0 auto; 
    padding: 50px; 
    position: relative;
}

/* コンテナ内のボックス */
.container .box {
    display: inline-block; /* インラインブロックで横並び */
    width: calc(33.333% - 20px); /* 3つ並べるために幅を33.333%に設定、20pxはマージン調整 */
    margin: 10px; /* 各ボックスに10pxのマージン */
    vertical-align: top; /* 上部に揃える */
}

/* 画面が小さいときにスタックする */
@media screen and (max-width: 900px) {
    .container .box {
        width: calc(50% - 20px); /* 画面が狭いときは2列にする */
    }
}

@media screen and (max-width: 600px) {
    .container .box {
        width: calc(100% - 20px); /* さらに狭い場合は1列にする */
    }
}

footer {
    width: 100%; /* 幅を100%に設定 */
    height: 40px; /* 高さを40pxに設定 */
    border-top: 5px solid #162e78; /* フッターの上に青い線を追加 */
    padding: 10px 0; /* 上下に10pxのパディングを追加 */
    text-align: center; /* テキストを中央揃え */
    margin-top: 20px; /* 上に20pxの余白を追加 */
    margin-bottom: 20px; /* 上に20pxの余白を追加 */
}

/* ベースのスタイルをリセット */
* {
    margin: 0; /* マージンをリセット */
    padding: 0; /* パディングをリセット */
    box-sizing: border-box; /* ボックスのサイズ計算をborder-boxに設定 */
}

.info-section {
    margin: 40px auto !important; /* 上下に40pxのマージンを追加し中央寄せ */
    max-width: 1200px !important; /* 最大幅を1200pxに設定 */
    padding: 50px !important; /* 上下左右に50pxのパディングを追加 */
    background-color: #fff !important; /* 背景色を白に設定 */
    text-align: left !important; /* テキストを左寄せ */
}

.info-item {
    display: flex; /* フレックスボックスを使用 */
    align-items: center; /* 垂直方向の中央揃え */
    margin-bottom: 20px; /* 下に20pxのマージンを追加 */
    padding-left: 300px /* 上下左右に20pxのパディングを追加 */
}

.info-item h3 {
    font-size: 25px; /* フォントサイズを1.5emに設定 */
    color: #333; /* テキストカラーを濃く */
    margin: 0; /* マージンをリセット */
    width: 40%; /* 幅を40%に設定 */
    text-align: left; /* 左寄せ */
    
}

.info-text {
    flex: 1; /* フレックスアイテムのサイズを1に設定 */
    display: flex; /* フレックスボックスを使用 */
}

.info-text p {
    font-size: 20px; /* フォントサイズを1.2emに設定 */
    margin: 0; /* マージンをリセット */
    text-align: left; /* 左寄せ */
}

.contact-form-section {
    max-width: 1200px; /* 最大幅を700pxに設定 */
    margin: 40px auto; /* 上下に40pxのマージンを追加し中央寄せ */
    padding: 20px; /* 上下左右に20pxのパディングを追加 */
    border-radius: 10px; /* 角を丸くする */
}

.contact-form-section h2 {
    font-size: 2em; /* フォントサイズを2emに設定 */
    color: #333; /* テキストカラーを濃く */
    margin-bottom: 20px; /* 下に20pxのマージンを追加 */
    text-align: center; /* 中央揃え */
}

.contact-form .form-group {
    margin-bottom: 20px; /* 下に20pxのマージンを追加 */
}

.contact-form .form-group label {
    display: block; /* ブロック要素として表示 */
    font-size: 1

.2em; /* フォントサイズを1.2emに設定 */
    margin-bottom: 5px; /* 下に5pxのマージンを追加 */
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%; /* 幅を100%に設定 */
    padding: 10px; /* 上下左右に10pxのパディングを追加 */
    font-size: 1.2em; /* フォントサイズを1emに設定 */
    border: 1px solid #ccc; /* 枠の色を設定 */
    border-radius: 5px; /* 角を丸くする */
    box-sizing: border-box; /* パディングを含める */
    height: auto; /* 高さを自動にする */
    resize: vertical; /* 垂直方向にのみサイズ変更可能にする */
    line-height: 1.4; /* 行の高さを調整する (必要に応じて) */
}

.info-note {
    font-size: 0.9em; /* 少し小さめのフォントサイズ */
    color: #666; /* グレーの色 */
    margin-top: 5px; /* 上に少しスペースを追加 */
    display: flex;
    flex-wrap: wrap; /* 複数行に折り返す */
    gap: 5px; /* 行間を調整 */
    width: 100%; /* 幅を100%に設定 */
}

.form-group select {
    width: 100%; /* 幅を100%に設定 */
    padding: 10px; /* 上下左右に10pxのパディングを追加 */
    font-size: 1.2em; /* フォントサイズを1.2emに設定 */
    border: 1px solid #ccc; /* 枠の色を設定 */
    border-radius: 5px; /* 角を丸くする */
    box-sizing: border-box; /* パディングを含める */
}

.info-section button {
    display: block !important; /* ブロック要素として表示 */
    width: 100% !important; /* 幅を100%に設定 */
    max-width: 1060px !important; /* 最大幅を200pxに制限 */
    padding: 10px !important; /* 上下左右に10pxのパディングを追加 */
    font-size: 1.2em !important; /* フォントサイズを1.2emに設定 */
    color: #fff !important; /* 文字色を白に設定 */
    background-color: #162e78 !important; /* 背景色を青に設定 */
    border: none !important; /* 枠を削除 */
    border-radius: 5px !important; /* 角を丸くする */
    cursor: pointer !important; /* カーソルをポインターに設定 */
    margin-top: 100px !important; /* 上に20pxのマージンを追加 */
    text-align: center !important; /* ボタン内の文字を中央揃え */
}

.info-section button:hover {
    background-color: #0f1e56 !important; /* ホバー時の背景色を濃く設定 */
}

.optional {
    color: #ed9028; /* 文字色をオレンジに設定 */
    font-size: 0.9em; /* フォントサイズを0.9emに設定 */
    margin-right: 5px; /* 右に5pxのマージンを追加 */
}

.content {
    padding: 20px; /* 上下左右に20pxのパディングを追加 */
}

h2 {
    text-align: center; /* 中央揃え */
    margin-bottom: 20px; /* 下に20pxのマージンを追加 */
}

section {
    margin-bottom: 20px; /* 下に20pxのマージンを追加 */
}

article {
    margin-bottom: 20px; /* 下に20pxのマージンを追加 */
    list-style: none; /* リストスタイルをリセット */
}

ul {
    list-style-type: none; /* リストスタイルをなしに設定 */
    margin: 0; /* マージンをリセット */
    padding: 0; /* パディングをリセット */
}

strong {
    color: #162e78; /* 文字色を青に設定 */
}

p, li {
    margin-bottom: 10px; /* 下に10pxのマージンを追加 */
}

main {
    padding: 20px; /* 上下左右に20pxのパディングを追加 */
    max-width: 800px; /* 最大幅を800pxに設定 */
    margin: auto; /* 中央寄せ */
    background: white; /* 背景色を白に設定 */
    border-radius: 8px; /* 角を丸くする */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

/* container内のリストを箇条書きにするスタイル */
.container ul.content-list {
    list-style-type: disc; /* リストスタイルをディスクに設定 */
    padding-left: 20px; /* 左に20pxのインデントを追加 */
}

.container ul.content-list li {
    display: list-item; /* リストアイテムを箇条書きに */
    margin-bottom: 10px; /* 各項目の間にスペースを追加 */
}

/* styles.css */
body, html {
    margin: 0; /* マージンをリセット */
    padding: 0; /* パディングをリセット */
    height: 100%; /* 高さを100%に設定 */
    width: 100%; /* 幅を100%に設定 */
    font-family: 'Arial', sans-serif; /* フォントをArialに設定 */
    background-color: #fff; /* 背景色を白に設定 */
    color: #333; /* 文字色を濃いグレーに設定 */
}

.content-image {
    width: 100%; /* 幅を100%に設定 */
    height: 300px; /* 高さを300pxに設定 */
    object-fit: cover; /* 画像がコンテナに収まるように調整 */
    display: block; /* ブロック要素として表示 */
    margin-left: auto; /* 左のマージンを自動設定 */
    margin-right: auto; /* 右のマージンを自動設定 */
}

.wrapper {
    padding: 0; /* 内側の余白をなくす */
    box-sizing: border-box; /* パディングを含める */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.content-text {
    padding: 20px; /* 全体の余白 */
    box-sizing: border-box; /* パディングを含める */
}

.content-text article:nth-of-type(6) {
    border-bottom: 2px solid #000; /* 教育・トレーニング部分だけ下線を設定 */
}

.content-text article {
    display: flex; /* フレックスボックスを使用 */
    flex-direction: column; /* 垂直方向にアイテムを並べる */
    align-items: center; /* 水平方向の中央揃え */
    text-align: left; /* テキストの左寄せ */
    width: 90%; /* 幅を80%に設定 */
    margin: 40px auto; /* 上下に40pxの余白、中央揃え */
    padding: 10px; /* 各記事の内側の余白（任意） */
    background-color: #fff; /* 背景色を白に設定 */
    border: none; /* 枠を削除 */
    border-radius: 8px; /* 角を丸くする（任意） */
}

.content-text article:last-child {
    border-bottom: none; /* 最後の記事の区切り線を削除 */
}

ul.content-list {
    list-style-type: none !important; /* リストスタイルをなしに設定 */
    padding-left: 0 !important; /* 左のインデントを削除 */
}

ul.content-list li {
    display: list-item; /* リストアイテムを箇条書きに */
    margin-bottom: 10px; /* 各項目の間にスペースを追加 */
}

.image-B img {
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    position: relative;
}

.text {
    text-align: center;
    margin-top: 20px;
    z-index: 1;
}

.photo-gallery-container {
    position: relative;
    z-index: 2;
}

.white-background {
    background-color: white;
    width: 100%;
    height: 300px;
    position: absolute;
    top: 0;
    z-index: -1;
}

.photo-gallery {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* 距離を調整 */
    padding: 100px;
    background-color: rgba(255, 255, 255, 0.5); /* 50%透明の白 */
}

.photo-item {
    text-align: center;
    width: 100%;
    background-color: #fff;
    padding: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-decoration: none; /* 下線を消す */
    color: #333; /* デフォルトの文字色 */
}

.photo-item:hover,
.photo-item:focus {
    text-decoration: none; /* 下線を消す */
}

.photo-item:active {
    border-bottom: 2px solid #ed9028; /* クリック時の下線 */
    color: #ed9028; /* クリック時の文字色 */
}

.photo-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.photo-name {
    margin-top: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
}

.read-more-btn {
    display: inline-block; /* ボタンがインラインブロックとして表示されるようにする */
    padding: 10px 20px; /* 内側の余白を調整 */
    background-color: #555; /* ボタンの背景色 */
    color: #fff; /* ボタンの文字色 */
    text-align: center; /* 文字を中央揃え */
    text-decoration: none; /* 下線を消す */
    border-radius: 5px; /* 角を丸める */
    border: none; /* ボーダーを消す */
  }
  
  .read-more-btn:hover {
    background-color: #555; /* ホバー時の背景色変更 */
  }
  
  .content-text {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

article {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 100%;
    display: flex;
    flex-direction: column; /* タイトルとテキストを縦に並べる */
}

article h3 {
    background-color: #002b5b;
    color: #ffffff;
    padding: 10px;
    font-size: 1.2em;
    margin: 0 0 10px 0; /* タイトルの下にスペースを追加 */
    border-radius: 3px;
    text-align: center;
}

.text-only-section {
    /* 画像を削除したため、スタイルをシンプルに */
    display: flex;
    flex-direction: column; /* テキストを縦に並べる */
}

.content-list {
    padding-left: 20px; /* リストのインデントを追加 */
}

.content-list li {
    margin-bottom: 10px; /* 各リストアイテムの下にスペースを追加 */
}

.business-introduction {
    border: 2px solid #333; /* セクションのボーダー */
    padding: 0; /* 内側の余白をなくす */
    margin: 200px auto; /* 上下に50px、左右は中央揃え */
    width: 90%; /* 横幅を広げる */
}

.business-introduction h2 {
    border-bottom: 2px solid #333; /* 見出しの下線 */
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 30px
}

.services {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-item {
    flex: 1;
    text-align: center;
    border: 1px solid #333;
    padding: 10px;
    margin: 0 10px;
}

.main-content {
    padding: 20px;
    margin: 60px auto; /* 上下に60pxの隙間を追加 */
}

/* h2のスタイル */
.info-section h2 {
    border-bottom: 3px solid #162e78;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* h3のスタイル */
.info-section h3 {
    margin-top: 20px;
    padding-bottom: 5px;
}

.contact-form-section {
    position: relative;
}

.privacy-policy {
    position: absolute;
    bottom: -70px; /* フォームの枠の下から10px */
    left: 10px;  /* フォームの枠の右から10px */
}

.privacy-policy a {
    font-size: 14px;
    color: #162e78; /* リンクの色 */
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
    text-decoration-color: #ed9028; /* ホバー時の下線の色 */
    text-decoration-thickness: 2px; /* 下線の太さを調整 */
}

.flow {
    font-size: 250%; /* サイズは適宜調整してください */
    text-align: center; /* テキストの位置を中央にします */
    text-decoration: underline; /* ホバー時に下線を表示 */
    text-decoration-color: #162e78; /* ホバー時の下線の色 */
    text-decoration-thickness: 3px; /* 下線の太さを調整 */
    margin-top: 200px;
}

.flow-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央揃え */
    width: 100%; /* 画面全体の幅を使用 */
    max-width: 1200px; /* 最大幅を指定（必要に応じて調整） */
    margin: 0 auto; /* 左右のマージンを自動で調整 */
    padding: 20px;
}

.flow-step {
    width: 100%;
    max-width: 1200px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 30px; /* パディングを増やして中央寄せを強調 */
    margin: 20px auto; /* 上下のマージンを設定し、中央に配置 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center; /* テキストを中央に配置 */
    box-sizing: border-box; /* パディングとボーダーを含めたサイズ計算 */
    min-height: 180px; /* 縦幅の最小値を設定して、全体の統一感を持たせる */
}

.flow-step p {
    margin: 0; /* p要素のデフォルトのマージンをリセット */
}

.step-number {
    font-size: 100px; /* 数字のサイズを設定 */
    font-weight: bold;
    color: #ccc;
    background: none; /* 背景を削除 */
    width: auto; /* 幅を自動に設定 */
    height: auto; /* 高さを自動に設定 */
    position: absolute; /* 絶対位置に設定 */
    left: 20px; /* 左側に配置するための位置調整 */
    bottom: -20%; /* 下側に配置するための位置調整 */
    margin: 0; /* マージンをリセット */
}

.step-description1 {
    flex: 1;
    text-align: center; /* 説明文を中央に配置 */
    font-size: 30px; /* テキストのサイズを調整 */
    font-weight: bold; /* テキストを太字にする */
}

.step-description1 p {
    font-size: 16px; /* 説明文のサイズを調整 */
    color: #666;
    margin: 0; /* パラグラフの余白をリセット */
}

.step-description {
    flex: 1;
    text-align: center; /* 説明文を中央に配置 */
    font-size: 30px; /* テキストのサイズを調整 */
    font-weight: bold; /* テキストを太字にする */
}

.step-description p {
    font-size: 16px; /* 説明文のサイズを調整 */
    color: #666;
    margin: 0; /* パラグラフの余白をリセット */
}

/* 矢印のスタイル */
.arrow-down {
    width: 24px;
    height: 24px;
    border: solid #333;
    border-width: 0 2px 2px 0;
    display: block;
    transform: rotate(45deg);
    margin: 40px auto; /* 上下に十分なマージンを設定し、中央に配置 */
    color: #333; /* 矢印の色 */
}
/* 矢印の位置調整 */
.flow-step + .arrow-down {
    margin: 20px auto; /* 矢印とステップの間に余白を追加 */
}

.arrow-down:first-of-type {
    display: none;
}

.floating-circle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 300px;
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    text-decoration: none;
    transform: translateY(50px); /* 初期位置を下に */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; /* スムーズに表示・非表示 */
    z-index: 1000;
    overflow: hidden; /* ロゴがはみ出さないようにする */
    background-image: url('path/to/your/transparent-logo.png');
    background-size: cover; /* ロゴをカバーする */
    background-blend-mode: lighten; /* 背景色を明るくする */
}

.floating-circle.show {
    opacity: 1;
    transform: translateY(0);
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; /* ロゴの幅 */
    height: auto; /* 高さは自動 */
    z-index: -1; /* テキストより後ろに表示 */
}

.contact-info {
    margin: 5px 0;
    line-height: 1.4; /* 行間 */
}

.contact-info.phone {
    font-size: 35px; /* 電話番号のフォントサイズ */
    line-height: 1.6; /* 行間 */
}

.contact-info.inquiry {
    font-size: 17px; /* お問い合わせのフォントサイズ */
    line-height: 1.6; /* 行間 */
}

.contact-info.hours {
    font-size: 15px; /* 受付時間のフォントサイズ */
    line-height: 1.2; /* 行間狭める */
    white-space: nowrap; /* テキストが折り返さないようにする */
    overflow: hidden; /* テキストが丸の外にはみ出さないようにする */
    text-overflow: ellipsis; /* はみ出したテキストを省略する */
}

.contact-info.holidey {
    font-size: 11.5px; /* 定休日のフォントサイズ */
    line-height: 1.2; /* 行間狭める */
    white-space: nowrap; /* テキストが折り返さないようにする */
    overflow: hidden; /* テキストが丸の外にはみ出さないようにする */
    text-overflow: ellipsis; /* はみ出したテキストを省略する */
}

.bordered {
    padding: 5px 10px; /* 内側の余白 */
    font-weight: bold; /* 太字 */
}

.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

.autocomplete-suggestions {
    position: absolute;
    background: #fff;
    z-index: 1000;
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
}

.autocomplete-suggestion {
    padding: 8px;
    cursor: pointer;
}

.autocomplete-suggestion:hover {
    background-color: #ed9028; /* カーソルを合わせたときの背景色 */
    color: #fff; /* カーソルを合わせたときの文字色（オプション） */
}

.contact-link {
    color: #162e78;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.flow h2 {
    font-size: 1em; /* フォントサイズを調整 */
    text-align: center; /* テキストを中央揃え */
}

/* 選択肢のデフォルトスタイル */
.suggestions-container {
    position: absolute;
    background-color: white;
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
}

/* 各選択肢のスタイル */
.suggestion-item {
    padding: 8px;
    cursor: pointer;
    color: #000;  /* ドメインの文字色 */
}

/* ホバー時のスタイル */
.suggestion-item:hover {
    background-color: #ed9028;  /* ホバー時の背景色 */
    color: white; /* ホバー時の文字色（必要に応じて） */
}

/* スマートフォン向けのスタイル */
@media screen and (max-width: 767px) {
    /* 基本設定 */
    body, html {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* 横スクロールを無効化 */
    }

    .container, .main-content, .header, .footer, .content, .main-section, .section {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    img {
        width: 100%;
        height: auto;
    }

/* スマートフォン向けのスタイル */
@media screen and (max-width: 767px) {
    /* スマートフォンではテキストを非表示に */
    .floating-circle {
        display: none; /* お問い合わせのテキストを非表示 */
    }
}



    /* ヘッダー */
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px; /* ヘッダーの下に間隔を追加 */
    }

    .header-a {
        width: 100%;
        text-align: center;
        margin-bottom: 20px; /* ロゴとメニューの間隔を調整 */
    }

    .header-logo img {
        max-width: 100%; /* ロゴの最大幅を調整 */
        height: auto;
    }

    nav {
        width: 100%;
    }

    .header-menu {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2列に分ける */
        gap: 10px;
        padding: 0;
        margin-bottom: 50px;
        list-style-type: none;
    }

    .header-menu li {
        text-align: center;
    }

    .header-menu li a {
        display: block;
        padding: 5px;
        text-decoration: none;
        white-space: nowrap; /* テキストを1行に保つ */
    }

    /* フッター */
    .footer {
        padding: 20px;
        text-align: center;
    }

    .footer-logo-image {
        max-width: 150px; /* サイズを150pxから75pxに調整 */
        height: auto;
    }
    
    /* 提供するサービスセクション */
    .business-introduction {
        width: calc(100% - 20px); /* 幅を狭める */
        margin: 20px auto; /* 上下の間隔を設定 */
        padding: 10px; /* 内部余白を調整 */
    }

    .services {
        display: flex;
        flex-wrap: wrap; /* アイテムが折り返すように設定 */
        gap: 10px; /* アイテム間の隙間を追加 */
        justify-content: center; /* アイテムを中央揃えに */
    }

    .service-item {
        flex: 1 1 calc(100% - 20px); /* 1列に並べるように設定 */
        box-sizing: border-box; /* パディングとボーダーを含める */
        border: 1px solid #ddd; /* 薄いボーダーを追加 */
        border-radius: 5px; /* 角を少し丸める */
        background-color: #f9f9f9; /* 背景色を設定 */
        padding: 15px; /* 内部の余白を追加 */
        text-align: center; /* テキストを中央揃え */
        margin-bottom: 10px; /* 下部に間隔を追加 */
    }

    .business-introduction h2 {
        text-align: center; /* 見出しを中央揃え */
        margin-bottom: 20px; /* 見出しとサービスアイテムの間隔を調整 */
    }

    /* 画像コンテナ */
    .image-container {
        width: calc(100% - 20px); /* 幅を狭める */
        margin: 20px auto; /* 上下の間隔を設定 */
        padding: 0; /* 内部余白を削除 */
    }

    /* フローセクション */
    .flow h2 {
        font-size: 1em; /* フォントサイズを小さくする */
        margin-bottom: 5px; /* 下部の余白を半分に調整 */
        margin-top: 20px; /* 上部の余白を追加 */
    }

    .flow-step {
        margin-bottom: 10px; /* ステップの下部余白を調整 */
        width: 350px;
    }

    /* ギャラリーコンテナ */
    .photo-gallery-container {
        display: none; /* スマートフォンでギャラリーを非表示にする */
    }

    /* 影の調整 */
    .shadow-box {
        box-shadow: none; /* 影を削除 */
        padding: 20px; /* 枠の大きさを調整 */
    }

    .shadow-box.alternative {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影の大きさを大きく調整する場合 */
    }
}

/* iPhoneサイズのスタイル */
@media only screen and (max-width: 375px) {
    .container {
        width: 100%;
        max-width: 100%; /* スマートフォンの幅に合わせる */
        height: 667px; /* スマートフォンの高さに合わせる */
        margin: 0 auto; /* 中央揃え */
        box-sizing: border-box; /* パディングやボーダーを含める */
        padding: 0 15px; /* コンテナの内部余白を調整 */
    }

    .floating-circle {
        width: 80px;
        height: 80px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2em;
    }
}

/* グローバルスタイル */
* {
    box-sizing: border-box;
}

.main-content img {
    width: 100%; /* 画像をスマートフォンの幅に合わせる */
    height: auto;
    display: block; /* 画像をブロック表示にして隙間をなくす */
    margin: 0 auto; /* 画像を中央に配置 */
}

/* その他の要素 */
.header, .footer, .main-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* スマートフォン向けのスタイル */
@media screen and (max-width: 767px) {
    /* 3つ目の info-section 要素 */
    .info-section:nth-child(3) {
        box-shadow: none; /* 影を削除 */
        width: 100%; /* 幅を100%に設定 */
        padding: 20px; /* 内部余白を調整 */
        margin-bottom: 15px; /* 下部に余白を追加 */
        background-color: #fff; /* 必要に応じて背景色を追加 */
    }

}

@media screen and (max-width: 767px) {
    .info-item h3{
        padding-left: 0; /* 左のパディングを削除 */
        text-align: left; /* テキストを左揃えに設定 */
        font-size: 16px;
    }
    
    .info-text {
        font-size: 16px;
    }

}

/* デスクトップ用のスタイル */
.info-item {
    display: flex; /* フレックスボックスを使用 */
    align-items: center; /* 垂直方向の中央揃え */
    margin-bottom: 20px; /* 下に20pxのマージンを追加 */
    padding-left: 300px; /* 左に300pxのパディングを追加 */
}

/* 携帯用のスタイル */
@media screen and (max-width: 768px) {
    .info-item {
        padding-left: 0; /* 左のパディングを削除 */
        text-align: left; /* テキストを左揃えに設定 */
    }
}
