@import url("https://use.typekit.net/tba2oge.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@charset "UTF-8";

html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
    box-sizing: border-box;
}

body {
   font-family: "Noto Sans JP", sans-serif;
   background-color: #fff;
   opacity: 1;
   background-image:  linear-gradient(#F0F0F0 1.3px, transparent 1.3px), linear-gradient(to right, #F0F0F0 1.3px, rgba(255,255,255,1) 1.3px);
   background-size: 30px 30px;
   margin: 0;
   color: #333;
   font-size: var(--font-size-base);
   letter-spacing: 0.03em;
}
:root {
   --font-size-base: 1rem;
   --basic-color: #4db5ab;
   --age-color: #F1EEE6;
   --education-color: #E5E5F9;
   --work-color: #dfbae3;
   --marriage-color: #ffb5c0;
   --children-color: #ffd9b8;
   --life-color: #d5f2ca;
   --money-color: #cbe8f2;
   --btn-color: #ef8080;
   --link-color: #e35b5b;
   --knowledge-color: #ff8965;
   --hint-color: #9270da;
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  --font-en: "sofia-pro-variable",sans-serif;
}
.emoji {
    font-family: var(--font-emoji);
    font-size: 1.5rem;
    margin-right: 0.3em;
}

.fontsize_change {
    display: none;
}


input, 
select,
textarea {
    padding: 0.8em;
    border-radius: 10px;
    border: 1px solid #333;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 1rem;
    box-sizing: border-box;
}
button {
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
}
select {
    -webkit-tap-highlight-color: transparent;
    background-image: none;
    background-color: white;
}
select,
option {
    cursor: pointer;
}

input {
   font-size: 1.2rem;
   font-family: "sofia-pro-variable",sans-serif;
   font-variation-settings: 'wght' 708.21918, 'slnt' 0;
    padding: 0.5em;
}
input[type="text"] {
   font-size: 1rem;
   font-family: "Noto Sans JP", sans-serif;
}
label,
legend.heading {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5em;
    display: block;
}
fieldset {
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}
legend {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
p {
    font-size: 1em;
    line-height: 1.6;
    margin: 0 0 1em;
}

img {
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}


.dev-pc .cms-public footer .inner:after, 
dl:after, 
ul:after {
   content: none;
}








.card {
      background: #fff;
      border: 1px solid #333;
      border-radius: 30px;
      max-width: 900px;
      margin: 0 auto 4em;
      padding: 2em 2em 4em;
}

h1 {
    font-size: 2.3em;
    text-align: center;
    margin-bottom: 1em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1em;
}
.box-wrap h2,
.result-box h2 {
    font-size: 1.3rem;
    margin: 0 0 0.5em;
    display: flex;
    align-items: center;
    gap: 0.3em;
    padding: 0.8em;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid;
}

.box-wrap h2:before,
.result-box h2:before {
    content: url("/file/img/1027483.svg");
    display: block;
    width: 28px;
    height: 28px;
}
.text-center {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.8;
}
.box-wrap {
    border: 1px solid;
    border-radius: 10px 10px 0 0;
    margin: 1em 0 3em;
}
.box-wrap:first-of-type {
    margin: 0 0 3em;
}



.box-wrap h2.age {
    background-color: var(--age-color);
}
.box-wrap h2.education-heading,
.result-box h2.education-heading {
    background-color: var(--education-color);
}
.box-wrap h2.work-heading,
.result-box h2.work-heading {
    background-color: var(--work-color);
}
.box-wrap h2.marriage-heading,
.result-box h2.marriage-heading {
    background-color:  var(--marriage-color);
}
.box-wrap h2.children-heading,
.result-box h2.children-heading {
    background-color:  var(--children-color);
}
.box-wrap h2.life-heading,
.result-box h2.life-heading {
    background-color:var(--life-color);
}
.box-wrap h2.money-heading,
.result-box h2.money-heading {
    background-color:var(--money-color);
}
.box {
    padding: 1.5em 0.5em;
    margin: 0 1em;
    border-bottom: 2px dashed #ccc;
}
.box:last-of-type {
    border-bottom: none;
}
fieldset {
    flex: 1;
}
.box h4 {
    border-right: 1px solid;
    padding: 0 2em 0 0;
    margin: 0;
    width: 16%;
}
.form-group {
    margin-bottom: 2em;
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    padding: 0.8em 1.5em 0.8em 0.8em;
    width: 100%;
}
.number-wrap .select-wrap {
    flex: 1;
}
.number-wrap p {
    margin-bottom: 0;
}

/* ▼ 外側の黒枠 */
.select-wrap::before {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 16px solid #000; /* 黒い枠 */
}

/* ▼ 内側の赤三角（やや小さく重ねる） */
.select-wrap::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 13px solid #F08080; /* 赤い三角 */
  pointer-events: none;
}

/* フォーカス時 */
.select-wrap select:focus {
  outline: 2px solid #0078d4;
  outline-offset: 2px;
}

textarea {
    width: 100%;
}
.text-area textarea {
    height: 5rem;
}
.range-wrap {
    display: flex;
}


.inputRange {
    appearance: none;
    width: 100%;
    height: 15px;
    border: 1px solid #333333;
    border-radius: 9999px;
    background: linear-gradient(90deg, #F08080 30%, #dddddd 30%);
    cursor: pointer;
    padding: 0;
    margin-top: 1em;
}

/* ツマミ：Chrome, Safari, Edge用 */
.inputRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #333333;
  border-radius: 9999px;
  background: #FCDC0A;
  box-shadow: none;
}

/* ツマミ：Firefox用 */
.inputRange::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 2px solid #333333;
  border-radius: 9999px;
  background: #FCDC0A;
  box-shadow: none;
}
/* アウトプットのスタイル */
.slider-container output,
#partnerShare {
    position: relative;
    margin-left: 20px;
    padding: 0.5em;
    border: 1px solid #333;
    border-radius: 10px;
    background-color: #E5E5F9;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.5;
    font-family: "sofia-pro-variable",sans-serif;
    font-variation-settings: 'wght' 708.21918, 'slnt' 0;
}
.slider-container output:before,
#partnerShare:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    border-style: solid;
    border-width: 6px 10px 6px 0;
    border-color: transparent #333 transparent transparent;
    translate: -100% -50%;
}
.slider-container output:after,
#partnerShare:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    border-style: solid;
    border-width: 4px 7px 5px 0;
    border-color: transparent #E5E5F9 transparent transparent;
    translate: -100% -50%;
}

