html {
    scroll-behavior: smooth;
}

.header {
    background-image: url("https://i.postimg.cc/G3yRbzpc/header-2.png");
    background-size: cover; /* 背景を要素全体にフィット */
    background-position: center center; /* 画像を中央配置 */
    background-repeat: no-repeat; /* 繰り返しを防ぐ */
    height: 2000px; /* 必要な高さに変更 */
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    max-height: 2000px;
    min-height: 2000px;
}

.nav-toggle {
    display: none;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
    width: 40px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
    position: relative;
  }
  
  .hamburger span {
    display: block;
    height: 20px;
    background: #333;
    border-radius: 2px;
    margin-bottom: 25px;
  }
  
  .header-nav {
    top: 60px;
    right: 10px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-left: 55%;
  }
  
  .nav-toggle:checked + .hamburger + .header-nav {
    display: block;
  }
  
  /* ナビゲーションのスタイル */
  .header-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin-top: 5%;
  }
  
  .header-nav li {
    margin-bottom: 1rem;
    font-size: 30px;
    margin-right: 40px;
  }
  
  .header-nav a {
    text-decoration: none;
    color: #000;
  }
  
  /* レスポンシブ対応 */
  @media screen and (max-width: 768px) {
    .hamburger {
      display: flex;
    }
  
    .header-nav {
      display: none;
    }
  
    .nav-toggle:checked + .hamburger + .header-nav {
      display: block;
    }
  
    .header-nav ul {
      display: block;
    }
  
    .header-nav li {
      margin-right: 0;
    }
  }

.header-main {
    text-align: center;
}

.main-img{
    text-align: center;
    margin-left: 30px;
}

.main-img img{
    width: 40%;
    height: 50%;
}

.main-name {
    display: flex;
    justify-content: center;
}

.name {
    height: 50%;  /* 自動調整でアスペクト比を維持 */
    margin: 15px;

}

.name img {
    width: 100%;
    height: 100%;
}

.profile{
    margin-top: 470px;
}

.profile-title{
    text-align: center;
    font-size: 50px;
    margin-top: 200px;
    margin-bottom: 90px;
}

.profile-about{
    display: flex;
    margin-right: 20%;
    margin-left: 20%;

}

.profile-box1{
    font-family: "Microsoft Sans Serif";
    font-size: 20px;
    margin-right: 100px;
    width: 360px;
    max-width: 360px;
    min-width: 360px;
    order: 1;
}

.profile-box2{
    font-weight: bold;
    font-family: "Microsoft Sans Serif";
    width: 350px;
    max-width: 350px;
    min-width: 350px;
    order: 2;
}

.profile-img{
    margin-top: 100px;

}

.profile-img img{
    width: 100%;
    height: 100%;
}





.job {
    background-image: url("https://i.postimg.cc/Sxt12FZH/job-4.png");
    background-color: #fffcf5;
    background-size: contain; /* 背景を要素全体にフィット */
    background-position: center center; /* 画像を中央配置 */
    background-repeat: no-repeat; /* 繰り返しを防ぐ */
    height: 100%; /* 必要な高さに変更 */

}


.job-title{
    text-align: center;
    font-size: 50px;
    padding-top: 70px;
    /* margin-top: 60px; */
    margin-bottom: 50px;
}

.job-main-txt{
    text-align: center;
    font-size: 30px;
    margin-bottom: 100px;
}

.job-about{
    margin-left: 10%;
    margin-right: 10%;
    font-size: 25px;

}

.job-box{
    display: flex;
    padding-bottom: 100px;

}

.job-box2{
    display: flex;
    padding-bottom: 100px;
    margin-left: auto; /* 右寄せ */
    justify-content: flex-end; /* 要素を右に寄せる */

}

.job-txt{
    margin-top: 300px;
    margin-left: 20px;
    width: 400px;
}

.job-txt2{
    margin-top: 350px;
    margin-left: 50px;
    width: 400px;

}

.job-txt3{
    margin-top: 280px;
    margin-left: 10px;
    width: 400px;
}

.job-txt4{
    margin-top: 375px;
    margin-right: 50px;
    width: 390px;
    font-size: 26px;
}

.job-fot-img-about{
    order: 1;
    text-align: right;

}

.job-tree-img{
    height: 100%;
    margin-top: 250px;
}

