/* ============================================================
   WEBサイト健康診断  (scoped under #wdx-app)
   palette: mint-paper #F2F9F8 / teal #2A7E7A / mint #C8E8E3
            ink #22303A / stamp red #C7402D / paper #FDFDFB
   ============================================================ */

body { font-family: 'Zen Maru Gothic','Hiragino Maru Gothic ProN','Yu Gothic','Noto Sans CJK JP',sans-serif,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic','Noto Sans CJK JP',sans-serif,'Shippori Mincho','Yu Mincho','Hiragino Mincho ProN','Noto Serif CJK JP',serif; }

html{
	font-size: 16px;
}

#wdx-app{
  --wdx-bg:#F2F9F8; --wdx-teal:#2A7E7A; --wdx-teal-deep:#1F615E;
  --wdx-mint:#C8E8E3; --wdx-mint-soft:#E4F3F0; --wdx-ink:#22303A;
  --wdx-gray:#6B7A80; --wdx-red:#C7402D; --wdx-paper:#FDFDFB;
  --wdx-line:#D7E5E2; --wdx-ok:#2A7E7A; --wdx-warn:#C98A2D;
  --wdx-round:'Zen Maru Gothic','Hiragino Maru Gothic ProN','Yu Gothic','Noto Sans CJK JP',sans-serif;
  --wdx-sans:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic','Noto Sans CJK JP',sans-serif;
  --wdx-mincho:'Shippori Mincho','Yu Mincho','Hiragino Mincho ProN','Noto Serif CJK JP',serif;
    --wdx-stamp: 138px;
  font-family:var(--wdx-sans); color:var(--wdx-ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, #DFF1EE 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 100%, #E8F5F2 0%, transparent 55%),
    var(--wdx-bg);
  min-height:100vh; line-height:1.7; -webkit-font-smoothing:antialiased;
	position:relative;
}


#wdx-app::after {
    content: "";
    background: url(img/shindan-bg.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right top;
    /* opacity: 0.3; */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 80%;
    transform: scale(-1, -1);
}

#wdx-app::before {
    content: "";
    background: url(img/shindan-bg.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right top;
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 80%;
}

#wdx-app * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP';
}

#wdx-app button{font-family:inherit; cursor:pointer; border:none; background:none; color:inherit}
#wdx-app a{color:inherit; text-decoration:none}
#wdx-app :focus-visible{outline:3px solid var(--wdx-teal); outline-offset:2px; border-radius:6px}

#wdx-app .wdx-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 0px 3rem;
    position: relative;
    z-index: 2;
}

a:hover {
    opacity: 1;
}

/* ---------- clinic header ---------- */
#wdx-app .wdx-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
}

#wdx-app .wdx-cross {
    width: 5.5rem;
    height: 4.5rem;
    position: relative;
    flex: none;
    background: url(img/icon-wdx-cross.svg);
    background-repeat: no-repeat;
    background-position: left center;
}

/*#wdx-app .wdx-cross::before, #wdx-app .wdx-cross::after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#wdx-app .wdx-cross::before {
    width: 20px;
    height: 6px;
}

#wdx-app .wdx-cross::after {
    width: 6px;
    height: 20px;
}*/

#wdx-app .wdx-head h1 {
    font-family: var(--wdx-round);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 110%;
}

#wdx-app .wdx-head small {
    display: block;
    font-family: var(--wdx-sans);
    font-size: 50%;
    font-weight: 500;
    color: var(--wdx-gray);
    letter-spacing: normal;
}

/* ---------- shared card ---------- */
#wdx-app .wdx-card {
    background: #fff;
    border-radius: 22px;
    padding: 8% 10%;
    box-shadow: 0 10px 34px rgba(34, 48, 58, .08), 0 2px 6px rgba(34, 48, 58, .05);
}

/* ---------- intro ---------- */
#wdx-app .wdx-intro{text-align:center}
#wdx-app .wdx-intro .wdx-badge-row{display:flex; justify-content:center; gap:8px; margin-bottom:20px; flex-wrap:wrap}

