/*
Template: jin
Theme Name: jin-child
Author: CrossPiece
Version: 1.00
*/

/*********************************
* タイムライン
*********************************/
.timeline-box {
  margin-bottom: 20px;
/*  border: 1px solid #ccc; *//* 枠なしの場合消す */
  border-radius: 4px;
  padding: 16px 5px;
  box-sizing: border-box;
}
 
.timeline-box *{
  box-sizing: border-box;
}
 
.timeline-box .timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.timeline-title {
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
}
 
.timeline > li {
  margin-bottom: 60px;
}
 
.timeline > li.timeline-item {
  overflow: hidden;
  margin: 0;
  position: relative;
}
 
.timeline-item-label {
  width: 110px;
  float: left;
  padding-top: 18px;
  text-align: right;
  padding-right: 1em;
  font-size: 14px;
}
 
.timeline-item-title {
  font-weight: bold;
}
 
.timeline-item-content {
  width: calc(100% - 110px);
  float: left;
  padding: .8em 1.4em;
  border-left: 3px #e5e5d1 solid;
}
 
.timeline-item:before {
  content: '';
  width: 12px;
  height: 12px;
  background: #6fc173;
  position: absolute;
  left: 130px;
  top: 24px;
  border-radius: 100%;
}
 
/* for Smartphone */
@media screen and (max-width: 480px) {
  .timeline-box .timeline {
    padding-left: 10px;
	border: 0;
	padding: 16px 0px 16px 10px ;
	font-size: smaller;
  }
 
  .timeline > li.timeline-item {
    overflow: visible;
    border-left: 3px #e5e5d1 solid;
  }
 
  .timeline-item-label {
    width: auto;
    float: none;
    text-align: left;
    padding-left: 4px;
  }
 
  .timeline-item-content {
    width: auto;
    padding: 4px;
    float: none;
    border: none;
  }
 
  .timeline-item::before {
    left: -12px;
    top: 19px;
    width: 21px;
    height: 21px;
  }
}

@media screen and (max-width:640px) {
  .pc {
    display: none;
  }
  .smart {
    display: block;
  }
}

.grey-box{
 background-color: #f6f6f6;
 padding:20px;
 margin-bottom:1em;
}




/* ===== Q&A（グレー枠なし・横幅広め） ===== */
.qa-simple{
  background:transparent;   /* ← グレー背景を削除 */
  padding:24px 0;           /* 左右の余白を減らす */
}

.qa-simple__inner{
  max-width:1040px;         /* ← 横幅を広げる（920px → 1040px） */
  margin:0 auto;
  background:#fff;
  border:none;              /* ← グレー枠を削除 */
  padding:0;
}

/* ブロック＝Q行＋A行 */
.qa-simple__block{
  padding:18px 20px;
  border-top:1px solid #e9e9e9;
}
.qa-simple__block:first-child{
  border-top:none;
}

/* 行 */
.qa-simple__row{
  display:flex;
  gap:14px;                 /* 少し余裕を持たせる */
  align-items:flex-start;
}
.qa-simple__row--q{
  margin-bottom:12px;
}
.qa-simple__row--a{
  padding-top:12px;
  border-top:1px solid #efefef;
}

/* バッジ */
.qa-simple__badge{
  width:28px;
  height:28px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  flex:0 0 28px;
  line-height:1;
  margin-top:2px;
  color:#fff;
}

.qa-simple__badge--q{ background:#2a78b8; }
.qa-simple__badge--a{ background:#e66a4b; }

/* テキスト */
.qa-simple__text{
  margin:0;
  line-height:1.95;         /* 横幅が広がる分、行間を少しゆったり */
  font-size:15px;           /* 可読性アップ */
  color:#333;
}
.qa-simple__text--q{
  font-weight:700;
  color:#2a4a63;
}

/* スマホ */
@media (max-width:600px){
  .qa-simple__inner{
    max-width:100%;
    padding:0 12px;
  }
  .qa-simple__block{
    padding:16px 0;
  }
  .qa-simple__text{
    font-size:14px;
  }
}

/*Q&A new*/

/* Q&A全体のコンテナ */
.faq-container {
    margin: 2em 0;
    max-width: 100%;
}

/* 各Q&Aの枠組み */
.faq-item {
    background-color: #fcfcfc; /* わずかにグレーを混ぜて白背景との境界を明確に */
    border: 1px solid #e0e0e0; /* 落ち着いた細い線 */
    border-radius: 8px;
    margin-bottom: 1.5em;
    padding: 25px; /* 余白を広めに取り、読みやすさを向上 */
}

/* 質問（H3）の装飾 */
.faq-item h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 12px 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    font-weight: bold;
    border: none; /* テーマのデフォルト線を消去 */
}

.faq-item h3::before {
    content: "Q";
    background: #29aae1;
    color: #fff;
    min-width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 12px;
    font-size: 0.85rem;
}

/* 回答の装飾 */
.faq-answer {
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    line-height: 1.7;
}

.faq-answer::before {
    content: "A";
    background: #f8931f; /* 回答はアクセントカラーで視認性UP */
    color: #fff;
    min-width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 12px;
    font-size: 0.85rem;
    margin-top: 3px;
}

/* 引用枠のpタグの上下マージン */
blockquote p {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

