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

/* ==================== */
/* リード文下CTA（大きめ・インパクト重視） */
/* ==================== */
.cta-lead {
  background-image: url('https://ouchino-mikata.jp/wp-content/themes/jin-child/img/column/bg_single03_cv_pc.png');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-lead::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 235, 173, 0.95);
  z-index: 0;
}

.cta-lead-content {
  position: relative;
  z-index: 1;
}

.cta-lead-logo {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.cta-lead-title {
  font-size: 20px;
  font-weight: bold;
  color: #481200;
  margin-bottom: 15px;
  line-height: 1.5;
}

.cta-lead-highlight {
  font-size: 40px;
  font-weight: 900;
  color: #fa721d;
  margin: 20px 0;
}

.cta-lead-subtitle {
  font-size: 15px;
  color: #481200;
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  position: relative;
  padding-top: 30px;
}

.cta-button-balloon {
  background: white;
  color: #333;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.cta-button-balloon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
  z-index: 2;
}

.cta-button-balloon::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 11px solid transparent;
  z-index: 1;
}

.cta-button-balloon-phone::before {
  border-top-color: #f45c2a;
}

.cta-button-balloon-online::before {
  border-top-color: #3aad3e;
}

.cta-button-balloon-phone {
  color: #f45c2a;
  border: 2px solid #f45c2a;
}

.cta-button-balloon-online {
  color: #3aad3e;
  border: 2px solid #3aad3e;
}

.cta-button {
  width: 100%;
  padding: 20px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  position: relative;
  color: white !important;
}