/* フォーカス時の視覚的フィードバック（アクセシビリティ対応） */
.slider-container input[type="range"]:focus::-webkit-slider-thumb {
  outline: 2px solid #004d60;
  outline-offset: 3px;
}



.number-wrap {
    display: flex;
    gap: 1em;
    align-items: center;
    margin-top: 1em;
}


label.single {
    display: block;
    margin-bottom: 1em;
}




button {
      background: #333;
      color: #fff;
      border: none;
      border-radius: 17px;
      padding: 0.5em 1em;
      cursor: pointer;
      border: 1px solid transparent;
      font-size: 1rem;
}
button:hover {
      background: #fff;
      border-color: #333;
      color: #333;
}
.btn-add {
    margin: 0.5em auto;
    text-align: center;
    display: block;
}


body.is-modal-open {
    /* position: fixed; */
    width: 100%;
    height: 100%;
    overflow: hidden;
}





.modal-trigger-wrap {
   margin: 3em 0;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* 背景を暗く */
  z-index: 1001;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.3s ease;
}




/* ---------- モーダル本体 ---------- */
.modal-content {
  position: relative;
  background: #fff;
  width: 100%;
  height: 90%;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInModal 0.3s ease;
  margin: 3em auto;
}

/* iframe内部 */
.modal-content iframe {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
}

/* 閉じるボタン */
.close-btn {
    position: absolute;
    top: 7px;
    right: 16px;
    background: rgba(255,255,255,0.8);
    border: none;
    color: #333;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    border-radius: 0;
    padding: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
}
.close-btn:hover {
  transform: scale(1.2);
  color: #000;
   background: transparent;
}

/* アニメーション */
@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}



/* ---------- モーダルボタン ---------- */
.modal-trigger {
    display: block;
    font-size: 1.3rem;
    padding: 0;
    text-decoration: none;
    color: #fff;
    background: var(--btn-color);
    position: relative;
    border-radius: 40px;
    font-weight: bold;
    border: none;
    margin: 0 auto;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    width: 100%;
}
.modal-trigger span {
    position: relative;
    display: flex;
    padding: 1rem 1.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: 1px solid #000;
    border-radius: inherit;
    background: var(--btn-color);
}
.modal-trigger:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    transition: all 0.3s;
    transform: translate3d(0, 0.3rem, -1rem);
    border: 1px solid #000;
    border-radius: inherit;
    background: #fff;
    box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
}

.modal-trigger:hover {
  -webkit-transform: translate(0, 0.1rem);
  transform: translate(0, 0.1rem);
}
.modal-trigger:hover:before {
  -webkit-transform: translate3d(0, 0.1rem, -1rem);
  transform: translate3d(0, 0.1rem, -1rem);
  -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
}

.modal-trigger span.btn-emoji,
.modal-trigger span.en {
    border: none;
    padding: 0;
    display: block;
}


/* モーダル開いた時 */
.area1.is-hidden > * {
  display: none;
}


.age-range input {
   width: 5em;
}
.age-range input.saving {
    width: 10em;
} 


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.data-link.modal-trigger-wrap {
    margin: 2em;
}
.data-link.modal-trigger-wrap button {
    display: block;
    font-size: 1.2rem;
    padding: 0;
    text-decoration: none;
    color: #333;
    background: #fff;
    position: relative;
    border-radius: 30px;
    transition: all 0.3s;
    font-weight: bold;
}
.next-btn button,
.next-btn a {
    display: block;
    font-size: 1.4rem;
    padding: 0;
    text-decoration: none;
    color: #fff;
    background: #ef8080;
    position: relative;
    border-radius: 40px;
    transition: all 0.3s;
    font-weight: bold;
    border: none;
    margin: 0 auto;
    letter-spacing: 0.05em;
}
.data-link.modal-trigger-wrap button:before,
.next-btn button:before,
.next-btn a:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    transition: all 0.3s;
    transform: translate3d(0, 0.3rem, -1rem);
    border: 1px solid #000;
    border-radius: inherit;
    background: #DC9FDC;
    box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
}
.marriage-link.modal-trigger-wrap button:before {
    background: var(--marriage-color);
}
.children-link.modal-trigger-wrap button:before {
    background: var(--children-color);
}
.life-link.modal-trigger-wrap button:before {
    background: var(--life-color);
}
.next-btn button:before,
.next-btn a:before {
    background: #fff;
}
.data-link.modal-trigger-wrap button:focus-visible {
  outline: 3px solid #7c3aed; /* アクセシブルなフォーカス表示 */
  outline-offset: 4px;
}

.data-link.modal-trigger-wrap button span {
    position: relative;
    display: flex;
    padding: 1rem;
    justify-content: center;
    gap: 0.5em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: 1px solid #000;
    border-radius: inherit;
    background: #fff;
}
.next-btn button span,
.next-btn a span {
    position: relative;
    display: flex;
    padding: 1rem 1.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: 1px solid #000;
    border-radius: inherit;
    background: #ef8080;
}
.data-link.modal-trigger-wrap button span:before {
    content: url("/file/img/1027477.svg");
    width: 46px;
    height: 26px;
    display: block;
}
.next-btn button span:before {
    content: url("/file/img/1027482.svg");
    width: 45px;
    height: 45px;
    display: block;
}

