/*
Theme Name: habakiri-child
Theme URI: http://2inc.org
Description: Habakiri の子テーマ
Author: Takashi Kitajima
Author URI: http://2inc.org
Version: 1.0.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: habakiri
*/
body {
	line-height: 2.0em;
	font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif, sans-serif;
	font-weight: 400;
	font-size: 18px;


}
img{
    max-width: 100%;
    height: auto;
}
ol,ul {
  padding: 0;
  margin: 0;
}

ul li {
  list-style: none;
	line-height: 2;
}
h1,h2,h3,h4,h5,h6 {
	color: #333333;
	line-height: 1.8;
	font-weight: 600;
}
h3{
	font-size:22px;
	 border-bottom: solid 1px #000;
	padding-bottom:10px;
	margin-bottom:30px;
}


p {
  margin:0;
}
/* メインメニューの均等割り付け */
.global-nav ul.menu {
    display: flex;       /* Flexboxを有効にする */
    justify-content: space-around; /* アイテム間に均等なスペースを配置する */
    width: 100%;         /* コンテナの幅を100%にする */
}

.global-nav ul.menu li {
    flex-grow: 1;        /* 各メニュー項目が利用可能なスペースを均等に占めるようにする */
    text-align: center;  /* メニュー項目内のテキストを中央揃えにする */
}
.footer-widget-area ul { /* フッターのul要素に適用 */
  display: flex;
  justify-content: space-around; /* or space-between, center */
  flex-wrap: wrap; /* 必要なら折り返し */
}
.footer-widget-area li {
  /* float: left; */ /* 従来のやり方 */
  margin: 5px;
}
.school-info{
    width:50%;
}

.school-info span{
    display: block;
    font-size:1.7rem;
    font-weight: bold;
    line-height: 1.5;
}

.school-info dt.footer-title,
.school-info li:first-of-type{
    margin: 0 0 10px 0;
}

.school-info li dt{
    margin:0 10px 0 0;
}

.school-info li dt,
.school-info li dd{
    display: inline-block;
}

@media screen and (max-width: 768px) {
h3{
	font-size:18px;
}	
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 820px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }
}
@media only screen and (max-width: 820px) {
	.sfm-floating-menu {display: none; }
}
.copyright {
  background-color: #62C1B4;
  color: #ffffff;
  font-size: 12px;
  padding: 15px 0;
	text-align:center;
}
.footer-widget-area {
  font-size: 16px;
}
#fh5co-course-categories { padding-bottom:7em; }
#fh5co-blog { padding-bottom:7em; }
/* kv */
.kv{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kv .main-copy{
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  letter-spacing: .2em;
}

.kv .sub-copy{
  color: #fff;
  font-size: 20px;
  text-align: center;
}

/* video */
.video{
  width: 100%;
  height: 100vh;
  background: url(../img/kv-alternative.jpg) no-repeat center/cover;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.video::after{
  content: '';
  width: 100%;
  height: 100%;
  background-color: #10394b;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .3;
}

.video video{
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

@media screen and (min-width: 768px) {
  /* kv */
  .kv{
    min-width: 960px;
  }

  .kv .main-copy{
    font-size: 60px;
  }

  .kv .sub-copy{
    font-size: 30px;
  }

  /* video */
  .video{
    min-width: 960px;
  }
}

/* kv */
.kv{
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kv .main-copy{
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  letter-spacing: .2em;
}

.kv .sub-copy{
  color: #fff;
  font-size: 20px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .kv{
    min-width: 960px;
  }

  .kv .main-copy{
    font-size: 60px;
	  margin-bottom:20px;
  }

  .kv .sub-copy{
    font-size: 20px;
  }
}

.idx00 {
	max-width: 1440px;
	margin: auto;
	padding: 85px 0 85px 0;
	position: relative;
	z-index: 1;
}
section, article, figure {
  display: block;
  padding: 0;
  margin: 0;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}

.idx_en {
  position: absolute;
  display: block;
  font-family: "Lora", serif;
  font-weight: 600;
  font-size: 200px;
  letter-spacing: .05em;
  color: #f6f7f7;
  line-height: 1;
  white-space: nowrap;
}
.idx00>div {
  position: relative;
  justify-content: flex-start;
  align-items: center;
  z-index: 2;
}

.idx00 .box_img {
  display: flex;
  align-items: flex-start;
}

.idx00 .box_img figure {
  display: table;
  box-shadow: 27px 27px 27px 1px rgba(0, 0, 0, .08);
}

.idx00 .box_txt {
  max-width: 545px;
  position: relative;
  z-index: 2;
}

.idx00 .blue {
  font-weight: 700;
}

.idx00 h4 {
	display: flex;
	align-items: center;
	margin-bottom: 23px;
	margin-left: -0.15em;
	color: #3a98d3;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.8;
}

.idx00 h4 .num {
  display: block;
  margin-right: .2em;
  font-weight: 600;
  font-size: 100px;
  letter-spacing: .05em;
  line-height: 1;
}

.idx00 .idx04_row1 .idx_en {
  right: -33px;
  top: -42px;
  z-index: 1;
}

.idx00 .idx04_row1 .box_img {
  margin-right: 109px;
}

.idx00 .idx04_row1 .box_img figure:last-child {
  margin-left: 30px;
  margin-top: 41px;
}

.idx00 .idx04_row1 .box_txt {
  padding-bottom: 8.2%;
}

.idx00 .idx04_row2 {
  margin-top: -123px;
  flex-direction: row-reverse
}

.idx00 .idx04_row2 .idx_en {
  left: -14px;
  top: 17%;
}

.idx00 .idx04_row2 .box_txt {
  max-width: 532px;
  padding-top: 9.6%;
}

.idx00 .idx04_row2 .box_img {
  flex-direction: column;
  margin-left: 95px;
}

.idx00 .idx04_row2 .box_img figure:last-child {
  margin-top: 30px;
}

@media screen and (max-width:1400px) and (min-width:769px) {
  .idx00 .idx04_row1 {
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
  }
  .idx00 .idx04_row1 .box_img {
    margin-right: 5%;
    width: 50%;
    max-width: 706px;
  }
  .idx00 .idx04_row1 .box_txt {
    width: 45%;
  }
  .idx00 .idx04_row2 {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: -6vw;
  }
  .idx00 .idx04_row2 .box_img {
    margin-left: 5%;
    margin-right: 0;
    width: 45%;
    max-width: 625px;
  }
  .idx00 .idx04_row2 .box_txt {
    width: 50%;
  }
}

@media screen and (max-width:992px) and (min-width:769px) {
  .home_page .txt {
    font-size: 13px;
    line-height: 2.85;
  }
  .idx00 h4 {
    font-size: 25px;
    line-height: 1.7;
  }
  .idx00 h4 .num {
    font-size: 90px;
    margin-right: .15em;
  }
}
@media only screen and (max-width:1280px) and (min-width:769px) {
  .idx00 .idx04_row1 .idx_en {
    right: 0;
  }
  .index06 .idx_en {
    left: 0
  }
}
@media only screen and (max-width:768px) {
  .idx00 {
    padding-top: 5vw;
  }
  .idx00 h4 {
    font-size: 22px;
  }
  .idx00 h4 .num {
    font-size: 3.33em;
  }
  .idx00 .box_txt {
    max-width: 580px;
    margin: 40px auto 0;
    padding-right: 5%;
    padding-left: 5%;
  }
  .idx00 .box_txt .txt {
    line-height: 2.08;
  }
  .idx00 .idx04_row1 .idx_en {
    right: 0;
    top: -4.5vw;
	  font-size: 18vw;	
  }
  .idx00 .idx04_row1 .box_img {
    width: 95%;
    margin: auto;
    margin-right: 5%;
    justify-content: space-between;
  }
  .idx00 .idx04_row1 .box_img figure {
    width: calc(50% - 15px);
  }
  .idx00 .idx04_row1 .box_img figure img {
    width: 100%;
  }
  .idx00 .idx04_row1 .box_img figure:last-child {
    margin-left: 0;
    margin-top: 10vw;
  }
  .idx00 .idx04_row2 {
    margin-top: 50px;
  }
  .idx00 .idx04_row2 .idx_en {
    left: 0;
    top: -7vw;
		  font-size: 18vw;		
  }
  .idx00 .idx04_row2 .box_img {
    width: 100%;
    margin: auto;
    padding-left: 5%;
  }
  .idx00 .idx04_row2 .box_img figure:nth-child(2) {
    width: 90%;
    max-width: 625px;
  }
}

@media only screen and (max-width:375px) {
  .idx00 h4 {
    font-size: 6vw;
  }
}
  @media only screen and (max-width: 768px){
.idx00 .idx04_row2 .idx_en {
  left: 0;
  top: -7vw;
}
}
  @media only screen and (max-width: 768px){
.idx_en {
  font-size: 18vw;
}
}
.idx00 .idx04_row1 .box_img figure:last-child {
  margin-left: 30px;
  margin-top: 41px;
}
.floating-banner {
  position: fixed; /* バナーを追従させる */
  z-index: 99999; /* 他の要素の下に隠れないように */
  bottom: 0; /* バナーの上下の位置 */
  right: 0; /* バナーの左右の位置 */
  width: 300px; /* バナーの横幅 */
}
.floating-banner__image {
  max-width: 100%; /* 画像の最大幅 */
}
@media screen and (max-width: 990px) { /* タブレット用のブレイクポイントを指定 */
  .floating-banner {
    display: none; /* タブレットサイズ以下でPC用のバナーを非表示に */
  }
}
@media screen and (max-width: 560px) { /*スマホ用のブレイクポイントを指定*/
  .floating-banner { 
    display: block;
    width: 100vw; 
  }
}
/*==================================================
ふわっ
===================================*/


/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeUpTrigger{
    opacity: 1;
}
/* table01 */

#table01 {
	width:100%;
}
#table01 tr {
  border-bottom: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
  padding: 24px 0;
  border: none;
}

#table01 th {
  width: 30%;
}

/* sp */
@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}
.headtitles h2 {
  font-size: 34px;
  line-height: 1;
  position: relative;
  margin-bottom:60px;
}
.headtitles h2::before {
  content: '';
  width: 56px;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -30px;
  background-color: #333;
}
.headtitles h2 span {
  display: inline-block;
  font-size: 14px;
  line-height: 2.5;
  margin-left: 15px;
  vertical-align: top;
}
#fh5co-course {margin-top:100px;}

