@charset "UTF-8";
/*
Theme Name: hoshi-iin
Author: Links Agency Inc.
Description: これは「医療法人 清扶会 星医院」専用のオリジナルテーマです。
*/




/* ＝＝＝＝＝ 全ページ共通 (その他) ＝＝＝＝＝ */

body {
	color: #3e3a39;
}

.container-full {
  width: 100%;
}

.container-narrow,
.container-very-narrow {
  display: block;
}

.container-bg-graphpaper {
  background-color: #fef7f6;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1%, rgba(255, 255, 255, 0.5) 1%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0) 99%, rgba(255, 255, 255, 0.5) 99%, rgba(255, 255, 255, 0.5) 100%), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1%, rgba(255, 255, 255, 0.5) 1%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0) 99%, rgba(255, 255, 255, 0.5) 99%, rgba(255, 255, 255, 0.5) 100%), linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 25%, rgba(255, 255, 255, 0.3) 25%, rgba(255, 255, 255, 0.3) 26%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.3) 51%, rgba(0, 0, 0, 0) 51%, rgba(0, 0, 0, 0) 75%, rgba(255, 255, 255, 0.3) 75%, rgba(255, 255, 255, 0.3) 76%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, 0) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 25%, rgba(255, 255, 255, 0.3) 25%, rgba(255, 255, 255, 0.3) 26%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.3) 51%, rgba(0, 0, 0, 0) 51%, rgba(0, 0, 0, 0) 75%, rgba(255, 255, 255, 0.3) 75%, rgba(255, 255, 255, 0.3) 76%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, 0) 100%);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.8;
}

a {
	color: #3e3a39;
	transition: all .2s;
}

i {
  padding-right: .6em;
}

.greeting .h-a i {
  padding-right: 0;
  padding-left: .6em;
}

.h-a {
  display: table;
  padding-bottom: 4px;
  border-bottom: 2px solid #f9d3cd;
  margin-right: auto;
  margin-left: auto;
  font-weight: bold;
  letter-spacing: .1em;
}

.h-b {
  font-weight: normal;
}

.h-b span {
  color: #f9d3cd;
}

.h-c {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: normal;
  color: #fff;
  text-align: center;
}

.h-c span {
  display: block;
}

.pageoutline-box {
  border: 1px solid #e6e6e6;
  position: relative;
}

.pageoutline-box:after{
  content: '';
  position: absolute;
  border: 1px solid #e6e6e6;
  z-index: -1;
}

.pageoutline-box a {
  text-decoration: underline;
}

.pageoutline-box a:hover {
  color: #f9d3cd;
}

.sectionline-inr {
  width: 100%;
  height: 1px;
  background-color: #e6e6e6;
}

.beforecircle:before {
  content: '●';
  color: #f9d3cd;
}

.fadeoff { /* フェイドイン用 */
  opacity: 0;
  transition: all .1s;
}

.fadein { /* フェイドイン用 */
  opacity: 1;
}


@media (max-width: 374px) {

  .container-bg-1 {
    padding: 40px 0;
  }

  .hometopics .h-a {
    margin-bottom: 30px;
  }

  .h-b {
    margin-bottom: 10px;
    font-size: 1.5rem;
    letter-spacing: .08em;
  }

  .h-b span {
    padding-right: .3em;
  }

}


@media (min-width: 375px) and (max-width: 479px) {

  .container-bg-1 {
    padding: 30px 0;
  }

  .hometopics .h-a {
    margin-bottom: 30px;
  }

  .h-b {
    margin-bottom: 10px;
    font-size: 1.5rem;
    letter-spacing: .08em;
  }

  .h-b span {
    padding-right: .3em;
  }

}


@media (max-width: 479px) {

  main > section {
    margin-bottom: 40px;
  }

  .container-wide {
    margin-right: 20px;
    margin-left: 20px;
  }

  .container-narrow,
  .container-very-narrow {
    padding-right: 20px;
    padding-left: 20px;
  }

  .main .container-bg-2 {
    width: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-right: 20px;
    margin-left: 20px;
  }

  .h-a {
    font-size: 1.6rem;
    text-shadow: 1px 1px 0 rgba(249,211,205,.4);
  }
  
}


@media (min-width: 480px) {

  .h-a {
    text-shadow: 2px 2px 0 rgba(249,211,205,.4);
  }

}


@media (min-width: 480px) and (max-width: 599px) {

  main > section {
    margin-bottom: 50px;
  }

  .container-wide {
    margin-right: 30px;
    margin-left: 30px;
  }

  .container-narrow,
  .container-very-narrow {
    padding-right: 30px;
    padding-left: 30px;
  }

  .container-bg-1 {
    padding: 50px 0;
  }

  .main .container-bg-2 {
    width: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-right: 30px;
    margin-left: 30px;
  }

  .h-a {
    font-size: 1.8rem;
  }

  .h-b {
    margin-bottom: 20px;
    font-size: 1.6rem;
    letter-spacing: .1em;
  }

  .h-b span {
    padding-right: .3em;
  }

}


@media (max-width: 599px) {

	body {
		font: normal 400 1.4rem/1.8 'Noto Sans JP', "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
	}

  .container-bg-1,
  .container-bg-2 {
    border-radius: 4px;
  }

  .container-bg-graphpaper {
    background-size: 84px 84px;
  }

  .bigheadline {
    padding: 20px;
  }

  .pageoutline-box {
    width: calc(100% - 3px);
    height: calc(100% - 3px);
    padding: 20px 18px 20px 24px;
    border-radius: 4px;
  }

  .pageoutline-box:after{
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    top: 2px;
    left: 2px;
    border-radius: 4px;
  }

  .h-a {
    margin-bottom: 30px;
  }

  .h-c {
    font-size: 1.6rem;
    letter-spacing: .1em;
    text-shadow: 0 0 10px rgba(0,0,0,.4);
  }

  .h-c-date {
    padding-top: 8px;
    font-size: 1.2rem;
  }

  .beforecircle:before {
    margin-right: .3em;
  }

}


@media (min-width: 600px) {

	body {
		font: normal 400 1.7rem/2.0 'Noto Sans JP', "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
	}

  .container-bg-1,
  .container-bg-2 {
    border-radius: 10px;
  }

  .container-bg-2 {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .container-bg-graphpaper {
    background-size: 80px 80px;
  }

  .pageoutline-box {
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    padding: 32px 24px 28px 38px;
    border-radius: 4px;
  }

  .pageoutline-box:after{
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    top: 4px;
    left: 4px;
    border-radius: 4px;
  }

  .h-a {
    margin-bottom: 50px;
    font-size: 2.1rem;
  }

  .h-b {
    margin-bottom: 20px;
    letter-spacing: .1em;
  }

  .h-b span {
    padding-right: .3em;
  }

  .beforecircle:before {
    margin-right: .5em;
  }

}


@media (min-width: 600px) and (max-width: 959px) {

  main > section {
    margin-bottom: 70px;
  }

  .container-wide {
    margin-right: 40px;
    margin-left: 40px;
  }

  .container-narrow,
  .container-very-narrow {
    padding-right: 40px;
    padding-left: 40px;
  }

  .main .container-bg-2 {
    width: auto;
    margin-right: 40px;
    margin-left: 40px;
  }

  .bigheadline {
    padding: 30px;
  }

  .h-c {
    font-size: 2.0rem;
    letter-spacing: .2em;
    text-shadow: 0 0 10px rgba(0,0,0,.4);
  }

  .h-c-date {
    padding-top: 10px;
    font-size: 1.6rem;
  }

}


@media (min-width: 600px) and (max-width: 1379px) {

  .container-bg-1 {
    padding: 70px 0;
  }

}


@media (max-width: 959px) {

  .h-c {
    font-weight: bold;
  }

}


@media (min-width: 960px) {

  main > section {
    margin-bottom: 80px;
  }

  .container-wide {
    margin-right: 50px;
    margin-left: 50px;
  }

  .bigheadline {
    padding: 50px;
  }

  .h-c {
    font-size: 2.6rem;
    letter-spacing: .2em;
    text-shadow: 0 0 10px rgba(0,0,0,.4);
  }

  .h-c-date {
    padding-top: 10px;
    font-size: 2.0rem;
  }

}


@media (min-width: 960px) and (max-width: 1279px) {

  .container-very-narrow {
    padding-right: 50px;
    padding-left: 50px;
  }

}


@media (min-width: 960px) and (max-width: 1379px) {

  .container-narrow {
    padding-right: 50px;
    padding-left: 50px;
  }

  .main .container-bg-2 {
    width: auto;
    margin-right: 50px;
    margin-left: 50px;
  }

}


@media (max-width: 1239px) {

  .main {
    padding-top: 50px;
    overflow: hidden;
  }

}


@media (max-width: 1279px) {

  .container-very-narrow {
    width: 100%;
  }

}


@media (min-width: 1280px) {

  .container-very-narrow {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
  }

}


@media (max-width: 1379px) {

  .container-narrow {
    width: 100%;
  }

}


@media (min-width: 1380px) {

  .container-narrow {
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
  }

  .container-bg-1 {
    padding: 70px 50px;
  }

  .container-bg-2 {
    padding-right: 60px;
    padding-left: 60px;
  }

}




/* ＝＝＝＝＝ 全ページ共通 (ヘッダー) ＝＝＝＝＝ */

.hd-l a {
  display: flex;
  align-items: center;
}

.hd-l a:hover {
  opacity: .6;
}


/* IE 11 */
_:-ms-fullscreen, :root .hd-cta {
  display: inline-block;
  height: 50px;
  line-height: 50px;
  padding-top: 0;
  padding-right: 30px;
  padding-bottom: 0;
  padding-left: 30px;
}


/* Safari */
@media screen and (-webkit-min-device-pixel-ratio: 0) {

  _::-webkit-full-page-media, _:future, :root .hd-cta {
    font-weight: normal;
  }

}


@media (max-width: 1239px) {

  header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    background-color: #fff;
    width: 100%;
    height: 50px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
  }
  
  header .container-wide {
    display: flex;
    justify-content: space-between;
    margin-right: 0;
    margin-left: 14px;
  }
  
  .hd-l {
    display: inline-block;
  }

  .hd-l a {
    height: 50px;
    padding-bottom: 2px;
  }

  .star {
    width: 18px;
    margin-right: 9px;
  }

  .logo {
    width: 60px;
  }

  .hd-r {
    display: none;
  }

}