.data-link.modal-trigger-wrap button:hover,
.next-btn button:hover,
.next-btn a:hover {
  -webkit-transform: translate(0, 0.1rem);
  transform: translate(0, 0.1rem);
}
.data-link.modal-trigger-wrap button:hover:before,
.next-btn button:hover:before,
.next-btn a:hover:before {
  -webkit-transform: translate3d(0, 0.1rem, -1rem);
  transform: translate3d(0, 0.1rem, -1rem);
  -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
}
.data-link.modal-trigger-wrap button:active,
.next-btn button:active,
.next-btn a:active {
  -webkit-transform: translate(0rem, 0.3rem);
  transform: translate(0rem, 0.3rem);
}
.data-link.modal-trigger-wrap button:active:before,
.next-btn button:active:before,
.next-btn a:active:before  {
  -webkit-transform: translate3d(0, 0, -1rem);
  transform: translate3d(0, 0, -1rem);
  -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
}


.button-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    padding: 10px 0;
}
.hidden-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.styled-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 3px solid #ccc; 
    border-radius: 30px;
    background-color: #f9f9f9;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-grow: 1; 
    text-align: center;
    justify-content: center;
}

.styled-button:hover {
    background-color: #eee;
    border-color: #aaa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.hidden-input:checked + .styled-button {
    border-color: #DC9FDC;
    background-color: #F8ECF8;
    color: #8F598F;
    box-shadow: 0 0 8px rgba(220, 159, 220, 0.5);
    transform: translateY(-1px);
}
.marriage .hidden-input:checked + .styled-button {
    border-color: var(--marriage-color);
    background-color: #fff0f2;
    color: #ff768e;
    box-shadow: 0 0 8px rgba(235, 179, 189, 0.5);
    transform: translateY(-1px);
}
.family .hidden-input:checked + .styled-button {
    border-color: var(--children-color);
    background-color: #fff7f1;
    color: #ff8b00;
    box-shadow: 0 0 8px rgba(235, 179, 189, 0.5);
    transform: translateY(-1px);
}

p.partner {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}
p.free-txt {
    font-size: 1.1rem;
    margin: 0.5em 0 0;
}
.event-list li span.marriage-text {
    color: #ff768e;
    font-size: 1.2rem;
}






/* -----------------
    結果画面 
---------------------------*/

.header-result {
    background-image: url("/file/img/1027480.jpg");
    background-repeat: repeat;
    background-size: auto;
    border-bottom: 2px dashed #000;
    padding: 2em 1em;
}
.header-result h1 {
    margin: 0 0 0.5em;
    gap: 0.3em;
}
.header-result p {
    text-align: center;
    font-weight: bold;
    line-height: 2;
    font-size: 1.13rem;
    margin: 0;
}
.timeline-wrap img {
    display: block;
    margin: 0 auto;
}

.result-wrap {
    max-width: 900px;
    margin: 1em auto;
}
.result-box {
    border: 1px solid #333;
    background: #fff;
}
.result-box:not(:first-child) {
    margin-top: 3em;
}
.support-box {
    padding: 2em;
}
.result-content {
    padding: 1em 2em 2em;

}
.result-box {
    border-radius: 0 30px 30px 0;
}
.result-box h2 {
    border-radius: 0 30px 0 0;
    margin: 0 0 1em;
}
.support-box {

}
iframe {
    width: 100%;
    border: none;
    transition:height 0.3s ease;
}

.link-btn {
      display: inline-block;
      margin-top: 20px;
      padding: 12px 16px;
      border: 2px solid #00796b;
      border-radius: 999px;
      background: #fff;
      color: #00796b;
      font-weight: bold;
      text-decoration: none;
      transition: 0.3s;
}

.link-btn:hover {
      background: #00796b;
      color: #fff;
}
/*.result-box h3 {
    color: var(--basic-color);  
    border-bottom: 1px solid #333;
    margin-top: 0;
    padding: 0 0 0.5em 0.5em;
    font-size: 1.2rem;
}
.result-box h4 {
    display: flex;
    gap: 0.5em;
    font-size: 1.2rem;
    align-items: center;
}
.result-box h4:before {
    content: url("../img/flag.svg");
    display: block;
    width: 28px;
    height: 28px;
}
.result-box h4 span {
    font-size: 1rem;
}*/
.result-box h4 {
    margin: 0;
    font-size: 1.1rem;
}
.event-box:not(:last-of-type) {
    padding-bottom: 1.5em;
    border-bottom: 2px dashed #ccc;
}
.event-box:not(:first-of-type) {
    margin-top: 2em;
}

.event-box h5 {
    margin: 0;
    font-size: 1rem;
}
.percent {
   font-family: "sofia-pro-variable",sans-serif;
   font-variation-settings: 'wght' 900, 'slnt' 0;
   font-size: 2rem;
}

.label-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: 30px;
}
span.en,
h3.event-label {
    font-family: "sofia-pro-variable",sans-serif;
    font-variation-settings: 'wght' 800, 'slnt' 0;
}
h3.event-label {
    display: block;
    position: absolute;
    left: -33px;
    top: -20px;
    box-sizing: border-box;
    padding: 0 12px;
    margin: 0;
    height: 30px;
    line-height: 30px;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: white;
    background: #333;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12);
}
h3.event-label:before {
  position: absolute;
  content: "";
  top: 0;
  left: -7px;
  border: none;
  height: 38px;
  width: 7px;
  background: #333;
  border-radius: 5px 0 0 5px;
}
h3.event-label:after {
  position: absolute;
  content: "";
  bottom: -7px;
  left: -5px;
  border: none;
  height: 7px;
  width: 5px;
  background: #000;
  border-radius: 5px 0 0 5px;
}
.event-list {
    padding: 0 0 1em;
    list-style: none;
    margin-bottom: 1.5em;
    margin-top: 0;
}
.event-list li {
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px dashed #ccc;
    font-size: 1.2rem;
    display: flex;
    gap: 0.5em;
    font-weight: bold;
    align-items: center;
    flex-wrap: wrap;
}
.event-list li:before,
.event-list p:before {
    content: url("/file/img/1027475.svg");
    display: block;
    width: 23px;
    height: 23px;
}
.event-list li span,
.event-list p span {
    font-size: 1rem;
}
.event-list li span.age,
.event-list p span.age {
    color: var(--basic-color);
    font-size: 1.2rem;
}
.line-box {
    border-bottom: 2px dashed #ccc;
    padding-bottom: 0.5em;
    margin-bottom: 4em;
}
.seal-wrap {
    position: relative;
    display: flex;
}
.seal {
    box-sizing: border-box;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 120px;
    width: 120px;
    transition: all 0.3s ease;
    flex-direction: column;
    right: -62px;
    top: -50px;
    transform: translate(0, 0);
    overflow: hidden;
}
.seal-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    animation: bgRotate 20s infinite linear;
}
@keyframes bgRotate {
  100% {
    transform: rotate(1turn);
  }
}
.seal p {
    margin: 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;    
}