/* ==========================================================================
Showcase
========================================================================== */
.showcase {
    background: url('http://p-sclub.hippy.jp/new/wp-content/uploads/2024/12/21.jpg') no-repeat center center fixed;
    background-size: cover;
	background-attachment: fixed;
}
.showcase h1 {
    margin: 0 0 20px 0;
    color: #fff;
    font-weight: 400;
    font-size: 22px;
}
.showcase p {
    margin-bottom: 25px;
    color: #fff;
}

.showcase-wrap {
    position: relative;
    padding: 100px 0;
    min-height: 400px;
}
.showcase-slider ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.showcase-slider .flickity-page-dots {
    bottom: 20px;
}
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}
.wp-block-heading {
	font-size:18px;
	display: flex;
    align-items: center;
    padding: .5em .7em;
    background-color: #f2f2f2;
    color: #333333;
}
.wp-block-heading::before {
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #2589d0;
    content: '';
}
.sidebar-widget__title {
	font-size:18px;
	display: flex;
    align-items: center;
    padding: .5em .7em;
    background-color: #f2f2f2;
    color: #333333;
}
.sidebar-widget__title::before {
	    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #2589d0;
    content: '';
}
	
.entry__titles  {
  font-size: 34px;
  line-height: 1;
  position: relative;
  margin-bottom:60px;
}
.entry__titles :before {
  content: '';
  width: 56px;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -30px;
  background-color: #333;
}
.entry__titles span {
  display: inline-block;
  font-size: 14px;
  line-height: 2.5;
  margin-left: 15px;
  vertical-align: top;
}
.entry__titles {
    display: inline-block;
    position: relative;
    margin: calc(3.5em / 2) 0 calc(3.5em / 4) calc(3.5em / 2);
    color: #333333;
    line-height: 1;
	  margin-bottom:60px;
}

.entry__titles::before {
    position: absolute;
    bottom: calc(-3.5em / 4);
    left: calc(-3.5em / 2);
    z-index: -1;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background: #bbdbfb;
    content: '';
}

/* table01 */

#table01 {
	width:100%;
	margin-top:10px;
}
#table01 tr {
  border-bottom: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
  padding: 20px 0;
  border: none;
}

#table01 th {
  width: 30%;
}

/* sp */
@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }
}
.zoomBottomUp {
    animation: zoomBottomUp 1.0s ease 0s 1 normal;
}
/* zoomBottomUp */
@keyframes zoomBottomUp {
    0% {
        transform: translateY(1200px) scale(0.7);
        opacity: .7
    }
    80% {
        transform: translateY(0) scale(0.7);
        opacity: .7
    }
    100% {
        transform: scale(1);
        opacity: 1
    }
}
.fh5co-bg-section {
  background: #e8e8e8;
}

#fh5co-course-categories,
#fh5co-counter,
#fh5co-course,
#fh5co-register,
#fh5co-pricing,
#fh5co-testimonial,
#fh5co-blog,
#fh5co-about,
#fh5co-staff,
#fh5co-contact,
#fh5co-footer {
  padding: 7em 0;
  clear: both;
}
@media screen and (max-width: 768px) {
  #fh5co-course-categories,
  #fh5co-counter,
  #fh5co-course,
  #fh5co-register,
  #fh5co-pricing,
  #fh5co-testimonial,
  #fh5co-blog,
  #fh5co-about,
  #fh5co-staff,
  #fh5co-contact,
  #fh5co-footer {
    padding: 3em 0;
  }
}

.services {
  width: 95%;
  margin: 0 auto;
  margin-bottom: 40px;
  position: relative;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.services h3 {
  font-size: 18px;
  font-weight: 400;
}
.services h3 a {
  color: #000;
}
.services .icon {
  width: 90px;
  height: 90px;
  background: rgba(0, 0, 0, 0.04);
  display: table;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 30px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
@media screen and (max-width: 992px) {
  .services .icon {
    margin: 0 auto 30px auto;
  }
}
.services .icon i {
  display: table-cell;
  vertical-align: middle;
  font-size: 40px;
  line-height: 40px;
  color: #000;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.services:hover .icon, .services:focus .icon {
  background: #2D6CDF;
}
.services:hover .icon i, .services:focus .icon i {
  color: #fff;
}

.fh5co-counters {
  padding: 7em 0;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  position: relative;
}
.fh5co-counters .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  background: rgba(0, 0, 0, 0.5);
}
.fh5co-counters .counter-wrap {
  border: 1px solid red !important;
}
.fh5co-counters .fh5co-counter {
  font-size: 44px;
  display: block;
  color: white;
  font-family: "Roboto Slab", serif;
  width: 100%;
  font-weight: 400;
  margin-bottom: .1em;
}
.fh5co-counters .fh5co-counter-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 2em;
  display: block;
  font-family: "Roboto Slab", serif;
}
.fh5co-counters .icon i {
  font-size: 45px;
  color: #fff;
}

.course {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  margin-bottom: 30px;
}
.course .desc, .course .course-img {
  width: 50%;
  display: inline-block;
}
@media screen and (max-width: 768px) {
  .course .desc, .course .course-img {
    width: 100%;
  }
}
.course .course-img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
@media screen and (max-width: 768px) {
  .course .course-img {
    height: 270px;
  }
}
.course .desc {
  padding: 1.7em;
  background: #fafafa;
}
.course .desc h3 {
  font-size: 18px;
  font-weight: 400;
}
.course .desc h3 a {
  color: #000;
}
.course .desc .date {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
}
.course .desc .btn-course {
  border: 2px solid rgba(0, 0, 0, 0.8) !important;
  background: transparent;
  color: rgba(0, 0, 0, 0.8) !important;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 11px 15px !important;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
}
.course .desc .btn-course:hover {
  background: rgba(0, 0, 0, 0.8) !important;
  color: white !important;
}
.course:hover .course-img {
  -webkit-box-shadow: inset -70px 0px 77px 11px rgba(0, 0, 0, 0.74);
  -moz-box-shadow: inset -70px 0px 77px 11px rgba(0, 0, 0, 0.74);
  box-shadow: inset -70px 0px 77px 11px rgba(0, 0, 0, 0.74);
}