.cta-button::after {
  content: '';
  position: absolute;
  right: 25px;
  width: 0;
  height: 0;
  border-left: 10px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.cta-button-phone {
  background: #f45c2a;
  color: white;
}

.cta-button-phone:hover {
  background: #fa721d;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.cta-button-online {
  background: #3aad3e;
  color: white;
}

.cta-button-online:hover {
  background: #4bc04f;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.cta-note {
  font-size: 14px;
  color: #666;
  margin-top: 15px;
}

/* ==================== */
/* 記事内h2下CTA（コンパクト） */
/* ==================== */
.cta-inline {
  background: url(https://ouchino-mikata.jp/wp-content/themes/jin-child/img/column/bg_single03_cv_pc.png) no-repeat center / cover;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 3px 8px rgba(250, 114, 29, 0.2);
}

.cta-inline-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.cta-inline-content {
  flex: 1;
  min-width: 250px;
}

.cta-inline-title {
  font-size: 18px;
  font-weight: bold;
  color: #fa721d;
  margin-bottom: 10px;
}

.cta-inline-text {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.cta-inline-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-inline-button-wrapper {
  position: relative;
  padding-top: 30px;
}

.cta-inline-button-balloon {
  background: white;
  color: #333;
  padding: 9px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.cta-inline-button-balloon::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
  z-index: 2;
}

.cta-inline-button-balloon::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid transparent;
  z-index: 1;
}

.cta-inline-button-balloon-phone {
  color: #f45c2a;
  border: 2px solid #f45c2a;
}

.cta-inline-button-balloon-phone::before {
  border-top-color: #f45c2a;
}

.cta-inline-button-balloon-online {
  color: #3aad3e;
  border: 2px solid #3aad3e;
}

.cta-inline-button-balloon-online::before {
  border-top-color: #3aad3e;
}

.cta-inline-button {
  width: 100%;
  padding: 18px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 19px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  color: white !important;
  display: inline-block;
}

.cta-inline-button-phone {
  background: #f45c2a;
  color: white;
}

.cta-inline-button-phone:hover {
  background: #fa721d;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.cta-inline-button-online {
  background: #3aad3e;
  color: white;
}

.cta-inline-button-online:hover {
  background: #4bc04f;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

/* ==================== */
/* 記事下CTA（詳しめ） */
/* ==================== */
.cta-bottom {
  background: #fff5e6;
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(250, 114, 29, 0.15);
}

.cta-bottom-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.cta-bottom-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.cta-bottom-header-content {
  flex: 1;
  min-width: 250px;
}

.cta-bottom-title {
  font-size: 24px;
  font-weight: bold;
  color: #fa721d;
  margin-bottom: 10px;
}

.cta-bottom-subtitle {
  font-size: 17px;
  color: #333;
  margin-bottom: 10px;
}

.cta-bottom-description {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.cta-bottom-features {
  background: url(https://ouchino-mikata.jp/wp-content/themes/jin-child/img/column/bg_single03_cv_pc.png) no-repeat center / cover;
  padding: 28px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.cta-bottom-features-title {
    font-size: 25px;
    font-weight: bold;
    color: #f55c2b;
    margin-bottom: 20px;
    margin-top: 0px !important;
    text-align: center;
}

.cta-bottom-features-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr !important;
    margin-bottom: 15px;
    justify-content: center;
	font-size: 13px;
}

.cta-bottom-feature-item {
  font-size: 12px!important;
  color: #555;
  padding-left: 20px;
  position: relative;
}

.cta-bottom-feature-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3aad3e;
  font-weight: bold;
}

.cta-bottom-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-bottom-button-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 450px;
  position: relative;
  padding-top: 43px;
}

.cta-bottom-button-balloon {
  background: white;
  color: #333;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.cta-bottom-button-balloon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
  z-index: 2;
}

.cta-bottom-button-balloon::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 11px solid transparent;
  z-index: 1;
}

.cta-bottom-button-balloon-phone {
  color: #f45c2a;
  border: 2px solid #f45c2a;
}

.cta-bottom-button-balloon-phone::before {
  border-top-color: #f45c2a;
}

.cta-bottom-button-balloon-online {
  color: #3aad3e;
  border: 2px solid #3aad3e;
}

.cta-bottom-button-balloon-online::before {
  border-top-color: #3aad3e;
}

.cta-bottom-button {
  width: 100%;
  padding: 18px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  color: white !important;
  position: relative;
}

.cta-bottom-button::after {
  content: '';
  position: absolute;
  right: 25px;
  width: 0;
  height: 0;
  border-left: 10px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.cta-bottom-button-phone {
  background: #f45c2a;
  color: white;
}

.cta-bottom-button-phone:hover {
  background: #fa721d;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.cta-bottom-button-online {
  background: #3aad3e;
  color: white;
}

.cta-bottom-button-online:hover {
  background: #4bc04f;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.cta-bottom-note {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .cta-lead {
    padding: 20px;
    background-image: url('https://ouchino-mikata.jp/wp-content/themes/jin-child/img/column/bg_single03_cv_sp.png');
  }
  
  .cta-lead-title {
    font-size: 18px;
  }
  
  .cta-lead-highlight {
    font-size: 26px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-button-wrapper {
    min-width: 100%;
    max-width: 100%;
  }
  
  .cta-inline {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-inline-title {
    overflow-wrap: break-word;
    line-height: 1.6;
  }
  
  .cta-inline-buttons {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
  
  .cta-inline-button-wrapper {
    width: 100%;
  }
  
  .cta-bottom-header {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-bottom-title {
    font-size: 20px;
  }
  
  .cta-bottom-buttons {
    flex-direction: column;
  }
  
  .cta-bottom-button-wrapper {
    min-width: 100%;
    max-width: 100%;
  }
}

.cta-logo-m{
	margin-bottom 20px;
}

/*PCで無効*/
.pc-none{
    display: none;
}

/*スマートフォンで有効*/
@media screen and (max-width:768px) {
    .pc-none{
        display: block;
    }
	.cta-inline-image{
		width: 100%;
	}
	.cta-bottom-image{
		width: 100%;
	}
	.cta-inline {
		background: url(https://ouchino-mikata.jp/wp-content/themes/jin-child/img/column/bg_single03_cv_sp.png) no-repeat center / cover;
	}
	.cta-bottom-features {
		background: url(https://ouchino-mikata.jp/wp-content/themes/jin-child/img/column/bg_single03_cv_sp.png) no-repeat center / cover;
	}
	.cta-bottom-features-list{
		display: block;
		justify-content: center;
	}
}

/* ========================================
   コラム装飾
======================================== */

/*適宜追加する*/

/* ========================================
   テキスト装飾
======================================== */

/* 太字 */
strong {
    font-weight: 700;
    color: #333;
}

/* マーカー共通スタイル */
[class^="marker-"] {
    padding: 0 2px;
    line-height: 1.8;
}

/* 黄色マーカー - 重要情報 */
.marker-yellow {
    background: linear-gradient(transparent 60%, #ffff00 60%);
    font-weight: 600;
}

/* ピンクマーカー - 警告・注意 */
.marker-pink {
    background: linear-gradient(transparent 60%, #ffb6c1 60%);
    font-weight: 600;
}

/* 太字＋マーカーの組み合わせ */
strong .marker-yellow,
strong .marker-pink {
    font-weight: 700;
}

/* ========================================
   ボックスデザイン（CSSで自動タイトル表示）
======================================== */

.c-single03__content p{
	font-size: 1.12em!important
}

/* ボックス共通スタイル */
[class^="box-"] {
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 8px;
    position: relative;
}

[class^="box-"] p:first-child,
[class^="box-"] ul:first-child {
    margin-top: 0;
}

[class^="box-"] p:last-child,
[class^="box-"] ul:last-child {
    margin-bottom: 0;
}

/* ボックスタイトル（疑似要素で自動挿入） */
[class^="box-"]::before {
    display: block;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* 1. 警告ボックス */
.box-warning {
    background-color: #fef5e7;
    border: 1px dashed #e67e22;
}

.box-warning::before {
    content: "⚠  注意";
    color: #e67e22;
    font-size: 18px;
}

/* 2. 重要情報ボックス */
.box-important {
    background-color: #fff4e6;
    border: 1px dashed #f39c12;
}

.box-important::before {
    content: "●  重要";
    color: #f39c12;
    font-size: 18px;
}

/* 3. 補足情報ボックス */
.box-info {
    background-color: #e8f4fd;
    border: 1px dashed #3498db;
}

.box-info::before {
    content: "ⓘ  補足";
    color: #3498db;
    font-size: 18px;
}

/* 4. TIPSボックス */
.box-tips {
    background-color: #e8f8f5;
    border: 1px dashed #27ae60;
}

.box-tips::before {
    content: "✓  ポイント";
    color: #27ae60;
    font-size: 18px;
}

.box-tips ul {
    margin: 0;
    padding-left: 20px;
}

.box-tips ul li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.box-tips ul li:last-child {
    margin-bottom: 0;
}

/* 5. チェックリストボックス */
.box-checklist {
    background-color: #f5f5f5;
    border: 1px dashed #7f8c8d;
}

.box-checklist::before {
    content: "☑  チェック";
    color: #7f8c8d;
    font-size: 18px;
}

.box-checklist .checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ========================================
   レスポンシブ対応
======================================== */

@media (max-width: 768px) {
    [class^="box-"] {
        padding: 14px 16px;
        margin: 20px 0;
    }
    
    [class^="box-"]::before {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .box-tips ul li {
        font-size: 14px;
    }
}

/* 監修者プロフィール用CSS */
.supervisor-profile {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 24px;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
}

.supervisor-profile__header {
  border-bottom: 3px solid #f45c2a;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.supervisor-profile__name {
  font-size: 22px;
  font-weight: bold;
  color: #212529;
  margin: 0 0 8px 0;
}

.supervisor-profile__position {
  font-size: 16px;
  color: #495057;
  margin: 0;
}

.supervisor-profile__section {
  margin-bottom: 20px;
}

.supervisor-profile__section:last-child {
  margin-bottom: 0;
}

.supervisor-profile__label {
  font-size: 14px;
  font-weight: bold;
  color: #f45c2a;
  margin-bottom: 8px;
  display: block;
}

.supervisor-profile__text {
  font-size: 15px;
  color: #495057;
  margin: 0;
}

.supervisor-profile__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.supervisor-profile__list-item {
  font-size: 15px;
  color: #495057;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.supervisor-profile__list-item:before {
  position: absolute;
  left: 0;
  color: #f45c2a;
  font-size: 12px;
}

.supervisor-profile__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.supervisor-profile__link {
  display: inline-block;
  padding: 10px 20px;
  background: #f45c2a;
  color: #ffffff!important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.supervisor-profile__link:hover {
  background: #1565c0;
  color: #ffffff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .supervisor-profile {
    padding: 16px;
  }
  
  .supervisor-profile__name {
    font-size: 20px;
  }
  
  .supervisor-profile__position {
    font-size: 14px;
  }
  
  .supervisor-profile__links {
    flex-direction: column;
  }
  
  .supervisor-profile__link {
    text-align: center;
  }
}

.c-single03__content h4 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 16px;
    background: #ffebad;
    padding: 8px 16px;
}

/* よくある質問 */
.saswp-faq-block-section li {
    margin-left: -15px;
    background: #fff5e6;
    border-radius: 30px;
    margin-top: 20px;
    padding: 5px 30px 55px 30px;
}
.saswp-faq-block-section strong {
	color: #f55c2b;
}