.seal-bg img {
    height: 100%;
}
p.support-txt {
    width: 89%;
    font-weight: bold;
    margin: 0 0 1em;
}
.marriage-line-box {
    margin-bottom: 1em;
}
.event-list p {
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px dashed #ccc;
    font-size: 1.1rem;
    display: flex;
    gap: 0.5em;
    font-weight: bold;
    align-items: center;
    margin-top: 0.5em;
}
.rate {
    display: flex;
    gap: 2em;
}

.summary-card {
    margin-bottom: 4em;
}
.summary-card p {
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px dashed #ccc;
    font-size: 1.2rem;
    font-weight: bold;
}
.highlight {
    color: var(--basic-color);
    margin: 0 0.5em;
}
.summary-card p.total-label {
    border: 1px solid var(--basic-color);
    padding: 1em;
}

.fill-box {
    margin-bottom: 1em;
}


/* ---------- アコーディオン ---------- */
.accordion {
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s;
}

.accordion-header {
    width: 100%;
    background: #fff;
    color:  var(--btn-color);
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left;
    padding: 0.5em 1em;
    border: 1px solid #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    transition: background 0.3s;
    letter-spacing: 0.05em;
     border-radius: 25px;
}
.accordion-header.active {
    border-bottom: none;
    border-radius: 25px 25px 0 0;
    background: var(--btn-color);
    color: #fff;
} 

.accordion-header:after {
    content: url("/file/img/1027472.svg");
    transition: transform 0.3s ease;
    display: block;
    width: 25px;
    position: absolute;
    right: 10px;
    top: 15px;
    height: 25px;
}

.accordion-header.active::after {
  transform: rotate(180deg);
}

.accordion-header:hover {
    background: var(--btn-color);
    color: #fff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
}

.accordion-content.open {
    max-height: 500px;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}
.accordion-content iframe {
  width: 100%;
  height: 300px;
  border: none;
}




/* ボタン */
.btn-wrap {
    margin: 3.5em 0 10em;
    display: flex;
    justify-content: center;
    gap: 3em;
}
.back-bnt,
.pdf-btn {
    display: block;
    font-size: 1.2rem;
    padding: 0;
    text-decoration: none;
    position: relative;
    border-radius: 40px;
    font-weight: bold;
    border: none;
    margin: 0 auto;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    width: 45%;
}
.back-bnt {
    color: #333;
    background: #fff;
}
.pdf-btn {
    color: #fff;
    background: var(--btn-color);
}
.back-bnt:before,
.pdf-btn:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    transition: all 0.3s;
    transform: translate3d(0, 0.3rem, -1rem);
    border: 1px solid #000;
    border-radius: inherit;
    box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
}
.back-bnt:before {
    background: #000;
}
.pdf-btn:before {
    background: #fff;
}
.back-bnt span,
.pdf-btn span {
    position: relative;
    display: flex;
    padding: 1rem 1.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: 1px solid #000;
    border-radius: inherit;

}
.back-bnt span {
    background: #fff;
}
.pdf-btn span {
    background: var(--btn-color);
}
.back-bnt:hover,
.pdf-btn:hover {
    -webkit-transform: translate(0, 0.1rem);
    transform: translate(0, 0.1rem);
}
.back-bnt:hover:before,
.pdf-btn:hover:before {
  -webkit-transform: translate3d(0, 0.1rem, -1rem);
  transform: translate3d(0, 0.1rem, -1rem);
  -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
}
.back-bnt:active,
.pdf-btn:active {
  -webkit-transform: translate(0rem, 0.3rem);
  transform: translate(0rem, 0.3rem);
}



/* タイムライン */

.timeline {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding-top: 3em;
    background: #fff;
}
.timeline-wrap {
    position: relative;
    height: 100%;
    margin: 0 auto;
    padding: 4em 3em 2em;
    width: 1721px;
    box-sizing: border-box; 
}
.age-wrapper {
    position: absolute;
    top: 15px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 3em;
}
.age-container {
    height: 100%;
    display: flex;
    justify-content: center;
}
.age-container .age-line {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 100%;
    border-left: 1px solid #aeeded;
    line-height: inherit;
    flex-shrink: 0;
}
.thick {
    border-left: 2px solid var(--basic-color);
}
.age-container .age {
    position: absolute;
    top: -54px;
    left: 0;
    transform: translate(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .35rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--basic-color);
    border: 1px solid var(--basic-color);
}

.age-container .age span {
    font-size: 1rem;
    font-weight: 700;
    line-height: 0.8;
    color: var(--basic-color);
}
.age-container .now {
    background: var(--btn-color);
    border: none;
    z-index: 1;
}
.age-container .now span {
    color: #fff;
}
.age-container .now-line:after {
    content: "NOW";
    position: absolute;
    top: -9px;
    font-size: 0.8rem;
    left: -15px;
    font-weight: bold;
    color: var(--btn-color);
}


.graph-content {
    min-height: 3.2rem;
    padding-bottom: 2.4rem;
}