.fh5co-social-icons {
  margin: 0;
  padding: 0;
}
.fh5co-social-icons li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.fh5co-social-icons li a {
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
  color: #2D6CDF;
  padding-left: 10px;
  padding-right: 10px;
}
.fh5co-social-icons li a i {
  font-size: 20px;
}

.fh5co-contact-info ul {
  padding: 0;
  margin: 0;
}
.fh5co-contact-info ul li {
  padding: 0 0 0 40px;
  margin: 0 0 30px 0;
  list-style: none;
  position: relative;
  color: rgba(0, 0, 0, 0.8);
}
.fh5co-contact-info ul li:before {
  color: rgba(0, 0, 0, 0.8);
  position: absolute;
  left: 0;
  top: .05em;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fh5co-contact-info ul li.address:before {
  font-size: 30px;
  content: "\e9dc";
}
.fh5co-contact-info ul li.phone:before {
  font-size: 23px;
  content: "\ea3b";
}
.fh5co-contact-info ul li.email:before {
  font-size: 23px;
  content: "\e91e";
}
.fh5co-contact-info ul li.url:before {
  font-size: 23px;
  content: "\e9df";
}
.fh5co-contact-info ul li a {
  color: rgba(0, 0, 0, 0.8);
}

.fh5co-heading {
  margin-bottom: 5em;
}
.fh5co-heading h2 {
  font-size: 24px;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #000;
  text-transform: uppercase;
  position: relative;
}
.fh5co-heading h2:after {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  width: 50px;
  height: 1px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.08);
}
.fh5co-heading p {
  font-size: 14px;
}

#fh5co-testimonial {
  background: #1F5F8B;
  position: relative;
}
#fh5co-testimonial .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  background: rgba(221,221,221,0.3);
}
#fh5co-testimonial .testimony-slide {
  text-align: center;
  position: relative;
  color: #fff !important;
}
#fh5co-testimonial .testimony-slide span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  display: block;
}
#fh5co-testimonial .testimony-slide span small {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 3px;
}
#fh5co-testimonial .testimony-slide .user {
  display: block;
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  margin: 0 auto;
  margin-bottom: 10px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
#fh5co-testimonial .testimony-slide blockquote {
  border: none;
  margin: 30px auto;
  width: 70%;
  position: relative;
  padding: 0;
}
@media screen and (max-width: 768px) {
  #fh5co-testimonial .testimony-slide blockquote {
    width: 85%;
  }
}
#fh5co-testimonial .arrow-thumb {
  position: absolute;
  top: 40%;
  display: block;
  width: 100%;
}
#fh5co-testimonial .arrow-thumb a {
  font-size: 32px;
  color: #dadada;
}
#fh5co-testimonial .arrow-thumb a:hover, #fh5co-testimonial .arrow-thumb a:focus, #fh5co-testimonial .arrow-thumb a:active {
  text-decoration: none;
}
#fh5co-testimonial .owl-theme .owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.3) !important;
}
#fh5co-testimonial .owl-theme .owl-dots .active span {
  background: white !important;
}
#fh5co-testimonial .fh5co-heading {
  margin-bottom: 3em;
}
#fh5co-testimonial .fh5co-heading h2 {
  color: #fff;
  margin-bottom: 20px !important;
}
#fh5co-testimonial .fh5co-heading h2:after {
  background: transparent !important;
}
#fh5co-testimonial .fh5co-heading p {
  color: rgba(255, 255, 255, 0.5);
}
#fh5co-testimonial .fh5co-heading span {
  padding: 7px 15px;
  position: relative;
}
#fh5co-testimonial .fh5co-heading span:before {
  position: absolute;
  top: 24px;
  left: -40px;
  content: '';
  width: 40px;
  height: 1px;
  background: white;
}
#fh5co-testimonial .fh5co-heading span:after {
  position: absolute;
  top: 24px;
  right: -40px;
  content: '';
  width: 40px;
  height: 1px;
  background: white;
}

.wrap-price {
  padding: 2em 4em;
}

.pricing__feature-list {
  width: 100%;
  float: left;
}
.pricing__feature-list li {
  margin-bottom: 10px;
}

.pricing__item {
  width: 100%;
  float: left;
  clear: both;
}
@media screen and (max-width: 768px) {
  .pricing__item {
    margin-bottom: 30px;
  }
}

.fh5co-event {
  position: relative;
  padding-left: 120px;
  width: 100%;
  float: left;
  margin-bottom: 30px;
}
.fh5co-event .date {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: rgba(0, 0, 0, 0.03);
  display: table;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
.fh5co-event .date span {
  display: table-cell;
  vertical-align: middle;
  height: 100px;
  width: 100px;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
}
.fh5co-event h3 {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.fh5co-event h3 a {
  color: black;
}

.fh5co-blog {
  margin-bottom: 30px;
  width: 100%;
  float: left;
}
@media screen and (max-width: 768px) {
  .fh5co-blog {
    width: 100%;
  }
}
.fh5co-blog .blog-img-holder {
  display: block;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
  height: 270px;
}
.fh5co-blog .blog-text {
  position: relative;
  background: rgba(0, 0, 0, 0.03);
  width: 100%;
  padding: 30px;
  float: left;
}
.fh5co-blog .blog-text span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}
.fh5co-blog .blog-text span.comment {
  float: right;
}
.fh5co-blog .blog-text span.comment a {
  color: rgba(0, 0, 0, 0.3);
}
.fh5co-blog .blog-text span.comment a i {
  padding-left: 7px;
}
.fh5co-blog .blog-text h3 {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.fh5co-blog .blog-text h3 a {
  color: black;
}
.fh5co-blog .blog-text .btn-blog {
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.8);
  color: rgba(0, 0, 0, 0.8);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
}
.fh5co-blog .blog-text .btn-blog:hover {
  color: #fff !important;
}

#fh5co-register {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}
#fh5co-register .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  background: rgba(0, 0, 0, 0.5);
}
#fh5co-register h2, #fh5co-register h3, #fh5co-register p {
  color: #fff;
}
#fh5co-register .btn-reg {
  background: transparent;
  border: 2px solid #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
}

.simply-countdown {
  /* The countdown */
  margin-top: 3em;
  margin-bottom: 3em;
}

.simply-countdown > .simply-section {
  /* coutndown blocks */
  display: inline-block;
  width: 120px;
  height: 120px;
  background: rgba(0, 0, 0, 0.2);
  margin: 0 5px;
  position: relative;
  border: 2px solid #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}

.simply-countdown > .simply-section > div {
  /* countdown block inner div */
  display: table-cell;
  vertical-align: middle;
  height: 115px;
  width: 120px;
}

.simply-countdown > .simply-section .simply-amount,
.simply-countdown > .simply-section .simply-word {
  display: block;
  color: white;
  /* amounts and words */
}

.simply-countdown > .simply-section .simply-amount {
  font-size: 40px;
  /* amounts */
}

.simply-countdown > .simply-section .simply-word {
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  /* words */
}

.staff {
  width: 100%;
  float: left;
  display: block;
  margin-bottom: 40px;
}
.staff .staff-img {
  width: 100%;
  float: left;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  height: 300px;
  margin-bottom: 20px;
  display: table;
}
.staff .staff-img:before {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  background: rgba(255, 255, 255, 0.9);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.staff .staff-img .fh5co-social {
  opacity: 0;
  display: table-cell;
  vertical-align: middle;
  height: 300px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transform: translate3d(0, -15px, 0);
  transform: translate3d(0, -15px, 0);
}
.staff .staff-img .fh5co-social li {
  display: inline-block;
  padding: 0 7px;
}
.staff h3 {
  font-size: 18px;
}
.staff h3 a {
  color: #000;
}
.staff span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
}
.staff:hover .staff-img:before {
  opacity: 1;
}
.staff:hover .staff-img .fh5co-social {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#fh5co-gallery {
  padding-top: 2.5em;
}
#fh5co-gallery h2 {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 2.5em;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}
#fh5co-gallery h2 span {
  border: 2px solid rgba(0, 0, 0, 0.8);
  padding: 10px 15px;
  position: relative;
}
#fh5co-gallery h2 span:before, #fh5co-gallery h2 span:after {
  position: absolute;
  top: 18px;
  bottom: 0;
  content: '';
  width: 100px;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}
