body {
    font-family: "Noto Sans JP", Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333333;
}
*{
    box-sizing: border-box;
}

h1 {
    text-align: center;
    color: #333;
    margin: 12px auto;
}
h3 {
    text-align: left;
    font-size: 22px;
    border-bottom: 3px solid #e866a2;
    padding: 0 0 8px;
    text-decoration-thickness: 3px;
}
a{
    color: #e866a2;
}
@media screen and (max-width: 768px) {
    .br-pc{ display: none; }
    h1{ font-size: 24px; }
    h2{ font-size: 18px; }
}



/* header */
.charalog_Header{
    width: 100%;
    padding: 12px;
    text-align: center;
    margin-bottom: 24px;
}
.charalog_Header a{
    text-decoration: none;
    display: inline-block;
}
.charalog_Header img{
    max-width: 166px;
}



/* footer */
.charalog_footer{
    background: #202020;
    padding: 6px 0;
    color: #fff;
    font-size: 12px;
    text-align: center;
}



/* FAQ */
/* Q&Aバッジ付きアコーディオン */
.faqForm_container {
    max-width: 800px;
    margin: 0 auto 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    border: 1px solid #ededed;
    padding: 20px 30px;
    text-align: center;
}
@media screen and (max-width: 768px) {
    .faqForm_container {
        width: 90%;
        padding: 20px 16px;
    }
}



/* ---- Q: 見出し（dt） ---- */
dt {
    position: relative;
    margin: 0;
    padding: 8px 28px 8px 48px; /* 右: 矢印分 / 左: Qバッジ分 */
    line-height: 1.5;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    text-align: left;
    transition: .3s ease;
  }
  
  @media (hover: hover) {
    dt:hover{ padding-left: 58px; background: #fff6fa; }
    dt.active:hover{ padding-left: 48px; background: transparent; }
  }

  
  /* Qバッジ */
  dt::before {
    content: 'Q';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e866a2; /* ピンク */
    color: #fff;
    font-weight: 700;
    font-size: 0.9em;
    line-height: 32px;
    text-align: center;
  }
  
  /* ＞アイコン（開閉で回転） */
  dt::after {
    content: '›'; /* ＞っぽい矢印 */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: center;
    font-size: 1.6em;
    transition: transform .3s ease;
  }
  dt.active::after {
    transform: translateY(-50%) rotate(90deg); /* 開いたら下向き */
  }
  
  /* キーボードフォーカス視認性（必要なら調整） */
  dt:focus-visible {
    outline: 2px solid #45bfe5;
    outline-offset: 2px;
  }
  
  /* ---- A: 本文（dd）高さアニメ＋フェード（A案） ---- */
  dd {
    position: relative;            /* Aバッジの基準 */
    margin: 0 0 15px 0;
    padding: 0;                    /* 余白は内側ラッパーで付与 */
    overflow: hidden;              /* はみ出し隠し */
    height: 0;                     /* 初期は閉じる */
    opacity: 0;                    /* フェード */
    transition: height .25s ease, opacity .2s ease;
    will-change: height, opacity;
    text-align: left;
  }
  
  /* 開いた状態（JSが .is-open を付与） */
  dd.is-open {
    opacity: 1;
  }
  
  /* 内側余白（閉時に余白を残さない） */
  dd > .dd__inner {
    font-size: 14px;
    background: #eff7fa;
    line-height: 1.7em;
    padding: 16px 12px 16px 48px;        /* 左48pxでQと行頭を揃える */
  }
  
  /* Aバッジ */
  dd::before {
    content: 'A';
    position: absolute;
    left: 12px;
    top: 12px;
    color: #45bfe5;       /* テキストカラーのみ */
    font-weight: 700;
    font-size: 1.2em;
  }
  
  /* 低速環境向け */
  @media (prefers-reduced-motion: reduce) {
    dd { transition: none; }
  }
  



/* お問い合わせフォームへの遷移ボタン */
.contact-btn {
    display: inline-block;
    margin: 30px auto 0;
    padding: 12px 36px;
    background-color: #e866a2;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.contact-btn:hover {
    opacity: .6;
}



/* step */
.contact_step_section {
    padding: 20px 0 0;
    text-align: center;
}
  
.step_inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}
  
.step_list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
  
.step_item {
    flex: 1;
    position: relative;
    z-index: 2;
}
  
.step_item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -50%;
    width: 100%;
    height: 4px;
    background: #ccc;
    z-index: 1;
}
  
.step_circle {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    line-height: 48px;
    z-index: 2;
    position: relative;
}
  
.step_label {
    margin-top: 8px;
    font-size: 14px;
    color: #444;
    font-weight: bold;
}
  
  /* アクティブ（現在のステップ） */