/* ライフイベントのバー部分 */
.graph-content {
    min-height: 3.2rem;
    padding-bottom: 2.4rem;
}
.graph-row {
    position: relative;
    height: 25px;
}

.graph-wrap {
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    box-sizing: border-box;
    white-space: nowrap;
    height: 25px;
}
.graph-wrap .emoji {
    font-size: 0.9rem;
}
.bar {
    padding: 0.2em 0.5em;
    border-radius: 5px;
}

/* 各バーの色 */
.education .bar { 
    background-color: var(--education-color); 
}
.work .bar{ 
    background-color: var(--work-color); 
}
.marriage .bar { 
    background-color: var(--marriage-color); 
}
.children .bar { 
    background-color: var(--children-color); 
}
.children.childcare .bar { 
    background-color: var(--work-color); 
}
.life .bar { 
    background-color: var(--life-color); 
}
.money .bar { 
    background-color: var(--money-color); 
}

/* milestone（矢印） */
.milestone {
  position: absolute;
  top: -3px;
  transform: translateX(-50%);
  font-size: 0.8rem;
}
.milestone:after {
  display: block;
  text-align: center;
  font-size: 1rem;
  line-height: 1;
  font-family: var(--font-emoji);
}
.dating:after {
  content: "💍";
}
.primary:after {
  content: "🧒";
}
.junior:after {
  content: "🧑";
}
.high:after {
  content: "🏫";
}
.university:after {
  content: "🎓";
}



/* 位置 */
.destination {
   top: 12px;
}
.abroad {
   top: 20px;
}
.work {
   top: 28px;
}
.relationship {
   top: 36px;
   left: 111px;
}
.marry {
   top: 44px;
}
.child-education {
   top: 54px;
   width: 100%;
}
.primary {
   left: 300px;
}
.junior {
   left: 400px;
}
.high {
   left: 500px;
}
.university {
   left: 600px;
}
.child {
   top: 65px;
   width: 100%;
}
.childcare {
   top: 73px;
}
.life {
   top: 81px;
}
.money {
   top: 89px;
}




/* -------------------------------
   Page
----------------------------------*/

.article {
    padding: 1em 1em 2em;
}
.cms-public .movie-wrap {
    max-width: 768px;
    margin: 2em auto 4em;
}
.cms-public .movie {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}

.cms-public .movie iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}

.cms-public .parts,
.cms-public .block {
    float: none;
}
.parts.wrap {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #333;
    border-radius: 30px;
    padding: 1em 2em 3em;
    margin-bottom: 7em;
}
body:not(.dev-mb) .cms-public .sentence {
    margin: 0;
}
body:not(.dev-mb) .cms-public .heading h1 {
    background-color: transparent;
    background-image: none;
}
.page-title h1 {
    font-size: 2.45rem;
    font-weight: 800;
    color: #fff;
    text-shadow:1px 1px 0 #333, -1px -1px 0 #333,
              -1px 1px 0 #333, 1px -1px 0 #333,
              0px 1px 0 #333,  0-1px 0 #333,
              -1px 0 0 #333, 1px 0 0 #333;
    line-height: 1.8;
    margin-top: 1em;
    letter-spacing: 0.05em;
}
.page-title h1 span {
    color: var(--btn-color);
}
.page-title h1 span.knowledge {
    color: var(--knowledge-color);
} 
.page-title h1 span.hint {
    color: var(--hint-color);
} 
.contents-title h2 {
    padding: 0.5em;
    margin: 2.5em 0 1em;
    text-shadow: 1px 1px 0 #333, -1px -1px 0 #333,
              -1px 1px 0 #333, 1px -1px 0 #333,
              0px 1px 0 #333,  0-1px 0 #333,
              -1px 0 0 #333, 1px 0 0 #333;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    border-left: none;
    display: flex;
    align-items: center;
    gap: 0.5em;
    letter-spacing: 0.08em;
    justify-content: center;
    border: 1px solid #333;
    flex-wrap: wrap;
}
.contents-title h2.education {
    background: var(--education-color);
}
.contents-title h2.work {
    background: var(--work-color);
}
.contents-title h2.marriage {
    background: var(--marriage-color);
}
.contents-title h2.children {
    background: var(--children-color);
}
.contents-title h2.life {
    background: var(--life-color);
}
.contents-title h2:before {
    content: url("/file/img/1027473.svg");
    width: 35px;
    height: 48px;
    display: block;
    flex-shrink: 0;
}
.hint-title h2:before {
    content: url("/file/img/1027477.svg");
    width: 40px;
    height: 42px;
}
.contents-title h2 span {
    font-family: var(--font-en);
}
body:not(.dev-mb) .cms-public .heading h2 {
    background-color: #fff;
    color: var(--btn-color);
    vertical-align: middle;
    border-left: none;
    line-height: 1.8;
    padding: 0.5em 1em 0.5em 1.5em;
    margin: 1em 0 0.5em;
    position: relative;
}
body:not(.dev-mb) .cms-public .heading h2:before {
    position: absolute;
    top: 25%;
    left: 12px;
    width: 7px;
    height: 50%;
    content: "";
    border-radius: 3px;
    background: var(--btn-color);
}
body:not(.dev-mb) .cms-public .heading h3 {
    margin: 2.5em 0 1.5em;
    padding: 0;
    line-height: 1.8;
    background: var(--age-color);
    color: #333;
    padding: 0.5em 0.5em 0.5em 1em;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid;
}


body:not(.dev-mb) .cms-public .no-margin .heading h3 {
    margin: 1em 0 1.5em;
}
body:not(.dev-mb) .cms-public .block:has(h2) + .block .heading h3 {
    margin: 0 0 1.5em;
}
body:not(.dev-mb) .cms-public .heading h4 {
    background-color: transparent;
    color: #333;
    padding: 0 1em 0.3em;
    margin: 1.5em 0;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    display: flex;
    gap: 0.5em;
    align-items: center;
    border-bottom: 1px solid;
}
body:not(.dev-mb) .cms-public .heading h4:before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background: var(--btn-color);
    border: 1px solid #333;
    border-radius: 50%;
    flex-shrink: 0;
}
body:not(.dev-mb) .cms-public .heading h4:before {
}
body:not(.dev-mb) .cms-public .heading h4:after {
    content: none;
}

