/* =Reset
------------------------------------------------------------------------------------------------------------- */
@charset "utf-8";

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{
  font-size:100%;
  line-height:1.2em;
  margin:0;
  padding:0;
  border:0;
  vertical-align:baseline;
  word-wrap:break-word;
  outline: 0;
  scroll-behavior: smooth;
}
img{
  vertical-align:bottom;
}
body{
  line-height:1;
  font-weight:normal;
  box-sizing: border-box;
}
ol,ul{
  list-style:none;
}
table{
  border-collapse:collapse;
  border-spacing:0;
}
caption,th,td{
  font-weight:normal;
  text-align:left;
}
h1,h2,h3,h4,h5,h6{
  clear:both;
  font-weight:normal;
}
a:focus{
  outline: none;
}
a, a:hover, a:visited{
  text-decoration:none;
  text-shadow:none;
}
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{
  display:block;
}
audio,canvas,video{
  display:inline-block;
}
audio:not([controls]){
  display:none;
}
.clear{
  clear:both;
  float:auto;
}
.disp_pc #header_extra{width:640px;margin:0 auto;}
.disp_sp #header_extra{width:375px;margin:0 auto;}
/*--------------------*
 *  default settings
 *--------------------*/
*{
  margin:0px;
  padding:0px;
}
body{
  _line-break:strict;
  margin:0 ;
  padding:0 ;
  color:#1F2121;
  background: #fff;
  font-family:"Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.disp_pc body{
  font-size: 16px;
}
.disp_sp body{
  width: 375px;
  min-width: 375px !important;
  font-size: 15px;
}
a{
  color:#FEDFDF;
  text-decoration:underline;
}
a:hover{text-decoration:none;}
hr{
  display:none;
}

/*--------------------*
 *  contents
 *--------------------*/
.disp_pc{
  min-width:640px;
}
.contents_wrap{
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 3%;
}
article.contents_wrap h1 {
  font-family: maru-maru-gothic-bsr-stdn, sans-serif;
  font-size: 18px;
  line-height: 1.4em;
  font-style: normal;
  margin-bottom: 4px;
  padding: 2% 3%;
}
.disp_sp article.contents_wrap h1 {
  font-size: 16px;
}
article.contents_wrap .eyecatch {
  text-align: center;
  margin: 0 auto 6%;
}
article.contents_wrap .eyecatch img {
  width: 90%;
  height: auto;
}
article.contents_wrap h2 {
  font-size: 16px;
  margin-bottom: 3%;
  color: #1D39A1;
  border-left: 4px solid #1D39A1;
  border-bottom: 1px solid #1D39A1;
  padding: 0 2% 2%;
  line-height: 1.4em;
}
article.contents_wrap p {
  line-height: 1.6;
  letter-spacing: 0.03em;
}
article.contents_wrap h3 {
  margin: 3% 0 4%;
  color: #1D39A1;
  border-bottom: 1px dashed #1D39A1;
  padding-bottom: 2%;
  line-height: 1.4em;
}
.disp_sp .contents_wrap section {
  width: 90%;
  margin: 0 auto;
}
footer .scroll_top {
  margin: 40px 0;
}
footer .scroll_top a {
  background: url(https://630hso4ag2.user-space.cdn.idcfcloud.net/top/image/footer/btn_scroll_to_top.svg) no-repeat scroll center center / 87px 88px;
  display: block;
  width: 87px;
  height: 88px;
  margin: 0 auto;
}

/*--------------------*
 *  記事本文用 追記(2026/09/03)
 *  ひな形に不足していた分: section間余白 / p段落余白 / ul・li / 本文リンク色
 *--------------------*/
article.contents_wrap section {
  margin-bottom: 9%;
}
article.contents_wrap .detail_txt p {
  margin-bottom: 1em;
}
article.contents_wrap .detail_txt ul {
  list-style: disc;
  margin: 0 0 1em;
  padding-left: 1.5em;
}
article.contents_wrap .detail_txt li {
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-bottom: 0.5em;
}
article.contents_wrap .detail_txt a {
  color: #1D39A1;
}
/* フォーム埋め込み位置のプレビュー用プレースホルダ(本番実装時は削除) */
.form-embed-placeholder {
  border: 2px dashed #1D39A1;
  color: #1D39A1;
  text-align: center;
  padding: 6% 4%;
  margin: 4% 0;
  font-size: 14px;
  line-height: 1.6;
}

/*--------------------*
 *  目次 (/beloved/35/ 準拠・配色のみコラム用に調整)
 *--------------------*/
.toc-wrapper {
  margin: 28px auto 75px;
  position: relative;
}
.disp_sp .contents_wrap .toc-wrapper {
  margin: 28px auto 60px;
  width: 82%;
}
.mokuji {
  background: #FAFBFF;
  border: 1px solid #C9D1EC;
  padding: 16px;
}
.mokuji p {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.mokuji li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  list-style: decimal;
}
.mokuji li a {
  color: #1D39A1;
  text-decoration: underline;
}
.ez-toc-title {
  margin: 0 auto 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 21px;
  font-size: 16px;
}
.ez-toc-title::before, .ez-toc-title::after {
  border-top: 1px solid;
  content: "";
  width: 1em;
}
.ez-toc-title::before {
  margin-right: 1em;
}
.ez-toc-title::after {
  margin-left: 1em;
}
#toggle-toc {
  position: absolute;
  bottom: -40px;
  left: 0;
  border: none;
  background: #EBEAE1;
  padding: 8px;
  border-radius: 4px;
  font-size: 11px;
  width: 100px;
  color: #1F2121;
}
.toc {
  margin-top: 10px;
  padding-left: 20px;
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
}
/* 閉じた状態(45pxだけ表示・下部をぼかす) */
.mokiji_hidden {
  max-height: 45px;
}
.toc::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  background: linear-gradient(to bottom, rgba(250, 251, 255, 0), #FAFBFF);
  pointer-events: none;
  transition: opacity 0.3s;
}
.mokiji_hidden::after {
  opacity: 1;
}
.toc:not(.mokiji_hidden)::after {
  opacity: 0;
}