.step_item.active .step_circle {
    background: #e96297;
}
.step_item.active .step_label {
    color: #e96297;
}
.step_item.active::after{
    background: #e96297;
}
  
/* PC */
@media (min-width: 769px) {
    .step_item:not(:last-child)::after {
      right: -50%;
    }
}
  
/* SP */
@media (max-width: 768px) {
    .step_list {
      gap: 24px;
    }
}




/* form */
form {
    text-align: left;
}

.important{
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin: 20px auto;
    background-color: #f9f9f9;
    box-sizing: border-box;
    font-size: 14px;
}
.important h2{
    margin: 0 auto 12px;
    font-size: 20px;
    text-align: center;
}
.important p{
    margin-top: 0;
}
@media (max-width: 768px) {
    .important h2{ font-size: 18px; }
}




.formarea{
    font-weight: 600;
    margin: 24px auto;
    padding: 0 0 24px;
    border-bottom: 1px dashed #ccc;
}
.formarea small{
    font-weight: 400;
    font-size: 12px;
}


/* 確認ページのラベル */
.formarea_confirm__label{
    border-bottom: 1px dashed #ccc;
}

.formarea_confirm__label::before {
    content: attr(data-label);
    flex-shrink: 0;
    width: 200px; /* ラベル幅（調整可） */
    font-weight: 600;
    color: #333;
}


/* フォームラベルと入力欄を横並びに（PCのみ） */
@media screen and (min-width: 769px) {
    .formarea {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .formarea__label {
        width: 200px; /* ←ここで左カラムの固定幅を設定（調整可） */
        flex-shrink: 0; /* 縮まないように固定 */
    }    

    .formarea input {
      flex: 1;
      margin-bottom: 0; /* デフォルトの下余白を消す */
    }


    /* 確認ページのラベル */
    .formarea_confirm__label {
        display: flex;
        align-items: flex-start; /* 内容の高さが違う場合も上揃え */
        gap: 24px; /* ラベルと値の間隔 */
        margin: 24px auto;
        padding: 0 0 24px;
      }
    
      /* 本文中の改行を自然に折り返すように */
      .formarea_confirm__label span {
        flex: 1;
        word-break: break-word;
      }
}

@media screen and (max-width: 768px) {
    .formarea{
        margin: 16px auto;
        padding: 0 0 16px;
    }
    .formarea__label{
        display: block;
        margin-bottom: 8px;
    }

    .formarea_confirm__label{
        padding: 0 0 12px;
    }
    .formarea_confirm__label::before {
        display: block;
        width: 100%;
        margin-bottom: 6px;
    }
}


input,textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}
@media screen and (max-width: 768px){
    select[name="type"]{
      width: 100%;
      appearance: none;
      -webkit-appearance: none;
      background-color: #fff;
      /* 矢印アイコン（スマホのみ表示） */
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
      background-repeat: no-repeat;
      background-size: 14px 14px;
      background-position: right 12px center;
      padding: 14px 48px 14px 12px; /* タップしやすく余白多め */
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 16px; /* iOSズーム防止 */
      line-height: 1.4;
      color: #222;
      transition: border-color .2s ease, box-shadow .2s ease;
    }
  
    /* 未選択状態を薄色表示（"選択してください" の時） */
    select[name="type"]:required:invalid{
      color: #888;
    }
  
    /* フォーカスリング（ブランドピンク） */
    select[name="type"]:focus{
      border-color: #e866a2;
      box-shadow: 0 0 0 3px rgba(232,102,162,.2);
      outline: none;
    }
  
    /* 無効状態（念のため） */
    select[name="type"]:disabled{
      background-color: #f5f5f5;
      color: #888;
      border-color: #ddd;
    }
  
    /* iOSなどで表示される旧▼を非表示 */
    select[name="type"]::-ms-expand{
      display:none;
    }


}



/*
.kasuhara-box {
    max-height: 200px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.kasuhara-box h3 {
    margin-top: 0;
    font-size: 1.1em;
    color: #333;
}

.kasuhara-box ul {
    margin-left: 20px;
    list-style-type: disc;
}

.complete-box {
    max-width: 600px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}*/

.harassment_text{
  text-align: left;
}
ul.harassment_list{
  padding-left: 1.2rem;
  font-size: 14px;
  margin: 0 auto 24px;
}


.notice-red {
    margin: 36px 0 0;
    font-size: 14px;
    color: red;
}


.button_cont{
    margin-top: 24px;
    text-align: center;
}
button.formbtn {
    width: 200px;
    background: #e866a2;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button.formbtn.backbtn{
    background: #fff;
    border: 1px solid #e866a2;
    color: #e866a2;
}

button.formbtn:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}
button.formbtn:not(:disabled):hover {
    opacity: 0.8;
}
button.formbtn.backbtn:not(:disabled):hover {
    opacity: 0.4;
}

