﻿@charset "UTF-8";


h1.block-top-title{
    display: flex;
    flex-direction: column;
    font-family:"Zen Old Mincho","Hiragino Mincho ProN","Yu Mincho","MS PMincho",serif;
    font-size: 32px;
    line-height: 1.3;
    color:#333;
    padding-top:0;
    color:#333;
}

/* Voice */
h1.block-top-title span.mini{
    font-family:"Yu Gothic","Yu Gothic Medium","游ゴシック体","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color:#333;
    order:1;
}

/* 日本語2行目*/
h1.block-top-title span.jp2{
    display:block;
    font: inherit;
    font-size:36px;
    color: inherit;
    line-height: inherit;
    order:3;
}

@media (max-width: 768px){
  h1.block-top-title{
  font-size: 28px;
  }
  h1.block-top-title span.jp2{
  font-size:clamp(28px, 9vw, 36px);
  margin:0 20px;
  }
}


/* タイトル行（画像＋h2 横並び） */
.block-voc__title-row{
  max-width:1000px;
  margin:0 auto;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:44px;
  box-sizing:border-box;
}

/* 左右画像 */
.block-voc__img{
  display:block;
  width:auto;
  height:auto;
  max-width:120px;
  max-height:120px;
  object-fit:contain;

}
.block-voc__img--left {
  margin-right:30px;
}
.block-voc__img--right {
  margin-left:30px;
}


@media (max-width:767px){
  .block-voc__title-row{
   gap:0;
  }
  .block-voc__img{
    max-width:60px;
    max-height:60px;
    margin-top:20px;
    margin-left:0;
    margin-right:0;
  }
}

.block-voc-fv{
  position:relative;
  width:100%;
  min-height:420px;
  background:url("../../img/pages/voc/fv_pc.jpg") center center / cover no-repeat;
  display:flex;
  align-items:center;/* 縦中央 */
  justify-content:center;
}

@media (max-width: 767px){
  .block-voc-fv{
  min-height:360px;
  background:url("../../img/pages/voc/fv_sp.jpg") center center / cover no-repeat;
  }
}

/* 半透明白エリア */
.block-voc-fv__innerc{
  width:100%;
  background:rgba(255,255,255,0.88);
  text-align:center;
  padding:40px 20px;
  box-sizing:border-box;
  }

