/* landing_page.css */
/*! 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;
    }
  }
.top-padding {
    padding-top: clamp(75px, 15vw, 140px);
  }
  .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;
  }

/* トップページに戻るボタン */
.back-to-top {
    text-align: left;
    margin-bottom: 30px;
    width: 80%;
    margin: 0 auto;
  }
  
  .back-to-top a {
    display: inline-block;
    width: 100%; /* ← ここ100%に変更 */
    margin: 0 auto;
    font-size: clamp(12px, 2vw, 20px);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    position: relative;
  }
  
  .back-to-top a::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 6%;
    bottom: 0;
    height: 1px;
    background-color: #fff;
  }
  
  
  

  .breadcrumb {
    list-style: none; /* ←黒丸（リストマーク）を消す！ */
    padding: 0;
    margin: 0;
  }






/* ホームページ制作ヘッダー */
.home-production-header {
    text-align: center;
    width: 80%;
    margin: 0 auto;
    font-size: clamp(12px, 2vw, 20px);
    color: #fff;
    text-decoration: none;
    padding: 50px 20px 60px;
    position: relative; /* 疑似要素を使うために必要 */
  }
  
  .home-production-header::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 6%;
    bottom: 0;
    height: 1px;
    background-color: #fff;
  }
  .home-production-header .section-title {
    font-size: clamp(24px, 5vw, 48px);
    color: #fff;
    animation: fadeUp 1s ease-out;
  }
  
  .home-production-header .section-description {
    font-size: clamp(14px, 3vw, 24px);
    color: #fff;
    line-height: 1.6;
    animation: fadeUp 1s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
    text-align: center;
    align-items: center;
  }
  
  /* アニメーションキーフレーム */
  @keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .home-production-header h1 {
    animation: fadeUp 1s ease-out;
  }
  
  .home-production-header .section-description {
    animation: fadeUp 1s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
  }
  

/* Q&Aセクション全体 */
.qa-section {
    padding: 150px 20px 0;
    width: 80%;
    margin: 0 auto;
  }
  
  /* タイトル */
  .qa-title {
    color: #fff;
    text-align: center;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: bold;
    margin-bottom: 60px;
  }
  
  /* Q&Aリスト全体 */
  .qa-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  /* 各Q&Aアイテム */
  .qa-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  }
  
  /* 質問部分 */
  .qa-question {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
    color: #333;
  }
  
  .qa-question-text {
    display: inline-block;
    position: relative;
  }
  
  .qa-question-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* 少し下にずらす */
    width: 100%;
    height: 1px;
    background-color: #333; /* ボーダーの色（濃いグレーにしてるけど好きな色に変えてOK） */
  }

  /* Qラベル */
  .qa-label {

    font-size: 1.5rem;
    color: #44c0e0; /* 水色 */
  }
  
  /* 回答部分 */
  .qa-answer {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    position: relative;
    padding-left: 40px;
  }
  
  /* Aラベル */
  .qa-label-answer {
    font-size: 1.5rem;
    color: #f44336; /* 赤色 */
  }

  
  /* スマホ対応 */
  @media (max-width: 600px) {
    .qa-section {
      width: 100%;
    }
  
    .qa-item {
      padding: 20px 15px;
      width: 90%;
      margin: 0 auto;
    }
  }

    @media (max-width: 426px) {
    .qa-section {
      padding: 2rem 1rem 0rem;
    }
  }



  @media (max-width: 426px) {
    .qa-question,
    .qa-answer {
      padding-left: 3px; /* 左側余白をなくす */
      padding-right: 3px; /* もし右側にも余白があったら念のためリセット */
    }
    .qa-answer br {
        display: none;
    }
    .qa-question{
        display: flex;
    }
    .qa-label {
        padding-right: 3px;
    }
  }

 

    /* 次は値段サービスです */

  /* プラン一覧（plan） */
  .home-production-plan {
    margin: 0;
    padding-top: 100px;
  }
  .plan-header {
    background: #3260A5; /* 深い青 (#243B55) に近い */
    padding: 0.1rem 1rem;
    margin: 0;
    text-align: center;
    font-style: Inter;
  }
  .plan-header h2{
    margin: 0;
  }
  
  .home-production-plan h2 {
    font-size: clamp(24px, 5vw, 36px);
    color: #ffffff;
  }
  
  .plan-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .plan-content img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
  }
  
  
  
  
  
  /* プラン詳細（plan-detail） */
  /* プラン全体 */
  .plan-wrapper {
    background: #243B55;
    padding: 3rem 1rem;
    color: #fff;
    border-radius: 12px;
  }
  
  /* プランタイトル */
  .plan-title {
    font-size: clamp(20px, 4vw, 28px);
    display: flex;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 2rem;
  }
  
  .plan-title .bar {
    display: inline-block;
    width: 10px;
    height: 30px;
    background: #44c0e0; /* 水色 */
    margin-right: 1rem;
  }
  
  /* プラン表 */
  .plan-table {
    display: table;
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
    margin-bottom: 2rem;
  }
  
  .plan-row {
    display: table-row;
  }
  
  .plan-cell {
    display: table-cell;
    padding: 1.5rem;
    border: 1px solid #fff;
    text-align: center;
    vertical-align: middle;
    font-size: clamp(14px, 3vw, 18px);
    background: #fff;
    color: #000;
  }
  
  .plan-row.header{
    font-weight: bold;
    background: #fff;
    color: #000;
  }
  
  .plan-cell.label {
    background: #004AAD; /* 左側だけ青背景 */
    color: #fff;
    font-weight: bold;
  }
  
  /* 注意書き */
  .plan-note {
    font-size: clamp(12px, 2.5vw, 16px);
    color: #fff;
    line-height: 1.8;
    text-align: left;
    width: 80%;
    margin: 0 auto;
  }
  .plan-note a{
    color: #fff;
  }
  
  @media (max-width: 426px) {
    /* スマホでは縦並びに */
    .plan-table {
      display: block;
    }
  
    .plan-row {
      display: block;
      margin-bottom: 2rem;
    }
  
    .plan-cell {
      display: block;
      width: 100%;
      border: 1px solid #fff;
      text-align: left;
      padding: 1rem;
    }
  
    .plan-cell.label {
      color: #fff;
      font-weight: bold;
    }
  
    .plan-wrapper{
      padding-left: 0;
      padding-right: 15px;
    }
  }
  
  @media (max-width: 426px) {
    /* 2個目以降に番号つける */
    .plan-row .plan-cell:nth-child(2)::before {
      content: "① ";
      font-weight: bold;
      margin-right: 0.5rem;
    }
  
    .plan-row .plan-cell:nth-child(3)::before {
      content: "② ";
      font-weight: bold;
      margin-right: 0.5rem;
    }
  
    .plan-row .plan-cell:nth-child(4)::before {
      content: "③ ";
      font-weight: bold;
      margin-right: 0.5rem;
    }
  
    /* スマホではbrを消す */
    .plan-row .plan-cell br {
      display: none;
    }
  }
  
  @media (max-width: 426px) {
    .home-production-plan {
      padding: 2rem 1rem 0rem;
    }
  }


  

