
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
  }

  a{
    color: white !important;
    text-decoration: none !important;
  }
  
  header {
    background-image: url(../img/contact.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px;
    height: 600px;
  }

  .header-content {
    position: relative;
    font-family: "Shippori Mincho B1", serif;
  }
  
  .header-text {
    position: absolute;
    top: 300px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 55px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .header-text span{
    font-size: 30px;
  }
  
  .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;  /* 追従させるためにfixedに変更 */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 2, 0.7); /* 濃いめの青 + 透明度 */
    z-index: 100;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .navigation.scroll .logo-link,.navigation.scroll .menu-link{
    color: black;
  }


  .navigation.scroll .menu-toggle .hamburger {
    background-color: #000; /* スクロール時にハンバーガーメニューアイコンの色を黒に変更 */
  }


  .logo-link {
    color: white;
    font-size: 20px;
    text-decoration: none;
    font-family: "Shippori Mincho B1", serif !important;
    font-weight: 400;
    font-style: normal;
  }
  .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .menu-item {
    margin: 0 10px;
  }
  .menu-link {
    color: white;
    text-decoration: none;
  }
  
  .logo {
    flex-grow: 1;
  }
  
  .logo-link {
    font-family: 'Your Font Name', sans-serif;
    font-size:40px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
  }
  
  .menu {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    justify-content: space-between;
    align-items: center;
  }
  
  .menu-item {
    margin-left: 80px;
  }
  
  .menu-link {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .menu-link:hover {
    color: white;
  }
  
  /* 追加のホバーエフェクト */
  
  .menu-item-hover {
    position: relative;
  }
  
  .menu-item-hover::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #ffc506;
    transition: width 0.5s ease;
    z-index: 1;
  }
  
  .menu-item-hover:hover::before {
    width: 100%;
  }
  
  .menu-item-hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #ffc506;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: -1;
  }
  
  .menu-item-hover:hover::after {
    transform: scaleX(1);
    background-color: transparent; /* 覆いかぶさる部分の背景を透明にする */
  }
  
  
/* ハンバーガーメニューのスタイル */
.menu-toggle {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.hamburger {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: background-color 0.3s;
  }

  .menu-toggle .hamburger {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: transform 0.3s, opacity 0.3s;
  }

  /* バツアイコンのスタイル */
.menu-toggle .close-icon {
    display: none;
    position: relative;
    width: 30px;
    height: 30px;
  }


.menu-toggle .close-icon::before,
.menu-toggle .close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  transition: transform 0.3s;
}

.menu-toggle .close-icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle .close-icon::after {
  transform: translateY(-50%) rotate(-45deg);
}

  
  .menu-toggle span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: background-color 0.3s;
  }
  
  .menu-toggle.active .hamburger:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .hamburger:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  @media (max-width: 1024px) {
    .header-text {
      font-size: 45px;
      width: 80%;
      top: 290px;
    }
  
    .navigation {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .menu {
      margin-top: 0;
    }
  
    .menu-item {
      margin-left: 20px;
      margin-right: 20px;
      margin-bottom: 0;
    }
  
    .menu-link {
      font-size: 16px;
    }


  .navigation.scroll .menu-link {
    color: black;
  }
  
    header {
      padding: 20px 40px;
      height: 600px;
    }
  }


  
  /* レスポンシブデザインにおけるメニューの表示スタイル */
  @media screen and (max-width: 768px) {

    header {
        padding: 10px;
        height: 400px;
    }

    .header-text {
      font-size: 30px;
      width: 90%;
      top: 200px;
    }

    .logo-link{
      font-size: 25px;
    }

    .menu {
        list-style-type: none;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #333;
        padding: 20px;
        transition: top 5s; /* トランジション時間を0.5秒に設定 */
        z-index: 2;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease; /* メニューの開閉のアニメーション */
      }

  
    .menu.active {
      top: 0;
      display: flex;
      flex-direction: column;
      max-height: 500px; /* メニューの最大の高さ */
      transition: max-height 0.5s ease; /* メニューの開く際のアニメーション */
    }
  

    .menu.closing {
        max-height: 500px; /* メニューの最大の高さ */
        transition: max-height 0.5s ease; /* メニューの閉じる際のアニメーション */
      }


.menu.closing.active {
    max-height: 0;
  }

    /* メニューの表示スタイル */

  
  .menu.active .menu-item {
    margin: 10px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 3;
  }

  
  .menu.active .menu-item:nth-child(1) {
    transition-delay: 0.1s;
  }
  
  .menu.active .menu-item:nth-child(2) {
    transition-delay: 0.2s;
  }
  
  .menu.active .menu-item:nth-child(3) {
    transition-delay: 0.3s;
  }
  
  .menu.active .menu-item:nth-child(4) {
    transition-delay: 0.4s;
  }
  
  .menu.active .menu-item:last-child {
    transition-delay: 0.5s;
  }
  
  .menu.active .menu-item {
    opacity: 1;
    transform: translateY(0);
  }
  }  
  


  



/*ヘッダーレスポンシブーーーーーーーーーーーーーーーーーー*/
@media screen and (max-width: 1024px) {
  header {
    height: 300px;
  }
  
  .header-text {
    top: 150px;
    font-size: 30px;
  }
  
  .header-text span {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  header {
    height: 200px;
  }
  
  .header-text {
    top: 100px;
    
    font-size: 30px;
  }
  
  .header-text span {
    font-size: 20px;
  }
}






@media screen and (max-width: 768px) {
  #contact h1{
    font-size: 23px;
  }
}







/*お問い合わせフォームーーーーーーーーーーーーーーーーーー*/
#contact {
  width: 100%;
  height: 100%;
}

