body html {
  overflow-x: hidden;
  font-family: "Zen Maru Gothic";
  background-image: url("../img/background.png");
  justify-content: center;
  align-items: center;
  background-size: 150%;
  background-position: center;
  background-repeat: repeat;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #50BAFF, #4049FF);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: circle(150%);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.01, 1);
  pointer-events: auto;
}

#loading-screen.is-hidden {
  clip-path: circle(0%);
  pointer-events: none;
}

.loading-content {
  text-align: center;
}

.loading-chars1 {
  width: 30%;
  margin-bottom: 20px;
  margin-left: 50px;
}

.loading-chars2 {
  width: 30%;
  margin-bottom: 20px;
  margin-right: 50px;
}

.loading-text {
  color: white;
  font-size: 24px;
  font-weight: bold;
  font-family: "Zen Maru Gothic";
}

.loading-text span {
  opacity: 0;
  animation: blink 1.5s infinite;
}

.loading-text span:nth-child(2) {
  animation-delay: 0.3s;
}

.loading-text span:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}


.main-conteiner {
  width: 100%;
  /* ビューポート幅に合わせる */
  min-width: 0;
  /* 幅の最小値をリセット */
  box-sizing: border-box;
  margin-left: auto;

  /* パディング・ボーダー含めて幅計算 */
  height: auto;
  /* 高さは自動 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



@media screen and (max-width:767px) {

  .svg {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    margin-left:10%
  }

  .title {
    position: relative;
    text-align: center;
  }
   .subtitle {
    font-size: 20px;
    text-align: center;
    color: #404040;
    margin: 0px;
    padding: 0%;
  }

  .kuu {
    margin-top: 10%;
  }

  .box {
    font-weight: bold;
    color: black;
    background: rgba(255, 255, 255, 0.7);
    /* 白＋70%不透明 */
    border: 4px solid;
    /* 太さはお好みで */
    border-image: linear-gradient(135deg, #50BAFF, #4049FF) 1;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    height: 350px;
    margin-bottom: 100px;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 8px 4px;
    /* 内側の余白 */
    align-items: center;
    align-content: center;
  }

  .title1 {
    position: relative;
    top: -70px;
    /* 枠線より上に出す */
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 50px;
    background: linear-gradient(135deg, #50BAFF, #4049FF);
    /* ←グラデーション背景 */
    text-align: center;
    color: white;
    -webkit-text-stroke:1px #222;
    /* 黒縁取り */
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    font-size: 20px;
    text-align: center;
    border-radius: 30px;
    margin-bottom: -40px;
  }



  .midashi1 {
    align-content: center;
    text-align: center;
    font-family: 'Helvetica', 'Arial', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    font-size: 1.5rem;
    /* 文字の大きさ */
    font-weight: lighter;
    /* 文字の太さ */
    color: #000;
    /* 文字色 */
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    /* ボックスのスタイル */
    background-color: #ffffff;
    /* 背景色（白） */
    border: 1px solid #cccccc;
    /* 枠線 */
    border-radius: 8px;
    /* 角の丸み */
    padding: 10px 25px;
    /* 内側の余白（上下 左右） */

    /* 影（立体感を出す） */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }

  .card-content {
    height: auto;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    /* イラストを配置する際の基準点 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }


  /* セクションの小見出し「住所」「お問い合わせ」 */
  .section-title {
    display: inline-block;
    /* 幅をテキストに合わせる */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    z-index: 2;
    /* イラストより手前に表示 */
    position: relative;
  }

  /* 住所セクション */
  .address-section {
    margin-bottom: 25px;
  }

  .address-section p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* グレーのマッププレースホルダー */
  .map-placeholder {
    background-color: #e0e0e0;
    width: 100%;
    height: 300px;
    /* 高さは任意で調整 */
    border-radius: 4px;
    margin-top: 15px;
  }

  /* お問い合わせセクション */
  .inquiry-header {
    display: flex;
    align-items: center;
    /* タイトルとイラストを垂直中央に */
  }

  .inquiry-body p {
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 10px 0;
  }

  /* リンクのスタイル */
  a {
    color: #007bff;
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }


  /* --- イラストの配置 --- */

  /* 歩く男性のイラスト */
  .illustration-man {
    position: absolute;
    /* 親要素(.card-content)を基準に配置 */
    top: 10px;
    right: 15px;
    width: 50px;
    /* サイズは適宜調整 */
    height: auto;
    z-index: 1;
    /* タイトルの後ろに配置 */
  }

  /* PCを使う男性のイラスト */
  .illustration-pc {
    width: 50px;
    /* サイズは適宜調整 */
    height: auto;
    margin-left: 10px;
  }
}

@media screen and (min-width:768px) and (max-width: 1025px) {
  .svg {
    display: block;
  margin-left: auto;
  margin-right: auto;
    width: 80vw;
  }

  .title {
    text-align: center;
  }

  .subtitle {
    font-size: 40px;
    text-align: center;
    color: #404040;
    margin: 0px;
    padding: 0%;
  }

  .box {
    font-size: 30px;
    font-weight: bold;
    color: black;
    background: rgba(255, 255, 255, 0.7);
    /* 白＋70%不透明 */
    border: 4px solid;
    /* 太さはお好みで */
    border-image: linear-gradient(135deg, #50BAFF, #4049FF) 1;
    border-radius: 10px;
    text-align: center;
    width: 95%;
    height: 650px;
    margin-bottom: 100px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: -8px 4px
      /* 内側の余白 */
  }

  .title1 {
    position: relative;
    top: -55px;
    /* 枠線より上に出す */
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 50px;
    background: linear-gradient(135deg, #50BAFF, #4049FF);
    /* ←グラデーション背景 */
    text-align: center;
    color: white;
    /* 黒縁取り */
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    border-radius: 30px;
    margin-bottom: -40px;
  }

  .midashi1 {
    align-content: center;
    text-align: center;
    font-family: 'Helvetica', 'Arial', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    font-size: 1.5rem;
    /* 文字の大きさ */
    font-weight: bold;
    /* 文字の太さ */
    color: #000;
    /* 文字色 */

    /* ボックスのスタイル */
    background-color: #ffffff;
    /* 背景色（白） */
    border: 1px solid #cccccc;
    /* 枠線 */
    border-radius: 8px;
    /* 角の丸み */
    padding: 10px 25px;
    /* 内側の余白（上下 左右） */

    /* 影（立体感を出す） */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }

  .card-content {
    height: 100%;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    /* イラストを配置する際の基準点 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-content: center;
  }

  .TEL{
    font-size: 32px
  }

  /* セクションの小見出し「住所」「お問い合わせ」 */
  .section-title {
    display: inline-block;
    /* 幅をテキストに合わせる */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 2.1rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    z-index: 2;
    /* イラストより手前に表示 */
    position: relative;
  }

  /* 住所セクション */
  .address-section {
    margin-bottom: 25px;
    font-size: 24px;
  }

  .address-section p {
    font-size: 24px;
    line-height: 1.6;
  }

  /* グレーのマッププレースホルダー */
  .map-placeholder {
    background-color: #e0e0e0;
    width: 100%;
    height: 500px;
    /* 高さは任意で調整 */
    border-radius: 4px;
    margin-top: 15px;
  }

  .inquiry-section {
    margin-top: 50px;
  }

  /* お問い合わせセクション */
  .inquiry-header {
    display: flex;
    align-items: center;
    /* タイトルとイラストを垂直中央に */
    align-content: center;
  }

  .inquiry-body p {
    line-height: 1.6;
    font-size: 2rem;
    margin: 10px 0;
  }

  /* リンクのスタイル */
  a {
    color: #007bff;
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }


  /* --- イラストの配置 --- */

  /* 歩く男性のイラスト */
  .illustration-man {
    position: absolute;
    /* 親要素(.card-content)を基準に配置 */
    top: 10px;
    right: 15px;
    width: 50px;
    /* サイズは適宜調整 */
    height: auto;
    z-index: 1;
    /* タイトルの後ろに配置 */
  }

  /* PCを使う男性のイラスト */
  .illustration-pc {
    width: 50px;
    /* サイズは適宜調整 */
    height: auto;
    margin-left: 10px;
  }
}

@media screen and (min-width: 1200px) {
  .svg {
    display: block;
  margin-left: auto;
  margin-right: auto;
    width: 80vw;
  }

  .title {
    text-align: center;
  }

  .subtitle {
    font-size: 40px;
    text-align: center;
    color: #404040;
    margin: 0px;
    padding: 0%;
  }

  .box {
    font-size: 40px;
    font-weight: bold;
    color: black;
    background: rgba(255, 255, 255, 0.7);
    /* 白＋70%不透明 */
    border: 4px solid;
    /* 太さはお好みで */
    border-image: linear-gradient(135deg, #50BAFF, #4049FF) 1;
    border-radius: 10px;
    text-align: center;
    width: 95%;
    height: 700px;
    margin-bottom: 100px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: -8px 4px;
    /* 内側の余白 */
    align-content: center;
  }

  .title1 {
    position: relative;
    top: -65px;
    /* 枠線より上に出す */
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 70px;
    background: linear-gradient(135deg, #50BAFF, #4049FF);
    /* ←グラデーション背景 */
    text-align: center;
    color: white;
    -webkit-text-stroke: 1px #000;
    /* 黒縁取り */
    font-weight: bold;
    font-size: 28px;
    text-align: center;
    border-radius: 30px;
    margin-bottom: -40px;
  }

  .midashi1 {
    align-content: center;
    text-align: center;
    font-family: 'Helvetica', 'Arial', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    font-size: 1.5rem;
    /* 文字の大きさ */
    font-weight: bold;
    /* 文字の太さ */
    color: #000;
    /* 文字色 */

    /* ボックスのスタイル */
    background-color: #ffffff;
    /* 背景色（白） */
    border: 1px solid #cccccc;
    /* 枠線 */
    border-radius: 8px;
    /* 角の丸み */
    padding: 10px 25px;
    /* 内側の余白（上下 左右） */

    /* 影（立体感を出す） */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }

  .card-content {
    height: 100%;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    /* イラストを配置する際の基準点 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }


  /* セクションの小見出し「住所」「お問い合わせ」 */
  .section-title {
    display: inline-block;
    /* 幅をテキストに合わせる */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 2.1rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    z-index: 2;
    /* イラストより手前に表示 */
    position: relative;
  }

  /* 住所セクション */
  .address-section {
    margin-bottom: 25px;
  }

  .address-section p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* グレーのマッププレースホルダー */
  .map-placeholder {
    background-color: #e0e0e0;
    width: 100%;
    height: 600px;
    /* 高さは任意で調整 */
    border-radius: 4px;
    margin-top: 15px;
  }

  /* お問い合わせセクション */
  .inquiry-header {
    display: flex;
    align-items: center;
    /* タイトルとイラストを垂直中央に */
  }

  .inquiry-body p {
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 10px 0;
  }

  /* リンクのスタイル */
  a {
    color: #007bff;
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }


  /* --- イラストの配置 --- */

  /* 歩く男性のイラスト */
  .illustration-man {
    position: absolute;
    /* 親要素(.card-content)を基準に配置 */
    top: 10px;
    right: 15px;
    width: 50px;
    /* サイズは適宜調整 */
    height: auto;
    z-index: 1;
    /* タイトルの後ろに配置 */
  }

  /* PCを使う男性のイラスト */
  .illustration-pc {
    width: 50px;
    /* サイズは適宜調整 */
    height: auto;
    margin-left: 10px;
  }
}