.job-tree-img2{
    height: 100%;
    margin-top: 150px;
}

.job-box img{
    width: 100%;
}

.inquiry{
    background-image: url("https://i.postimg.cc/zGJYSrFB/info-backfground-img.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 1900px;
    width: 100%;
}

.inquiry-section{
    display: flex;
}

.highlight{
    color:#f11414;
}


.info-title {
    font-size: 50px;
    color: #333;
    text-align: center;
    padding-top: 100px;
}

.inquiry-section {
    max-width: 1194px;
    margin: 20px auto;
    margin-top: 70px;
    padding: 20px;
    border-radius: 10px;
}

.inquiry-txt{
    font-size: 25px;
}

.image-container{
    margin-left: 50px;
    margin-top: 40px;
}

.info-main {
    background-color: #fdf8e2; /* 背景色 */
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: auto;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    text-align: center;
}

.tel-box {
    background-color: #fff7e0; /* 電話セクションの背景色 */
    padding: 15px;
    border-radius: 8px;
}

.tel-box h2 {
    font-size: 45px;
    margin: 0;
    font-weight: bold;
    color: #000;
}

.tel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 45px;
    font-weight: bold;
    color: #000;
    margin-top: 10px;
}

.tel-link img {
    width: 30px;
    height: 30px;
    margin-right: 40px;
}



.form-container {
    width: 60%;
    margin: 30px auto;
    background-color: #f7f0d5;
    padding: 20px;
    border-radius: 10px;

}

.section {
    border-bottom: 2px solid black;
    padding: 15px 0;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.checkbox-group label {
    display: block;
    font-weight: normal;
}

.required {
    background-color: red;
    color: white;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
}

input[type="text"], 
input[type="tel"], 
input[type="email"], 
textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #d3d3d3;
}

textarea {
    height: 200px;
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 45%;
}

button[type="submit"]:hover {
    background-color: #45a049;
}



.sns-section {
    background-image: url("https://i.postimg.cc/m27TyVxd/Frame-17.png"); /* 背景画像を適用 */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 20px;
}

.sns-text {
    font-size: 24px;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
}

.sns-icons a img {
    width: 50px; /* アイコンの大きさ */
    height: auto;
    margin: 0 10px; /* アイコンの間隔 */
    transition: transform 0.3s ease; /* ふわっと動く */
}

.sns-icons a img:hover {
    transform: scale(1.2); /* ホバー時に少し拡大 */
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #faf5e1; /* 薄いベージュ */
    color: #000;
    font-family: "Arial", sans-serif;
    font-weight: bold;
}

.footer-info {
    text-align: left;
}

.tel-link2{
    text-decoration: none;
    color: #000;
}