@media (max-width: 767px){
  .block-voc-fv__innerc{
  padding:30px 20px 30px;
  }
}



  /* 全体の背景：和紙のような質感を目指す */
  .voc-letter-container {
    max-width: 800px;
    margin: 40px auto;
    font-family: "Georgia", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif; /* 明朝体で上品に */
    /*font-family:"Zen Old Mincho","Hiragino Mincho ProN","Yu Mincho","MS PMincho",serif;*/
    color: #444;
  }

  .letter-block {
    max-width:800px;
    margin-top:30px;
    margin-bottom: 80px;
    position: relative;
  }

  /* お客様の声：便箋風 */
  .letter-paper {
    background-color: #fff;
    background-image: linear-gradient(#f1eeeb 1px, transparent 1px); /* 薄灰の罫線 */
    background-size: 100% 2.5em;
    line-height: 2.5em;
    padding: 35px 40px 30px;
    border: 1px solid #ddd;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
  }

  /* 切手・消印風のラベル */
  .letter-stamp {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #fff;
    border: 2px dashed #73aab7; /* 濃水 */
    padding: 5px 15px;
    color: #73aab7;
    font-weight: bold;
    transform: rotate(3deg);
    z-index: 2;
    font-size: 14px;
  }
.letter-title {
  display: inline-block; /* 文字の長さに合わせる */
  font-weight: bold;
  font-size: 1.25em;
  color: #bf292a;
  margin-bottom: 5px;
  line-height: 1.5;
  padding: 5px 15px;
  background: rgba(191, 41, 42, 0.07);
  border-radius: 120px 10px 90px 15px / 15px 80px 15px 100px;
}

.letter-text {
  margin: 0 2%;
  white-space: pre-wrap;
  font-size: 1.05em;
}

/* スタッフの返信：添え書き・付箋風 */
.staff-note {
  display: flex;
  margin-top: -10px; /* 便箋に少し重ねる */
  margin-left: 50px;
  background-color: #e6f1f2; /* 薄水 */
  padding: 20px;
  border-radius: 4px;
  border-left: 8px solid #73aab7; /* 濃水 */
  position: relative;
  z-index: 2;
  box-shadow: 2px 5px 15px rgba(0,0,0,0.1);
}

.staff-photo {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  margin-right: 15px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
}

.staff-photo img {
  width: 100%;
  height: auto;
}

.staff-comment-box {
  flex: 1;
}

.staff-meta {
  display: block;
  font-size: 14px;
  color: #73aab7;
  margin-bottom: 5px;
  font-family: sans-serif; /* 名前はゴシックで読みやすく */
  /*font-family:"Yu Gothic","Yu Gothic Medium","游ゴシック体","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
  font-weight:700;*/
}

.staff-message {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
  text-align:left;
}

.voc-highlight {
    background-color: #fff100;
    color: inherit;
    font-weight: bold;
    font-style: normal;
    font-family: inherit;
    line-height: inherit;

}


  /* モバイル対応 */
@media (max-width: 767px) {
  .letter-paper { padding: 30px 2%; }
  .staff-note { margin-left: 10px; flex-direction: column; align-items: center; text-align: center;}
  .staff-photo { margin-right: 0; margin-bottom: 10px; }

  /* 切手・消印風のラベル */
  .letter-stamp {
    top: -25px;
    font-size: 16px;
  }

  .letter-block {
    margin-top:40px;
    margin-bottom: 90px;
  }

  .letter-paper {
    padding-top:35px;
  }

  .letter-title {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 2.1;
    margin-bottom:3px;
    padding: 1px 15px;
  }
  .letter-text {
    margin: 0 4%;
    font-size: 16px;
  }

  .staff-meta {
    font-size: 16px;
    margin-bottom:10px;
  }
  .staff-comment-box {
    width:95%;
  }
  .staff-message {
    font-size:16px;
  }

}




.slick-list {
    width: 100% !important;
    overflow: hidden !important;
}

.voc-page-slide {
    display: block;
    width: 100vw !important; 
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: left;
}

@media (min-width: 768px) {
    .voc-page-slide {
        width: 100% !important; 
    }
    
    .slick-track {
        display: flex !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 767px) {
    .letter-paper {
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .staff-note {
        margin-left: 15px !important;
        margin-right: 10px !important;
        width: 95% !important;
        box-sizing: border-box !important;
    }

    .letter-block {
        padding: 0 5px !important;
        box-sizing: border-box !important;
    }
}

.voc-letter-container {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}


.voc-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    gap: 15px; 
}

.voc-btn {
    flex-shrink: 0; 
    padding: 10px 18px;
    background-color: #73aab7;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    font-family:"Yu Gothic","Yu Gothic Medium","游ゴシック体","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
    font-weight:bold!important;
}


.voc-search-area {
    position: relative;
    display: flex;
    flex: 1; 
    margin: 0 10px; 
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
    height: 42px; 
}

@media (min-width: 768px) {
    .voc-search-area {
        flex: 0 1 350px; 
        margin: 0 auto;
    }
}

/* 入力窓 */
#voc-search-input {
    width: 100%;
    height: 100%; 
    padding: 0 85px 0 12px; 
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    outline: none;
    font-size: 16px;
    font-family: sans-serif;
    background: transparent;
    -webkit-appearance: none;
}


/* リセットボタン（×） */
#voc-search-reset {
    display: none; 
    position: absolute;
    right: 48px; 
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: orange;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    z-index: 5;
    line-height: 1;
    font-weight: 700;
}

/* 検索ボタン */
.search-icon {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%; 
    width: 45px;
    background: #eee;
    border: none;
    border-left: 1px solid #ccc;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
}

/* 虫眼鏡の「円」*/
.search-icon::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(-2px, -2px);
}

/* 虫眼鏡の「持ち手」 */
.search-icon::after {
    content: '';
    width: 2px;
    height: 8px;
    background-color: currentColor;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(4px, 4px) rotate(-45deg);
}

.search-icon:hover {
    background: #e5e5e5;
    color: #333;
}

/* スマホ用の微調整 */
@media (max-width: 767px) {
    .voc-search-area {
        margin: 0 10px; 
        height: 50px;
    }
    input#voc-search-input {
        padding-right: 95px;
    }
    .search-icon {
        width: 50px;
    }
    #voc-search-reset {
        font-size: 30px;
        right: 55px;
    }
    .voc-btn {
      padding: 14px 18px;
    }
}



/* グレーアウト（無効化）の設定 */
.voc-btn.is-disabled {
    background-color: #ccc !important;
    color: #888 !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}


/* テキスト部分はブラウザ標準の選択挙動を優先 */
.letter-text, .letter-title, .staff-message {
    user-select: text !important;
    -webkit-user-select: text !important;
    cursor: text;
    position: relative;
    z-index: 10;
}

/* スライドの余白部分は手のひらカーソル */
.voc-page-slide {
    cursor: grab;
}

/* 掴んでいる最中 */
.voc-page-slide:active {
    cursor: grabbing;
}

/* グレーアウト用のボタン設定 */
.voc-btn.is-disabled {
    background-color: #ccc !important;
    color: #888 !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}



/* 下部ボタン専用のレイアウト */
.voc-controls-bottom {
    margin-top: 20px;
    justify-content: center;
    gap: 40px;
}



/* spはテキスト隠す */
.pc-text {
    display: none;
}

@media screen and (min-width: 768px) {
    .pc-text {
        display: inline;
        margin: 0 5px;
    }
}

/* 下部ボタン */
.voc-controls-bottom .voc-btn .pc-text {
    display: inline;
}

.voc-loading {
    font-size: 14px;
    color: #888;
    padding: 10px;
    text-align: center;
    width: 100%;
}