body:not(.dev-mb) .cms-public .heading h5 {
    background-color: #fff;
    border-bottom: none;
    color: var(--basic-color);
    vertical-align: middle;
    font-size: 1.25em;
    line-height: 1.8;
    padding: 0.5em 0.5em 0.5em 1.3em;
    margin: 0.5em 0;
    letter-spacing: 0.05em;
}
body:not(.dev-mb) .cms-public .heading h5:before {
    position: absolute;
    top: 25%;
    left: 12px;
    width: 7px;
    height: 50%;
    content: "";
    border-radius: 3px;
    background: var(--basic-color);
}
body:not(.dev-mb) .cms-public .sentence p {
    font-size: 0.95rem;
    color: #333;
}

figure {
    margin: 0;
}
.cms-public .list > figure > dl,
.has-list {
     padding: 0 1.5em;
}
.cms-public .list > figure > ul {
    padding: 0 1.5em;
    list-style: none;
}
.cms-public .list dl dt {
    margin: 1em 0 0.5em;
}
.cms-public .list figure {
    margin: 1em 0 0;
}
.cms-public .list dl dt:first-child {
    margin: 1em 0 0.5em;
}
.cms-public .list dl dt a,
.cms-public .list > figure > ul li a {
    font-size: 1.1rem;
    color: #e35b5b;
    font-weight: bold;
}
.cms-public .list dl dt a:before,
.cms-public .list > figure > ul li a:before,
body:not(.dev-mb) .cms-public .support-name .sentence p:before {
    content: url("/file/img/1027483.svg");
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 0.3em;
    top: 0.2em;
    position: relative;
}

.cms-public .list dl dd {
    margin: 0;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 1em;
    padding-left: 1.5em;
    line-height: 1.8;
}

body:not(.dev-mb) .cms-public .list li > img, 
body:not(.dev-mb) .cms-public .list dt > img, 
body:not(.dev-mb) .cms-public .list li > span > img, 
.cms-public .title-list .title a > img {
    margin-left: 0.5em;
}

.knowledge-wrap {
    position: relative;
}
.people {
    background-image: url("/file/img/1030774.svg");
    width: min(18vw, 275px);
    aspect-ratio: 275 / 377;
    right: -7vw;
    top: -9vh;
    position: absolute;
    z-index: 1;
}

.support-menu ul {
    list-style: none;
    display: flex;
    gap: 2em;
    margin: 2em 0 4em;
    justify-content: center;
    padding-left: 0;
    flex-wrap: wrap;
}
.support-menu ul a {
    padding: 0;
    text-decoration: none;
    position: relative;
    border-radius: 40px;
    transition: all 0.3s;
    font-weight: bold;
    border: none;
    margin: 0 auto;
    letter-spacing: 0.05em;
    display: block;
    color: #333;
    font-size: 1.2rem;
}
.support-menu ul a span {
    position: relative;
    display: flex;
    padding: 0.8em 1em;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: 1px solid #000;
    border-radius: inherit;
    background: var(--knowledge-color);
}
.support-menu ul a span.education-link {
    background: var(--education-color);
}
.support-menu ul a span.work-link {
    background: var(--work-color);
}
.support-menu ul a span.marriage-link {
    background: var(--marriage-color);
}
.support-menu ul a span.children-link {
    background: var(--children-color);
}
.support-menu ul a span.life-link {
    background: var(--life-color);
}
.support-menu ul a:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    transition: all 0.3s;
    transform: translate3d(0.4rem, 0.4rem, -1rem);
    border: 1px solid #000;
    border-radius: inherit;
    background: #fff;
    box-shadow: 0 0.6rem 0 0 rgba(0, 0, 0, 0.2);
}
.support-menu ul a span:after {
    content: url("/file/img/1027472.svg");
    display: block;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}
.support-menu ul a:hover {
  -webkit-transform: translate(0, 0.1rem);
  transform: translate(0, 0.1rem);
}
.support-menu ul a:hover:before {
  -webkit-transform: translate3d(0, 0.1rem, -1rem);
  transform: translate3d(0, 0.1rem, -1rem);
  -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
}
.support-menu ul a:active {
  -webkit-transform: translate(0rem, 0.3rem);
  transform: translate(0rem, 0.3rem);
}
.support-menu ul a:active:before {
  -webkit-transform: translate3d(0, 0, -1rem);
  transform: translate3d(0, 0, -1rem);
  -webkit-box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.35rem 0 0 rgba(0, 0, 0, 0.2);
}


body:not(.dev-mb) .cms-public .has-list .sentence {
    margin: 0;
    border-bottom: 1px dashed #ccc;
}

body:not(.dev-mb) .cms-public .has-list .sentence p {
    padding: 0 1.5em;
}

ul li,
ol li {
    margin-bottom: 0.5em;
}
body:not(.dev-mb) .cms-public .has-list .sentence ul,
body:not(.dev-mb) .cms-public .has-list .sentence ol {
    padding-left: 3em;
}

body:not(.dev-mb) .cms-public .support-name .sentence p {
    padding: 0 1.5em;
    margin-top: 1em;
    font-size: 1.1rem;
    font-weight: bold;
}
.sns-buttons {
    float: none !important;
}
.cms-public .page .sns-area {
    justify-content: flex-end;
    display: flex;
}
.cms-public .page .sns-area li {
    float: none;
}
.cms-public .article .list > figure > dl, 
.article .has-list,
.cms-public .article .list > figure > ul,
body:not(.dev-mb) .cms-public .article .has-list .sentence p {
    padding: 0 0.5em;
}
.cms-public .article .list dl dd {
    padding-left: 0;
}