.footer-copy {
    margin-left: 300px;
    flex-grow: 1;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-nav a {
    text-decoration: none;
    color: black;
}

footer-nav a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1026px) {

    

    .header{
        background-image: url("https://i.postimg.cc/vZ8CxvGx/main-background-img.png");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        height: 3000px;
        max-height: none;
    }

    .hamburger {
        display: flex;
      }
    
      .header-nav {
        display: none;
        background-color: #fff;
        position: absolute;
      }
      
      #nav-toggle:checked + .hamburger {
        display: none;
      }
      .nav-toggle:checked + .hamburger + .header-nav {
        display: block;
        animation: fadeInRight 0.4s ease forwards;
      }

      
      .header-nav ul {
        display: block;
      }
    
      .header-nav li {
        margin-right: 0;
      }

    /* ヘッダーナビを縦並びにして中央寄せ */
    .header-nav ul {
      padding: 0;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 10px;
        width: 200px;
        padding: 10px;
        border: 1px solid #ccc;
    }
    .hamburger {
        display: flex;
        margin-left: 75%;
        margin-right: 5%;
        padding: 3%;
        padding-top: 10%;
        height: auto;
        width: auto;
    }
    
  
    .header-nav ul li {
        margin-right: 0;
        margin-top: 0;
    }

    .main{
        margin-top: 140px;
    }
    
    .main-img {
      margin-left: 30px;
      margin-top: 40px;
     
    }
    /* メインビジュアル画像 */
    .main-img img {
      width: 100%;
      height: 100%;
    }
  
    .main-name {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 140px;
    }
  
    .name {
      margin-bottom: 50px;
    }
  
    .name-img img {
      width: 60%;
    }
  
    /* プロフィールセクション */


    .profile{
      margin-top: 190px;
      
    }

    .profile-title{
        font-size: 70px;
        margin-top: 200px;
        margin-bottom: 0;
    }

    .profile-about {
      flex-direction: column;
      margin-left: 20%;
      margin-right: 20%;
    }
  
    .profile-box1 {
        order: 2;
        font-size: 25px;
        width: auto;
        max-width: 0;
        margin-right: 0;
        margin-left: 20%;

    }
    .profile-box2 {
      width: 90%;
      margin-bottom: 20px;
      order: 1;
      text-align: center;
      margin-left: 20%;
    }
  
    .profile-img img {
      width: 90%;
    }
  
    /* jobセクション */

    .job{
        background-image: url("https://i.postimg.cc/yYCHx9J0/job-i-Pad-Pro-11-1.png");
        background-size: cover;

    }

    .job-main-txt{
        margin-left: 25%;
        margin-right: 25%;
    }

    .job-box {
        display: inline-block;
        margin-left: 190px;

    }
    .job-box2 {
      flex-direction: column;
      width: 69%;
      margin-right: 23%;
      gap: 10px;
    }

    .job-fot-img-about{
        order: 1;
    }


    .job-fot-img img{
      width: 80%;
      height: auto;
    }

    .job-tree-img{
      width: 0;
      height: 0;
      margin: 0;
      padding: 0;
    }

    .job-tree-img2{
      width: 0;
      height: 0;
      margin: 0;
      padding: 0;
    }

    .job-tree-img img{
      display: none;
    }

    .job-tree-img2 img{
        display: none;
    }

    .job-txt,
    .job-txt2,
    .job-txt3,
    .job-txt4 {
        margin-top: 20px;
        font-size: 20px;
    }

    .job-txt{
        margin-top: 20px;

    }

    .job-txt2{
        order: 2;
        margin-bottom: 0;
        margin-left: 110px;
    }

    .job-txt4{
        order: 2;
        margin-bottom: 50px;
        margin-left: 110px;
    }
  
    /* inquiryセクションのレイアウト調整 */
    .inquiry{
        background-image: url("https://i.postimg.cc/PxBkmvSs/info-21.png");
        background-size: cover;
        width: auto;
        height: 2510px;
    }

    .inquiry-section {
      flex-direction: column;
      align-items: center;
    }

    .inquiry-txt{
      font-size: 24px;
      margin-left: 10%;
      margin-right: 10%;
    }
  
    .image-container img {
      width: 90%;
      height: auto;
      margin-top: 20px;
    }
  
    .info-main {
      width: 90%;
    }
  
    .tel-frame {
      padding: 10px;
      text-align: center;
    }
  
    .form-container {
      max-width: 80%;
    }

    button[type="submit"] {
        margin-left: 40%;
    }
  
    .sns-section {
      flex-direction: column;
      align-items: center;
      width: auto;
    }
  
    .sns-icons {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 10px;
    }
  
    .sns-icons img {
      width: 40px;
      height: 40px;
    }
  
    /* フッターも縦並びに調整 */
    .footer {
      text-align: center;
      padding: 0;
      display: inline;
      height: auto;
    }

    .footer-info{
        text-align: center;
        margin-bottom: 50px;
    }

    .footer-copy{
        margin-left: 90px;
        margin-bottom: 50px;
    }
  
    .footer-nav {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 10px;
    }

    .footer-copy{
        margin-left: 3%;
    }
  }

  @media screen and (max-width: 820px) {

   

  .job-box{
    margin-left: 20%;
    width: 70%;
  }

  .job-txt{
    width: 70%;
    font-size: 25px;
  }

  .job-txt2{
    width: 70%;
    font-size: 25px;
  }

  .job-txt3{
    width: 70%;
    font-size: 25px;
  }

  .job-txt4{
    width: 70%;
    font-size: 25px;
  }

  }

  @media screen and (max-width: 768px) {
      .header{
        height: 2717px;
      }

      .hamburger {
        margin-left: 70%;

      }

      .name-img img{
        margin-left: 0;
      }

      .profile {
        margin-top: 90px;

      }

      .profile-title{
        margin-top: 20px;
          margin-bottom: 15px;
      }


        .profile-about{
          padding: 0;
          margin-left: 13%;
        }

        .job-box{
            margin-left: 15%;
        }

        .job-box2{
            margin-left: 15%;
        }

        .job-fot-img img{
            width: 90%;
            padding: 15px;
        }
        
        .job-txt{
            margin-left: 18%;
        }

        .job-txt2{
            margin-left: 17%;

        }

        .job-txt3{
            margin-left: 15%;
        }

        .job-txt4{
            margin-left: 15%;
        }

        .inquiry-txt {
            font-size: 25px;
            margin-left: 5%;
            margin-right: 5%;
        }
        
    }

    @media screen and (max-width: 430px) {

        .header{
            height: 2380px;
        }

        .hamburger {
            margin-left: 55%;
        }

        .main-img{
            margin: 0;
            margin-left: 6%;
        }

        .profile-about{
            margin-right: 5%;
            margin-left: 7%;
        }

        .profile-box1{
            font-size: 23px;
            margin-left: 8%;
        }

        .profile-box2{
            margin-left: 8%;
        }

        .job{
            background-image: url("https://i.postimg.cc/DZWTJPdP/iphone-frame.png");
            background-size: cover;
    
        }

        .job-main-txt{
                margin-left: 12%;
                margin-right: 12%;
                text-align: left;
        }

        .job-about{
            margin-left: 5%;
            margin-right: 0;
        }

        .job-box{
            margin-left: 1%;
        }

        .job-box2{
            margin: 0;
        }

        .job-fot-img img{
            width: 120%;
        }

        .job-fot-img-about{
            width: 105%;
        }

        .job-txt{
            width: 100%;
            margin-left: 15%;
        }

        .job-txt2{
            width: 105%;
        }

        .job-txt3{
            width: 100%;
        }

        .job-txt4{
            width: 105%;
        }

        .inquiry-txt{
            font-size: 25px;
            margin-left: 5%;
            margin-right: 5%;
        }

        .info-main{
            width: 80%;
            padding: 0;
        }

        .tel-box h2{
            font-size: 25px;
        }

        .tel-link{
            font-size: 30px;
        }

    }

    @media screen and (max-width: 430px) {

        .header{
            height: 2330px;
        }

        .hamburger{
            margin-left: 65%;
        }

        .hamburger span{
            height: 10px;

        }

        .profile-about{
            margin: 0;
        }

        .profile-box1{
            margin-left: 8%;
        }

        .profile-img{
            margin-top: 35px;
        }



        .info-title{
            padding-top: 40px;
        }

        .image-container{
            margin-top: 5%;
        }

        .inquiry{
            height: 2200px;
        }

        .inquiry-txt{
            margin-left: 2%;
            margin-right: 0;
            font-size: 20px;
        }



        .tel-box h2{
            font-size: 20px;
        }

        .tel-link{
            font-size: 20px;
        }

        .sns-text{
            font-size: 20px;
        }

        button[type="submit"] {
            margin-left: 28%;
        }


    }

    @media screen and (max-width: 414px) {
        
        .inquiry-txt {
            margin-left: 5%;
            font-size: 18px;
        }


    }




    @media screen and (max-width: 412px) {
        .profile-box2 {
            margin-left: 5%;
        }

        .profile-box1{
            margin-left: 6%;
        }

        .inquiry{
            height: 2110px;
        }

        .inquiry-txt {
            margin-left: 4%;
            font-size: 17px;
        }

        .sns-text{
            font-size: 19px;
        }
    }

    @media screen and (max-width: 390px) {
        p{
            margin-right: 10%;
        }

        .inquiry{
            height: 2100px;
        }

        .inquiry-section{
            margin-top: 25px;
        }

        .sns-text{
            font-size: 12px;
            margin-left: 8%;
        }
    }

    

    @media screen and (max-width: 375px) {

        .profile-box2{
            margin-right: 2%;
            margin-left: 1%;
        }

        .inquiry-txt{
            margin-left: 13%;
        }

        p{
            margin-right: 12%;
        }

        .footer-info{
            margin-left: 10%;
        }

        .footer-copy{
            margin-left: 10%;
        }

    }

    @media screen and (max-width: 360px) {
        .profile-box1{
            width: 90%;
        }

        .profile-box2{
            margin-left: 0%;
        }

        .profile-img{
            margin-top: 80px;
        }


        p{
            margin-right: 12%;
            margin-top: 2%;
        }
    }



    