#wdx-app .wdx-pillbadge {
    font-size: 1rem;
    font-weight: 700;
    color: var(--wdx-teal-deep);
    background: var(--wdx-mint-soft);
    border: 1px solid var(--wdx-mint);
    padding: .25rem 2rem;
    border-radius: 999px;
    letter-spacing: .05em;
}

#wdx-app .wdx-intro h2 {
    font-family: var(--wdx-round);
    font-size: clamp(24px, 6vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .03em;
    margin: 2rem auto;
}

#wdx-app .wdx-intro h2 em{font-style:normal; color:var(--wdx-teal); }

#wdx-app .wdx-intro p {
    color: var(--wdx-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

#wdx-app .wdx-intro .speechBubble {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
    padding: 5%;
    border: 1px solid var(--wdx-mint);
    border-radius: 8px;
    background-color: var(--wdx-mint-soft);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
}

#wdx-app .wdx-intro .speechBubble::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 16px 12px 0 12px;
    border-color: var(--wdx-mint) transparent transparent;
    translate: -50% 100%;
}

#wdx-app .wdx-intro .speechBubble::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 14.3px 10.8px 0 10.8px;
    border-color: var(--wdx-mint-soft) transparent transparent;
    translate: -50% 100%;
}

#wdx-app .wdx-cross-img {
    width: 60%;
    min-width: 250px;
    margin: 3rem auto;
}

#wdx-app .wdx-start {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--wdx-round);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background: var(--wdx-teal);
    padding: 1rem 5rem;
    box-shadow: 0px 4px 0 #6fadaa;
    border-radius: 999px;
    letter-spacing: .06em;
    transition: transform .5s ease, box-shadow .5s ease;
}

#wdx-app .wdx-start:hover {
    transform: translateY(4px);
    box-shadow: none;
}

#wdx-app .wdx-start:active{transform:translateY(0)}
#wdx-app .wdx-start svg{flex:none}
#wdx-app .wdx-intro .wdx-note {
    font-size: 0.75rem;
    color: var(--wdx-gray);
    margin-top: 16px;
    margin-bottom: 0;
}

/* ---------- progress ---------- */
#wdx-app .wdx-progress{display:flex; align-items:center; gap:12px; margin-bottom:18px}
#wdx-app .wdx-prog-label{
  font-family:var(--wdx-round); font-weight:700; font-size:13px; color:var(--wdx-teal-deep);
  flex:none; letter-spacing:.06em;
}
#wdx-app .wdx-prog-track{display:flex; gap:5px; flex:1}
#wdx-app .wdx-prog-seg{height:8px; flex:1; border-radius:99px; background:var(--wdx-mint); transition:background .3s}
#wdx-app .wdx-prog-seg.is-on{background:var(--wdx-teal)}

/* ---------- question ---------- */
#wdx-app .wdx-q-eyebrow{
  font-size:12px; font-weight:700; color:var(--wdx-teal); letter-spacing:.14em;
  margin-bottom:8px;
}
#wdx-app .wdx-q-title{
  font-family:var(--wdx-round); font-size:clamp(19px,5vw,20px); font-weight:700;
  line-height:1.55; margin-bottom:22px; letter-spacing:.02em;
}

#wdx-app .wdx-choices {
    display: grid;
    gap: 11px;
    position: relative;
    z-index: 2;
    margin: 7% auto 0;
}

#wdx-app .wdx-choice{
  display:flex; align-items:center; gap:12px; width:100%; text-align:left;
  background:var(--wdx-paper); border:2px solid var(--wdx-line);
  border-radius:16px; padding:15px 18px; font-size:15.5px; font-weight:500;
  transition:border-color .15s, background .15s, transform .1s;
}
#wdx-app .wdx-choice:hover{border-color:var(--wdx-teal); background:var(--wdx-mint-soft)}
#wdx-app .wdx-choice:active{transform:scale(.985)}
#wdx-app .wdx-choice.is-picked{border-color:var(--wdx-teal); background:var(--wdx-mint-soft)}