.section-header {
  text-align: center;
  margin: 0 auto;
  padding: 40px 0;
  font-size: 3rem;
  color: black;
  text-transform: uppercase;
  letter-spacing: 6px;
}

.contact-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  max-width: 840px;
}

/* Left contact page */
.form-horizontal {
  /*float: left;*/
  max-width: 400px;
  font-family: 'Lato';
  font-weight: 400;
}

.form-control {
  
}

.form-control, 
textarea {
  max-width: 400px;
  background-color: #000;
  color: #fff;
  letter-spacing: 1px;
}



.send-button {
  margin-top: 15px;
  height: 34px;
  width: 400px;
  overflow: hidden;
  transition: all .2s ease-in-out;
}

.alt-send-button {
  width: 400px;
  height: 34px;
  transition: all .2s ease-in-out;
}

.send-text {
  display: block;
  margin-top: 10px;
  font: 700 12px 'Lato', sans-serif;
  letter-spacing: 2px;
}

.alt-send-button:hover {
  transform: translate3d(0px, -29px, 0px);
}

/* Begin Right Contact Page */
.direct-contact-container {
  max-width: 400px;
}

/* Location, Phone, Email Section */
.contact-list {
  list-style-type: none;
  margin-left: -30px;
  padding-right: 20px;
}

.list-item {
  line-height: 4;
  color: #aaa !important;
}

.contact-text {
  font: 300 18px 'Lato', sans-serif;
  letter-spacing: 1.9px;
  color: #bbb !important;
}

.place {
  margin-left: 62px;
}

.phone {
  margin-left: 56px;
}

.gmail {
  margin-left: 53px;
}

.contact-text a {
  color: #bbb !important;
  text-decoration: none;
  transition-duration: 0.2s;
}

.contact-text a:hover {
  color: #fff;
  text-decoration: none;
}


/* Social Media Icons */
.social-media-list {
  position: relative;
  font-size: 22px;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.social-media-list li a {
  color: #fff;
}

.social-media-list li {
  position: relative; 
  display: inline-block;
  height: 60px;
  width: 60px;
  margin: 10px 3px;
  line-height: 60px;
  border-radius: 50%;
  color: #fff;
  background-color: rgb(1, 6, 1);
  cursor: pointer; 
  transition: all .2s ease-in-out;
}

.social-media-list li:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 0 1px #fff;
  transition: all .2s ease-in-out;
}

.social-media-list li:hover {
  background-color: #fff; 
}


.social-media-list li:hover:after {
  opacity: 1;  
  transform: scale(1.12);
  transition-timing-function: cubic-bezier(0.37,0.74,0.15,1.65);
}

.social-media-list li:hover a {
  color: #000;
}

.copyright {
  font: 200 14px 'Oswald', sans-serif;
  color: #555;
  letter-spacing: 1px;
  text-align: center;
}

hr {
  border-color: rgba(255,255,255,.6);
}


.social-media-list li:nth-child(1):hover {
  background-color: #00B900;/* ホバー時の色を指定します（例: 赤色） */
}

.social-media-list li:nth-child(2):hover {
  background-color: #cf2e92; /* ホバー時の色を指定します（例: 緑色） */
}

.social-media-list li:nth-child(3):hover {
  background-color: #1DA1F2; /* ホバー時の色を指定します（例: 青色） */
}

.social-media-list li:nth-child(4):hover {
  background-color: #1877f2; /* ホバー時の色を指定します（例: 黄色） */
}


.social-media-list li:nth-child(1):hover a {
  color: white; /* ホバー時のアイコンの色を指定します（例: 白色） */
}


.social-media-list li:nth-child(2):hover a {
  color: white; /* ホバー時のアイコンの色を指定します（例: 白色） */
}

.social-media-list li:nth-child(3):hover a {
  color: white; /* ホバー時のアイコンの色を指定します（例: 白色） */
}

.social-media-list li:nth-child(4):hover a {
  color: white; /* ホバー時のアイコンの色を指定します（例: 白色） */
}


/* Begin Media Queries*/
@media screen and (max-width: 1024px) {
  .contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    max-width: 960px;
  }

  .form-horizontal {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .send-button {
    width: 100%;
  }

  .direct-contact-container {
    margin-top: 30px;
    max-width: 100%;
  }

  .list-item {
    line-height: 2.5;
  }

  .place,
  .phone,
  .gmail {
    margin-left: 0;
    text-align: center;
  }

  .social-media-list li {
    height: 40px;
    width: 40px;
    line-height: 40px;
    margin: 5px;
  }
  .social-media-list li:after {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
}




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

  .section-header{
    font-size: 40px;
  }

  .contact-wrapper {
    display: block;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    max-width: 540px;
  }

  .direct-contact-container, .form-wrapper {
    float: none;
    margin: 0 auto;
  }  
  .form-control, textarea {
    margin: 0 auto;
  }
 
  
  .name, .email, textarea {
    width: 280px;
  } 
  
  .direct-contact-container {
    margin-top: 60px;
    max-width: 280px;
  }  
  .social-media-list {
    left: 0;
  }
  .social-media-list li {
    height: 55px;
    width: 55px;
    line-height: 55px;
    font-size: 2rem;
  }
  .social-media-list li:after {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }

  .alt-send-button{
    width: 100%;
  }

  .contact-list{
    margin-left: 0px;
  }

  .contact-list span{
    padding-left: 50px;
}
}

.footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  margin-top: 30px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer p {
  flex: 1 0 100%;
  margin-top: 30px;
}

.footer-links {
  flex: 1 0 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.footer-links li {
  margin: 0 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #aaa;
}