/*--------------------*
 *  #header
 *--------------------*/
#header .h_wrap{
  max-width: 640px;
  margin: 0 auto;
  line-height:0;
  position: relative;
}
#header .header_img{
  width:100%;
  height:auto;
}

/*--------------------*
 *  チェックリスト(.check_box) 2026/10/21追加・コラム共通
 *--------------------*/
article.contents_wrap .detail_txt .check_box {
  background: #F2F5F5;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 1.2em auto 1.6em;
}
article.contents_wrap .detail_txt .check_box .check_title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin: 0 0 10px;
}
article.contents_wrap .detail_txt .check_box .check_title::before,
article.contents_wrap .detail_txt .check_box .check_title::after {
  content: "";
  border-top: 1px solid;
  width: 1em;
}
article.contents_wrap .detail_txt .check_box .check_title::before { margin-right: 1em; }
article.contents_wrap .detail_txt .check_box .check_title::after  { margin-left: 1em; }
article.contents_wrap .detail_txt .check_box ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
article.contents_wrap .detail_txt .check_box li {
  font-size: 14px;
  line-height: 170%;
  margin-bottom: 6px;
  padding-left: 1.4em;
  text-indent: -1.4em;
}
article.contents_wrap .detail_txt .check_box li:last-child { margin-bottom: 0; }
article.contents_wrap .detail_txt .check_box li::before,
article.contents_wrap .detail_txt .check_box .mark {
  display: inline-block;
  width: 1.4em;
  text-indent: 0;
}
article.contents_wrap .detail_txt .check_box li::before { content: "\25A1"; }
article.contents_wrap .detail_txt .check_box.mark_custom li::before { content: none; }
article.contents_wrap .detail_txt .check_box .mark_blue { color: #1D39A1; }

/*--------------------*
 *  占い活用記事(columns/8)用 2026/11/02追加
 *--------------------*/
article.contents_wrap .scene_icon {
  text-align: center;
  line-height: 0;
  margin: 9% auto 15px;  /* SPはsectionの下余白が0になるため、アイコン側で上余白を持つ(PCはsectionの9%と相殺) */
}
article.contents_wrap .scene_icon ~ .detail_txt > :last-child {
  margin-bottom: 0;
}
article.contents_wrap .scene_icon img,
article.contents_wrap .scene_icon svg {
  width: 37px;
  height: 36px;
}
article.contents_wrap .scene_no {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #1D39A1;
  margin-bottom: 2px;
}
article.contents_wrap .divider {
  text-align: center;
  line-height: 0;
  margin: 0 0 9%;
}
article.contents_wrap .divider img,
article.contents_wrap .divider svg {
  width: 37px;
  height: 36px;
}
article.contents_wrap .detail_txt .howto {
  background: #FFF8E8;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 1.2em 0 1.4em;
  font-size: inherit;
  line-height: 1.7;
}
article.contents_wrap .detail_txt .howto .howto_label {
  display: inline-block;
  background: #F2B33D;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 10px;
  margin-bottom: 6px;
}
article.contents_wrap .detail_txt .howto p {
  margin: 0;
  font-size: inherit;
}
article.contents_wrap .detail_txt .scene_menu {
  list-style: none;
  padding: 0;
  margin: 1.2em 0 0;
  border: 1px solid #1f2121;
  border-radius: 8px;
  overflow: hidden;
}
article.contents_wrap .detail_txt .scene_menu li {
  margin: 0;
  padding: 0;
}
article.contents_wrap .scene_menu li + li { border-top: 1px dashed #1f2121; }
article.contents_wrap .detail_txt .scene_menu a {
  position: relative;
  display: block;
  color: #1f2121;
  text-decoration: none;
  padding: 14px 60px 16px 90px;
}
article.contents_wrap .scene_menu .sm_photo {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 62px;
  height: 62px;
  margin-top: -31px;
  border-radius: 50%;
  overflow: hidden;
  background: #F2F2F2;
}
article.contents_wrap .detail_txt .scene_menu .sm_photo img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transform: scale(1.06); /* teller_120の画像は外周1pxに黒枠入りの物があるので枠を丸の外に逃がす */
}
article.contents_wrap .scene_menu .sm_tag {
  display: inline-block;
  border: 1px solid #1F2121;
  border-radius: 9px;
  background: #1F2121;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  padding: 0 10px;
}
article.contents_wrap .scene_menu .sm_title {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  line-height: 21px;
}
article.contents_wrap .scene_menu .sm_btn {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1f2121;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

/* SPは区切り・場面アイコンの前後を40px固定(Sun記事に合わせる・2026/11/04) */
.disp_sp article.contents_wrap .divider {
  margin: 40px 0;
}
.disp_sp article.contents_wrap .scene_icon {
  margin-top: 40px;
}