#wdx-app .wdx-choice .wdx-dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid var(--wdx-line);
    flex: none;
    display: grid;
    place-items: center;
    transition: border-color .15s;
}

#wdx-app .wdx-choice:hover .wdx-dot, #wdx-app .wdx-choice.is-picked .wdx-dot{border-color:var(--wdx-teal)}
#wdx-app .wdx-choice.is-picked .wdx-dot::after{
  content:""; width:11px; height:11px; border-radius:50%; background:var(--wdx-teal);
}
#wdx-app .wdx-back{
  margin-top:20px; font-size:13px; color:var(--wdx-gray); font-weight:500;
  display:inline-flex; align-items:center; gap:6px;
}
#wdx-app .wdx-back:hover{color:var(--wdx-teal)}
#wdx-app .wdx-back[hidden]{display:none}

/* question slide animation */
#wdx-app .wdx-anim-in {
    animation: wdxSlideIn .32s ease both;
	position: relative;
}

#wdx-app .wdx-anim-in::after {
    content: "";
    position: absolute;
    background: url(img/wdx-anim-in.webp);
    background-size: contain;
    background-repeat: no-repeat;
    right: 3%;
    top: 3rem;
    width: 11rem;
    height: 40%;
}

@keyframes wdxSlideIn{from{opacity:0; transform:translateX(26px)} to{opacity:1; transform:none}}

#wdx-app .wdxSlideInUp {
    animation: wdxSlideInUp .32s ease both;
	position: relative;
}

@keyframes wdxSlideInUp{from{opacity:0; transform:translateY(26px)} to{opacity:1; transform:none}}

/* ---------- result: certificate ---------- */
#wdx-app .wdx-cert {
    background: var(--wdx-paper);
    border-radius: 20px;
    padding: 10% 8%;
    /* border: 1px solid #E3E0D8; */
    box-shadow: 0 12px 40px rgba(34, 48, 58, .1), 0 2px 6px rgba(34, 48, 58, .05);
    position: relative;
}

#wdx-app .wdx-cert-head {
    text-align: center;
    border-bottom: 2px solid var(--wdx-ink);
    padding-bottom: 1rem;
}

#wdx-app .wdx-cert-head h2 {
    font-family: var(--wdx-mincho);
    font-size: clamp(20px, 5.4vw, 32px);
    font-weight: 600;
    letter-spacing: .14em;
    margin: 0 auto 3rem;
}
#wdx-app .wdx-cert-head .wdx-cert-date{font-family:var(--wdx-mincho); font-size:12px; color:var(--wdx-gray); margin-top:6px; letter-spacing:.1em}

#wdx-app .wdx-verdict {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3rem 0;
    flex-wrap: wrap;
}

#wdx-app .wdx-stamp {
    width: var(--wdx-stamp);
    height: var(--wdx-stamp);
    border-radius: 50%;
    border: 4px solid var(--wdx-red);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--wdx-red);
    flex: none;
    transform: rotate(-8deg);
    position: relative;
    animation: wdxStamp .5s cubic-bezier(.2, 1.4, .4, 1) .45s both;
}

#wdx-app .wdx-stamp .wdx-stamp-grade {
    font-family: var(--wdx-mincho);
    font-size: 72px;
    font-weight: 600;
    line-height: 1;
}

#wdx-app .wdx-stamp .wdx-stamp-cap {
    bottom: 8px;
    font-family: var(--wdx-mincho);
    font-size: 16px;
    letter-spacing: 0;
    white-space: nowrap;
}

@keyframes wdxStamp{
  from{opacity:0; transform:rotate(-8deg) scale(2.4)}
  60%{opacity:1; transform:rotate(-8deg) scale(.94)}
  to{opacity:1; transform:rotate(-8deg) scale(1)}
}

#wdx-app .wdx-verdict-body {
    min-width: unset;
    width: calc(97% - var(--wdx-stamp));
}

#wdx-app .wdx-verdict-title {
    font-family: var(--wdx-mincho);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: .04em;
}