@media (min-width: 1240px) {

  header .container-wide {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  header .container-wide {
    display: flex;
    justify-content: space-between;
  }
  
  .hd-l {
    display: flex;
  }

  .hd-l a {
    margin-top: -14px;
  }

  .star {
    width: 40px;
    padding-bottom: 1px;
    margin-right: 16px;
  }

  .logo {
    width: 120px;
  }

  .hd-r {
    justify-content: flex-end;
  }

  .hd-r-t ul,
  .hd-r-b ul {
    display: flex;
    justify-content: flex-end;
  }

  .hd-r-t ul {
    align-items: center;
  }

  .hd-r-t ul a,
  .hd-r-t ul p,
  .hd-r-b ul a {
    letter-spacing: .1em;
  }

  .hd-r-t {
    margin-bottom: 36px;
  }

  .hd-r-t li:not(:last-of-type) {
    margin-right: 2.4em;
  }

  .hd-r-t li p {
    font-size: 1.5rem;
  }

  .hd-r-b li {
    position: relative;
  }

  .hd-r-b li:not(:last-of-type):after {
    content: '';
    position: absolute;
    top: 8px;
    right: -42px;
    width: 1px;
    height: 20px;
    display: block;
    background-color: #aaa;
    -moz-transform: skew(-20deg, -20deg);
    -ms-transform: skew(-20deg, -20deg);
    -webkit-transform: skew(-20deg, -20deg);
    transform: skew(-20deg, -20deg);
  }

  .hd-r-b li:not(:last-of-type) {
    margin-right: 5.0em;
  }

  .hd-r-b li a {
    font-size: 1.8rem;
  }

  .hd-r-b li a:hover {
    color: #f9d3cd;
  }

  .hd-cta {
    border-radius: 6px;
    padding: 13px 30px 12px;
    border: 2px solid #f9d3cd;
    background-color: #fef7f6;
    font-weight: bold;
  }

  .hd-cta:hover {
    background-color: #f9d3cd;
  }

  .cta-tel {
    font-family: 'Varela Round', sans-serif;
  }

}




/* ＝＝＝＝＝ 全ページ共通 (フッター) ＝＝＝＝＝ */

.ft-info a {
	text-decoration: underline;
}

.ft-info a:hover {
  color: #f9d3cd;
}

.ft-info-1 a {
  display: flex;
  align-items: center;
}

.ft-info-1 a:hover {
  opacity: .6;
}

.ft-info-3 dt,
.ft-info-3 dd {
  display: inline-block;
}

.ft-sitemap ul {
  display: flex;
  flex-flow: row wrap;
  line-height: 2.3;
}

.ft-sitemap li:not(:last-of-type) {
  padding-right: 30px
}

.ft-sitemap a {
  position: relative;
  text-decoration: underline;
}

.ft-sitemap a:hover {
  color: #f9d3cd;
}

.ft-sitemap-icon {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f9d3cd;
}

.ft-sitemap-txt {
  padding-left: 1.4em;
}


@media (max-width: 374px) {

  .ft-sitemap {
    padding-bottom: 40px;
  }

  .ft-info > div:not(:last-of-type) {
    margin-bottom: 30px;
  }

  .ft-sitemap {
    padding-top: 30px;
  }

  .ft-info-3 {
    font-size: 1.3rem;
  }

  .ft-info-3 dt {
    width: 108px;
  }

  .copyright {
    padding-bottom: 60px;
  }

}


@media (min-width: 375px) and (max-width: 479px) {

  .ft-sitemap {
    padding-bottom: 40px;
  }

  .ft-info > div:not(:last-of-type) {
    margin-bottom: 30px;
  }

  .ft-sitemap {
    padding-top: 30px;
  }

  .ft-info-3 dt {
    width: 120px;
  }

  .copyright {
    padding-bottom: 60px;
  }

}


@media (min-width: 480px) and (max-width: 599px) {

  .ft-sitemap,
  .copyright {
    padding-bottom: 60px;
  }

  .ft-info {
    letter-spacing: .08em;
  }

  .ft-info > div:not(:last-of-type) {
    margin-bottom: 30px;
  }

  .ft-sitemap {
    padding-top: 30px;
  }

  .ft-info-3 dt {
    width: 140px;
  }

}


@media (max-width: 599px) {

  .copyright {
    font-size: 1.2rem !important;
    letter-spacing: .1em;
  }

}


@media (min-width: 600px) {

  .ft-info-3 dt {
    width: 170px;
  }

  .copyright {
    font-size: 1.5rem !important;
    letter-spacing: .1em;
  }

}


@media (min-width: 600px) and (max-width: 999px) {

  .ft-sitemap {
    padding-bottom: 70px;
  }

  .copyright {
    padding-bottom: 80px;
  }

  .ft-info {
    letter-spacing: .08em;
  }

  .ft-info > div:not(:last-of-type) {
    margin-bottom: 30px;
  }

  .ft-sitemap {
    padding-top: 30px;
  }

}


@media (min-width: 1000px) {

  .ft-sitemap,
  .copyright {
    padding-bottom: 80px;
  }

  .ft-sitemap {
    padding-top: 40px;
  }

}


@media (min-width: 1000px) and (max-width: 1239px) {

  .ft-info {
    display: flex;
    flex-flow: row wrap;
    letter-spacing: .08em;
  }

  .ft-info-1 {
    width: 19%;
  }

  .ft-info-2 {
    width: 49%;
  }

  .ft-info-3 {
    width: 32%;
  }

}


@media (min-width: 1100px) {

  .ft-sitemap ul {
    justify-content: space-between;
  }

}


@media (max-width: 1239px) {

  .ft-juridicalpersonality {
    margin-bottom: 8px;
  }

}


@media (min-width: 1240px) {

  .ft-juridicalpersonality {
    margin-bottom: 12px;
  }

}


@media (min-width: 1240px) and (max-width: 1279px) {

  .ft-info {
    display: flex;
    flex-flow: row wrap;
    letter-spacing: .08em;
  }

  .ft-info-1 {
    width: 22%;
  }

  .ft-info-2 {
    width: 40%;
  }

  .ft-info-3 {
    width: 38%;
  }

}


@media (min-width: 1280px) {

  .ft-info {
    display: flex;
    flex-flow: row wrap;
    letter-spacing: .08em;
  }

  .ft-info-1 {
    width: 22%;
  }

  .ft-info-2 {
    width: 40%;
  }

  .ft-info-3 {
    width: 38%;
  }

}




/* ＝＝＝＝＝ 全ページ共通 (トップへ戻る) ＝＝＝＝＝ */

.pagetop {
	position: fixed;
	z-index: 100;
}

.pagetop a {
	display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
	background-color: #f9d3cd;
	color: #fff;
  border-radius: 50%;
	transition: all ease-in .2s;
}

.pagetop a i {
	padding-right: 0;
}


/* IE 11 */
_:-ms-fullscreen, :root .pagetop a i {
  margin-top: 3px;
}


.pagetop a:hover {
  background-color: #fff;
	color: #f9d3cd;
}


@media (max-width: 374px) {

	.pagetop {
		right: 30px;
		bottom: 30px;
	}

}


@media (min-width: 375px) and (max-width: 479px) {

	.pagetop {
		right: 30px;
		bottom: 30px;
	}

}


@media (min-width: 480px) and (max-width: 599px) {

	.pagetop {
		right: 30px;
		bottom: 30px;
	}

}


@media (max-width: 599px) {

  .pagetop a {
    width: 40px;
    height: 40px;
    font-size: 2.4rem;
  }

}


@media (min-width: 600px) {

  .pagetop a {
    width: 50px;
    height: 50px;
    font-size: 2.8rem;
  }

}


@media (min-width: 600px) and (max-width: 959px) {

	.pagetop {
		right: 40px;
		bottom: 40px;
	}

}


@media (min-width: 960px) and (max-width: 1049px) {

	.pagetop {
		right: 50px;
		bottom: 50px;
	}

}


@media (min-width: 1050px) {

	.pagetop {
		right: 50px;
		bottom: 50px;
	}

}

/*reCAPTCHA位置*/
.grecaptcha-badge {
 bottom: 120px !important;
}


/* ＝＝＝＝＝ トップページ ＝＝＝＝＝ */

.greeting .h-a i {
  transform: scaleX(-1);
}

.greeting-img-bg {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  z-index: -1;
  background-image: url(assets/img/bg-azalea-1.jpg);
  background-size: cover;
}

.greeting-img img {
  width: 100%;
}

.greeting-txt a {
	text-decoration: underline;
}

.greeting-txt a:hover {
  color: #f9d3cd;
}

.greeting-name {
  text-align: right;
}

.greeting-name-2 {
  font-weight: bold;
}

.hometopic a {
  display: flex;
}

.hometopic a:hover .hometopic-txt {
  color: #f9d3cd;
}

.hometopic-thumb {
  position: relative;
  transition: all .2s;
}

.hometopic-thumb img {
  width: 100%;
}

.hometopic-thumb img:first-of-type {
  position: absolute;
  transition: all .2s;
}

.hometopic a:hover img:first-of-type {
	opacity: 0;
	position: absolute;
}

.hometopic-txt {
  transition: all .2s;
}

.hometopic-date {
  display: inline-block;
  font-family: 'Varela Round', sans-serif;
}

.hometopic-ttl {
  font-weight: normal;
  text-decoration: underline;
}

.more {
  text-align: center;
}

.more a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  align-items: center;
  position: relative;
  background-color: #fff;
}

.more a:hover {
  background-color: #f9d3cd;
}

.more span {
  position: absolute;
}

.subject-box {
  border: 1px dashed #ddd;
}

.subject-item {
  margin: 0 auto;
  text-align: center;
}