#fh5co-gallery h2 span:before {
  lett: 0;
  margin-left: -125px;
}
#fh5co-gallery h2 span:after {
  right: 0;
  margin-right: -110px;
}

.gallery {
  display: block;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  height: 300px;
}
.gallery:hover {
  -webkit-box-shadow: inset 0px 0px 124px 11px rgba(0, 0, 0, 0.74);
  -moz-box-shadow: inset 0px 0px 124px 11px rgba(0, 0, 0, 0.74);
  box-shadow: inset 0px 0px 124px 11px rgba(0, 0, 0, 0.74);
}

#fh5co-footer {
  background: #efefef;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff !important;
}
#fh5co-footer .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
#fh5co-footer .fh5co-footer-links {
  padding: 0;
  margin: 0;
}
#fh5co-footer .fh5co-footer-links li {
  padding: 0;
  margin: 0;
  list-style: none;
}
#fh5co-footer .fh5co-footer-links li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
#fh5co-footer .fh5co-footer-links li a:hover {
  text-decoration: underline;
}
#fh5co-footer .fh5co-widget {
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  #fh5co-footer .fh5co-widget {
    text-align: left;
  }
}
#fh5co-footer .fh5co-widget h3 {
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Source Sans Pro", Arial, sans-serif;
  color: #fff;
}
#fh5co-footer .copyright .block {
  display: block;
}
#fh5co-footer .copyright .block a {
  color: rgba(255, 255, 255, 0.5);
}

#map {
  width: 100%;
  height: 500px;
  position: relative;
}
@media screen and (max-width: 768px) {
  #map {
    height: 200px;
  }
}

#fh5co-offcanvas {
  position: absolute;
  z-index: 1901;
  width: 270px;
  background: black;
  top: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 75px 40px 40px 40px;
  overflow-y: auto;
  display: none;
  -moz-transform: translateX(270px);
  -webkit-transform: translateX(270px);
  -ms-transform: translateX(270px);
  -o-transform: translateX(270px);
  transform: translateX(270px);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
@media screen and (max-width: 768px) {
  #fh5co-offcanvas {
    display: block;
  }
}
.offcanvas #fh5co-offcanvas {
  -moz-transform: translateX(0px);
  -webkit-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -o-transform: translateX(0px);
  transform: translateX(0px);
}
#fh5co-offcanvas a {
  color: rgba(255, 255, 255, 0.5);
}
#fh5co-offcanvas a:hover {
  color: rgba(255, 255, 255, 0.8);
}
#fh5co-offcanvas ul {
  padding: 0;
  margin: 0;
}
#fh5co-offcanvas ul li {
  padding: 0;
  margin: 0;
  list-style: none;
}
#fh5co-offcanvas ul li > ul {
  padding-left: 20px;
  display: none;
}
#fh5co-offcanvas ul li.offcanvas-has-dropdown > a {
  display: block;
  position: relative;
}
#fh5co-offcanvas ul li.offcanvas-has-dropdown > a:after {
  position: absolute;
  right: 0px;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\ea1c";
  font-size: 20px;
  color: rgba(255, 255, 255, 0.2);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