#wdx-app .wdx-verdict-text {
    font-size: 1rem;
    color: var(--wdx-gray);
    white-space: pre-wrap;
}

#wdx-app .wdx-scoreline{margin-top:12px; display:flex; align-items:baseline; gap:8px}
#wdx-app .wdx-scoreline .wdx-score-num{font-family:var(--wdx-round); font-size:34px; font-weight:700; color:var(--wdx-teal-deep); line-height:1}
#wdx-app .wdx-scoreline small{font-size:12px; color:var(--wdx-gray)}
#wdx-app .wdx-gauge{height:9px; background:var(--wdx-mint); border-radius:99px; margin-top:8px; overflow:hidden}
#wdx-app .wdx-gauge i{display:block; height:100%; width:0; background:linear-gradient(90deg,var(--wdx-teal),#3FA69F); border-radius:99px; transition:width 1s cubic-bezier(.3,.9,.3,1) .3s}

/* findings table */
#wdx-app .wdx-findings{width:100%; border-collapse:collapse; margin-bottom:6px}

#wdx-app .wdx-findings caption {
    text-align: left;
    font-family: var(--wdx-mincho);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0rem;
    color: var(--wdx-ink);
    padding: 1rem;
}

#wdx-app .wdx-findings th, #wdx-app .wdx-findings td {
    border-top: 1px solid var(--wdx-line);
    padding: 1rem 2%;
    font-size: 1rem;
    text-align: left;
    vertical-align: top;
    vertical-align: middle;
}

#wdx-app .wdx-findings tr:last-child th, #wdx-app .wdx-findings tr:last-child td{border-bottom:1px solid var(--wdx-line)}

#wdx-app .wdx-findings th {
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: 1rem;
    width: 7.5em;
    color: var(--wdx-ink);
}

#wdx-app .wdx-findings .wdx-mark {
    width: 4rem;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    /* padding: 0 2%; */
}

#wdx-app .wdx-mark.m-ok{color:var(--wdx-ok)} .wdx-mark.m-mid{color:var(--wdx-warn)} .wdx-mark.m-ng{color:var(--wdx-red)}

#wdx-app .wdx-findings td.wdx-fx{color:var(--wdx-gray)}

/* ---------- prescriptions ---------- */
#wdx-app .wdx-rx {
    margin-top: 10%;
}

#wdx-app .wdx-rx .wdx-cross-img{
    width: 20%;
    /* min-width: 150px; */
}

#wdx-app .wdx-rx-head {
    font-family: var(--wdx-round);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: .06em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3%;
    margin-bottom: 4rem;
}


#wdx-app .wdx-rx-head::before, #wdx-app .wdx-rx-head::after {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--wdx-teal);
}

#wdx-app .wdx-rx-cards{display:grid; gap:14px}

#wdx-app .wdx-rx-card {
    display: block;
    background: #fff;
    border: 2px solid var(--wdx-line);
    border-radius: 18px;
    padding: 5% 5%;
    position: relative;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}

#wdx-app .wdx-rx-card:hover{border-color:var(--wdx-teal); transform:translateY(-2px); box-shadow:0 10px 24px rgba(42,126,122,.14)}

#wdx-app .wdx-rx-card.is-primary {
    border-color: var(--wdx-teal);
    background: linear-gradient(180deg, #FFFFFF, var(--wdx-mint-soft));
    background: #f0faff;
}

#wdx-app .wdx-rx-tag {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 15px;
    transform: translate(20%, -50%);
    font-weight: 700;
    color: #fff;
    background: var(--wdx-red);
    padding: 3px 12px;
    border-radius: 10px;
    letter-spacing: .08em;
}

#wdx-app .wdx-rx-tag span{
	
}

#wdx-app .wdx-rx-card h4 {
    font-family: var(--wdx-round);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0px;
    letter-spacing: .02em;
    padding-right: 20px;
    display: flex;
    align-items: center;
}

#wdx-app .wdx-rx-card h4:before {
    content: "";
    background-repeat: no-repeat;
    background-position: center left;
    background-size: contain;
    display: inline-block;
    width: 6rem;
    height: 4rem;
}