body:not(.dev-mb) .cms-public .article .has-list .sentence ul, 
body:not(.dev-mb) .cms-public .article .has-list .sentence ol {
    padding-left: 1.5em;
    padding-bottom: 0.8em;
    margin-bottom: 0;
}

body:not(.dev-mb) .cms-public .article .support-name .sentence p {
    padding: 0;
}
body:not(.dev-mb) .cms-public .has-list.no-underline .sentence,
.cms-public .no-underline .list dl dd,
.cms-public .one-block .list dl dd:last-child {
    border-bottom: none;
}
body:not(.dev-mb) .cms-public .underline .horizontalline hr.dashed {
    border-color: #ccc;
    margin: 0 1.5em;
}






/* -------------------------------
   Footer
----------------------------------*/
.dev-pc .cms-public footer {
    margin: 0;
}

footer {
    padding: 4em 1em;
    border-top: 2px dashed;
    position: relative;
    background: #fff;
}
.dot-left,
.dot-right,
footer .star,
footer .star-bm {
    position: absolute;
}
.dot-left,
.dot-right {
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/file/img/1028597.svg");
    width: min(15vw, 167px);
    aspect-ratio: 1 / 1;
}
.dot-left {
    top: 29vh;
    left: 13vw;
}

.dot-right {
    top: 4vh;
    right: 16vw;
}
.footer-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    z-index: 10;
    position: relative;
}
footer h1 {
    font-size: 2.5rem;
    font-family: var(--font-en);
}
footer h1 a {
    text-decoration: none;
    color: #333;
}
footer h1 a span.upper {
    display: block;
    font-weight: 300;
    letter-spacing: 0.08em;
    font-size: 1.5rem;
    margin-bottom: 0.5em;
}
footer h1 a span.lower {
    font-size: 1.4rem;
    letter-spacing: 0.4em;
    margin-top: 0.5em;
    display: block;
}
footer .dot-left {
    top: 8vh;
}
footer .star {
    top: 7vh;
    left: 25vw;
}
footer .star-bm {
    right: 28vw;
    bottom: 14vh;
}
#fixedTop {
    right: 20px;
    bottom: 15px;
    font-size: 1em;
    text-align: center;
    position: fixed;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    transform: scale(0);
    text-decoration: none;
    z-index: 11;
}
#fixedTop a {
    color: #333;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    display: block;
    padding: 0.5em;
    background: rgba(174,237,237,0.8);
    border-radius: 50%;
    width: 80px;
    height: 80px;
}
#fixedTop a span {
     font-weight: bold;
}


#fixedTop a:hover i {
    transform: unset;
}
#fixedTop.show {
    transform: scale(1);
}







@media screen and (max-width:1280px) {
footer .dot-left {
    left: 3vw;
}
footer .dot-right {
    right: 3vw;
}
footer .star {
    left: 19vw;
}
footer .star-bm {
    right: 20vw;
}
.people {
    right: -1vw;
}
}

@media screen and (max-width:1199px) {
.modal-content {
    width: 95%;
}
.parts.wrap {
    width: 98%;
}
}

@media screen and (max-width:1024px) {
footer .star {
    left: 6vw;
}
.people {
    right: 0;
    top: -29vh;
}
}

@media screen and (max-width:899px) {
.card {
     margin: 0 1em 3em;
     padding: 2em 1.5em 4em;
}
.result-wrap {
     margin: 1em 0.5em;
}
.seal {
     right: -34px;
}
p.support-txt {
    width: 87%;
}
}

@media screen and (max-width:844px) {
.dot-left {
    top: 6vh;
    left: 2vw;
}
.dot-right {
    right: 2vw;
}
footer .star {
    left: 5vw;
}
footer .star-bm {
    right: 10vw;
    bottom: 8vh;
}
.support-menu ul li {
    width: 45%;
}
}
@media screen and (max-width:834px) {
.people {
    top: -15vh;
}
}
@media screen and (max-width:768px) { 
footer .star {
    left: 2vw;
    top: 3vh;
}
footer .star-bm {
    right: 3vw;
}

.number-wrap {
    flex-wrap: wrap;
}
.number-wrap span.breaks {
    width: 50%;
}
.number-wrap span.line {
    width: 100%;
}
.number-wrap #birthName {
    display: block;
    width: 50%;
}
.result-wrap {
    margin: 1em;
}
.result-content {
    padding: 1em 1em 2em;
}
h3.event-label {
    left: -17px;
}
.seal {
    right: -30px;
}
p.support-txt {
    width: 86%;
}
}

@media screen and (max-width:600px) {
.footer-wrap {
    gap: 0;
}
footer .star {
    left: 6vw;
}
footer .star img {

}
h3.event-label {
   top: -7px;
}
.event-list {
    margin-top: 0.5em;
    margin-bottom: 0;
}
p.support-txt {
    width: auto;
    margin-top: 0.5em;
}
.seal-wrap {
    position: relative;
    display: block;
    overflow: visible;
}
.seal-wrap:before {
    content: "";
    float: right;
    width: 80px;
    height: 80px;
    shape-outside: circle(50%);
    margin-top: -40px;
    margin-left: 1em;
}
.seal {
    position: absolute;
    right: -23px;
    top: -62px;
    width: 100px;
    height: 100px;
    z-index: 10;
    pointer-events: none;
}
.seal p {
    font-size: 1rem;
    line-height: 1.5;
}
.btn-wrap {
    display: block;
    margin: 3.5em 0 2em;
}
.back-bnt {
    margin-bottom: 3em;
}
.back-bnt, 
.pdf-btn {
    width: 100%;
}
.parts.wrap {
    padding: 1em 1em 3em;
}
.support-menu ul li {
    width: 100%;
}
.people {
    top: -4vh;
}
.support-menu ul {
    margin: 1em 0 4em;
}
}


/*  SP   */

