/* スマホ専用の追加調整。700pxを超えるレイアウトには適用しない。 */
@media(max-width:700px){
  .wrap,.learning>.wrap{width:90%}
  .header{padding-left:5%;padding-right:5%}
  .menu-toggle{min-height:44px;padding:8px 12px}
  .header nav{gap:8px;padding-left:5%;padding-right:5%}
  .header nav a{display:flex;align-items:center;min-height:44px}
  .hero{min-height:480px}
  .hero-inner{width:90%;padding-top:26px;padding-bottom:36px}
  .edition{gap:12px;margin-bottom:28px}
  .section-label{font-size:11px;line-height:1.6;gap:5px;letter-spacing:.025em}
  .section-label>span{font-size:13px;line-height:1.7}
  .about{padding-top:42px;padding-bottom:44px}
  .about h2{font-size:32px;line-height:1.65;margin-top:22px;margin-bottom:25px}
  .about-copy>p,.learning-note p,.course-intro p,.practice p,.tenchijin p,.digital-list p,.program-card p,.program-award p,.admission-invitation p,.answer{font-size:16px;line-height:1.85}
  .about-copy>p+p{margin-top:18px}
  .facts{padding:20px 12px;gap:9px;margin-top:24px}
  .facts b{font-size:25px}
  .facts div:last-child b{font-size:18px}
  .facts div>span{font-size:11px;line-height:1.7}
  .learning-note{padding:23px 20px;margin-top:26px}
  .learning-note-title{gap:12px;align-items:flex-start}
  .learning-note-title>.nomad-icon{width:28px;height:28px;margin-top:5px}
  .learning-note h3{font-size:19px;line-height:1.75}
  .learning-note p{margin-top:18px}
  .learning{padding-top:36px;padding-bottom:44px}
  .learning>.wrap>.section-label{margin-bottom:22px}

  /* 左のテキスト幅を確保し、旧ロゴは右に小さく表示する。 */
  .cover-title,.digital .cover-title{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:14px;padding:22px 18px;min-height:194px}
  .course-title-copy{flex:1 1 auto;width:auto;min-width:0}
  .cover-title .eyebrow{font-size:10px;line-height:1.6;letter-spacing:.015em}
  .course-title-heading{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:12px}
  .cover-title .course-number,.health .course-number,.digital .course-number{font-size:34px;line-height:1;margin:0;letter-spacing:-.04em}
  .course .cover-title h3,.digital .cover-title h3{font-size:23px;line-height:1.45;letter-spacing:0;margin:0;max-width:100%;text-wrap:wrap}
  .cover-caption,.digital .cover-caption{font-size:10px;line-height:1.6;letter-spacing:.01em;margin-top:12px}
  /* 元画像の42%表示。健康の英語ラベルは除外し、デジタルの上端を残す。 */
  .cover-title .legacy-course-icon{flex:0 0 73px;width:73px;height:65px;align-self:center;background-size:393.12px 118.02px;background-position:-18.06px -11.76px}
  .cover-title .legacy-digital-icon{height:79px;background-position-y:0}

  /* 外側と内側カードの余白を分担し、本文の幅を確保する。 */
  .course-body{padding:25px 18px 28px}
  .course-intro{margin-top:0;margin-bottom:26px}
  .course-intro>div{margin-top:18px}
  .course-intro h4,.practice h4{font-size:22px;line-height:1.7;letter-spacing:0}
  .course-intro p+p,.practice p+p{margin-top:17px}
  .tenchijin{gap:14px;margin:25px 0 28px}
  .tenchijin>section{padding:21px 18px;grid-template-columns:72px minmax(0,1fr);column-gap:14px}
  .theory-title>b{font-size:54px}
  .theory-title strong{font-size:14px}
  .tenchijin h5{font-size:19px;line-height:1.65}
  .tenchijin p{margin-top:16px}
  .practice{padding-top:26px}
  .practice h4{margin-top:10px;margin-bottom:18px}
  .health-terms{padding:22px 20px;margin-top:24px}
  .health-terms>span{font-size:26px;padding-top:16px;padding-bottom:16px}
  .health-terms small{font-size:13px;line-height:1.75}
  .digital{margin-top:36px}
  .digital-list{gap:14px;margin-top:24px}
  .digital-list section,.digital-list section:last-child{padding:23px 19px 40px}
  .digital-list h5{font-size:20px;line-height:1.65;margin-bottom:13px}
  .digital-list .skill-tag{font-size:10px;right:19px;bottom:12px}
  .course-closing{font-size:16px;line-height:1.85;margin-top:26px}
  .course-closing strong{font-size:22px;line-height:1.75}

  .samples{padding-top:42px;padding-bottom:44px}
  .samples>.section-label,.exclusive>.section-label{margin-bottom:23px}
  .sample-grid{grid-template-columns:minmax(0,1fr);gap:17px}
  .sample-grid iframe,.intro-movie iframe{width:100%;aspect-ratio:16/9}
  .intro-movie{margin-top:20px}
  .intro-movie summary{min-height:48px;padding-top:13px;padding-bottom:13px;font-size:15px;line-height:1.7}
  .intro-movie iframe{margin-top:18px;margin-bottom:0}
  .exclusive{padding-bottom:46px}
  .program-grid{grid-template-columns:minmax(0,1fr);gap:17px}
  .program-grid>.program-card{padding:25px 20px}
  .program-number{font-size:27px;line-height:1.15;margin-bottom:14px}
  .program-card .eyebrow{font-size:11px;line-height:1.7;letter-spacing:.02em}
  .program-card h3,.program-award h3{font-size:21px;line-height:1.65;margin-top:13px;margin-bottom:17px}
  .program-card .event-topic{font-size:17px;line-height:1.8;margin-bottom:14px}
  .program-card .event-meta{font-size:12px;gap:8px 16px;padding-top:21px}
  .program-award .prize{margin-top:22px}
  .program-award .prize b{font-size:46px}
  .program-award .prize b>span{font-size:18px}
  .program-award .seasons{margin-top:22px}
  .program-award .seasons h4{font-size:15px;line-height:1.75}
  .program-award>.small-note{font-size:13px;line-height:1.8;margin-top:14px}

  .admission{padding-top:43px;padding-bottom:48px}
  .admission h2{font-size:37px;line-height:1.2;margin-top:20px;margin-bottom:22px}
  .admission-invitation{margin-bottom:26px}
  .admission-invitation p:first-child{font-size:18px;line-height:1.85;margin-bottom:16px}
  .admission-info{padding:25px 21px}
  .admission-info .price{font-size:54px;margin-top:10px;margin-bottom:20px}
  .admission-info .price span{font-size:15px;line-height:1.8}
  .admission-info .dates{padding-top:14px;padding-bottom:14px;margin-bottom:19px}
  .admission-info .dates strong{font-size:18px;line-height:1.8}
  .admission-info>p:not(.price){font-size:16px;line-height:1.85}
  .admission-info>.button{min-height:48px;margin-top:21px;font-size:14px;line-height:1.8}
  .faq{padding-top:45px;padding-bottom:46px}
  .faq h2{font-size:47px;line-height:1.25;margin-top:10px;margin-bottom:23px}
  .faq-list summary{min-height:52px;font-size:16px;line-height:1.8;padding-top:18px;padding-bottom:18px;gap:10px}
  .answer{padding-left:28px;padding-right:18px;padding-bottom:21px}
  .newsletter{padding-top:38px;padding-bottom:40px}
  .newsletter h2{font-size:36px;line-height:1.35;margin-top:8px;margin-bottom:13px}
  .newsletter p{font-size:16px;line-height:1.85}
  .newsletter form{margin-top:23px}
  .newsletter label{font-size:14px;margin-bottom:9px}
  .newsletter .email-row{display:flex;flex-direction:column;gap:10px}
  .newsletter .email-row input{width:100%;min-height:50px;font-size:16px;padding:12px 14px}
  .newsletter .email-row .button{width:100%;min-height:48px;font-size:16px;padding:11px 16px}
  .privacy-note a{display:inline-flex;align-items:center;min-height:44px}
  .footer{padding-top:30px;padding-bottom:32px}
  .footer img{margin-bottom:19px}
  .footer nav{gap:0 18px}
  .footer nav a{display:flex;align-items:center;min-height:44px;font-size:12px}
  .footer p{font-size:12px;line-height:1.8;margin-top:12px}
}
