/*
Theme Name: tnk-theme
*/
@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0
}

ul[role='list'],
ol[role='list'] {
  list-style: none
}

body {
  min-height: 100vh;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1
}

h1,
h2,
h3,
h4{
	text-wrap: balance;
	font-weight:500;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor
}

img,
picture {
  max-width: 100%;
}

table th,table td{
	font-size:17px;
}

input,
button,
textarea,
select {
  font: inherit
}

textarea:not([rows]) {
  min-height: 10em
}

:target {
  scroll-margin-block: 5ex
}

body {
  position: relative;
  color: #525151;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック体", "YuGothic","游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Arial", sans-serif;
	font-weight:500;
}

h1 {
  font-size: 18px;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 17px;
}

h4 {
  font-size: 17px;
}

h5 {
  font-size: 17px;
}

h6 {
  font-size: 17px;
}

p {
  font-size: 17px;
  line-height: 1.75;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
li{
	line-height:1.75;
	font-size:17px;
}

.mincho {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.stack>*+* {
  margin-top: 16px;
}

.stack__small>*+* {
  margin-top: 8px;
}

.stack__large>*+* {
  margin-top: 32px;
}


.txt-large {
  font-size: 120%;
}

.txt-small {
  font-size: 80%;
}

.txt-center {
  text-align: center;
}

.txt-right {
  text-align: right;
}

.img-center {
  display: block;
  margin-inline: auto;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-32 {
  margin-bottom: 32px;
}
.mb-48 {
  margin-bottom: 48px;
}
.mb-64 {
  margin-bottom: 64px;
}
.mt-8 {
  margin-top: 8px;
}
.mt-16 {
  margin-top: 32px;
}
.mt-32 {
  margin-top: 32px;
}
.mt-48 {
  margin-top: 48px;
}
.mt-64 {
  margin-top: 64px;
}

.movie {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  /* 16:9 (9÷16=0.5625) */
}

.movie iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ベース */
html {
    scroll-padding-top: 60px;
}
body {
  position: relative;
}

:root {
  --deep-line-blue: #008799;
  --deep-blue: #00b9d1;
  --blue: #09D6F0;
  --light-blue: #E1FCFE;
  --pink: #FFACD5;
  --light-pink: #FFEEF2;
  --red: #FF004E;
}

.wrapper {
  margin-inline: auto;
	padding: 0 2vw;
	max-width: 1360px;
}

.narrow__box {
  margin-inline: auto;
  max-width: 1080px;
}

a {
  text-decoration: none;
  color: var(--deep-line-blue);
  transition: all .3s ease;
}

a:hover {
	opacity:.8;
}

.tel a {
  color: #333;
  text-decoration: none;
}

/*
ヘッダー
*/
.site__header {
	position: fixed;
	top:0;
	width: 100%;
	height:60px;
	width: 100%;
	height:60px;
	padding-inline:2vw;
	margin-inline: auto;
	display: flex;
	justify-content:flex-end;
	align-items: center;
  gap: 8px 36px;
  background: rgba(255, 255, 255, 0.75);
  z-index: 100;
}
.site__logo{
	margin-right:auto;
	line-height:1;
}

.site__header__access {
  margin-left: auto;
  text-align: right;
}
@media all and (max-width:959px) {
  .site__header__access {
    display: none;
  }
}
@media all and (max-width:1423px) {
  .site__header__menu {
    order:2;
  }
}

.site__header__access__list {
  width: 100%;
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  text-align: right;
  gap: 16px;
}

.site__header__access__list li {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: 4px;
}

.site__header__access p {
	font-size: 14px;
}

.site__header__access .access__title {
  color: #fff;
  background: var(--deep-blue);
  font-size: 13px;
  padding: 2px 6px 1px;
  border-radius: 8px;
}

.site__header__access .tel__number {
  font-size: 17px;
}

.sub-menu-title .textwidget p{
	color:#fff;
}
.mega-sub-menu .mega-menu-item a:before{
	content:"▶";
	margin-right:8px;
}

/*
フッター
*/
.site__footer {
  font-size: 15px;
  line-height: 1.8;
  padding: 120px 0 80px;
}

.site__footer__nav {
  color: #333;
  background: var(--light-pink);
}

.site__footer__nav__inner {
  max-width: 1480px;
  margin-inline: auto;
  padding: 24px 2vw;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 8px 32px;
}

.site__footer__nav__inner dt {
  margin-bottom: 8px;
}

.site__footer__nav__inner dd {
  margin-left: 8px;
}

.site__footer__nav__inner dd li::before {
  content: '-';
  margin-right: 8px;
}

.site__footer__nav__inner li,
.site__footer__nav__inner dd {
  margin-bottom: 4px;
	font-size:16px;
}

.footer__infomation__wrapper {
  position: relative;
}

.footer__infomation {
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
}

.copyright {
  text-align: center;
  font-size: 13px;
}

.footer__other__link {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

@media all and (max-width: 999px) {
  .footer__other__link {
    position: static;
  }
}

.site__side__nav {
  width: 100%;
  text-align: center;
  position: fixed;
  bottom: 0;
  display: flex;
	z-index:10;
}

.site__side__nav li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
	font-size: 10px;
  flex: 1;
  padding: 4px;
  background: #fff;
}

.site__side__nav li a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site__side__nav img {
  display: block;
  margin-inline: auto;
  margin-bottom: 4px;
}

@media all and (min-width: 920px) {
  .site__side__nav {
    width: auto;
    position: fixed;
    top: 20vh;
    right: 16px;
    bottom: auto;
    flex-direction: column;
    gap: 16px;
  }

  .site__side__nav li {
    flex: auto;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    box-shadow: 0px 2px 2px 2px rgba(0, 0, 0, 0.15);
  }
}

/*
ページ共通
*/
.site__main {
  padding-bottom: 36px;
}
.site__main p + p{
  margin-top: 16px;
}

.blog__page{
	padding-top:120px; /* ブログページの上余白 */
}

section {
  margin-top: 36px;
  padding-block: 36px;
}

.font-var__m {
  font-size: clamp(24px, 2.8vw, 32px);
}
.font-var__s {
  font-size: clamp(16px, 1.9vw, 20px);
}

.breaking-out {
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
}

.bg__pink {
  background: var(--light-pink);
}

.txt-bold,
.txt-bold li {
  font-weight: bold;
}

@media all and (max-width: 637px) {
  .sp-none {
    display: none;
  }
}


/* top */
.hero__area {
  margin-inline: calc(50% - 50vw);
  position: relative;
}

.hero__area.top__hero {
  display: flex;
  align-items: center;
}

.hero__area.top__hero p {
	color: #fff;
	padding-left: 8vw;
	font-size: clamp(20px, 2.6vw, 34px);
	text-shadow:1px 2px 0 #666,-1px 2px 0 #666,1px -2px 0 #666,-1px -2px 0 #666;
}

.hero__area.top__hero {
  height: 75vh;
  width: 100vw;
  background: url(images/top/hero-top.webp) top center no-repeat;
  background-size: cover;
}

.top__sec__title span {
  display: block;
  font-size: 28px;
  font-weight: 500;
  margin-top: 16px;
  color: var(--deep-line-blue);
}

.medical-subject__list {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

@media screen and (max-width: 1167px) {
  .medical-subject__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 637px) {
  .medical-subject__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.medical-subject__list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}

.medical-subject__list li a {
  padding-block: 8px;
  display: block;
}

.medical-subject__list p {
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--deep-line-blue);
  margin-bottom: 8px;
}

.medical-subject__icon {
  margin: 8px auto;
  width: 90px;
  justify-content: center;
  align-items: center;
}

.medical-subject-info {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media screen and (max-width:637px) {
  .medical-subject-info {
    grid-template-columns: repeat(1, 1fr);
  }
}

.medical-subject-info li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}

.medical-subject-info li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  padding: 8px;
}

.medical-subject__icon__s {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}

.medical-subject-info p {
  font-size: 17px;
  text-align: left;
}

.medical-subject-info p span {
  font-size: 14px;
  display: block;
}

.site__img__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.site__img__sub__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

@media all and (max-width:637px) {
  .site__img__nav {
    flex-wrap: wrap;
  }
}

/* ブログ */
/* 一覧ページのヘッダー */
.blog__hero{
	margin-inline: calc(50% - 50vw);
	position: relative;
}
.blog__hero {
	display: flex;
	align-items: center;
	justify-content:center;
}

.blog__hero p {
	color: var(--deep-line-blue);
	font-size: clamp(26px, 3.8vw, 40px);
	font-weight:600;
	text-shadow:2px 2px 0 #fff,-2px 2px 0 #fff,2px -2px 0 #fff,-2px -2px 0 #fff;
}

.blog__hero {
	height: 40vh;
	width: 100vw;
	background: url(images/hero/hero-blog.webp) top center no-repeat;
	background-size: cover;
}
.blog__hero.report__hero {
	background: url(images/hero/hero-report.webp) top center no-repeat;
	background-size: cover;
}

.article__header,.article__meta{
	padding-block:36px;
}
.article__title{
	font-weight:normal;
}
.article__title span{
	display:block;
	margin-top:16px;
	font-size:16px;
	color:var(--deep-line-blue);
}
.article__meta{
	display:flex;
	align-items: center;
	gap:8px;
	flex-wrap:wrap;
}
.article__meta__cat{
	background:var(--deep-blue);
	color:#fff;
	padding:2px 8px;
	border-radius:8px;
}
.expt__post{
	display:flex;
	align-items: center;
	gap:8px 16px;
	flex-wrap:wrap;
	padding-block:16px;
	border-bottom:1px solid #999;
}
.expt__post h2{
	font-size:18px;
	font-weight:normal;
	line-height:1.4;
}

/* シングルページのページネーション */
.post-navigation {
  margin-top: 3em;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.single__nav .nav-links {
  padding: .5em 0;
}
.single__nav .nav-links:after {
  content: "";
  display: block;
  clear: both;
}
.single__nav .nav-links{
	border-top:1px solid #333;
	width:100%;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	gap:32px;
}
.nav-previous a,.nav-next a{
	display:block;
	color:#fff;
	background:var(--deep-blue);
	padding:8px 16px;
	border-radius:6px;
}

/* 一覧ページのページネーション */
.list__navigation .page-navigation {
	margin-top:32px;
	display: flex;
	justify-content: center;
}
.nav-links{
   display:flex;
	gap:16px;
}
.page-numbers{
   display:inline-block;
   margin-right:10px;
   padding:10px 20px;
   color:#333;
   border-radius:3px;
   background:#ffffff;
  border: 1px solid #333;
}
.page-numbers.current{
   padding:10px 20px;
   background:var(--deep-blue);
   color:#ffffff;
}
.page-numbers.prev,
.page-numbers.next{
   background:transparent;
   box-shadow:none;
     border:none;
   color:#666666; 
}
.page-numbers.dots{
   background:transparent;
   box-shadow:none;
     border:none;
   color:#666666; 
}
/* レスポンシブデザインのためのメディアクエリ */
@media (max-width: 600px) {
.page-numbers,
.page-numbers.current    {
     padding:5px 10px; /* パディングを小さく */
  }
}


.blog__list__title{
	color:var(--deep-line-blue);
	font-weight:600;
	font-size: clamp(24px, 2.8vw, 32px);
	padding-block:48px;
}
.blog__list__sub__title {
	border-top:1px solid var(--deep-blue);
}
.blog__list__sub__title span {
	display: inline-block;
	background: var(--deep-blue);
	color:#fff;
	font-weight:500;
	font-size:16px;
	padding:4px 24px;
	margin-bottom:24px;
}
/*
ブロックのカスタマイズ
*/
/* 色の設定 */
.has-textblue-color {
  color: #008799;
}
.has-textblue-background-color {
  background: #008799;
}
.has-deepblue-color {
  color: #00B9D1;
}
.has-deepblue-background-color {
  background: #00B9D1;
}
.has-deepblue-color {
  color: #00B9D1;
}
.has-deepblue-background-color {
  background: #00B9D1;
}

.has-blue-color {
  color: #09D6F0;
}
.has-blue-background-color {
  background: #09D6F0;
}

.has-lightblue-color {
  color: #e1fcfe;
}
.has-lightblue-background-color {
  background: #e1fcfe;
}
.has-pink-color {
  color: #ffacd5;
}
.has-pink-background-color {
  background: #ffacd5;
}
.has-lightpink-color {
  color: #ffeef2;
}
.has-lightpink-background-color {
  background: #ffeef2;
}
.has-red-color {
  color: #ff004e;
}
.has-red-background-color {
  background: #ff004e;
}
/* リストの修正 */
.wp-block-list{
	padding-left:24px;
}

.tnk-number-list{
	counter-reset: listnum; /* カウンターをリセット */
	list-style: none;
	padding-left:0;
}
.tnk-number-list li{
	display:flex;
	gap:2px;
}
.tnk-number-list li:before{
	counter-increment: listnum;
	content: counter(listnum)"）";
}

/* 投稿一覧 */
.wp-block-latest-posts__list li {
  margin-bottom: 8px;
}

.tnk-info-list li {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  border-bottom: 1px solid #999;
	padding:8px 0;
	font-size:17px;
}

.tnk-info-list li time {
  flex-basis: 120px;
}

.tnk-info-list li a {
  flex: 1;
}

/* タブ */
.tnk-tab .smb-tabs__tabs {
  padding-bottom: 8px;
	width:100%;
	padding-inline:24px;
}

.tnk-tab .smb-tabs__tab-wrapper {
  padding: 8px;
  text-align: center;
  color: var(--deep-line-blue);
  background: #fff;
  border: 1px solid var(--deep-blue);
  border-radius: 16px;
}

.tnk-tab .smb-tabs__tab-wrapper button {
  display: block;
  width: 100%;
}

.tnk-tab .smb-tabs__tab-wrapper:has([aria-selected=true]) {
  color: #fff;
  background: var(--deep-blue);
}
.tnk-tab .smb-tabs__tab[aria-selected=false] {
  opacity:1;
}
.tnk-tab .smb-tabs__tab-wrapper:hover {
  color: #fff;
  background: var(--deep-blue);
}

.tnk-tab .smb-tabs__body {
  border: 1px solid var(--deep-blue);
  border-radius: 16px;
  padding: 16px;
}

/* テーブル */
.tnk-table table {
  margin-bottom: 16px;
}

.tnk-table table thead,
.tnk-table table th {
  background: var(--light-pink) !important;
}

/*
ページテンプレート用CSS
*/
.tnk-page-title{
	color:var(--deep-line-blue);
	font-weight:600;
	font-size: clamp(24px, 2.8vw, 32px);
	padding-block:60px 48px;
}

.tnk-border-top-hdg-hr{
	height:1px;
	width:100%;
	margin:0;
	color:transparent;
	border-bottom:1px solid var(--deep-blue);
}
.tnk-border-top-hdg {
	display: inline-block;
	background: var(--deep-blue);
	color:#fff;
	font-weight:500;
	font-size:16px;
	padding:4px 24px;
	margin-bottom:24px;
}
.tnk-center-bg−hdg{
	color:#fff;
	background:var(--deep-blue);
	padding:8px;
	margin-bottom:24px;
	font-size:20px;
}

.breaking-col{
	margin-inline:calc(50% - 50vw) !important;
	padding-inline:calc(50vw - 50%) !important;
}
.bg__light-pink{
	background:var(--light-pink);
	padding-block:24px;
}
.tnk-rink-col{
	padding-block:24px;
	display:grid !important;
	grid-template-columns: repeat(auto-fill, minmax( min(260px, 100%), 1fr)) !important;
	gap:16px 24px !important;
}

.tnk-rink-col .wp-block-snow-monkey-blocks-btn a{
	box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.15);
	border-radius:16px;
	color:var(--deep-line-blue);
}
.tnk-rink-col .wp-block-snow-monkey-blocks-btn a:hover{
	color:#fff;
	background:var(--deep-blue);
	filter:none;
}x
.tnk-link-btn{
	color:var(--deep-line-blue) !important;
	border:1px solid var(--deep-blue);
}
.tnk-link-btn span{
	color:var(--deep-line-blue);
}
.tnk-list{
	margin-bottom:24px;
}
.tnk-row-btn{
	display:grid !important;
	grid-template-columns: repeat(auto-fill, minmax( min(180px, 100%), 1fr)) !important;
	gap:16px !important;
	
}
.tnk-row-btn .wp-block-button a{
	font-size:16px;
	padding:4px 8px;
	color:var(--deep-line-blue);
	background:#fff;
	border:1px solid var(--deep-blue);
	border-radius:6px;
}
.tnk-row-btn .wp-block-button a:hover{
	color:#fff;
	background:var(--deep-blue);
	border:1px solid var(--deep-blue);
}
.tnk-row-btn .wp-block-button.current a,.tnk-rink-col .current a{
	color:#fff;
	background:var(--deep-blue);
	border:1px solid var(--deep-blue);
}

.tnk-double-circle-list li::before{
	display:inline-block;
	content:'';
	width: 12px;
	height: 12px;
	background-color: var(--deep-blue);
	border-radius: 50%;
	border: solid 1px white;
	box-shadow:0 0 0 1px var(--deep-blue);
	margin-right:8px;
}
.wp-block-snow-monkey-blocks-box{
padding:0;
}
.tnk-padding-box{
	padding:36px 3vw;
}
.tnk-flex-wrap .smb-box__body{
	display:flex;
	justify-content:flex-start !important;
	align-items:flex-end;
	flex-wrap:wrap;
	gap:8px;
}
.tnk-flex-wrap .smb-box__body figure{
	margin:0 !important;
}
.tnk-grid-gap{
	gap:36px 16px;
}

.tnk-arrow-btn{
	padding-left:24px !important;
}
.tnk-arrow-btn a{
	color:var(--deep-line-blue) !important;
	background:#fff;
	border:none;
	border-radius:0;
	border-bottom:1px solid #666;
	padding:4px 20px 4px 0;
	background:url(images/common/more-s.png) right center no-repeat;
}
.tnk-pdf-btn{
	padding:4px 40px 4px 0;
	background:url(images/common/pdf.png) right center no-repeat;
}
.tnk-no-pdf{
	padding:4px 40px 4px 0;
}


/* ヒーロー画像 */
.tnk-hero{
	width: 100vw;
	margin-inline:calc(50% - 50VW);
	aspect-ratio:16/4 !important;
}
.tnk-hero p{
	font-size: clamp(26px, 3.6vw, 40px) !important;
	color:var(--deep-line-blue);
	margin-top:16px;
	font-weight:600;
	text-shadow:2px 2px 0 #fff,-2px 2px 0 #fff,2px -2px 0 #fff,-2px -2px 0 #fff;
}

/* お問い合わせ */
.smf-item__label__text {
    position: relative;
}
.smf-item:has([data-validations~="required"]) .smf-item__label__text::after {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 23px;
  border-radius: 4px;
  content: "必須";
  font-size: 12px;
  color: var(--red);
}
.smf-form .smf-checkbox-control{
	align-items:end;
}
.smf-item{
	margin-bottom:24px;
}
.smf-action{
	text-align:center;
}
.smf-action .smf-button-control__control[data-action="confirm"],
.smf-action .smf-button-control__control[data-action="complete"] {
	background: var(--deep-blue);
	color:#fff;
	border-radius:30px;
	border:none;
	padding:10px 80px;
}

.tnk-form  input[type="text"],
.tnk-form  input[type="email"],
.tnk-form  input[type="tel"],
.tnk-form  input[type="url"],
.tnk-form  textarea{
	min-width:60%;
}

/* 手紙選択 */
.tnk-select-letter .smf-radio-buttons-control__control{
	display:grid;
	grid-template-columns: repeat(auto-fill, minmax( min(240px, 100%), 1fr));
	gap:16px;
}
.tnk-select-letter label{
	display:block;
	width:100%;
}
.tnk-select-letter input[type=radio]::after{
    content: "";
	display: inline-block;
	margin-block:16px;
	background-size: contain;
    width: 240px;
	aspect-ratio: .705/1;
}

input[type=radio][value="letter01"]::after{
	background: url('images/letter/01.webp') left center no-repeat;
	background-size: contain;
}
input[type=radio][value="letter02"]::after{
	background: url('images/letter/02.webp') left center no-repeat;
	background-size: contain;
}
input[type=radio][value="letter03"]::after{
	background: url('images/letter/03.webp') left center no-repeat;
	background-size: contain;
}
input[type=radio][value="letter04"]::after{
	background: url('images/letter/04.webp') left center no-repeat;
	background-size: contain;
}
input[type=radio][value="letter05"]::after{
	background: url('images/letter/05.webp') left center no-repeat;
	background-size: contain;
}
input[type=radio][value="letter06"]::after{
	background: url('images/letter/06.webp') left center no-repeat;
	background-size: contain;
}