#fh5co-offcanvas ul li.offcanvas-has-dropdown.active a:after {
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.uppercase {
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.gototop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.gototop.active {
  opacity: 1;
  visibility: visible;
}
.gototop a {
  width: 50px;
  height: 50px;
  display: table;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
}
.gototop a i {
  height: 50px;
  display: table-cell;
  vertical-align: middle;
}
.gototop a:hover, .gototop a:active, .gototop a:focus {
  text-decoration: none;
  outline: none;
}









/* .home-message
================================================ */
.home-message {
  overflow: hidden;
}
.home-message.is-animated .home-message__bg02 {
  opacity: 1;
}
.home-message__inner {
  position: relative;
  margin-top: 60px;
}
.home-message__head {
  margin-bottom: 25px;
  background: linear-gradient(45deg, #001F7A, #0BB1AC);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  -webkit-text-fill-color: transparent;
}
@media only screen and (max-width:480px) {
.home-message__head {

  font-size: 1.8rem;

}
	
}
.home-message__area-txt {
  margin-bottom: 35px;
}
.home-message__txt {
  line-height: 2.1428571429;
}
.home-message__txt + .home-message__txt {
  margin-top: 30px;
}
.home-message__bg01 {
  position: relative;
  z-index: 2;
  opacity: 0;
  -webkit-transform: translate(-100px, 100px);
  transform: translate(-100px, 100px);
  margin: 0 -20px 0 -70px;
}
.home-message__bg01.is-animated {
  -webkit-animation: message-bg-show 0.6s ease-in-out forwards;
  animation: message-bg-show 0.6s ease-in-out forwards;
}
@media all and (min-width: 600px) {
  .home-message__inner {
    display: flex;
    flex-wrap: wrap;
    padding-top: 120px;
    padding-bottom: 195px;
  }
  .home-message__area-head {
    margin-right: 150px;
  }
  .home-message__head {
	margin-bottom: 25px;
	font-size: 2.1em;
	line-height: 1.4;
  }
  .home-message__area-txt {
    flex: 1;
    margin-bottom: 0;
    padding-top: 80px;
  }
  .home-message__txt {
    font-size: 1.9rem;
    line-height: 2.3684205263;
  }
  .home-message__txt + .home-message__txt {
    margin-top: 45px;
  }
  .home-message__bg01 {
    position: absolute;
    bottom: 0;
    left: -300px;
    width: 785px;
    margin: 0;
  }
}
@media (min-width: 600px) and (max-width: 1366px) {
  .home-message__area-head {
    margin-right: 90px;
  }
  .home-message__bg02 {
    left: -325px;
  }
}

@-webkit-keyframes message-bg-show {
  0% {
    opacity: 0;
    -webkit-transform: translate(-100px, 100px);
    transform: translate(-100px, 100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

@keyframes message-bg-show {
  0% {
    opacity: 0;
    -webkit-transform: translate(-100px, 100px);
    transform: translate(-100px, 100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
#message {
	padding: 5em 0 0;
}

.visual {
	position: relative;
	width: 100%;
	height: 100vh;
}
.movie {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}
.movie video {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: auto;
	height: auto;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%,-50%);
}

/* wrap */

.hero {
  position: relative;
}













.test-cell {
  padding: 8px;
  text-align: left;
}
.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.ml80 {
  margin-left: 80px;
}
.mb60 {
  margin-bottom: 60px;
}
#message {
	padding: 5em 0 0;
}
.ml80 {
	padding-top: 8em;
}
.mr80 {
	padding-right: 8em;
}
.cnt01 .cnt01-inner {
  position: relative;
  z-index: 1;
}
.cnt01 .cnt01-inner::before {
  position: absolute;
  content: "";
  right: 0;
  top: 40px;
  width: 90%;
  height: 75%;
  background-color: #F9F9F9;
  z-index: -1;
}
.cnt01 .cnt01-inner::after {
  position: absolute;
  content: "";
  bottom: calc(100% - 40px);
  right: 0;
  font-size: 200px;
  letter-spacing: 0.08em;
  line-height: 0.8;
  color: #E4E4E4;
  filter: blur(8px);
  z-index: -1;
}
.cnt01 .cnt01-inner .cnt01-row {
  max-width: 1880px;
  width: 99%;
  margin-left: auto;
  margin-right: auto;
}
.cnt01 .cnt01-inner .cnt01-row .cnt01-img {
  max-width: 860px;
  width: 54%;
}
.cnt01 .cnt01-inner .cnt01-row .cnt01-img img {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  max-width: 860px;
  height: 540px;
  object-fit: cover;
  object-position: center right;
  width: 100%;
}
.cnt01 .cnt01-inner .cnt01-img02 {
  max-width: 1280px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.cnt01 .cnt01-inner .cnt01-img02 img {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  height: 360px;
  object-position: center;
  object-fit: cover;
  width: 72%;
}
.cnt02 .cnt02-inner {
  position: relative;
  z-index: 1;
}
.align-items-start {
  align-items: flex-start !important;
}
.justify-content-start {
  justify-content: flex-start !important;
}
.flex-column {
  flex-direction: column !important;
}
.d-flex {
  display: flex !important;
}
@media screen and (max-width: 767px) {

 .cnt01 .cnt01-inner::before {
    width: 100%;
    top: 5vw;
    height: calc(100% - 38vw);
  }
 .cnt01 .cnt01-inner::after {
    font-size: 14vw;
    filter: blur(1vw);
    right: 2%;
    bottom: calc(100% - 5vw);
  }
 .cnt01 .cnt01-inner .cnt01-row {
    flex-direction: column-reverse;
  }
 .cnt01 .cnt01-inner .cnt01-row .cnt01-text {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    margin-bottom: 10vw;
  }
 .cnt01 .cnt01-inner .cnt01-row .cnt01-text .cmn-btn {
    margin-left: auto;
    margin-right: auto;
    padding-left: 4vw;
    padding-right: 4vw;
  }
 .cnt01 .cnt01-inner .cnt01-row .cnt01-text .cmn-btn span {
    width: 8vw;
  }
 .cnt01 .cnt01-inner .cnt01-row .cnt01-img {
    width: 90%;
  }
 .cnt01 .cnt01-inner .cnt01-row .cnt01-img img {
    height: 50vw;
  }
 .cnt01 .cnt01-inner .cnt01-img02 {
    margin-right: 0;
  }
 .cnt01 .cnt01-inner .cnt01-img02 img {
    width: 100%;
    height: 40vw;
  }
}
.menu-1 {
	margin-top: 10px;
}
.newslatter p {
	font-size: 14px;
}
.js-c-anime-elem[data-anime=fadein-up] {
  opacity: 0;
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.js-c-anime-elem[data-anime=fadein-up].is-animated {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.js-c-anime-elem[data-anime=fadein-left] {
  opacity: 0;
  -webkit-transform: translateX(-30px);
  transform: translateX(-30px);
  transition: all 0.6s ease;
}
.js-c-anime-elem[data-anime=fadein-left].is-animated {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.js-c-anime-elem[data-anime=fadein-right] {
  opacity: 0;
  -webkit-transform: translateX(30px);
  transform: translateX(30px);
  transition: all 0.6s ease;
}
.js-c-anime-elem[data-anime=fadein-right].is-animated {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.js-c-anime-elem[data-anime=fadein-bg-left] .js-c-anime-bg {
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  transition: all 0.8s cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transform-origin: top left;
  transform-origin: top left;
}
.js-c-anime-elem[data-anime=fadein-bg-left] .js-c-anime-item {
  opacity: 0;
  transition: all 0.8s ease 1s;
}
.js-c-anime-elem[data-anime=fadein-bg-left].is-animated .js-c-anime-bg {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.js-c-anime-elem[data-anime=fadein-bg-left].is-animated .js-c-anime-item {
  opacity: 1;
}
/*==================================================
 機能編 9-1-1　縦線が動いてスクロールを促す
===================================*/

/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	left:50%;
	top:36vh;
    /*全体の高さ*/
	height:100px;
}

/* 線の描写 */
.scrolldown1::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    /*線の形状*/
	width: 1px;
	height: 100px;
	background: #000;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 2.4s ease-in-out infinite;
	opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:100px;
		opacity: 1;
	}
	100%{
		height:0;
		top:150px;
		opacity: 0;
	}
}
/*==================================================
 機能編 7-1-47	矢印が右に移動して背景がつく 
===================================*/

.btnarrow5{
    /*矢印の基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	border: 1px solid #555;
    padding: 8px 30px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: #333;
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s linear;
    font-size: 16px;
	margin-top:30px;
}

.btnarrow5:hover{
	background:#333;
	color:#fff;
}

/*矢印と下線の形状*/
.btnarrow5::before{
	content:"";
    /*絶対配置で下線の位置を決める*/
	position: absolute;
	top:50%;
	right:-26px;
    /*下線の形状*/
	width:40px;
	height:1px;
	background:#333;
    /*アニメーションの指定*/
    transition: all .2s linear;
}

.btnarrow5::after{
	content:"";
    /*絶対配置で矢印の位置を決める*/
	position: absolute;
    top: 23%;
    right: -21px;
    /*矢印の形状*/
	width:1px;
	height:14px;
	background:#333;
    transform:skewX(45deg);
    /*アニメーションの指定*/
    transition: all .2s linear;
}

/*hoverした際の移動*/
.btnarrow5:hover::before{
	right:-30px;
}

.btnarrow5:hover::after{
	right:-25px;
}
/* lead */

#lead{

    display: block;
  
    padding: 0;
}

#lead .lead-area{
    display: block;

}




#lead .lead-heading{
    
}

#lead h2{
     font-size:2rem;
    letter-spacing: 0.1em;
    line-height: 2.2;
    padding: 0;
 
}

#lead .lead-desc{
    width:70%;
    display: block;
    flex-direction: row-reverse;
    height: 16em;
}

#lead .lead-desc p{

    letter-spacing: 0.1em;
    line-height: 3;
    margin: 0;
  
}






@media screen and (max-width:1020px) {
#lead h2{
    line-height: 1.8;
    padding: 0 0 50px 0;
    display: inline-block;
    text-align: left;
    font-size: 1.5rem;
    letter-spacing: 0.4em;
}
    
#lead .lead-desc p{
    line-height:2.5;
}
    
}


@media screen and (max-width:920px) {

    #lead{
    height:auto;
    padding:100px 0;
    }
    
#lead .lead-heading{
    width:100%;
    text-align: center;
}

    
#lead .lead-desc{
    width: 100%;
    padding: 0 30px;
    display: block;
    height: auto;
}
    
#lead .lead-desc p{
    width:auto;
    margin: 0 0 30px 0;

}
 

    
}

#menu{
    position:relative;
    margin: 0 0 100px 0;
}

#menu .menu-bg{
    position: relative;
    background:url(http://p-sclub.hippy.jp/test/wp-content/uploads/2025/04/bg_01a.jpg) no-repeat center;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:50vh;
}

#menu section{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}

#menu section:nth-of-type(2n){
    flex-direction:row-reverse;
}

#menu .menu-img{
    width:50%;
    height:40vh;
}

#menu .menu-img-detail{
    height:40vh;
}

#menu .menu-box{
    animation-delay:.5s;
}

#menu .menu-content{
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 3em;
}

#menu section:nth-of-type(1) .menu-img-detail{
    background:url(http://p-sclub.hippy.jp/test/wp-content/uploads/2025/04/pict_01a.jpg) no-repeat center;
    background-size:cover;
}

#menu section:nth-of-type(2) .menu-img-detail{
    background:url(http://p-sclub.hippy.jp/test/wp-content/uploads/2025/04/pict_02a.jpg) no-repeat center;
    background-size:cover;
}

#menu section:nth-of-type(3) .menu-img-detail{
    background:url(http://p-sclub.hippy.jp/test/wp-content/uploads/2025/04/pict_03a.jpg) no-repeat center;
    background-size:cover;
}
#menu section:nth-of-type(4) .menu-img-detail{
    background:url(http://p-sclub.hippy.jp/test/wp-content/uploads/2025/04/pict_03a.jpg) no-repeat center;
    background-size:cover;
}