@media screen and (max-width: 768px) {
    button.formbtn {
        margin-bottom: 8px;
    }
}



.error {
    color: red;
}


/* 必須マーク */
.required {
    display: inline-block;
    background-color: #d40000; /* 赤系 */
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}


/* チェックボックスとテキストの配置 */
.check-box {
    border-top: 1px dashed #ccc;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    line-height: 1.5;
  }
  
  /* スマホでも押しやすい大きめチェックボックス */
  .check-box input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #e866a2;
    cursor: pointer;
  }

  
  .check-box a:hover {
    text-decoration: none;
  }
  
  /* PC時のみちょっとだけ余裕をもたせる */
  @media screen and (min-width: 769px) {
    .check-box {
      gap: 10px;
      font-size: 16px;
    }
  }
  


/* completed */
body#completed{
    min-height: 100vh;     /* 古い端末フォールバック */
    min-height: 100svh;    /* iOS/Androidの動的バー対策 */
    min-height: 100dvh;    /* 最新ブラウザ */
    display: flex;
    flex-direction: column;
  }
  
  body#completed .charalog_footer{
    /* 位置指定をやめる */
    position: static;
    width: 100%;
    margin-top: auto; /* コンテンツが少ない時だけ最下部へ張り付く“スティッキーフッター” */
    z-index: auto;
  }
  
  body#completed .faqForm_container{
    width: clamp(320px, 92vw, 800px);
    margin-inline: auto;
    padding: 16px;
  }
  
  @media (min-width: 769px){
    body#completed .faqForm_container{
      /* コンテンツが短い時は中央、長い時は自然に上寄せでスクロール */
      margin-block: auto; /* 上下マージン自動＝縦中央 */
    }
  }

  @media(max-width: 768px) {
    body#completed{
        /* スクロール余白（iOS安全域＋通常余白） */
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    
  }

/* スマホで文字が小さくならないように */
@media screen and (max-width: 768px) {
  textarea {
    font-size: 17px; /* 推奨: iOSでズーム防止にもなる */
  }
}


/* ファイル選択追加のボタン */
.formarea__box{
    width: 100%;
}

  .add-file-btn {
    display: inline-block;
    margin-top: 8px;
    background-color: #fff;
    border: 1px solid #e866a2;
    color: #e866a2;
    border-radius: 4px;
    padding: 6px 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .add-file-btn:hover:not(:disabled) {
    background-color: #e866a2;
    color: #fff;
  }
  
  .add-file-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
  }
  
  .mt-8 {
    margin-top: 8px;
  }
  

  /* －ボタンの追加 */
  .fileRow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
  }
  
  .add-file-btn,
  .remove-file-btn {
    display: inline-block;
    border-radius: 4px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .add-file-btn {
    background-color: #fff;
    border: 1px solid #e866a2;
    color: #e866a2;
    margin-top: 10px;
  }
  
  .add-file-btn:hover:not(:disabled) {
    background-color: #e866a2;
    color: #fff;
  }
  
  .add-file-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
  }
  
  .remove-file-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #666;
  }
  
  .remove-file-btn:hover {
    background-color: #e866a2;
    color: #fff;
    border-color: #e866a2;
  }
  



/* ===== 純CSS :target モーダル ===== */
.m-target {
  position: fixed;
  inset: 0;
  display: block;         /* :targetで表示切替、初期は透明化＋無効化 */
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity .25s ease;
}

.m-target:target {
  opacity: 1;
  pointer-events: auto;   /* クリック可能に */
}

/* 背景オーバーレイ */
.m-target__bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: block;
}

/* コンテンツ */
.m-target__content {
  position: relative;
  width: min(92vw, 720px);
  max-height: 80vh;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,.2);
  overflow: hidden;        /* 角丸を保つ */
  transform: translateY(24px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

/* 開いたときにふわっと */
.m-target:target .m-target__content {
  transform: translateY(0);
  opacity: 1;
}

/* 中身スクロール（背面は実質スクロール不可） */
.m-target .kasuhara-box {
  max-height: 80vh;    /* 既存のkasuhara-boxと整合 */
  overflow: auto;
  margin: 0;           /* 既存スタイルの外側余白は無くすと収まり良い */
  border-radius: 12px;
}

/* 閉じるボタン */
.m-target__close {
  position: absolute;
  top: 10px;
  right: 14px;
  display: inline-block;
  text-decoration: none;
  font-size: 26px;
  color: #888;
  line-height: 1;
  padding: 6px;
  transition: .2s;
}
.m-target__close:hover { color: #e866a2; }

/* SP余白調整 */
@media (max-width: 768px) {
  .m-target__content { margin: 20px auto; }
}
