@media (max-width: 767px) {
	
	section.news-tabs {
    width: 100%;
}
	.sec-rev {
    display: flex;
    flex-flow: wrap-reverse;
}
	h1.page-hero__title-jp {
    font-size: 22px;
}
	.aic-posts--simple .aic-posts__title {
    font-size: 15px;
    line-height: 1.6;
}
	.site-footer__menu {
    gap: 0;
    border-top: 1px solid #b0c8d8;
    border-left: 1px solid #b0c8d8;
		    justify-content: left;
}
	li.site-footer__item.site-footer__item--parent {
		    box-sizing: border-box;
    width: 50%;
    border-right: 1px solid #b0c8d8;
    border-bottom: 1px solid #b0c8d8;
    padding: 4px;
}
	.residency__panel {
    padding: 0;
}
	.btn--A {
    font-size: 15px;
}
	.btn {
    box-sizing: border-box; /* width:350px+padding が content-box で 382px に膨張しコンテナをはみ出すのを防ぐ */
}
	.pblock__title {
    font-size: 20px;
}
	h2.hdg.hdg--02:after {
    margin: 0 auto;
    left: 0;
    right: 0;
}
h2.hdg.hdg--02 {
    font-size: 6.5vw;
	    text-align: center;
}
	button.news-tabs__tab {
    width: 50%;
    font-size: 3vw;
}
	a.role-links__item:last-child {
    border-right: 1px solid #E5E5E5;
}
a.role-links__item {
	    box-sizing: border-box;
    width: calc(50% - 5px);
    border: 1px solid #E5E5E5;
    border-radius: 10px;
}
	nav.role-links {
    display: flex;
    flex-wrap: wrap;
		    gap: 10px;
}
	span.notice {
    text-align: left;
    font-size: 14px;
		        display: block;
}
	p.role-card__text {
    height: unset;
}
	p.cc2 {
    font-size: 3.2vw;
}
	p.cc {
    font-size: 5vw;
}
	#mainv.mv-deco-01::after {
    background: linear-gradient(90deg, rgba(2, 110, 183, .42) 0%, rgba(2, 110, 183, .20));
}
	
  /* ------------------------------------
     共通・ベース
     ------------------------------------ */
  html {
    font-size: 15px;
  }

  body {
    overflow-x: hidden;
  }

  section {
    padding-top: clamp(32px, 8vw, 48px);
    padding-bottom: clamp(32px, 8vw, 48px);
  }

  .inner,
  .container {
    box-sizing: border-box; /* padding を幅の内側に含める（100%+32px の横はみ出し防止） */
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: block !important;
  }

 
 


  /* ------------------------------------
     ゲートウェイセクション（2カラム→1カラム）
     ------------------------------------ */
  .gateway {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .gateway__inner {
    max-width: 100%;
    padding: 0 16px;
  }

  .gateway__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ロールカード */
  .role-card {
    border-radius: 12px;
    overflow: hidden;
  }

  .role-card::before {
    height: 4px;
  }

  .role-card__media {
    height: 180px;
  }

  .role-card__media img {
    height: 100%;
    object-fit: cover;
  }

  .role-card__head {
    padding: 16px 16px 8px;
  }

  .role-card__tag {
    font-size: 11px;
  }

  .role-card__title {
    font-size: 18px;
  }

  h3.role-card__title span {
    font-size: 12px;
  }

  .role-card__text {
    padding: 0 16px 12px;
    font-size: 13px;
    line-height: 1.7;
  }


.foot-split {
    flex-wrap: wrap;
	    justify-content: center;
}


.foot-right {
    text-align: left;
}
.site-footer__top {
    display: block;
    margin: 0 auto;
}
.site-footer__menu {
    gap: 0;
}

  /* ------------------------------------
     スクロールアニメーション調整
     ------------------------------------ */
  .fadein,
  .fade-right,
  .fade-left,
  .fade-bottom {
    opacity: 0;
    transition-duration: 0.6s;
  }

  .fadein.sc,
  .fade-right.sc,
  .fade-left.sc,
  .fade-bottom.sc {
    opacity: 1;
    transform: none;
  }

  .cover-right::before,
  .cover-left::before,
  .cover-bottom::before,
  .cover::before {
    transition-duration: 0.6s;
  }

  /* ------------------------------------
     dl.list（定義リスト）
     ------------------------------------ */
  dl.list dt {
    font-size: 14px;
    padding: 10px 12px;
  }

  dl.list dd {
    font-size: 13px;
    padding: 10px 12px;
  }

  /* ------------------------------------
     テーブル対応
     ------------------------------------ */
  table.stats-table {
    display: table;       /* リセットを打ち消す */
    width: 100%;
    table-layout: auto;   /* 内容に合わせて自動分配 */
    white-space: normal;  /* 折り返しを許可 */
  }
	.stats-table td:last-child {
    white-space: inherit;
}
  /* ------------------------------------
     Contact Form 7 フォーム
     ------------------------------------ */
  .cf7-form {
    padding: 24px 16px;
  }

  .cf7-grid--2,
  .cf7-grid--3 {
    grid-template-columns: 1fr;
  }

  .cf7-label {
    font-size: 14px;
  }

  .cf7-input,
  .cf7-form input[type="text"],
  .cf7-form input[type="email"],
  .cf7-form input[type="tel"],
  .cf7-form input[type="url"],
  .cf7-form input[type="date"],
  .cf7-form input[type="time"],
  .cf7-form select,
  .cf7-form textarea {
    font-size: 16px; /* iOS zoom防止 */
    padding: 10px 12px;
  }

  .cf7-schedule__row {
    flex-direction: column;
    gap: 8px;
  }

  .cf7-schedule__label {
    width: 100%;
  }

  .cf7-actions {
    flex-direction: column;
    gap: 12px;
  }

  .cf7-actions .wpcf7-submit {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }

  /* Fragment anchor offset (SP ヘッダー) */
  :target {
    padding-top: 70px;
    margin-top: -70px;
  }

} /* end @media (max-width: 767px) */