#menu section:nth-of-type(5) .menu-img-detail{
    background:url(../images/pict_05.jpg) no-repeat center;
    background-size:cover;
}
#menu .menu-content h3{
	font-size: 2.0rem;
	font-weight: 600;
}

#menu .menu-content p{

    line-height:2.5;
}

@media screen and (max-width:768px) {
#menu .menu-bg{
    background-attachment: inherit;
    }
}

@media screen and (max-width:560px) {
    
#menu .menu-img,
#menu .menu-content{
    width:100%;
    margin: 0 0 50px 0;
}
    
}
/* access */

#access{
    position:relative;
}

#access .access-bg{
    background:url(http://p-sclub.hippy.jp/test/wp-content/uploads/2025/04/bg_03a.jpg) no-repeat center;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:50vh;
}

#access .access-area{
   
    background:#fff;
    box-shadow: 0.2px 0 4px 4px #ccc;
    width:90%;
    margin: 0 auto 100px auto;
}

#access .access-area .access-block{
    width:50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#access .access-box{
	
width:80%;	
}
#access .access-area .access-block h3{
    font-size: 1.2rem;
    margin: 0 0 20px 0;
}

#access .access-area .access-block p{
    margin: 0 0 20px 0;
}

#access .access-map{
    width:50%;
}

#access .iframe-wrap {
  position: relative;
  padding-bottom: 51.65%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  z-index: 2;
}

#access .iframe-wrap iframe,
#access .iframe-wrap object,
#access .iframe-wrap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width:1040px) {
    #access .access-area .access-block,
    #access .access-map{
        width:100%;
    }   
    #access .access-area .access-block{
        padding:40px 20px;
    }
}


@media screen and (max-width:768px) {
#access .access-bg{
    background-attachment: inherit;
    }
}

/* service */

#service{
	position: relative;
	padding: 100px 0 0 0;
    
}

#service header{
	color: #fff;
	width: 90%;
	padding: 80px 0 100px 0;
	z-index: 1;
	background-color: #62C1B4;
}

#service header h2{
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    letter-spacing: 0.1em;
}

#service header p{
    margin: 0 0 30px 0;   
}

#service header p br{
     display: none;   
}

#service .service-area{
    background:#fff;
    padding: 70px;
    width:70%;
    position: relative;
    top:-50px;
    left: 10%;
    z-index: 2;
}

#service .service-area ul{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
/* スマホ表示用。flipDownを指定している親要素に指定しないとうまく動かない*/
    transform:  translate3d(0, 0, 0);
}

#service .service-area ul li{
    opacity: 0;
    width:22%;
    padding: 0 0 50px 0;
}

#service .service-area ul li a{
    display: block;
}

@media screen and (max-width:960px) {
    #service header{
        width:100%;
    }
    #service .service-area{
        width:80%;
        left:10%;
        padding: 80px 20px 30px 20px;
    }
#service .service-area ul li{
    width:40%;
    }   

#service header p br{
     display:block;   
}
}

@media screen and (max-width:768px) {
    #service{
        padding: 0 0 0 0;
    }
}

@media screen and (max-width:550px) {
    #service .service-area{
    width:90%;
    left:5%;
    }
}

@media screen and (max-width:400px) {
    #service .service-area{
    width:100%;
    left:0;
    font-size: 0.9rem;
}
}
/*上下線*/
.lineTrigger::before,
.lineTrigger::after{
  position: absolute;
  content: '';
  width:0;
  height:1px;
  background:#333;/* 枠線の色*/
}

/*左右線*/
.line2::before,
.line2::after{
  position: absolute;
  content: '';
  width: 1px;
  height:0;
  background:#333;/* 枠線の色*/
}

/*上線*/
.lineTrigger::before {
	top:0;
	left:0;
}

.lineTrigger.lineanime::before {
	animation: lineAnime .5s linear 0s forwards;/*表示されて0秒後に上線が0.5秒かけて表示*/
}

/*右線*/
.line2::before{ 
	top:0;
	right:0;
}

.lineTrigger.lineanime .line2::before {
	animation: lineAnime2 .5s linear .5s forwards;/*表示されて0.5秒後に右線が0.5秒かけて表示*/
}

/*下線*/
.lineTrigger::after { 
	bottom:0;
	right:0;
}

.lineTrigger.lineanime::after {
	animation: lineAnime .5s linear 1s forwards;/*表示されて1秒後に下線が0.5秒かけて表示*/
}

/*左線*/
.line2::after{ 
	bottom:0;
	left:0;
}

.lineTrigger.lineanime .line2::after {
	animation: lineAnime2 .5s linear 1.5s forwards;/*表示されて1.5秒後に左線が0.5秒かけて表示*/
}

@keyframes lineAnime {
	0% {width:0%;}
    100%{width:100%;}
}

@keyframes lineAnime2 {
	0% {height:0%;}
    100%{height:100%;}
}

/*枠線内側の要素*/

.lineTrigger.lineanime .lineinappear{
	animation: lineInnerAnime .5s linear 1.5s forwards;/*1.5秒後に中央のエリアが0.5秒かけて表示*/
	opacity: 0;/*初期値を透過0にする*/	
}

@keyframes lineInnerAnime{
	0% {opacity:0;}
    100% {opacity:1;}
}

/* reserve */

#reserve{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width:90%;
    margin: 0 auto 100px auto;
    padding:100px 30px;
    text-align: center;
}

#reserve .scrolldown1{
     top:-10vh;   
}

#reserve h2{
     font-size: 1.2rem;   
}

#reserve .tel{
    font-size: 2vw;
    margin: 0 0 20px 0;
}

#reserve p br{
     display: none;   
}

@media screen and (max-width:990px) {
#reserve h2{
     font-size: 1rem;   
}
#reserve .tel{
    font-size: 1.5rem;
}
    
}

@media screen and (max-width:540px) {

#reserve p br{
     display:block;   
}
    

}
.fh5co-heading {
  margin-bottom: 1em;
}

.fh5co-heading h2 {
	font-size: 28px;
	margin-bottom: 20px;
	line-height: 2;
	color: #000;
	text-transform: uppercase;
	position: relative;
	margin-top: 20px;
	font-weight: 600;
}

.fh5co-heading p {
	font-size: 16px;
}
.heading08 {
	font-size: 26px;
}

.heading08 span {
	display: flex;
	align-items: center;
	color: #000000;
	font-size: 18px;
	text-transform: uppercase;
}

.heading08 span::before {
	content: '';
	display: inline-block;
	margin-right: 20px;
	width: 40px;
	height: 1px;
	background-color: #000;
}
.auto {
	margin:auto;
	margin-bottom:60px;
}
.mb {
	
}

.time-table {
    display: block;
    border-collapse: collapse;
}
.time-table {
    display: block;
    border-collapse: collapse;
}
.time-table th {
    border-top: 1px solid #d2d2d2;
	
}
.time-table th, .time-table td {
    padding: 0px 10px;
    text-align: center;
    height: 50px;
    border-bottom: 1px solid #d2d2d2;
	white-space: nowrap;
}
.time-table td {
    width: 100%;
    min-width: 58px;
    color: #1ba1e6;
    font-weight: bold;
}
.time-table td .time {
    color: #3c3c3c;
}
@media screen and (max-width: 764px) {
    .time-table td {
        min-width: auto;
        width: 100%;
        max-width: 10%;
        font-size: 12px;
    }
    .time-table th, .time-table td {
        min-width: 40px;
        width: 100%;
        padding: 0px 15px;
        font-size: 10px;
    }
}
.table-scroll {
  overflow-x: auto;
}
.table_design10 {
  border-collapse: collapse;
  min-width: 700px;
  font-weight: bold;
  text-align: center;
}
.table_design10 th, .table_design10 td {
  padding: .5em 1em;
  border: 2px solid #4d9bc1;
}
.table_design10 th {
  background: #4d9bc1;
  color: #fff;
  border-right: 2px solid #fff;
  border-top: 2px solid #4d9bc1;
}
.table_design10 th:last-of-type {
  border-right: 2px solid #4d9bc1;
}
.design01 {
  width: 100%;
  border: 2px solid #CEC2D6;
  max-width: 100%;
  font-size: 14px;
  margin-bottom: 20px;
}

