/*
Theme Name: My Theme
Theme URI: 
Author: Your Name
Author URI: 
Description: A simple and clean WordPress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-theme
*/

/* Reset CSS */
body {
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    color: white;
    text-align: center;
}
header, main {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}
.logo-container img, .scroll-indicator img {
    max-width: 100%;
    height: auto;
}
p {
    padding: 10%;
    color: white !important;
}
main > div {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    color: white !important;
    text-align: center;
}
main > div.active {
    display: block;
}
.background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    pointer-events: none;
}
.nav-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}
.nav-button {
    width: 10px;
    height: 10px;
    border: 1px solid white;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
}
.nav-button.active {
    background-color: white;
}
/* 全体のフォームボックス */
.contact_f {
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
  }
  .contact_f p{    padding: 0 20px 0 20px !important;
}      
  /* ラベルと入力欄のスタイル */
  .contact_f label {
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 14px;
  }
  
  .contact_f input[type="text"],
  .contact_f input[type="email"],
  .contact_f textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: rgba(255,255,255,0.9);
    color: #000;
    box-sizing: border-box;
    margin-top: 6px;
    transition: all 0.3s ease;
  }
  
  .contact_f textarea {
    height: 180px;
    resize: vertical;
  }
  
  .contact_f input:focus,
  .contact_f textarea:focus {
    outline: none;
    border-color: #00ffd5;
    box-shadow: 0 0 8px rgba(0, 255, 213, 0.6);
  }
  
  /* 送信ボタン */
  .contact_f input[type="submit"] {
    background-color: #8dd58a;
    color: #ffffff;
    padding: 12px 120px;
    border: none;
    border-radius: 8px;
    font-size: 19px;
    /* font-weight: bold; */
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
    transition: background-color 0.3s ease;
  }
  
  .contact_f input[type="submit"]:hover {
    background-color: #00c4a3;
  }
  
  /* Contact Form 7 送信後のメッセージ表示 */
  div.wpcf7-response-output {
    margin: 1em 10.5em 1em !important;
    padding: 2.2em 1em !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    
  }
  
  /* 成功メッセージ */
  div.wpcf7-mail-sent-ok {
    background-color: #28a745;
  }
  
  /* 失敗メッセージ */
  div.wpcf7-mail-sent-ng,
  div.wpcf7-spam-blocked,
  div.wpcf7-validation-errors {
    background-color: #dc3545;
  }
  
  /* 入力エラー */
  span.wpcf7-not-valid-tip {
    display: block;
    margin-top: 5px;
    color: #ffc107;
    font-size: 13px;
  }