/* サービスの流れセクション全体 */
.home-production-flow {
    background: #e5e5e5;
    margin-top: 150px;
  }
  
  .home-production-flow h2 {
    font-size: clamp(24px, 5vw, 36px);
    background: #fff;
    color: #243B55;
    margin-bottom: 4rem;
    padding: 1rem 0;
    font-weight: bold;
    text-align: center;
  }
  
  /* 各STEP */
  .flow-steps {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 150px;
  }
  
  .flow-step {
    background: #ffffff;
    display: flex;
    justify-content: center;
    flex-direction: row; 
    align-items: stretch;
    align-items: center;
    margin-bottom: 3rem;
    border: 1px solid #ccc;
    gap: 1rem;
  }
  
  
  
  .flow-step-number {
    display: flex; /* ←絶対必要！flexにする */
    background: #243B55;
    color: #ffffff;
    font-weight: bold;
    font-size: clamp(14px, 3vw, 18px);
    padding: 10rem 1rem;
    text-align: center;
    min-width: 100px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* ←これを必ず追加！！！ */
  }
  
  
  .flow-step-number span {
    display: block;
    font-weight: bold;
    font-size: clamp(16px, 4vw, 24px);
    line-height: 1.4;
    box-sizing: border-box; /* ←これを必ず追加！！！ */
    height: 100%;
  }
  
  .flow-step-content {
    flex: 2;
    text-align: left;
  }
  
  .flow-step-content h3 {
    font-size: clamp(18px, 4vw, 24px);
    margin-bottom: 1rem;
    color: #243B55;
  }
  
  .flow-step-content p {
    font-size: clamp(14px, 3vw, 18px);
    color: #333;
    line-height: 1.8;
  }
  
  .flow-step-image {
    flex: 1;
    text-align: center;
  }
  
  .flow-step-image img {
    width: clamp(70px, 18vw, 150px);
    height: auto;
  
  }
  @media (max-width: 426px) {
    .flow-step {
      flex-direction: column;
      align-items: stretch;
      text-align: center;
      gap: 0.2rem; /* ← gapをさらに小さく！（今0.5rem → 0.2remに） */
      margin-bottom: 1.5rem; /* ← ステップ間の余白もさらに縮める */
      padding-bottom: 30px;
    }
  
    .flow-step-number {
      width: 100%;
      min-width: auto;
      padding: 0.3rem 0; /* ←番号部分もさらに上下padding少なく */
      font-size: clamp(14px, 5vw, 18px);
      box-sizing: border-box;
    }
  
    .flow-step-content {
      text-align: center;
      padding: 0.3rem 0.5rem 0; /* ←本文もpaddingをさらに詰める */
      margin: 5px 0 0 0 ; /* ← marginもゼロにして詰める */
    }
    .flow-step-content h3{
      text-align: center;
      margin: 0; /* ← marginもゼロにして詰める */
    }
  
    .flow-step-image {
      text-align: center;
    }
  
    .flow-step-image img {
      max-width: 100px; /* ←画像自体も少し小さめにしてバランスを取る */
    }
  }
  
  @media (max-width: 426px) {
    .flow-step-content br {
      display: none; /* ← これでbrを消せる！ */
    }
  }
  
  @media (max-width: 426px) {
    .flow-step-number {
      flex-direction: row; /* ←スマホだけ横並び！ */
      gap: 0.5rem; /* ←間も開ける */
    }
  
    .flow-step-number br {
      display: none; /* ←brはスマホだけ消す！ */
    }
  }

  @media (max-width: 426px) {
    .home-production-flow {
      padding: 2rem 1rem 0rem;
      margin: 0;
    }
  }
  @media (max-width: 426px) {
    .flow-steps {
      padding: 0rem 0rem 2rem;
    }
  }
  

  /* ここからフッターです */



.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;
    }