.subject-item figcaption {
  background: linear-gradient(transparent 50%, #f9d3cd 50%);
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

.subject-item figcaption {
  display: inline-block;
}

.consultationhours-info a {
	text-decoration: underline;
}

.consultationhours-info a:hover {
  color: #f9d3cd;
}

.consultationhours-closed {
  color: #d76a6d;
}

.consultationhours-schedule table {
  width: 100%;
  border: 1px solid #f9d3cd;
  border-collapse: separate;
}

.consultationhours-schedule th,
.consultationhours-schedule td {
	text-align: center;
}

.consultationhours-schedule th {
	background-color: #f9d3cd;
	font-weight: normal;
}

.consultationhours-schedule th:not(:last-of-type) {
	border-right: 1px solid #f5e3dd;
}

.consultationhours-schedule td:not(:last-of-type) {
	border-right: 1px solid #f5e3dd;
}

.consultationhours-schedule tr:last-of-type td {
	border-top: 1px solid #f5e3dd;
}

.physician-txt dt {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: normal;
}

.physician-txt dt i {
  color: #f9d3cd;
}

.physician-txt dd a {
  text-decoration: underline;
}

.physician-txt dd a:hover {
  color: #f9d3cd;
}


/* IE 11 */
_:-ms-fullscreen, :root .physician-txt dt {
  font-weight: normal;
}


/* Firefox */
@-moz-document url-prefix() {

  .physician-txt dt {
    font-weight: normal;
  }

}


/* Safari */
@media screen and (-webkit-min-device-pixel-ratio: 0) {

  _::-webkit-full-page-media, _:future, :root .physician-txt dt {
    font-weight: normal;
  }

}


@media (max-width: 374px) {

  .hometopics-box,
  .subject,
  .consultationhours-box {
    margin-bottom: 40px;
  }

  .subject-box {
    border-radius: 4px;
  }

  .subject-box li:not(:last-of-type) {
    border-bottom: 1px dashed #ddd;
  }

  .subject-item {
    display: flex;
    align-items: flex-start;
    flex-flow: row wrap;
    justify-content: center;
    width: 80px;
  }

  .subject-item figcaption {
    order: 1;
    padding: 0 4px;
    margin-bottom: 20px;
    font-size: 1.2rem;
  }

  .subject-item img {
    order: 2;
    width: 100%;
    padding: 0 10px;
  }

  .subject-txt {
    width: calc(100% - 80px);
    padding-left: 20px;
    font-size: 1.2rem;
  }

  .consultationhours-info {
    margin-bottom: 40px;
  }

  .consultationhours-info p:not(:last-of-type) {
    margin-bottom: 12px;
  }

  .consultationhours-schedule {
    font-size: 1.2rem;
  }

  .consultationhours-schedule table {
    border-radius: 4px;
  }

  .consultationhours-schedule tr th:first-of-type,
  .consultationhours-schedule tr td:first-of-type {
    min-width: 86px;
  }

  .consultationhours-schedule tr:first-of-type th:first-of-type {
    border-radius: 3px 0 0 0;
  }

  .consultationhours-schedule tr:first-of-type .consultationhours-mb-last {
    border-radius: 0 3px 0 0;
  }

  .consultationhours-schedule th,
  .consultationhours-schedule td {
    padding: 6px 0;
  }

  .consultationhours-schedule tr:first-of-type th:not(:first-of-type) {
    width: 46px;
  }

  .physician-img {
    width: 24%;
    margin-right: 20px;
  }

  .physician-txt {
    width: 76%;
  }

  .physician-txt dt {
    margin-bottom: 2px;
  }

  .physician-txt dd {
    font-size: 1.3rem;
  }

  .hometopic-thumb {
    width: 46px;
    margin-right: 20px;
  }

  .hometopic-txt {
    width: calc(100% - 46px);
  }

  .greeting-img {
    display: flex;
    align-items: start;
    position: relative;
    margin-bottom: 20px;
  }

  .greeting-img-bg {
    bottom: -3px;
    right: -3px;
    border-radius: 4px;
  }

  .greeting-img img {
    border-radius: 4px;
  }

  .greeting-txt {
    letter-spacing: .04em;
  }

  .greeting-body {
    margin-bottom: 10px;
  }

  .greeting-name-1 {
    padding-right: .8em;
    font-size: 1.3rem;
  }

}


@media (min-width: 375px) and (max-width: 479px) {

  .hometopics-box,
  .subject,
  .consultationhours-box {
    margin-bottom: 40px;
  }

  .subject-box {
    border-radius: 4px;
  }

  .subject-box li:not(:last-of-type) {
    border-bottom: 1px dashed #ddd;
  }

  .subject-item {
    display: flex;
    align-items: flex-start;
    flex-flow: row wrap;
    justify-content: center;
    width: 80px;
  }

  .subject-item figcaption {
    order: 1;
    padding: 0 4px;
    margin-bottom: 20px;
    font-size: 1.2rem;
  }

  .subject-item img {
    order: 2;
    width: 100%;
    padding: 0 10px;
  }

  .subject-txt {
    width: calc(100% - 80px);
    padding-left: 20px;
    font-size: 1.2rem;
  }

  .consultationhours-info {
    margin-bottom: 40px;
  }

  .consultationhours-info p:not(:last-of-type) {
    margin-bottom: 12px;
  }

  .consultationhours-schedule {
    font-size: 1.2rem;
  }

  .consultationhours-schedule table {
    border-radius: 4px;
  }

  .consultationhours-schedule tr th:first-of-type,
  .consultationhours-schedule tr td:first-of-type {
    min-width: 96px;
  }

  .consultationhours-schedule tr:first-of-type th:first-of-type {
    border-radius: 3px 0 0 0;
  }

  .consultationhours-schedule tr:first-of-type .consultationhours-mb-last {
    border-radius: 0 3px 0 0;
  }

  .consultationhours-schedule th,
  .consultationhours-schedule td {
    padding: 6px 0;
  }

  .consultationhours-schedule tr:first-of-type th:not(:first-of-type) {
    width: 46px;
  }

  .physician-img {
    width: 24%;
    margin-right: 20px;
  }

  .physician-txt {
    width: 76%;
  }

  .physician-txt dt {
    margin-bottom: 2px;
  }

  .physician-txt dd {
    font-size: 1.3rem;
  }

  .hometopic-thumb {
    width: 70px;
    margin-right: 20px;
  }

  .hometopic-thumb img {
    border: 2px solid #fff;
    border-radius: 6px;
  }

  .hometopic-txt {
    width: calc(100% - 70px);
  }

  .greeting-img {
    display: flex;
    align-items: start;
    position: relative;
    margin-bottom: 20px;
  }

  .greeting-img-bg {
    bottom: -3px;
    right: -3px;
    border-radius: 4px;
  }

  .greeting-img img {
    border-radius: 4px;
  }

  .greeting-txt {
    letter-spacing: .04em;
  }

  .greeting-body {
    margin-bottom: 10px;
  }

  .greeting-name-1 {
    padding-right: .8em;
    font-size: 1.3rem;
  }

}


@media (max-width: 479px) {

  .consultationhours-mb-none {
    display: none;
  }
  
  .consultationhours-mb-last {
    border-right: none !important;
  }

  .physician-box li:not(:last-of-type) {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .hometopics-box > article:not(:last-of-type) {
    margin-bottom: 40px;
  }

  .hometopic-date {
    font-size: 1.2rem;
    letter-spacing: .04em;
  }

  .hometopic-ttl {
    font-size: 1.3rem;
  }

  .hometopic a {
    align-items: center;
  }

  .physician-box li {
    display: flex;
    align-items: center;
  }

}


@media (min-width: 480px) and (max-width: 599px) {

  .hometopics-box,
  .subject,
  .consultationhours-box {
    margin-bottom: 40px;
  }

  .subject-box {
    border-radius: 4px;
  }

  .subject-box li:not(:last-of-type) {
    border-bottom: 1px dashed #ddd;
  }

  .subject-item {
    display: flex;
    align-items: flex-start;
    flex-flow: row wrap;
    justify-content: center;
    width: 100px;
  }

  .subject-item figcaption {
    order: 1;
    padding: 0 6px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    letter-spacing: .1em;
  }

  .subject-item img {
    order: 2;
    width: 100%;
    padding: 0 20px;
  }

  .subject-txt {
    width: calc(100% - 100px);
    padding-left: 20px;
  }

  .consultationhours-info {
    margin-bottom: 30px;
    letter-spacing: .08em;
  }

  .consultationhours-info p:not(:last-of-type) {
    margin-bottom: 10px;
  }

  .consultationhours-schedule table {
    border-radius: 4px;
  }

  .consultationhours-schedule tr th:first-of-type,
  .consultationhours-schedule tr td:first-of-type {
    min-width: 110px;
  }

  .consultationhours-schedule tr:first-of-type th:first-of-type {
    border-radius: 3px 0 0 0;
  }

  .consultationhours-schedule tr:first-of-type th:last-of-type {
    border-radius: 0 3px 0 0;
  }

  .consultationhours-schedule th,
  .consultationhours-schedule td {
    padding: 10px 0;
  }

  .consultationhours-schedule tr:first-of-type th:not(:first-of-type) {
    width: 50px;
  }

  .physician-box li {
    display: flex;
    align-items: start;
  }

  .physician-box li:not(:last-of-type) {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .physician-img {
    width: 24%;
    margin-right: 30px;
  }

  .physician-txt {
    width: 76%;
  }

  .physician-txt dt {
    margin-bottom: 2px;
    font-size: 1.6rem;
  }

  .hometopic-thumb {
    width: 80px;
    margin-right: 30px;
  }

  .hometopic-txt {
    width: calc(100% - 80px);
  }

  .hometopic-date {
    margin-bottom: 4px;
    font-size: 1.3rem;
    letter-spacing: .06em;
  }

  .hometopic-ttl {
    font-size: 1.5rem;
  }

  .greeting-img {
    display: flex;
    align-items: start;
    position: relative;
    margin-bottom: 30px;
  }

  .greeting-img-bg {
    bottom: -4px;
    right: -4px;
    border-radius: 4px;
  }

  .greeting-img img {
    border-radius: 4px;
  }

  .greeting-txt {
    letter-spacing: .06em;
  }

  .greeting-body {
    margin-bottom: 10px;
  }

  .greeting-name-1 {
    padding-right: .8em;
    font-size: 1.4rem;
  }

}


@media (min-width: 480px) and (max-width: 959px) {

  .hometopics-box > article:not(:last-of-type) {
    margin-bottom: 40px;
  }

}


@media (max-width: 599px) {

  .physician-box li:not(:last-of-type) {
    background-image: linear-gradient(to right, #ccc, #ccc 2px, transparent 2px, transparent 4px);
    background-size: 8px 2px;
    background-position: bottom;
    background-repeat: repeat-x;
  }

  .subject-box li {
    padding: 20px;
  }

  .hometopic-thumb img {
    border: 2px solid #fff;
    border-radius: 6px;
  }

}


@media (min-width: 600px) {

  .physician-box li:not(:nth-last-of-type(-n+2)) {
    background-image: linear-gradient(to right, #ccc, #ccc 2px, transparent 2px, transparent 4px);
    background-size: 8px 2px;
    background-position: bottom;
    background-repeat: repeat-x;
  }

  .hometopic-thumb img {
    border: 4px solid #fff;
    border-radius: 10px;
  }

  .hometopic-date {
    margin-bottom: 8px;
    font-size: 1.5rem;
    letter-spacing: .08em;
  }

}


@media (min-width: 600px) and (max-width: 767px) {

  .physician-img {
    width: 26%;
    margin-right: 30px;
  }

  .physician-txt {
    width: 74%;
  }

  .physician-txt dt {
    margin-bottom: 2px;
    font-size: 1.8rem;
  }

  .physician-txt dt i {
    vertical-align: -1px;
  }

  .hometopic-thumb {
    width: 90px;
    margin-right: 30px;
  }

  .hometopic-txt {
    width: calc(100% - 90px);
  }

  .hometopic-ttl {
    font-size: 1.7rem;
  }

  .greeting-img {
    display: flex;
    align-items: start;
    position: relative;
    margin-bottom: 30px;
  }

  .greeting-img-bg {
    bottom: -4px;
    right: -4px;
    border-radius: 6px;
  }

  .greeting-img img {
    border-radius: 6px;
  }

  .greeting-txt {
    font-size: 1.6rem;
    letter-spacing: .06em;
  }

  .greeting-body {
    margin-bottom: 10px;
  }

  .greeting-name-1 {
    padding-right: .8em;
    font-size: 1.4rem;
  }

  .greeting-name-2 {
    font-size: 1.6rem;
  }

}


@media (min-width: 600px) and (max-width: 959px) {

  .hometopics-box,
  .subject,
  .consultationhours-box {
    margin-bottom: 60px;
  }

  .subject-box {
    border-radius: 6px;
  }

  .subject-box li {
    padding: 30px;
  }

  .subject-box li:not(:last-of-type) {
    border-bottom: 1px dashed #ddd;
  }

  .subject-item {
    display: flex;
    align-items: flex-start;
    flex-flow: row wrap;
    justify-content: center;
    width: 120px;
  }

  .subject-item figcaption {
    order: 1;
    padding: 0 6px;
    margin-bottom: 30px;
    font-size: 1.7rem;
    letter-spacing: .1em;
  }

  .subject-item img {
    order: 2;
    width: 100%;
    padding: 0 25px;
  }

  .subject-txt {
    width: calc(100% - 120px);
    padding-left: 30px;
  }

  .consultationhours-info {
    margin-bottom: 30px;
    letter-spacing: .08em;
  }

  .consultationhours-info p:not(:last-of-type) {
    margin-bottom: 10px;
  }

  .consultationhours-schedule table {
    border-radius: 6px;
  }

  .consultationhours-schedule tr th:first-of-type,
  .consultationhours-schedule tr td:first-of-type {
    min-width: 130px;
  }

  .consultationhours-schedule tr:first-of-type th:first-of-type {
    border-radius: 4px 0 0 0;
  }

  .consultationhours-schedule tr:first-of-type th:last-of-type {
    border-radius: 0 4px 0 0;
  }

  .consultationhours-schedule th,
  .consultationhours-schedule td {
    padding: 12px 0;
    letter-spacing: .08em;
  }

  .consultationhours-schedule tr:first-of-type th:not(:first-of-type) {
    width: 80px;
  }

  .consultationhours-schedule td {
    font-size: 1.6rem;
  }

  .physician-box {
    display: flex;
    flex-flow: row wrap;
  }

  .physician-box li {
    display: flex;
    align-items: start;
    width: 50%;
    width: calc(((100% - 40px)/2) - .01px);
    width: -webkit-calc(((100% - 40px)/2) - .01px);
    width: -moz-calc(((100% - 40px)/2) - .01px);
  }

  .physician-box li:nth-of-type(odd) {
    margin-right: 40px;
  }

  .physician-box li:not(:nth-last-of-type(-n+2)){
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

}


@media (min-width: 768px) {

  .hometopic-ttl {
    font-size: 1.8rem;
  }

}


@media (min-width: 768px) and (max-width: 959px) {

  .physician-img {
    width: 26%;
    margin-right: 30px;
  }

  .physician-txt {
    width: 74%;
  }

  .physician-txt dt {
    margin-bottom: 2px;
    font-size: 1.8rem;
  }

  .physician-txt dt i {
    vertical-align: -1px;
  }

  .hometopic-thumb {
    width: 120px;
    margin-right: 30px;
  }

  .hometopic-txt {
    width: calc(100% - 120px);
  }

  .greeting-box {
    display: flex;
    align-items: start;
  }

  .greeting-img {
    display: flex;
    align-items: start;
    order: 2;
    width: 20%;
    position: relative;
  }

  .greeting-img-bg {
    bottom: -3px;
    right: -3px;
    border-radius: 6px;
  }

  .greeting-img img {
    border-radius: 6px;
  }

  .greeting-txt {
    order: 1;
    width: 80%;
    margin-right: 40px;
    font-size: 1.5rem;
    letter-spacing: .08em;
  }

  .greeting-body {
    margin-bottom: 10px;
  }

  .greeting-name-1 {
    padding-right: .8em;
    font-size: 1.4rem;
  }

  .greeting-name-2 {
    font-size: 1.6rem;
  }

}


@media (max-width: 959px) {

  .subject-box li {
    display: flex;
    align-items: start;
  }

  .more a {
    border: 2px solid #f9d3cd;
    border-radius: 4px;
    padding: 6px 50px;
    font-size: 1.2rem;
    letter-spacing: .1em;
  }

  .more span {
    right: 20px;
  }

}


@media (min-width: 960px) {

  .hometopics-box,
  .subject,
  .consultationhours-box {
    margin-bottom: 70px;
  }

  .subject-box {
    display: flex;
    border-radius: 6px;
  }

  .subject-box li {
    width: 25%;
    padding: 40px;
  }

  .subject-box li:not(:last-of-type) {
    border-right: 1px dashed #ddd;
  }

  .subject-item img {
    max-width: 170px;
    width: 100%;
    margin: 0 auto 30px;
  }

  .subject-item figcaption {
    padding: 0 6px;
    margin-bottom: 30px;
    font-size: 1.9rem;
    letter-spacing: .1em;
  }

  .subject-txt {
    font-size: 1.6rem;
  }

  .consultationhours-box {
    display: flex;
  }

  .consultationhours-info {
    width: 36%;
    padding-right: 40px;
    letter-spacing: .08em;
  }

  .consultationhours-info p:not(:last-of-type) {
    margin-bottom: 10px;
  }

  .consultationhours-schedule {
    width: 64%;
  }

  .consultationhours-schedule table {
    border-radius: 6px;
  }

  .consultationhours-schedule tr th:first-of-type,
  .consultationhours-schedule tr td:first-of-type {
    min-width: 140px;
  }

  .consultationhours-schedule tr:first-of-type th:first-of-type {
    border-radius: 4px 0 0 0;
  }

  .consultationhours-schedule tr:first-of-type th:last-of-type {
    border-radius: 0 4px 0 0;
  }

  .consultationhours-schedule th,
  .consultationhours-schedule td {
    padding: 12px 0;
    letter-spacing: .08em;
  }

  .consultationhours-schedule tr:first-of-type th:not(:first-of-type) {
    width: 80px;
  }

  .consultationhours-schedule td {
    font-size: 1.6rem;
  }

  .physician-box li:not(:nth-last-of-type(-n+2)) {
    padding-bottom: 50px;
    margin-bottom: 60px;
  }

  .more a {
    border: 2px solid #f9d3cd;
    border-radius: 6px;
    padding: 8px 70px 7px;
    font-size: 1.5rem;
    letter-spacing: .2em;
  }

  .more span {
    right: 20px;
  }

}


@media (min-width: 960px) and (max-width: 1279px) {

  .physician-box {
    display: flex;
    flex-flow: row wrap;
  }

  .physician-box li {
    display: flex;
    align-items: center;
    width: 50%;
    width: calc(((100% - 50px)/2) - .01px);
    width: -webkit-calc(((100% - 50px)/2) - .01px);
    width: -moz-calc(((100% - 50px)/2) - .01px);
  }

  .physician-box li:nth-of-type(odd) {
    margin-right: 50px;
  }

  .physician-img {
    width: 30%;
    margin-right: 30px;
  }

  .physician-txt {
    width: 70%;
    letter-spacing: .1em;
  }

  .physician-txt dt {
    margin-bottom: 10px;
    font-size: 2.0rem;
  }

  .physician-txt dt i {
    vertical-align: -1px;
  }

  .hometopics-box > article:not(:last-of-type) {
    margin-bottom: 50px;
  }

  .hometopic-thumb {
    width: 190px;
    margin-right: 40px;
  }

  .hometopic-txt {
    width: calc(100% - 190px);
  }

  .greeting-box {
    display: flex;
    align-items: start;
  }

  .greeting-img {
    display: flex;
    align-items: start;
    order: 2;
    width: 22%;
    position: relative;
  }

  .greeting-img-bg {
    bottom: -4px;
    right: -4px;
    border-radius: 6px;
  }

  .greeting-img img {
    border-radius: 6px;
  }

  .greeting-txt {
    order: 1;
    width: 78%;
    margin-right: 50px;
    font-size: 1.6rem;
    letter-spacing: .14em;
  }

  .greeting-body {
    margin-bottom: 10px;
  }

  .greeting-name-1 {
    padding-right: .8em;
    font-size: 1.5rem;
  }

  .greeting-name-2 {
    font-size: 2.2rem;
  }

}


@media (min-width: 1280px) {

  .physician-box {
    display: flex;
    flex-flow: row wrap;
  }

  .physician-box li {
    display: flex;
    align-items: center;
    width: 50%;
    width: calc(((100% - 80px)/2) - .01px);
    width: -webkit-calc(((100% - 80px)/2) - .01px);
    width: -moz-calc(((100% - 80px)/2) - .01px);
  }

  .physician-box li:nth-of-type(odd) {
    margin-right: 80px;
  }

  .physician-img {
    width: 30%;
    margin-right: 30px;
  }

  .physician-txt {
    width: 70%;
    letter-spacing: .1em;
  }

  .physician-txt dt {
    margin-bottom: 10px;
    font-size: 2.0rem;
  }

  .physician-txt dt i {
    vertical-align: -1px;
  }

  .hometopics-box {
    display: flex;
    flex-flow: row wrap;
  }

  .hometopics-box > article {
    width: 50%;
    width: calc(((100% - 60px)/2) - .01px);
    width: -webkit-calc(((100% - 60px)/2) - .01px);
    width: -moz-calc(((100% - 60px)/2) - .01px);
  }

  .hometopics-box > article:nth-of-type(odd) {
    margin-right: 60px;
  }

  .hometopics-box > article:not(:nth-last-of-type(-n+2)) {
    margin-bottom: 50px;
  }

  .hometopic-thumb {
    width: 20%;
    margin-right: 30px;
  }

  .hometopic-txt {
    width: 80%;
  }

  .greeting-box {
    display: flex;
    align-items: start;
  }

  .greeting-img {
    display: flex;
    align-items: start;
    order: 2;
    width: 30%;
    position: relative;
  }

  .greeting-img-bg {
    bottom: -4px;
    right: -4px;
    border-radius: 6px;
  }

  .greeting-img img {
    border-radius: 6px;
  }

  .greeting-txt {
    order: 1;
    width: 70%;
    margin-right: 60px;
    letter-spacing: .14em;
  }

  .greeting-body {
    margin-bottom: 10px;
  }

  .greeting-name-1 {
    padding-right: .8em;
    font-size: 1.5rem;
  }

  .greeting-name-2 {
    font-size: 2.2rem;
  }

}




/* ＝＝＝＝＝ 「トピックス」一覧ページ ＝＝＝＝＝ */

.blog .bigheadline {
  background: url(assets/img/bigheadline-topics.jpg) right center / cover no-repeat;
}

.topicslist-box > article:not(:last-of-type) {
  background-image: linear-gradient(to right, #f9d3cd, #f9d3cd 2px, transparent 2px, transparent 4px);
  background-size: 8px 2px;
  background-position: bottom;
  background-repeat: repeat-x;
}

.topic a {
  display: flex;
  align-items: start;
}

.topic a:hover .topic-txt {
  color: #f9d3cd;
}

.topic-thumb {
  position: relative;
  overflow: hidden;
  transition: all .2s;
}

.topic-thumb img {
  width: 100%;
}

.topic-thumb img:first-of-type {
  position: absolute;
  transition: all .2s;
}

.topic a:hover img:first-of-type {
	opacity: 0;
	position: absolute;
}

.topic-txt {
  transition: all .2s;
}

.topic-date {
  display: inline-block;
  font-family: 'Varela Round', sans-serif;
}

.topic-ttl {
  font-weight: normal;
  text-decoration: underline;
}


@media (max-width: 374px) {

  .topic-thumb {
    width: 46px;
    margin-right: 20px;
  }

  .topic-txt {
    width: calc(100% - 46px);
  }

}


@media (min-width: 375px) and (max-width: 479px) {

  .topic-thumb {
    width: 70px;
    margin-right: 20px;
  }

  .topic-txt {
    width: calc(100% - 70px);
  }

}


@media (max-width: 479px) {

  .topicslist-box > article:not(:last-of-type) {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  .topic a {
    align-items: center;
  }

  .topic-date {
    font-size: 1.2rem;
    letter-spacing: .04em;
  }

  .topic-ttl {
    font-size: 1.3rem;
  }

}


@media (min-width: 480px) and (max-width: 599px) {

  .topic-thumb {
    width: 80px;
    margin-right: 30px;
  }

  .topic-txt {
    width: calc(100% - 80px);
  }

  .topic-date {
    margin-bottom: 4px;
    font-size: 1.3rem;
    letter-spacing: .06em;
  }

  .topic-ttl {
    font-size: 1.5rem;
  }

}


@media (min-width: 480px) and (max-width: 959px) {

  .topicslist-box > article:not(:last-of-type) {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

}


@media (max-width: 599px) {

  .topic-thumb {
    border: 2px solid #fff;
    border-radius: 6px;
  }

}


@media (min-width: 600px) {

  .topic-thumb {
    border: 4px solid #fff;
    border-radius: 10px;
  }

  .topic-date {
    margin-bottom: 8px;
    font-size: 1.5rem;
    letter-spacing: .08em;
  }

}


@media (min-width: 600px) and (max-width: 767px) {

  .topic-thumb {
    width: 90px;
    margin-right: 30px;
  }

  .topic-txt {
    width: calc(100% - 90px);
  }

  .topic-ttl {
    font-size: 1.7rem;
  }

}


@media (min-width: 768px) {

  .topic-ttl {
    font-size: 1.8rem;
  }

}


@media (min-width: 768px) and (max-width: 959px) {

  .topic-thumb {
    width: 120px;
    margin-right: 30px;
  }

  .topic-txt {
    width: calc(100% - 120px);
  }

}


@media (max-width: 959px) {

  .topic-body {
    display: none;
  }

}


@media (min-width: 960px) {

  .topicslist-box > article:not(:last-of-type) {
    padding-bottom: 50px;
    margin-bottom: 50px;
  }

  .topic-thumb {
    width: 190px;
    margin-right: 40px;
  }

  .topic-txt {
    width: calc(100% - 190px);
  }

  .topic-ttl {
    margin-bottom: 12px;
  }

}




/* ＝＝＝＝＝ 「トピックス」詳細ページ ＝＝＝＝＝ */

.post-template-default .bigheadline {
  background: url(assets/img/bigheadline-topics.jpg) right center / cover no-repeat;
}

.topicsingle a {
  padding: 0 .1em;
	text-decoration: underline;
}

.topicsingle a:hover {
  color: #f9d3cd;
}

.topicsinglemore-box {
  text-align: center;
}

.topicsinglemore-box a {
  text-decoration: underline;
}

.topicsinglemore-box a:hover {
  color: #f9d3cd;
}


@media (max-width: 599px) {

  .topicsingle img {
    border: 2px solid #fff;
    border-radius: 6px;
  }

}


@media (min-width: 600px) and (max-width: 959px) {

  .topicsingle img {
    border: 4px solid #fff;
    border-radius: 10px;
  }

}


@media (min-width: 960px) {

  .topicsingle img {
    border: 6px solid #fff;
    border-radius: 10px;
  }

}




/* ＝＝＝＝＝ ページネイション ＝＝＝＝＝ */

.wp-pagenavi {
  text-align: center;
}

.wp-pagenavi .prev,
.wp-pagenavi .next {
  display: inline-block;
}

.wp-pagenavi .current {
  border-bottom: 1px solid #3e3a39;
  color: #3e3a39;
}

.wp-pagenavi a:hover {
  color: #f9d3cd;
}

.wp-pagenavi .prev img:first-of-type,
.wp-pagenavi .next img:first-of-type {
  position: absolute;
  transition: all .2s;
}

.wp-pagenavi .prev:hover img:first-of-type,
.wp-pagenavi .next:hover img:first-of-type {
	opacity: 0;
	position: absolute;
}


@media (max-width: 374px) {

  .page-numbers:not(.current):not(.prev):not(.next) {
    display: none;
  }

}


@media (max-width: 599px) {

  .wp-pagenavi > *:not(:last-child) {
    margin-right: 16px;
  }

  .wp-pagenavi .prev img,
  .wp-pagenavi .next img {
    width: 6px;
  }

}


@media (min-width: 600px) {

  .wp-pagenavi > *:not(:last-child) {
    margin-right: 30px;
  }

  .wp-pagenavi .prev,
  .wp-pagenavi .next {
    vertical-align: -1px;
  }

  .wp-pagenavi .prev img,
  .wp-pagenavi .next img {
    width: 8px;
  }

}




/* ＝＝＝＝＝ 「施設案内」ページ ＝＝＝＝＝ */

.facility-guide .bigheadline {
  background: url(assets/img/bigheadline-facility-guide.jpg) center center / cover no-repeat;
}

.facilitiesinfo-box {
  display: flex;
  flex-flow: row wrap;
}

.facilitiesinfo-box {
  background-image: url(assets/img/bg-wall.jpg);
  background-position: left center;
}

.facilitiesinfo-box-img {
  border-radius: 10px;
}

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

.facilitiesinfo-box-txt {
  position: relative;
}

.facilitiesinfo-box-txt:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  margin: auto;
}

.facilitiesinfo-parkinglot .facilitiesinfo-box-txt:after {
  background: url(assets/img/facilitiesinfo-icon-parkinglot.png) center center / cover no-repeat;
}

.facilitiesinfo-reception .facilitiesinfo-box-txt:after {
  background: url(assets/img/facilitiesinfo-icon-reception.png) center center / cover no-repeat;
}

.facilitiesinfo-waitingroom .facilitiesinfo-box-txt:after {
  background: url(assets/img/facilitiesinfo-icon-waitingroom.png) center center / cover no-repeat;
}

.facilitiesinfo-kidscorner .facilitiesinfo-box-txt:after {
  background: url(assets/img/facilitiesinfo-icon-kidscorner.png) center center / cover no-repeat;
}

.facilitiesinfo-accessiblerestroom .facilitiesinfo-box-txt:after {
  background: url(assets/img/facilitiesinfo-icon-accessiblerestroom.png) center center / cover no-repeat;
}

.facilitiesinfo-infrontoftheconsultationroom .facilitiesinfo-box-txt:after {
  background: url(assets/img/facilitiesinfo-icon-infrontoftheconsultationroom.png) center center / cover no-repeat;
}

.facilitiesinfo-consultationroom .facilitiesinfo-box-txt:after {
  background: url(assets/img/facilitiesinfo-icon-consultationroom.png) center center / cover no-repeat;
}

.facilitiesinfo-treatmentroom .facilitiesinfo-box-txt:after {
  background: url(assets/img/facilitiesinfo-icon-treatmentroom.png) center center / cover no-repeat;
}

.facilitiesinfo-xrayroom .facilitiesinfo-box-txt:after {
  background: url(assets/img/facilitiesinfo-icon-xrayroom.png) center center / cover no-repeat;
}


@media (max-width: 374px) {

  .facilitiesinfo-box li {
    width: 50%;
    width: calc(((100% - 20px)/2) - .01px);
    width: -webkit-calc(((100% - 20px)/2) - .01px);
    width: -moz-calc(((100% - 20px)/2) - .01px);
    margin: 0 20px 30px 0;
  }
  
  .facilitiesinfo .facilitiesinfo-box .facilitiesinfo-treatmentroom {
    margin-right: 20px;
  }

  .facilitiesinfo-box li:nth-of-type(2n),
  .facilitiesinfo-box li:last-of-type,
  .facilitiesinfo-box .facilitiesinfo-consultationroom {
    margin-right: 0;
  }

  .facilitiesinfo-box li:nth-last-of-type(-n+2) {
    margin-bottom: 0;
  }

  .facilitiesinfo-box-img {
    margin-bottom: 30px;
  }

  .facilitiesinfo-box-txt:after {
    width: 40px;
    height: 40px;
    top: -51px;
  }

}


@media (min-width: 375px) and (max-width: 479px) {

  .facilitiesinfo-box li {
    width: 50%;
    width: calc(((100% - 20px)/2) - .01px);
    width: -webkit-calc(((100% - 20px)/2) - .01px);
    width: -moz-calc(((100% - 20px)/2) - .01px);
    margin: 0 20px 30px 0;
  }
  
  .facilitiesinfo .facilitiesinfo-box .facilitiesinfo-treatmentroom {
    margin-right: 20px;
  }

  .facilitiesinfo-box li:nth-of-type(2n),
  .facilitiesinfo-box li:last-of-type,
  .facilitiesinfo-box .facilitiesinfo-consultationroom {
    margin-right: 0;
  }

  .facilitiesinfo-box li:nth-last-of-type(-n+2) {
    margin-bottom: 0;
  }

  .facilitiesinfo-box-img {
    margin-bottom: 30px;
  }

  .facilitiesinfo-box-txt:after {
    width: 40px;
    height: 40px;
    top: -51px;
  }

}


@media (max-width: 479px) {

  .facilitiesinfo-box {
    padding: 40px 20px;
  }

}


@media (min-width: 480px) and (max-width: 599px) {

  .facilitiesinfo-box {
    padding: 50px 30px;
  }

  .facilitiesinfo-box li {
    width: 50%;
    width: calc(((100% - 30px)/2) - .01px);
    width: -webkit-calc(((100% - 30px)/2) - .01px);
    width: -moz-calc(((100% - 30px)/2) - .01px);
    margin: 0 30px 30px 0;
  }
  
  .facilitiesinfo .facilitiesinfo-box .facilitiesinfo-treatmentroom {
    margin-right: 30px;
  }

  .facilitiesinfo-box li:nth-of-type(2n),
  .facilitiesinfo-box li:last-of-type,
  .facilitiesinfo-box .facilitiesinfo-consultationroom {
    margin-right: 0;
  }

  .facilitiesinfo-box li:nth-last-of-type(-n+2) {
    margin-bottom: 0;
  }

  .facilitiesinfo-box-img {
    margin-bottom: 30px;
  }

  .facilitiesinfo-box-txt:after {
    width: 40px;
    height: 40px;
    top: -51px;
  }

}


@media (max-width: 599px) {

  .facilitiesinfo-box {
    background-size: 500px;
  }

}


@media (min-width: 600px) and (max-width: 767px) {

  .facilitiesinfo-box li {
    width: 50%;
    width: calc(((100% - 40px)/2) - .01px);
    width: -webkit-calc(((100% - 40px)/2) - .01px);
    width: -moz-calc(((100% - 40px)/2) - .01px);
    margin: 0 40px 50px 0;
  }
  
  .facilitiesinfo .facilitiesinfo-box .facilitiesinfo-treatmentroom {
    margin-right: 40px;
  }

  .facilitiesinfo-box li:nth-of-type(2n),
  .facilitiesinfo-box li:last-of-type,
  .facilitiesinfo-box .facilitiesinfo-consultationroom {
    margin-right: 0;
  }

  .facilitiesinfo-box li:nth-last-of-type(-n+2) {
    margin-bottom: 0;
  }

}


@media (min-width: 600px) and (max-width: 959px) {

  .facilitiesinfo-box {
    padding: 70px 40px;
    background-size: 600px;
  }

  .facilitiesinfo-box-img {
    margin-bottom: 40px;
  }

  .facilitiesinfo-box-txt:after {
    width: 50px;
    height: 50px;
    top: -67px;
  }

}


@media (max-width: 767px) {

  .facilitiesinfo-infrontoftheconsultationroom {
    display: none;
  }

}


@media (min-width: 768px) and (max-width: 959px) {

  .facilitiesinfo-box li {
    width: 33.3333%;
    width: calc(((100% - 80px)/3) - .01px);
    width: -webkit-calc(((100% - 80px)/3) - .01px);
    width: -moz-calc(((100% - 80px)/3) - .01px);
    margin: 0 40px 50px 0;
  }

  .facilitiesinfo-box li:nth-of-type(3n) {
    margin-right: 0;
  }

  .facilitiesinfo-box li:nth-last-of-type(-n+3) {
    margin-bottom: 0;
  }

}


@media (max-width: 959px) {

  .facilitiesinfo-box {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
  }

  .facilitiesinfo-box-img {
    border: 4px solid #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
  }

}


@media (min-width: 960px) {

  .facilitiesinfo-box {
    background-size: 700px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
  }

  .facilitiesinfo-box-img {
    margin-bottom: 60px;
    border: 6px solid #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
  }

  .facilitiesinfo-box-txt:after {
    width: 80px;
    height: 80px;
    top: -103px;
  }

}


@media (min-width: 960px) and (max-width: 1279px) {

  .facilitiesinfo-box li {
    width: 33.3333%;
    width: calc(((100% - 100px)/3) - .01px);
    width: -webkit-calc(((100% - 100px)/3) - .01px);
    width: -moz-calc(((100% - 100px)/3) - .01px);
    margin: 0 50px 60px 0;
  }

  .facilitiesinfo-box li:nth-of-type(3n) {
    margin-right: 0;
  }

  .facilitiesinfo-box li:nth-last-of-type(-n+3) {
    margin-bottom: 0;
  }

}


@media (min-width: 960px) and (max-width: 1379px) {

  .facilitiesinfo-box {
    padding: 80px 50px;
  }

}


@media (min-width: 1280px) and (max-width: 1379px) {

  .facilitiesinfo-box li {
    width: 33.3333%;
    width: calc(((100% - 100px)/3) - .01px);
    width: -webkit-calc(((100% - 100px)/3) - .01px);
    width: -moz-calc(((100% - 100px)/3) - .01px);
    margin: 0 50px 60px 0;
  }

  .facilitiesinfo-box li:nth-of-type(3n) {
    margin-right: 0;
  }

  .facilitiesinfo-box li:nth-last-of-type(-n+3) {
    margin-bottom: 0;
  }

}


@media (min-width: 1380px) {

  .facilitiesinfo-box {
    padding: 80px 60px;
  }

  .facilitiesinfo-box li {
    width: 33.3333%;
    width: calc(((100% - 120px)/3) - .01px);
    width: -webkit-calc(((100% - 120px)/3) - .01px);
    width: -moz-calc(((100% - 120px)/3) - .01px);
    margin: 0 60px 60px 0;
  }

  .facilitiesinfo-box li:nth-of-type(3n) {
    margin-right: 0;
  }

  .facilitiesinfo-box li:nth-last-of-type(-n+3) {
    margin-bottom: 0;
  }

}




/* ＝＝＝＝＝ 「アクセス」ページ ＝＝＝＝＝ */

.access .bigheadline {
  background: url(assets/img/bigheadline-access.jpg) center center / cover no-repeat;
}

.googlemap-box {
  width: 100%;
  overflow: hidden;
}

.googlemap-box iframe {
	width: 100%;
  border: 0;
}

.root-box-heading {
  font-size: inherit;
}


@media (max-width: 599px) {

  .googlemap-box {
    height: 300px;
  }

  .googlemap-box iframe {
    height: 620px;
    margin-top: -148px;
  }

  .illustratedmap-box img {
    border-radius: 4px;
  }

  .root-box:not(:last-of-type) {
    margin-bottom: 20px;
  }

}


@media (min-width: 600px) {

  .googlemap-box {
    height: 400px;
  }

  .googlemap-box iframe {
    height: 800px;
    margin-top: -184px;
  }

  .illustratedmap-box img {
    border-radius: 10px;
  }

  .root-box:not(:last-of-type) {
    margin-bottom: 30px;
  }

}


@media (max-width: 959px) {

  .illustratedmap-box img {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
  }

}


@media (min-width: 960px) {

  .illustratedmap-box img {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
  }

}




/* ＝＝＝＝＝ 「関連施設」ページ ＝＝＝＝＝ */

.related-facilities .bigheadline {
  background: url(assets/img/bigheadline-related-facilities.jpg) center center / cover no-repeat;
}

.relatedfacilities-box {
  background-image: url(assets/img/bg-wall.jpg);
  background-position: left center;
}

.related-facilities .h-a {
  border-bottom: 2px solid #a7cc70;
}

.related-facilities .beforecircle:before {
  color: #719f2a;
}

.related-facilities .common-more {
  width: 100%;
  border: 2px solid #9dc25c;
  background-color: #fffff0;
}

.related-facilities .common-more:hover {
  background-color: #9dc25c;
}

.relatedfacilities-box-inr-item {
  background-color: #fff;
}

.relatedfacilities-box-h {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: inherit;
  font-weight: normal;
}

.relatedfacilities-box-inr-img {
  border-radius: 4px;

	overflow: hidden; /* マウスオンでズーム */
  z-index: 1;  /* マウスオンでズーム (Safari対策) */
}

.relatedfacilities-box-inr-img img {
  border-radius: 4px;

  transform: scale(1.0); /* マウスオンでズーム */
  transition: all .4s ease-out; /* マウスオンでズーム */
	-webkit-backface-visibility: hidden; /* マウスオンでズーム */
	backface-visibility: hidden; /* マウスオンでズーム */
}

.relatedfacilities-box-inr-img:hover img {

  transform: scale(1.1); /* マウスオンでズーム */
}

.relatedfacilities-box-tel {
  text-decoration: underline !important;
}

.relatedfacilities-box-tel:hover {
  color: #719f2a;
}


@media (max-width: 479px) {

  .relatedfacilities-box {
    padding: 40px 20px;
  }

  .relatedfacilities-box-inr-item {
    padding: 20px;
  }

  .related-facilities .h-a {
    text-shadow: 1px 1px 0 rgba(238,255,213,.4);
  }

}


@media (min-width: 480px) {

  .related-facilities .h-a {
    text-shadow: 2px 2px 0 rgba(238,255,213,.4);
  }

}


@media (min-width: 480px) and (max-width: 599px) {

  .relatedfacilities-box {
    padding: 50px 30px;
  }

  .relatedfacilities-box-inr-item {
    padding: 30px;
  }

}


@media (max-width: 599px) {

  .relatedfacilities-box {
    background-size: 500px;
  }

  .relatedfacilities-box-inr-item {
    border-top: 4px solid #719f2a;
  }

  .relatedfacilities-box-inr-item:not(:last-of-type) {
    margin-bottom: 30px;
  }

}


@media (min-width: 600px) {

  .relatedfacilities-box-inr-item {
    border-top: 6px solid #719f2a;
  }

  .relatedfacilities-box-inr-item:not(:last-of-type) {
    margin-bottom: 50px;
  }

}


@media (min-width: 600px) and (max-width: 959px) {

  .relatedfacilities-box {
    padding: 70px 40px;
  }

  .relatedfacilities-box-inr-item {
    padding: 40px;
  }

  .relatedfacilities-box {
    background-size: 600px;
  }

}


@media (min-width: 768px) {

  .relatedfacilities-box-inr-item {
    letter-spacing: .1em;
  }

}


@media (max-width: 959px) {

  .relatedfacilities-box,
  .relatedfacilities-box-inr-item {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
  }

  .relatedfacilities-box-h,
  .relatedfacilities-box-inr-img {
    margin-bottom: 20px;
  }

  .relatedfacilities-box-inr-img {
    display: block;
  }

  .related-facilities .common-more {
    margin-top: 20px;
  }

}


@media (min-width: 960px) {

  .relatedfacilities-box,
  .relatedfacilities-box-inr-item {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
  }

  .relatedfacilities-box {
    background-size: 700px;
  }

  .relatedfacilities-box-h {
    margin-bottom: 30px;
  }

  .relatedfacilities-box-inr-item-div {
    display: flex;
  }

  .relatedfacilities-box-inr-item-div > * {
    width: 50%;
    width: calc(((100% - 50px)/2) - .01px);
    width: -webkit-calc(((100% - 50px)/2) - .01px);
    width: -moz-calc(((100% - 50px)/2) - .01px);
  }

  .relatedfacilities-box-inr-img {
    margin-right: 50px;
  }

  .related-facilities .common-more {
    margin-top: 30px;
  }

}


@media (min-width: 960px) and (max-width: 1379px) {

  .relatedfacilities-box {
    padding: 80px 50px;
  }

  .relatedfacilities-box-inr-item {
    padding: 50px;
  }

}


@media (min-width: 1380px) {

  .relatedfacilities-box {
    padding: 80px 60px;
  }

  .relatedfacilities-box-inr-item {
    padding: 60px;
  }

}




/* ＝＝＝＝＝ 「求人情報」一覧ページ ＝＝＝＝＝ */

.post-type-archive-joboffer .bigheadline {
  background: url(assets/img/bigheadline-joboffer.jpg) center center / cover no-repeat;
}

.jobofferbox-first-a,
.jobofferbox-first-a:before,
.jobofferbox-img img {
  height: 100%;
}

.jobofferbox-first-a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.jobofferbox-first-a:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  margin-left: -1px;
}

.jobofferbox-ttl {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  color: #fff;
  z-index: 2;
}

.jobofferbox-img {
  display: block;
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;

	/* マウスオンでズーム */
	overflow: hidden;
}

.jobofferbox-img img {
  width: 100%;
  margin: 0 auto;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  opacity: .7;

	/* マウスオンでズーム */
  transform: scale(1.0);
  transition: all .2s ease-out;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.jobofferbox-first-a:hover img {
  opacity: 1;
    
	/* マウスオンでズーム */
  transform: scale(1.06);
}

.jobofferbox-summary {
  margin-bottom: 12px;
  font-weight: bold;
}

.jobofferbox-jobdescription {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 20px;
}

.common-more {
  display: inline-block;
  border: 2px solid #f9d3cd;
  background-color: #fef7f6;
  text-align: center;
  letter-spacing: .1em;
  line-height: 1.7;
}

.common-more:hover {
  background-color: #f9d3cd;
}


@media (max-width: 479px) {

  .jobofferbox:not(:last-of-type) {
    margin-bottom: 40px;
  }

}


@media (min-width: 480px) and (max-width: 599px) {

  .jobofferbox:not(:last-of-type) {
    margin-bottom: 50px;
  }

}


@media (max-width: 599px) {

  .jobofferbox {
    border-radius: 4px;
  }

  .jobofferbox-first-a,
  .jobofferbox-img {
    border-radius: 4px 4px 0 0;
  }

  .jobofferbox-first-a {
    padding: 30px;
  }

  .jobofferbox-second {
    padding: 20px;
  }

  .jobofferbox-ttl {
    font-size: 1.6rem;
    letter-spacing: .14em;
  }

  .jobofferbox-jobdescription li:not(:last-of-type) {
    margin-right: 1.0em;
  }

}


@media (min-width: 600px) {

  .jobofferbox {
    border-radius: 6px;
  }

  .jobofferbox-first-a,
  .jobofferbox-img {
    border-radius: 6px 0 0 6px;
  }

  .jobofferbox-jobdescription li:not(:last-of-type) {
    margin-right: 1.4em;
  }

}


@media (max-width: 767px) {

  .jobofferbox-first-a {
    min-height: 200px;
  }

}


@media (min-width: 768px) {

  .jobofferbox {
    display: flex;
  }

}


@media (min-width: 768px) and (max-width: 959px) {

  .jobofferbox-first {
    width: 344px;
  }

  .jobofferbox-second {
    width: calc(100% - 344px);
  }

}


@media (min-width: 600px) and (max-width: 959px) {

  .jobofferbox:not(:last-of-type) {
    margin-bottom: 70px;
  }

  .jobofferbox-first-a {
    padding: 30px;
  }

  .jobofferbox-second {
    padding: 30px;
  }

  .jobofferbox-ttl {
    font-size: 2.0rem;
    letter-spacing: .14em;
  }

}


@media (max-width: 959px) {

  .jobofferbox {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
  }

  .common-more {
    width: 100%;
    border-radius: 4px;
    padding: 8px 10px 9px;
  }

}


@media (min-width: 960px) {

  .jobofferbox {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
  }

  .jobofferbox:not(:last-of-type) {
    margin-bottom: 80px;
  }

  .jobofferbox-first {
    width: 320px;
  }

  .jobofferbox-first-a {
    padding: 40px;
  }

  .jobofferbox-second {
    width: calc(100% - 320px);
    padding: 40px;
    letter-spacing: .08em;
  }

  .jobofferbox-ttl {
    font-size: 2.2rem;
    letter-spacing: .14em;
  }

  .common-more {
    border-radius: 6px;
    padding: 9px 30px 8px;
  }

}


/* IE 11 */
_:-ms-fullscreen, :root .common-more {
  padding: 8px 30px 6px;
}




/* ＝＝＝＝＝ 「求人情報」詳細ページ ＝＝＝＝＝ */

.single-joboffer .bigheadline {
  background: url(assets/img/bigheadline-joboffer.jpg) center center / cover no-repeat;
}

.jobdescription-img img {
  width: 100%;
}

.ctaapplication-box-inr-common dt {
  margin-bottom: 8px;
}


@media (max-width: 479px) {

  .jobdescription-img img {
    margin-top: 20px;
  }

  .ctaapplication-box-inr-1 dl,
  .ctaapplication-box-inr-2 dl:not(:last-of-type) {
    margin-bottom: 20px;
  }

}


@media (min-width: 480px) and (max-width: 599px) {

  .jobdescription-img img {
    margin-top: 30px;
  }

  .ctaapplication-box-inr-1 dl,
  .ctaapplication-box-inr-2 dl:not(:last-of-type) {
    margin-bottom: 30px;
  }

}


@media (max-width: 599px) {

  .jobdescription-box-inr:not(:first-of-type) {
    padding-top: 20px;
  }

  .jobdescription-box-inr:not(:last-of-type) {
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
  }

  .jobdescription-box-inr dt {
    margin-bottom: 6px;
    font-weight: bold;
  }

  .jobdescription-img img {
    border: 6px solid #fff;
  }

}


@media (min-width: 600px) {

  .jobdescription-box-inr {
    display: flex;
  }

  .jobdescription-box-inr:not(:first-of-type) {
    padding-top: 30px;
  }

  .jobdescription-box-inr:not(:last-of-type) {
    padding-bottom: 30px;
    border-bottom: 2px solid #e6e6e6;
  }

  .jobdescription-img img {
    border: 10px solid #fff;
  }

}


@media (min-width: 600px) and (max-width: 767px) {

  .ctaapplication-box-inr-1 dl,
  .ctaapplication-box-inr-2 dl:not(:last-of-type) {
    margin-bottom: 40px;
  }

}


@media (min-width: 600px) and (max-width: 959px) {

  .jobdescription-box-inr dt {
    width: 130px;
  }

  .jobdescription-box-inr dd {
    width: calc(100% - 130px);
  }

  .jobdescription-img img {
    margin-top: 40px;
  }

}


@media (min-width: 768px) {

  .ctaapplication-box-inr {
    display: flex;
  }

  .ctaapplication-box-inr-common dl:not(:last-of-type) {
    margin-bottom: 40px;
  }

  .wpcf7 textarea[name="your-joboffer-message"] {
    max-height: 194px;
  }

}


@media (min-width: 768px) and (max-width: 959px) {

  .ctaapplication-box-inr-common {
    width: 50%;
    width: calc(((100% - 40px)/2) - .01px);
    width: -webkit-calc(((100% - 40px)/2) - .01px);
    width: -moz-calc(((100% - 40px)/2) - .01px);
  }

  .ctaapplication-box-inr-1 {
    margin-right: 40px;
  }

}


@media (max-width: 959px) {

  .jobdescription-img img {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
  }

}


@media (min-width: 960px) {

  .jobdescription-box-inr dt,
  .jobdescription-box-inr dd {
    padding: 0 30px;
    letter-spacing: .1em;
  }

  .jobdescription-img img {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
  }

}


@media (min-width: 960px) and (max-width: 1379px) {

  .jobdescription-box-inr dt {
    width: 180px;
  }

  .jobdescription-box-inr dd {
    width: calc(100% - 180px);
  }

  .jobdescription-img img {
    margin-top: 50px;
  }

  .ctaapplication-box-inr-common {
    width: 50%;
    width: calc(((100% - 50px)/2) - .01px);
    width: -webkit-calc(((100% - 50px)/2) - .01px);
    width: -moz-calc(((100% - 50px)/2) - .01px);
  }

  .ctaapplication-box-inr-1 {
    margin-right: 50px;
  }

}


@media (min-width: 1380px) {

  .jobdescription-box-inr dt {
    width: 220px;
  }

  .jobdescription-box-inr dd {
    width: calc(100% - 220px);
  }

  .jobdescription-img img {
    margin-top: 60px;
  }

  .ctaapplication-box-inr-common {
    width: 50%;
    width: calc(((100% - 60px)/2) - .01px);
    width: -webkit-calc(((100% - 60px)/2) - .01px);
    width: -moz-calc(((100% - 60px)/2) - .01px);
  }

  .ctaapplication-box-inr-1 {
    margin-right: 60px;
  }

}




/* ＝＝＝＝＝ メールフォームの共通部分 ＝＝＝＝＝ */

.ctaform-required {
  padding-left: .3em;
  color: #d76a6d;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  border: none;
  border-radius: 4px;
  background-color: #f6f6f6;
}

.wpcf7-form .wpcf7-validation-errors,
.ajax-loader {
  display: none !important;
}

.wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-privacy {
  text-align: center;
}

.form-privacy a {
  text-decoration: underline;
}

.form-privacy a:hover {
  color: #f9d3cd;
}

.form-send .wpcf7-submit {
  display: block;
  background-color: #fef7f6;
  transition: all .2s;
}

.form-send .wpcf7-submit:hover {
  background-color: #f9d3cd;
}

.wpcf7-form .wpcf7-not-valid-tip {
  color: #d76a6d;
}

.wpcf7-form .wpcf7-spam-blocked,
.wpcf7-form .wpcf7-mail-sent-ok {
  padding: 0;
  border: none;
  font-weight: bold;
}


@media (max-width: 479px) {

  .borderbox {
    padding: 30px 20px;
    border: 2px solid #e6e6e6;
  }

  .form-privacy {
    margin: 30px 0;
  }

  .wpcf7-form .wpcf7-spam-blocked,
  .wpcf7-form .wpcf7-mail-sent-ok {
    margin: 40px 0 0;
  }

}


@media (min-width: 480px) and (max-width: 599px) {

  .borderbox {
    padding: 50px 30px;
    border: 2px solid #e6e6e6;
  }

  .form-privacy {
    margin: 50px 0;
  }

  .wpcf7-form .wpcf7-spam-blocked,
  .wpcf7-form .wpcf7-mail-sent-ok {
    margin: 50px 0 0;
  }

}


@media (max-width: 599px) {

  .borderbox {
    border-radius: 4px;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea {
    padding: 10px 12px;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea,
  .wpcf7-form .wpcf7-not-valid-tip {
    font-size: 1.3rem;
  }

  .wpcf7-form .wpcf7-not-valid-tip {
    padding-top: 10px;
  }

}


@media (min-width: 600px) {

  .borderbox {
    border-radius: 6px;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea {
    padding: 12px 20px;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea,
  .wpcf7-form .wpcf7-not-valid-tip {
    font-size: 1.6rem;
  }

  .wpcf7-form .wpcf7-not-valid-tip {
    padding-top: 12px;
  }

}


@media (min-width: 600px) and (max-width: 959px) {

  .borderbox {
    padding: 70px 40px;
    border: 4px solid #e6e6e6;
  }

  .form-privacy {
    margin: 70px 0;
  }

  .wpcf7-form .wpcf7-spam-blocked,
  .wpcf7-form .wpcf7-mail-sent-ok {
    margin: 70px 0 0;
  }

}


@media (max-width: 959px) {

  .form-send .wpcf7-submit {
    width: 100%;
    border-radius: 4px;
    padding: 8px 30px 9px;
    border: 2px solid #f9d3cd;
    letter-spacing: .1em;
  }

}


@media (min-width: 960px) {

  .form-privacy {
    margin: 50px 0;
  }

  .form-send .wpcf7-submit {
    border-radius: 6px;
    padding: 8px 30px 7px;
    border: 2px solid #f9d3cd;
    margin: 0 auto;
    letter-spacing: .1em;
  }

  .wpcf7-form .wpcf7-spam-blocked,
  .wpcf7-form .wpcf7-mail-sent-ok {
    margin: 80px 0 0;
  }

}


@media (min-width: 960px) and (max-width: 1379px) {

  .borderbox {
    padding: 70px 50px;
    border: 4px solid #e6e6e6;
  }

}


@media (min-width: 1270px) {

  .wpcf7-form .wpcf7-spam-blocked,
  .wpcf7-form .wpcf7-mail-sent-ok {
    text-align: center;
  }

}


@media (min-width: 1380px) {

  .borderbox {
    padding: 80px;
    border: 4px solid #e6e6e6;
  }

}




/* ＝＝＝＝＝ 「お問い合わせ」ページ ＝＝＝＝＝ */

.contact .bigheadline {
  background: url(assets/img/bigheadline-contact.jpg) center center / cover no-repeat;
}

.ctacontact-box dt {
  margin-bottom: 8px;
}

.contacttel a,
.contactmail a {
	text-decoration: underline;
}

.contacttel a:hover,
.contactmail a:hover {
	color: #f9d3cd;
}


@media (max-width: 479px) {

  .ctacontact-box dl:not(:last-of-type) {
    margin-bottom: 20px;
  }

}


@media (min-width: 480px) and (max-width: 599px) {

  .ctacontact-box dl:not(:last-of-type) {
    margin-bottom: 30px;
  }

}


@media (min-width: 600px) and (max-width: 767px) {

  .ctacontact-box dl:not(:last-of-type) {
    margin-bottom: 40px;
  }

}


@media (min-width: 768px) {

  .ctacontact-box dl:not(:last-of-type) {
    margin-bottom: 40px;
  }

}




/* ＝＝＝＝＝ 「プライバシー ポリシー」ページ ＝＝＝＝＝ */

.privacy-policy .bigheadline {
  background: url(assets/img/bigheadline-privacy-policy.jpg) center center / cover no-repeat;
}

.privacy-policy-box li {
	padding-left: 1em;
	text-indent: -1em;
}

.privacy-policy-box p {
	text-indent: 0;
}

.privacy-policy-box dt {
	background-image: linear-gradient(to right, #ccc, #ccc 2px, transparent 2px, transparent 4px);
  background-size: 8px 2px;
  background-position: bottom;
  background-repeat: repeat-x;
	font-weight: bold;
}

.privacy-policy-box-inr a {
	padding: 0 .1em;
	text-decoration: underline;
}

.privacy-policy-box-inr a:hover {
	color: #f9d3cd;
}

.privacy-h {
	padding-bottom: 10px;
}


@media (max-width: 479px) {

	.privacy-policy-box:not(:last-of-type) {
		margin-bottom: 40px;
	}

}


@media (min-width: 480px) and (max-width: 599px) {

	.privacy-policy-box:not(:last-of-type) {
		margin-bottom: 50px;
	}

}


@media (max-width: 599px) {

	.privacy-policy-box:not(:last-of-type) {
		margin-bottom: 30px;
	}

	.privacy-policy-box dt {
		padding-bottom: 20px;
	}

  .privacy-policy-box-inr {
		padding-top: 20px;
	}

}


@media (min-width: 600px) {

	.privacy-policy-box dt {
		padding-bottom: 20px;
	}

  .privacy-policy-box-inr {
		padding-top: 20px;
	}

}


@media (min-width: 600px) and (max-width: 959px) {

	.privacy-policy-box:not(:last-of-type) {
		margin-bottom: 70px;
	}

}


@media (min-width: 960px) {

	.privacy-policy-box:not(:last-of-type) {
		margin-bottom: 80px;
	}

}




/* ＝＝＝＝＝ 「404エラー」ページ ＝＝＝＝＝ */

.error404 .bigheadline {
  background: url(assets/img/bigheadline-404.jpg) center center / cover no-repeat;
}