.design01 th {
  background: #F5F3F8;
}

.design01 th {
  padding: 0.75em;
  vertical-align: middle;
  line-height: 1.4;
  font-weight: normal;
  text-align: center;
}

.design01 td {
  padding: 0.75em;
  vertical-align: middle;
  line-height: 1.4;
  font-weight: normal;
}

.design01 tbody th,
.design01 tbody td {
  border-top: 2px solid #CEC2D6;
}

.design01 tbody td {
  background-color: #FFFFFF;
}

.design01 thead th,
.design01 thead td,
.design01 table tbody td {
  border-left: 2px solid #CEC2D6;
}
.design01 thead th {
  font-weight: normal;
  text-align: center;
}
.margin_t {
	margin-top:20px;
}
.header-button-online {
  margin: 5px;
  margin-left: 50px;
}
.top-phone{
  color: #A16E65;
  font-size: 2.3rem;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  line-height: 0;
}

.header-tel-kokoroni {
  letter-spacing: 1.0em;
  font-size: 12px;
}

.header-text {
  text-align: right;
}
.my-header-content {
    /*display: flex;*/
    align-items: flex-end;
}

.my-header-content__button .c-btn {
    margin: 0 1rem 0 0;
}
/* ヒーロー */
.director-hero {
  background-color: #f5f6f7;
  padding: 80px 0;
}

.director-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 20px;
}

.director-photo img {
  width: 320px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* メッセージ */
.director-message {
  flex: 1;
}

.director-copy {
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 28px;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #1f2a44;
}

.director-name {
  font-size: 16px;
  color: #555;
}

.director-name span {
  font-size: 20px;
  font-weight: bold;
  margin-left: 8px;
}

.director-role {
  font-size: 14px;
  color: #777;
  margin-top: 4px;
}

/* ごあいさつ本文 */
.director-text {
  padding: 80px 0;
}

.director-text h2 {
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 26px;
  margin-bottom: 32px;
  color: #1f2a44;
}

.director-text p {
  margin-bottom: 24px;
}

/* プロフィール */
.director-profile {
  background-color: #fafafa;
  padding: 60px 0;
}

.profile-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.profile-card h3 {

  font-size: 22px;
  margin-bottom: 24px;
}

.profile-card dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 16px;
}

.profile-card dt {
  font-weight: bold;
  color: #555;
}

.profile-card dd {
  color: #333;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .director-hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .director-photo img {
    width: 240px;
  }

  .director-copy {
    font-size: 22px;
  }

  .profile-card dl {
    grid-template-columns: 1fr;
  }

  .profile-card dt {
    margin-top: 12px;
  }
}


.timeline {
  list-style: none;
}
.timeline > li {
  margin-bottom: 60px;
}

/* for Desktop */
@media ( min-width : 640px ){
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
  .timeline-date {
    width: 110px;
    float: left;
    margin-top: 20px;
  }
  .timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #e5e5d1 solid;
    padding-left: 30px;
  }
  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #6fc173;
    position: absolute;
    left: 106px;
    top: 24px;
    border-radius: 100%;
  }
}
.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* 採用ページ */
.recruit {
  padding: 80px 0;
  background-color: #ffffff;
}

.recruit-title {
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 26px;
  color: #1f2a44;
  margin-bottom: 16px;
}

.recruit-lead {
  color: #555;
  margin-bottom: 40px;
}

/* table */
/* 縦型テーブル */
.recruit-table.vertical {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.recruit-table.vertical th,
.recruit-table.vertical td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e5e5;
}

.recruit-table.vertical th {
  width: 30%;
  background-color: #f5f6f7;
  text-align: left;
  font-weight: bold;
  color: #333;
}

.recruit-table.vertical td {
  background-color: #fff;
  color: #333;
}

/* 職種タイトル */
.recruit-table .job-title th {
  background-color: #1f2a44;
  color: #fff;
  font-size: 16px;
  padding: 16px;
  border-bottom: none;
}

/* ===== スマホ対応（カード化） ===== */
@media screen and (max-width: 768px) {

  .recruit-table,
  .recruit-table tbody,
  .recruit-table tr,
  .recruit-table th,
  .recruit-table td {
    display: block;
  }

  .recruit-table.vertical th {
    width: 100%;
    background: none;
    padding: 0;
    margin-top: 12px;
    font-size: 13px;
    color: #666;
  }

  .recruit-table.vertical td {
    padding: 6px 0 12px;
    font-size: 14px;
  }

  .recruit-table tr {
    background-color: #fff;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 12px;
  }

  .recruit-table .job-title th {
    background: none;
    color: #1f2a44;
    font-size: 16px;
    padding: 0 0 12px;
  }
}
/* =========================
   Page Header
========================= */

.page-header {
  background: #F4F8F7;
  padding: clamp(32px, 6vw, 64px) 16px;
}

.page-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.page-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #1F3F3A;
  margin: 0;
}

.page-subtitle {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: #7FB3A8;
  margin-top: 8px;
}

.page-header__inner::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #7FB3A8;
  margin: 20px auto 0;
}

/* =========================
   Access Info
========================= */

.access-info {
  padding: 64px 16px;
}

.access-info__inner {
  max-width: 960px;
  margin: 0 auto;
}

.access-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.access-list li {

  grid-template-columns: 100px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid #E6EFEA;
}

.access-list li:last-child {
  border-bottom: none;
}



.label {
  font-weight: 500;
  color: #6B8F88;
}

.value a {
  color: #1F3F3A;
  font-weight: 500;
}
/* 住所・テキストの不自然な改行を防ぐ */
.access-list .value {
  word-break: normal;
  overflow-wrap: break-word; /* 必要なときだけ改行 */
  line-break: strict;
}

/* 電話番号・郵便番号は途中で折らない */
.access-list .value a,
.access-list .value .no-break {
  white-space: nowrap;
}
/* =========================
   Map
========================= */

.access-map {
  background: #F7FBFA;
  padding: 64px 16px;
}

.access-map__inner {
  max-width: 960px;
  margin: 0 auto;
}

.map-box {
  width: 100%;
  height: 320px;
  background: #EAF2F0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  color: #6B8F88;
}

.map-actions {
  text-align: center;
  margin-top: 24px;
}
/* Map wrapper */
.map-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #EAF2F0;
  border-radius: 12px;
  overflow: hidden; /* ← はみ出し防止の要 */
}

/* iframeを枠にフィットさせる */
.map-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* =========================
   CTA
========================= */

.access-cta {
  padding: 72px 16px;
}

.access-cta__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.cta-text {
  font-size: 16px;
  margin-bottom: 32px;
}

/* =========================
   Buttons
========================= */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s ease;
}

.btn.primary {
  background: #7FB3A8;
  color: #fff;
}

.btn.primary:hover {
  background: #6AA79A;
}

.btn.secondary {
  border: 1px solid #7FB3A8;
  color: #7FB3A8;
  margin-left: 16px;
}

