/*! 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;
    }
  }

body{
    padding-top: 140px;
}

.lp-header,
.lp-table,
.lp-details,
.lp-faq,
.lp-contact {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
}

.lp-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.lp-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}

.lp-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.lp-table th,
.lp-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}

.lp-table th {
  background-color: #1f2f45;
  font-weight: 600;
  color: #fff;
}

.lp-details h2,
.lp-faq h2,
.lp-contact h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 2rem;
}

.lp-plan {
  margin-top: 2rem;
  border-left: 5px solid #3498db;
  background: #f9f9f9;
  padding: 1rem 1.5rem;
  border-radius: 8px;
}

.lp-plan h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #000000;
}

.lp-plan ul {
  list-style: none;
  padding-left: 0;
}

.lp-plan li {
  margin-bottom: 0.4rem;
  padding-left: 1em;
  position: relative;
  color: #000000;
}

.lp-plan li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #27ae60;
}

.lp-plan p {
  margin-top: 0.5rem;
  color: #000000;
}

.lp-faq dl {
    background-color: #fdfdfd;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .lp-faq dt {
    font-weight: bold;
    font-size: 1.05rem;
    margin-top: 1rem;
    color: #1a3c6e;
    position: relative;
    padding-left: 1.5em;
  }
  
  .lp-faq dt::before {
    content: "Q";
    position: absolute;
    left: 0;
    color: #2980b9;
    font-weight: bold;
  }
  
  .lp-faq dd {
    margin-left: 1.5rem;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5em;
  }
  
  .lp-faq dd::before {
    content: "A";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
  }
  

.lp-contact p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #fff;
}

.btn {
  display: inline-block;
  background-color: #3498db;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #2980b9;
}



.site-footer {
    display: block;
    position: relative;
    width: 100vw;
    height: auto;
    aspect-ratio: 16 / 7;
    background: url("../images/footer-background-img.png") no-repeat top center;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: 120px;
    color: #243B55;
    }
    
    .footer-inner {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      max-width: clamp(300px, 80%, 1000px);
      margin: 0 auto;  
      gap: 2rem;
    }
    
    .footer-logo-center {
      text-align: center;
      margin-top: 30px;
    }
    
    .footer-logo-center img {
      max-width: 300px;
      height: auto;
      width: clamp(80px, 18vw, 300px);
    }
    
    .footer-info {
      flex: 1;
      min-width: 240px;
      line-height: 1.8;
      margin-top: clamp(0px, 4vw, 30px);
      font-size: clamp(7px, 1.5vw, 25px);
    }
    
    .footer-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
      margin-top: clamp(0px, 4vw, 30px);
      font-size: clamp(7px, 1.5vw, 25px);
    }
    
    .footer-nav li {
      margin-bottom: 0.8rem;
    }
    
    .footer-nav a {
      text-decoration: none;
      color: #000;
    }
    
    .footer-nav a:hover {
      text-decoration: underline;
    }


    @media (max-width: 1440px) {
      .footer-nav ul {
        font-size: 30px; 
      }
    }
    @media (max-width: 1024px) {
      .footer-nav ul {
        font-size: 18px; 
      }
    }
    @media (max-width: 768px) {
      .footer-nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
      }
    }
    @media (max-width: 426px) {
      .footer-nav ul {
        font-size: 9px; 
      }
    }    
    @media (max-width: 321px) {
      .footer-nav ul {
        margin-top: 7px;
      }
    }
    
    @media (max-width: 1024px) {
      .footer-nav  {
        transform: translateX(-60px);
      }
    }
    
    @media (max-width: 768px) {
      .footer-nav  {
        transform: translateX(-60px);
      }
    }
    
    @media (max-width: 462px) {
      .footer-nav  {
        transform: translateX(-40px);
      }
    }
    
    @media (max-width: 321px) {
      .footer-nav  {
        transform: translateX(-50px);
      }
    }
    
    
    @media (max-width: 768px) {
      .footer-nav li  {
        margin-right: 10px;
      }
    }
    
    


    @media (max-width: 1440px) {
      .footer-info {
        font-size: 30px; 
      }
    }
    @media (max-width: 1024px) {
      .footer-info {
        font-size: 18px; 
      }
    }
    @media (max-width: 768px) {
      .footer-info {
        font-size: 13px;
        margin-top: 18px; 
      }
    }
    @media (max-width: 426px) {
      .footer-info {
        font-size: 9px; 
        margin-top: 0;
      }
    }
    
    @media (max-width: 321px) {
      .footer-info {
        transform: translateX(20px);
        font-size: 7px;
      }
    }
    
    
    
    @media (max-width: 425px) {
      .footer-logo-center  {
        margin-top: 10px; 
      }
    }

    @media (max-width: 425px) {
      .site-footer  {
        margin-top: 10px; 
      }
    }
    
    
    .copyright {
      text-align: center;
      font-size: clamp(6px, 0.8vw, 12px); 
      color: #666;
      margin: 0;
    }