#wdx-app .wdx-rx-card.wdx-rx-order h4:before{
	background-image: url(img/icon-service01.svg);
}

#wdx-app .wdx-rx-card.wdx-rx-wd h4:before{
	background-image: url(img/icon-service02.svg);
}

#wdx-app .wdx-rx-card.wdx-rx-uni h4:before{
	background-image: url(img/icon-service03.svg);
}

#wdx-app .wdx-rx-card p {
    font-size: 1rem;
    color: var(--wdx-gray);
    margin: 1rem 0;
}

#wdx-app .wdx-rx-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--wdx-teal-deep);
	transition: all .5s;
}

#wdx-app .wdx-rx-card:hover .wdx-rx-cta {
    /* text-decoration: underline; */
    font-size: 120%;
    letter-spacing: 3px;
}

#wdx-app .wdx-retry {
    display: block;
    text-align: center;
    margin-top: 26px;
    font-size: 1.25rem;
    color: #fff;
    font-weight: 500;
    margin: 3rem auto;
    background: var(--wdx-ok);
    padding: 1% 6%;
    border-radius: 10px;
	border:solid 2px var(--wdx-ok);
	transition: all .5s;
}

#wdx-app .wdx-retry:hover{
	color:var(--wdx-ok);
    background: #fff;
}

#wdx-app .wdx-foot{text-align:center; font-size:11px; color:var(--wdx-gray); margin-top:34px; letter-spacing:.05em}

#wdx-app [hidden]{display:none !important}
@media (prefers-reduced-motion:reduce){
  #wdx-app *{animation:none !important; transition:none !important}
#wdx-app .wdx-gauge i{transition:none}
}
@media (max-width:768px){


html{
	font-size: 14px;
}

#wdx-app .wdx-card{
    padding: 10% 5%;
    width: 90%;
    margin: 0 auto;
    border-radius: 15px;
}
	
#wdx-app .wdx-cert{
    padding: 9% 6%;
}
	
#wdx-app .wdx-verdict{
    gap: 18px;
    justify-content: center;
}
	
#wdx-app .wdx-verdict-body {
    width: 100%;
}

#wdx-app .wdx-cross {
    width: 3rem;
    height: 3rem;
}

#wdx-app .wdx-head h1 {
    font-size: 2rem;	
    font-family: var(--wdx-round) !important;
}

#wdx-app .wdx-head {
    gap: 5px;
    justify-content: center;
}

#wdx-app .wdx-pillbadge {
    padding: .25rem 1rem;
}

#wdx-app .wdx-progress {
    flex-direction: column;
}

#wdx-app .wdx-prog-label {
    font-size: 1.25rem;
}

#wdx-app .wdx-prog-track {
    flex-wrap: wrap;
    width: 100%;
}

#wdx-app .wdx-prog-seg {
    width: calc((100% - 15px) / 4);
    flex: unset;
    height: 10px;
}

#wdx-app .wdx-progress {
    width: 90%;
    margin: 0 auto 2rem;
}

#wdx-app .wdx-findings th {
    width: 5rem;
    padding: 1rem 0 1rem 4%;
    font-size: 1rem;
}

#wdx-result{
    width: 90%;
    margin: 0 auto;
}

#wdx-app .wdx-mark.m-ok {
    padding: 1rem 0;
    width: unset;
    font-size: 18px;
}

#wdx-app .wdx-rx-card h4 {
    padding-right: 0;
    font-size: 1.25rem;
}

#wdx-app .wdx-rx-card h4:before {
    width: 11rem;
}

#wdx-app .wdx-rx-tag {
    left: 50%;
    transform: translate(-50%, -50%);
}

#wdx-app .wdx-rx-card {
    padding: 10% 5%;
}

#wdx-app .wdx-rx-head {
    margin: 5rem auto 4rem;
    font-size: 1.75rem;
}

#wdx-app .wdx-anim-in::after{
    content: none;
}




}













