  /*! 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;
    }
  }
  
  

  
  .hero {
    display: block;
    position: relative;
    width: 100vw;
    height: auto;
    aspect-ratio: 16 / 7;
    background: url("../images/site-main-visual.png")no-repeat top center;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    
  }

  @media (max-width: 768px) {
    .hero {
      background-size: 99% 100%; /* ←横を150%、縦は自動！ */
      height: 450px;
      background-position: center top; /* ←位置も中央上寄せが自然 */
    }
  }
  @media (max-width: 426px) {
    .hero {
      background-size: 99% 90%; /* ←横を150%、縦は自動！ */
      height: 300px;
      background-position: center top; /* ←位置も中央上寄せが自然 */
    }
    .top-padding{
      padding-top: 100px;
    }
  }
  
  



  
 /* SEO対応：視覚的に非表示だがHTML上に残る */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.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;
  }
}





/* ここからコンセプト */


.concept {
  display: block;
  position: relative;
  width: 100vw;
  height: auto;
  aspect-ratio: 16 / 7;
  background: url("../images/concept-background-img.png") no-repeat top center;
  background-size: contain;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-top: 100px;
  color: #243B55;
}

.concept-inner {
  max-width: 1050px;
  margin: 0 auto; 
}

.concept-top {
  font-size: 35px;
  margin: 20px 0px;
  text-align: left; 
}

.concept h2 span {
  font-size: 20px;
}

.full-width {
  font-size: 20px; 
  white-space: nowrap;
  transform: scale(1);
  transform-origin: center;
  text-align: left; 
}

.middle-width{
  font-size: 20px; 
  transform: scale(1);
  transform-origin: center;
  text-align: left; 
}



.small-width{
  font-size: 20px; 
  transform: scale(1);
  transform-origin: center;
  text-align: left;

}


.concept-text {
  margin: 40px 0px;
}


@media (max-width: 768px) {
  .concept {
    margin-top: 70px;
  }
}

@media (max-width: 480px) {
  .concept {
    margin-top: 3rem;
  }
}



@media (max-width: 1224px) {
  .concept-text {
    font-size: 20px;
    margin: 20px 0px;
  }
}

@media (max-width: 1024px) {
  .concept-text {
    font-size: 17px;
    margin: 20px 0px;
  }
}

@media (max-width: 768px) {
  .concept-text {
    font-size: 13px;
    margin: 15px 0px;
  }
}

@media (max-width: 560px) {
  .concept-text {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .concept-text {
    font-size: 9px;
    margin: 5px 0px;
  }
}

@media (max-width: 400px) {
  .concept-text {
    font-size: 8px;
  }
}

@media screen and (max-width: 480px) {
  .br-sp {
    display: none;
  }
}

@media (max-width: 1224px) {
  .concept-top{
    font-size: 30px;
    margin: 5px 0px;
  }
}

@media (max-width: 1024px) {
  .concept-top{
    font-size: 25px;
    margin: 5px 0px;
  }
}

@media (max-width: 768px) {
  .concept-top{
    font-size: 20px;
    margin: 5px 0px;
  }
}

@media (max-width: 480px) {
  .concept-top{
    font-size: 18px;
    margin: 5px 0px;
  }
}

@media (max-width: 400px) {
  .concept-top{
    font-size: 16px;
  }
}


@media (max-width: 1024px) {
  .concept h2 span{
    font-size: 18px;
    margin: 5px 0px;
  }
}

@media (max-width: 768px) {
  .concept h2 span{
    font-size: 16px;
    margin: 5px 0px;
  }
}


@media (max-width: 400px) {
  .concept h2 span{
    font-size: 16px;
  }
}



@media (max-width: 1224px) {
  .concept-inner {
    max-width: 850px;
    margin: 0 auto; 
  }
}

@media (max-width: 1024px) {
  .concept-inner {
    max-width: 720px;
    margin: 0 auto; 
  }
}

@media (max-width: 768px) {
  .concept-inner {
    max-width: 550px;
    margin: 0 auto; 
  }
}

@media (max-width: 560px) {
  .concept-inner {
    max-width: 400px;
    margin: 0 auto; 
  }
}

@media (max-width: 480px) {
  .concept-inner {
    max-width: 350px;
    margin: 0 auto; 
  }
}

@media (max-width: 400px) {
  .concept-inner {
    max-width: 260px;
    margin: 0 auto; 
  }
}

/* アニメーション基本 */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延パターン */
.delay-0 {
  transition-delay: 0s;
}
.delay-1 {
  transition-delay: 0.3s;
}
.delay-2 {
  transition-delay: 0.6s;
}
.delay-3 {
  transition-delay: 0.9s;
}







/* ここからよくある質問 */

/* 全体にbox-sizingを適用 */
*, *::before, *::after {
  box-sizing: border-box;
}

/* よくある質問セクション */
#problems {
  margin: 0px auto 0;
  max-width: 1000px;
  padding-top: 6rem;
}

/* タイトル */
#problems h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 1.5rem;
}

#problems h2 span {
  font-size: 12px;
  margin-top: 0.5rem;
}

/* グリッド */
.faq-grid {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 各項目 */
.faq-item {
  background: #fff;
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.faq-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

/* スマホ対応（426px以下） */
@media (max-width: 426px) {
  #problems {
    padding: 2rem 1rem 2rem 1rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    padding: 0; /* paddingでのはみ出し防止 */
  }

  #problems h2 {
    font-size: 24px;
  }
}




/* ここからサービスです */

#services {
  padding: 8rem 1rem;
  margin: 0px auto 0;
  max-width: 1000px;
}

#services h2 {
  font-size: 36px;
  margin-bottom: 2rem;
  max-width: 1000px;
  color: #fff;
}

#services h2 span {
  font-size: 14px;
  color: #fff;
  margin-top: 0.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background-color: #243B55;
  color: white;
  border: 2px solid white;
  padding: 2rem 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 4px;
  transition: 0.3s ease;
}

.service-card:hover {
  background-color: #2C4A6C;
  transform: translateY(-4px);
}

.service-card img {
  width: 48px;
  height: 48px;
}

.service-card span {
  font-size: 16px;
  font-weight: bold;
}

@media (max-width: 745px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  #services {
    padding: 2rem 1rem 2rem 1rem;
  }
}









/* ここからお知らせです */


#news {
  padding: 5.3rem 1rem 0rem 1rem;
  max-width: 1000px;
  margin: 0px auto 0;
  color: #fff;
}

#news h2 {
  font-size: 36px;
  margin-bottom: 2rem;
}

#news h2 span {
  font-size: 14px;
  color: #fff;
}

/* お知らせリスト */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item {
  border-top: 1px solid #fff;
  padding: 1.2rem 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.news-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap; /* モバイルで崩れないように */
}

.news-header h3 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.news-date {
  font-size: 14px;
  color: #c2c2c2;
  margin: 0;
}


/* 最後にもボーダー */
.news-item:last-child {
  border-bottom: 1px solid #fff;
}

/* スマホ対応 */
@media (max-width: 768px) {
  #news h2 {
    font-size: 28px;
  }


  .news-item {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  #news {
    padding: 2rem 1rem 2rem 1rem;
  }
}








/* ここからフッターです */



.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;
    }