body.dev-sp footer {
    padding: 2em 1em 6em;
}
body.dev-sp .footer-wrap {
    flex-wrap: wrap;
}

body.dev-sp .dot-left, 
body.dev-sp .dot-right {
    width: min(21vw, 167px);
}

body.dev-sp .cms-public .sentence {
    margin: 0;
}
body.dev-sp .cms-public .sentence ul {
    padding-left: 1.5em;
}
body.dev-sp .modal-content {
    width: 95%;
    height: 90%;
}

body.dev-sp .parts.wrap {
    width: 97%;
}

body.dev-sp h1 {
    font-size: 1.4em;
    gap: 0.5em;
}
body.dev-sp .page-title h1 {
    gap: 0;
}
body.dev-sp .text-center {
    font-size: 1rem;
    padding: 0 0.5em;
}
body.dev-sp .card {
    margin: 0 0.5em 3em;
    padding: 2em 0.8em 4em;
}
body.dev-sp .box-wrap h2, 
body.dev-sp .result-box h2 {
    font-size: 1.1rem;
    margin: 0;
}
body.dev-sp label, 
body.dev-sp legend.heading {
    font-size: 1rem;
}
body.dev-sp .box {
    padding: 1em 0;
    margin: 0 1em;
}
body.dev-sp .number-wrap .select-wrap {
    flex: unset;
    width: 100%;
}
body.dev-sp .number-wrap input {
    width: 4em;
}
body.dev-sp .number-wrap input[type="text"] {
    width: 100%;
}
body.dev-sp .age-range input.saving {
    width: 10em;
}
body.dev-sp .data-link.modal-trigger-wrap {
    margin: 2em 0.5em;
}
body.dev-sp .data-link.modal-trigger-wrap button {
    font-size: 1rem;
}
body.dev-sp .data-link.modal-trigger-wrap button span {
    padding: 1rem;
}
body.dev-sp .data-link.modal-trigger-wrap button span:before {
    width: 33px;
    height: 19px;
}
body.dev-sp .styled-button {
    padding: 10px;
}
body.dev-sp .number-wrap span.breaks {
   width: 54%;
}
body.dev-sp .number-wrap #birthName {
   width: 100%;
}
body.dev-sp p.partner {
    font-size: 1rem;
    display: flex;
}
body.dev-sp .next-btn button, 
body.dev-sp next-btn a {
    font-size: 1.1rem;
}
body.dev-sp footer .star {
    top: 4vh;
}
body.dev-sp .footer-wrap h1 {
    font-size: 1.8em;
    gap: 0.5em;
    margin-top: 0;
}
body.dev-sp footer h1 a span.upper {
    font-size: 1.1rem;
}
body.dev-sp footer h1 a span.lower {
    letter-spacing: 0.3em;
    font-size: 1.2rem;
}
body.dev-sp .footer-wrap p {
    font-size: 0.9rem;
}
body.dev-sp footer .star-bm {
    bottom: 20vh;
}
body.dev-sp .cms-public .heading h2 {
    font-size: 1.3rem;
    padding: 0.5em 1em 0.5em 1em;
}
body.dev-sp .cms-public .heading h2:before {
    left: 3px;
}
body.dev-sp .cms-public .heading h3 {
    font-size: 1.2rem;
    margin: 1.5em 0 1em;
    line-height: 1.6;
}
body.dev-sp .cms-public .heading h4 {
    padding: 0 0 0.3em;
    font-size: 1.1rem;
}
body.dev-sp .cms-public .heading h5 {
    font-size: 1.1em;
    padding: 0.5em 0.5em 0.5em 0.8em;
}
body.dev-sp .cms-public .heading h5:before {
    left: 0px;
}
body.dev-sp .header-result p {
    font-size: 1rem;
    line-height: 1.8;
}
body.dev-sp .timeline {
    padding-top: 1em;
}

body.dev-sp .accordion-header {
    font-size: 1rem;
    justify-content: space-between;
    gap: 0.5em;
}

body.dev-sp .accordion-header:after {
    position: relative;
    right: auto;
    top: auto;
    flex-shrink: 0;
}
body.dev-sp .modal-trigger {
    font-size: 1.2rem;
}
body.dev-sp .modal-trigger span {
    flex-wrap: wrap;
    gap: 0 0.5em;
}
body.dev-sp .rate {
    display: block;
}
body.dev-sp .cms-public .list > figure > dl,
body.dev-sp .cms-public .list > figure > ul,
body.dev-sp .has-list {
    padding: 0;
}
body.dev-sp .cms-public .list dl dd {
    padding: 0 0 0.8em;
    font-size: 0.95rem;
}
body.dev-sp .cms-public .has-list .sentence p {
    padding: 0;
}
body.dev-sp .cms-public .has-list .sentence ul, 
body.dev-sp .cms-public .has-list .sentence ol {
    padding-left: 2em;
    padding-right: 1em;
    font-size: 0.95rem;
}
body.dev-sp .line-box {
    margin-top: 0.5em;
    margin-bottom: 2em;
}
body.dev-sp .summary-card {
    margin-bottom: 2em;
}
body.dev-sp .contents-title h2 {
    font-size: 1.5rem;
    margin: 1em 0;
}
body.dev-sp .hint-title h2:before {
    width: 35px;
    height: 31px;
}
body.dev-sp .contents-title h2.marriage,
body.dev-sp .contents-title h2.children,
body.dev-sp .contents-title h2.life {
    margin: 2em 0 1em;
}
body.dev-sp .page-title h1 {
   font-size: 1.6rem;
}
body.dev-sp .cms-public .list dl dt a, 
body.dev-sp .cms-public .list > figure > ul li a {
    font-size: 1.05rem;
}
body.dev-sp .cms-public .support-name .sentence p {
    padding: 0 0.8em;
    font-size: 1.05rem;
}
body.dev-sp .cms-public .article .has-list .sentence p {
    padding: 0;
}



@media print {
.printHide,
header,
#fixedTop,
footer {
    display: none !important;
}
}