.btn.secondary:hover {
  background: #F0F7F5;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

  .access-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn.secondary {
    margin-left: 0;
    margin-top: 12px;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

.sp-only {
  display: none;
}

@media (max-width: 480px) {
  .sp-only {
    display: inline;
  }
}
/* 外観写真プレースホルダー */
.building-preview {
  margin-top: 48px;
  text-align: center;
}

.building-image {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  background: #EEF5F3;
  border-radius: 12px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B8F88;
  font-size: 14px;
}

.building-text {
  margin-top: 16px;
  font-size: 14px;
  color: #4A6460;
}
.building-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
/* =========================
   Schedule
========================= */

.schedule {
  padding: 72px 16px;
}

.schedule__inner {
  max-width: 960px;
  margin: 0 auto;
}

/* --- PC / Tablet --- */

.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  text-align: center;
  padding: 16px 12px;
  font-size: 18px;
  border-top: 1px solid #BFD9F2;
}

.schedule-table thead th {
  color: #fff;
  font-weight: 600;
  border-top: none;
}
/* 左端 見出し列 */
.schedule-table thead th:first-child {
  background: linear-gradient(to right, #2FA4D9, #1F6FB2);
}
.schedule-table tbody th {
  text-align: left;
  font-weight: 500;
  background: #FBFDFC;
}

/* 診療・休診 */
.is-open {
  color: #7AC943;
  font-weight: 600;
  font-size: 20px;
}

.is-close {
  color: #BFD9F2;
  font-size: 18px;
}

/* 注釈 */
.schedule-note {
  margin-top: 16px;
  font-size: 13px;
  color: #607A74;
  line-height: 1.6;
}
/* ヘッダー帯を1枚グラデに */
/* ヘッダー帯をゆったりグラデ */
.schedule-table thead {
  background: linear-gradient(
    90deg,
    #2fa4d9 0%,
    #2fa4d9 30%,
    #1f6fb2 100%
  );
}

/* ヘッダー文字 */
.schedule-table thead th {
  background: transparent;
  color: #fff;
  font-weight: 600;
  border-top: none;
}
/* ヘッダーの背景を完全統一 */
.schedule-table thead th {
  background: transparent !important;
}
/* =========================
   Mobile（曜日カード化）
========================= */


/* =========================
   Medical Guide
========================= */

.medical-guide {
  padding-bottom: 80px;
}

/* セクション共通 */
.medical-section {
  padding: 72px 16px;
}

.medical-section + .medical-section {
  border-top: 1px solid #E6EFEA;
}

.medical-section--highlight {
  background: #F7FBFA;
}

.medical-section--soft {
  background: #FBFDFC;
}

/* 幅制御 */
.medical-section > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* 見出し */
.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #1F3F3A;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #445E58;
  margin-bottom: 32px;
}

/* 情報ボックス */
.info-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 0 0 1px #E6EFEA inset;
}

.info-box--alert {
  background: #FFFDF7;
  box-shadow: 0 0 0 1px #F0E4B5 inset;
}

/* ボックス内見出し */
.info-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1F3F3A;
}

/* リスト */
.info-list,
.info-steps {
  padding-left: 1.2em;
  line-height: 1.8;
  font-size: 14px;
  color: #283737;
}

.info-list li,
.info-steps li {
  margin-bottom: 6px;
}

/* 注釈 */
.note {
  font-size: 13px;
  color: #607A74;
  margin-top: 12px;
}

/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

  .medical-section {
    padding: 56px 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .info-box {
    padding: 20px;
  }
}
/* =========================
   Reservation CTA
========================= */

.reservation-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 0 0 1px #E6EFEA inset;
}

.reservation-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1F3F3A;
}

.reservation-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #283737;
}

/* CTAボタン */
.reservation-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.btn {
  display: inline-block;
  text-align: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary {
  background: #1F3F3A;
  color: #ffffff;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  border: 1px solid #1F3F3A;
  color: #1F3F3A;
  background: #ffffff;
}

/* Mobile */
@media (max-width: 768px) {

  .reservation-box {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .reservation-cta {
    width: 100%;
  }
}
/* =========================
   FAQ
========================= */

.faq {
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 1px #E6EFEA inset;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: #1F3F3A;
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 16px;
  line-height: 1.8;
  color: #283737;
}

/* Mobile */
@media (max-width: 768px) {
  .faq-item {
    padding: 20px;
  }
}

.access {
  background: #f6f8f7;
  padding: 64px 20px;
}

.access-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

/* 地図側 */
.access-map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.access-map img {
  width: 100%;
  display: block;
}

.map-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,.9);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

/* 情報側 */
.access-title {
  font-size: 24px;
  margin-bottom: 16px;
}

.access-text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #555;
}

.access-list {
  margin-bottom: 24px;
}

.access-list div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.access-list dt {
  font-weight: 600;
  color: #666;
}

.access-list dd {
  margin: 0;
  color: #333;
}

.access-cta .btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #5fa8a3;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* SP */
@media (max-width: 768px) {
  .access-inner {
    grid-template-columns: 1fr;
  }

  .access {
    padding: 48px 16px;
  }
}
.medical-personnel {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* lead */
.mp-lead {
  margin-bottom: 64px;
}

.mp-lead h1 {
  font-size: 28px;
  margin-bottom: 16px;
}

.mp-lead-text {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}

/* section common */
.mp-section {
  margin-bottom: 56px;
}

.mp-section h2 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid #5fa8a3;
}

.mp-section p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

/* list */
.mp-list {
  margin: 16px 0 24px;
  padding-left: 20px;
}

.mp-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* grid list */
.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}

.mp-grid li {
  background: #f6f8f7;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 18px;
}

/* contact */
.mp-contact {
  background: #f6f8f7;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
}

.mp-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 32px;
  border-radius: 999px;
  background: #5fa8a3;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* SP */
@media (max-width: 768px) {
  .mp-lead h1 {
    font-size: 24px;
  }
}
/* =========================
   Medical Personnel Mascot
========================= */

.mp-mascot {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 480px;
}

/* マスコット画像 */
.mp-mascot img {
  width: 96px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.9; /* 仮なので少し抑える */
}

/* 一言テキスト */
.mp-mascot-text {
  font-size: 13px;
  line-height: 1.6;
  color: #607A74;
}

/* SP */
@media (max-width: 768px) {
  .mp-mascot {
    margin-top: 24px;
    max-width: 100%;
  }

  .mp-mascot img {
    width: 80px;
  }
}
/* スマホメニューを横書きに戻す */
@media screen and (max-width: 768px) {

  .off-canvas-nav,
  .off-canvas-nav a,
  .off-canvas-nav li {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }

}
@media screen and (max-width: 768px) {

  .off-canvas-nav ul {
    display: flex;
    flex-direction: column;
  }

  .off-canvas-nav li {
    text-align: left;
  }

}
@media screen and (max-width: 768px) {

  .off-canvas-nav a {
    padding: 14px 0;
    font-size: 18px;
  }

}
/* ヘッダー用マスコット */
.mascot-header {
  height: 40px;
  width: auto;
  margin-left: 10px;
  vertical-align: middle;
}
/* h1横ミニマスコット */
.mascot-title {
  width: 60px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
}
/* ===== マスコット吹き出し ===== */

.mascot-balloon-wrap {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 24px 0 16px;
}

/* マスコット */
.mascot-balloon-img {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}

/* 吹き出し本体 */
.mascot-balloon {
  position: relative;
  background: #f5fbfa;
  border: 1px solid #bfe3dd;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 18px;
  line-height: 1.6;
  color: #1f3f3a;
  max-width: 360px;
}

/* 吹き出しのしっぽ */
.mascot-balloon::before {
  content: "";
  position: absolute;
  left: -10px;
  bottom: 16px;
  border-width: 8px 10px 8px 0;
  border-style: solid;
  border-color: transparent #bfe3dd transparent transparent;
}

.mascot-balloon::after {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 16px;
  border-width: 7px 9px 7px 0;
  border-style: solid;
  border-color: transparent #f5fbfa transparent transparent;
}

/* ===== SP対応 ===== */
@media (max-width: 768px) {

  .mascot-balloon-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .mascot-balloon::before,
  .mascot-balloon::after {
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%) rotate(90deg);
  }

}
/* ===== 吹き出し位置 強制補正 ===== */

.medical-section .mascot-balloon-wrap {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;

  text-align: left !important;

  max-width: 960px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.medical-section .mascot-balloon-img {
  display: block;
  width: 56px;
  margin: 0;
}

.medical-section .mascot-balloon {
  margin-left: 10px;
}
.medical-section .mascot-balloon {
  background: #f6fcfb;
  border-color: #9fdad0;
}

.medical-section .mascot-balloon-img {
  transform: translateY(3px);
}
