/*! sanitize.css v13.0.0 | CC0 License | github.com/csstools/sanitize.css */
*,:after,:before {
    background-repeat: no-repeat;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

:after,:before {
    text-decoration: inherit;
    vertical-align: inherit
}

:where(:root) {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    cursor: default;
    line-height: 1.5;
    overflow-wrap: break-word;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4
}

:where(body) {
    margin: 0
}

:where(h1) {
    font-size: 2em;
    margin: .67em 0
}

:where(dl,ol,ul) :where(dl,ol,ul) {
    margin: 0
}

:where(hr) {
    color: inherit;
    height: 0
}

:where(nav) :where(ol,ul) {
    list-style-type: none;
    padding: 0
}

:where(pre) {
    font-family: monospace,monospace;
    font-size: 1em;
    overflow: auto
}

:where(abbr[title]) {
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

:where(b,strong) {
    font-weight: bolder
}

:where(code,kbd,samp) {
    font-family: monospace,monospace;
    font-size: 1em
}

:where(small) {
    font-size: 80%
}

:where(audio,canvas,iframe,img,svg,video) {
    vertical-align: middle
}

:where(iframe) {
    border-style: none
}

:where(svg:not([fill])) {
    fill: currentColor
}

:where(table) {
    border-collapse: collapse;
    border-color: currentColor;
    text-indent: 0
}

:where(button,input,select) {
    margin: 0
}

:where(button,[type=button i],[type=reset i],[type=submit i]) {
    appearance: button;
    -webkit-appearance: button
}

:where(fieldset) {
    border: 1px solid #a0a0a0
}

:where(progress) {
    vertical-align: baseline
}

:where(textarea) {
    margin: 0;
    resize: vertical
}

:where([type="search" i]) {
  appearance: textfield;
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-inner-spin-button,::-webkit-outer-spin-button {
    height: auto
}

::-webkit-input-placeholder {
    color: inherit;
    opacity: .54
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

:where(dialog) {
    background-color: #fff;
    border: solid;
    color: #000;
    height: -moz-fit-content;
    height: -webkit-fit-content;
    height: fit-content;
    left: 0;
    margin: auto;
    padding: 1em;
    position: absolute;
    right: 0;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content
}

:where(dialog:not([open])) {
    display: none
}

:where(details>summary:first-of-type) {
    display: list-item
}

:where([aria-busy=true i]) {
    cursor: progress
}

:where([aria-disabled=true i],[disabled]) {
    cursor: not-allowed
}

:where([aria-hidden=false i][hidden]) {
    display: initial
}

:where([aria-hidden=false i][hidden]:not(:focus)) {
    clip: rect(0,0,0,0);
    position: absolute
}


html {
    scroll-behavior: smooth;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-family: "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
  }

body {
    background-color: #243B55;
    margin: auto;
    overflow-x: hidden;
}





.top-padding{
  padding-top: 140px;

}



/* ヘッダー全体 */
.site-header {
    position: fixed;            
    top: 0;                  
    left: 0;
    width: 100%;                
    z-index: 999;            
    background-color: #243B55;  
    border-bottom: 1px solid #243B55;
    box-sizing: border-box;
  }

  .logo {
    display: flex; /* 横並びにする */
    align-items: center;
    padding-left: 20px;
  }
  
  .logo-text {
    display: none;
    color: white;
    font-size: clamp(12px, 3vw, 30px);
    margin-left: 10px;
  }
  
  @media (max-width: 1024px) {
    .logo-text {
      display: inline-block;
    }
  }


.logo img{
  width: clamp(80px, 18vw, 187px); 
  height: auto;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
  }




/* ナビメニュー */
.main-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    padding-right: 18px;
    margin: 0;
  }

.main-nav a {
    font-size: 32px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
  }
  

/* ハンバーガーボタン最初は隠す */
.menu-toggle {
  display: none;
}


/* 1024px以下で切り替え */
@media (max-width: 1024px) {

  /* ナビメニュー全体を制御する */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #243B55;
    display: none; /* 最初は隠す */
    text-align: center;
    z-index: 998; /* ヘッダーより1小さくして重ならないように */
  }

  .main-nav ul {
    display: block; /* 縦並びにする */
    padding: 1rem 0;
  }

  /* ハンバーガー出す */
  .menu-toggle {
    display: block;
    font-size: 32px;
    color: white;
    cursor: pointer;
    padding-right: 50px;
    padding-bottom: 10px;

  }

  @media (max-width: 480px) {
    .menu-toggle {
      padding-right: 30px;
    }
  }

  /* activeが付いたときだけ表示 */
  .main-nav.active {
    display: block;
  }

  .main-nav li {
    margin: 1rem 0;
  }
}





/* ここからコンタクトです */
#contact {
    color: #fff;
    padding: 6rem 1rem 0rem 1rem;
    font-family: sans-serif;
    margin: 0 auto;
    max-width: 1000px;
  }
  
  #contact h2 {
    font-size: 36px;
    margin-bottom: 2rem;
  }
  
  #contact h2 span {
    font-size: 14px;
    color: #fff;
    margin-top: 0.3rem;
  }
  
  form {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem 0 1rem;
    padding-right: 2rem; 
    box-sizing: border-box;
  }
  
  
  form label {
    font-weight: bold;
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  input[type="text"],
  input[type="email"],
  textarea,
  select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    background-color: #fefef8;
    color: #000;
    font-family: inherit;
  }
  
  textarea {
    height: 150px;
    resize: vertical;
  }
  
  input::placeholder,
  textarea::placeholder {
    color: #aaa;
  }
  
  .radio-wrapper {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    font-size: 14px;
    align-items: center;
  }
  
  .radio-wrapper label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  button[type="submit"],
  button[type="button"] {
    background-color: #3b4b5b;
    color: white;
    font-size: 18px;
    border: none;
    padding: 0.75rem 2.5rem;
    border-radius: 4px;
    margin-top: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #506579;
  }
  
  .success-message {
    color: #2ecc71;
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
  }
  
  
  @media screen and (max-width: 480px) {
    #contact {
      padding: 2rem 1rem;
    }
  
  
    form label {
      font-size: 14px;
    }
  
    input[type="text"],
    input[type="email"],
    textarea,
    select {
      width: 100%;
      padding: 1rem;
      box-sizing: border-box;
    }
  
    .radio-wrapper {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.8rem;
    }
  
    button[type="submit"],
    button[type="button"] {
      font-size: 16px;
      padding: 0.6rem 1.5rem;
      width: 100%;
    }
  
    .success-message {
      font-size: 16px;
      padding: 0.5rem 0;
    }
  }
  
  
