@charset "utf-8";

/*=========================
 共通
=========================*/
.link01 {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}
.link01 a {
    display: block;
    background-color: #00b6bf;
    box-shadow: 0 0 9px #5d5d5d;
    line-height: 1.4;
    text-align: center;
    color: #fff;
    font-size: 20px;
    border-radius: 200px;
    padding: 22px 10px;
}
.link01 a span {
    display: inline-block;
    background: url(../img/common/icon01.png) no-repeat right center;
    background-size: 7px;
    padding: 0 17px;
}

/*=========================
 下層 main内
=========================*/
main {
}

/*===== #front =====*/
#front {
    padding: 60px 0;
}
#front ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#front ul li {
    width: calc(96% / 3);
    box-shadow: 0 0 7px #a9a8a8;
    border-radius: 25px;
    overflow: hidden;
    line-height: 0;
}

/*===== #philosophy =====*/
#philosophy {
}
#philosophy .bg {
    padding: 60px 0;
    background: url(../img/index/philosophy-bg-pc.jpg) no-repeat center center;
    background-size: cover;
}
#philosophy .box {
    background-color: #ffffffcf;
    border-radius: 25px;
    padding: 60px 5%;
}
#philosophy .top-hx .mn span {
    font-size: 40px;
}
#philosophy .box .main-txt {
    line-height: 1.6;
    letter-spacing: 2px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #191919;
    margin-bottom: 25px;
}
#philosophy .box .main-txt span {
    color: #ff427d;
}
#philosophy .box .text {
    text-align: center;
    font-weight: 500;
}
#philosophy .box .text.fw {
    font-weight: bold;
    color: #191919;
}
#philosophy .box .text span {
    color: #ff427d;
}
#philosophy .box .txt-img {
    width: 100%;
    max-width: 250px;
    margin: 35px auto 40px;
}

/*===== #specialty =====*/
#specialty {
    padding: 60px 0;
}
#specialty .box {
    margin-bottom: 45px;
}
#specialty .box .hx-box {
    width: 45%;
}
#specialty .box .hx-box .en {
    line-height: 1.4;
    letter-spacing: 1px;
    text-align: right;
    color: #ff427d;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}
#specialty .box .hx-box .en span {
    display: inline-block;
    padding-right: 7px;
    font-size: 20px;
}
#specialty .box .hx-box h3 {
    writing-mode: vertical-rl;
    line-height: 1.4;
    margin-left: auto;
    margin-bottom: 35px;
}
#specialty .box .hx-box h3 .shx {
    display: block;
    color: #ff427d;
    font-size: 18px;
    letter-spacing: 2px;
    margin-left: 20px;
}
#specialty .box .hx-box h3 .hx {
    font-size: 33px;
    line-height: 2;
}
#specialty .box .img {
    width: 50%;
    margin-top: 30px;
}
#specialty .box .text-box {
    width: 45%;
}
#specialty .box .text-box .text {
}
#specialty .box .text-box .text span {
    color: #ff427d;
}
#specialty .box .text-box .link01 {
    margin-top: 35px;
}
/*--- .first ---*/
#specialty .first {
    margin-left: calc(50% - 50vw);
}
#specialty .first .hx-box {
    float: right;
}
#specialty .first .img {
    float: left;
}
#specialty .first .text-box {
    float: right;
}
#specialty .first .text-box .link01 {
    margin-right: 0;
}
/*--- .second ---*/
#specialty .second {
    margin-right: calc(50% - 50vw);
}
#specialty .second .hx-box {
    float: left;
}
#specialty .second .img {
    float: right;
}
#specialty .second .text-box {
    float: left;
}
#specialty .second .text-box .link01 {
    margin-left: 0;
}

/*===== #education =====*/
#education {
    padding: 60px 0 30px;
    background-color: #fff;
}
#education .front-box {
    margin-right: calc(50% - 50vw);
    margin-bottom: 50px;
}
#education .front-box .hx-box {
    width: 45%;
    float: left;
}
#education .front-box .hx-box h3 {
    margin-bottom: 35px;
}
#education .front-box .hx-box h3 .shx {
    display: block;
    color: #ff427d;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1.8;
    margin-bottom: 15px;
}
#education .front-box .hx-box h3 .hx {
    font-size: 33px;
    line-height: 1.6;
}
#education .front-box .img {
    width: 50%;
    float: right;
}
#education .front-box .text-box {
    width: 45%;
    float: left;
}
#education .front-box .text-box .text {
}
#education .point-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 35px;
}
#education .point-box .box {
    width: calc(92% / 3);
}
#education .point-box .box .img {
    line-height: 0;
    margin-bottom: 15px;
}
#education .point-box .box .text {
    margin-bottom: 0;
}

/*===== #staff-list =====*/
#staff-list {
    padding: 30px 0 60px;
    background-color: #fff;
}
#staff-list .front-box {
    margin-left: calc(50% - 50vw);
    margin-bottom: 50px;
}
#staff-list .front-box .hx-box {
    width: 45%;
    float: right;
    margin-top: 40px;
}
#staff-list .front-box .hx-box h3 {
    margin-bottom: 35px;
}
#staff-list .front-box .hx-box h3 .shx {
    display: block;
    color: #ff427d;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1.8;
    margin-bottom: 15px;
}
#staff-list .front-box .hx-box h3 .hx {
    font-size: 33px;
    line-height: 1.6;
}
#staff-list .front-box .img {
    width: 50%;
    float: left;
}
#staff-list .front-box .text-box {
    width: 45%;
    float: right;
}
#staff-list .front-box .text-box .text {
}
#staff-list .staff-box {
    margin-bottom: 35px;
}
#staff-list .staff-box .box {
}
#staff-list .staff-box .box a {
    text-decoration: none;
}
#staff-list .staff-box .box .img {
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
    margin-bottom: 15px;
}
#staff-list .staff-box .box .name {
    line-height: 1.4;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}
#staff-list .staff-box .box .yaku {
    line-height: 1.4;
    text-align: center;
    color: #ff427d;
}
#staff-list .link01 {
    margin-top: 40px;
}
/*----- slider -----*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
   width:94%;
    margin:0 auto;
}
/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
.slider .slick-slide {
    margin:0 10px;
}
/*矢印の設定*/
/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    outline: none;
    height: 40px;
    width: 40px;
    z-index: 1;
}
.slick-prev {/*戻る矢印の位置と形状*/
    left: -6%;
    background: url(../img/common/slider-prev.png) no-repeat center center;
    background-size: 40px;
}
.slick-next {/*次へ矢印の位置と形状*/
    right: -6%;
    background: url(../img/common/slider-next.png) no-repeat center center;
    background-size: 40px;
}

/*===== #inst =====*/
#inst {
    padding: 60px 0;
}
#inst .top-hx .jp span.en02 {
    font-size: 35px;
}


/*===============================================
    ■tablet 画面の横幅が800pxまで
===============================================*/
@media screen and (max-width: 800px) {
/*===== #specialty =====*/
  #specialty .first,
  #specialty .second {
    margin-left: auto;
    margin-right: auto;
  }
  #specialty .first .hx-box,
  #specialty .second .hx-box {
    float: none;
    width: 100%;
  }
  #specialty .second .hx-box .en {
    text-align: left;
  }
  #specialty .second .hx-box h3 {
    margin-left: 0;
  }
  #specialty .first .img {
    float: none;
    width: 80%;
    margin: 15px 0;
    margin-left: calc(50% - 50vw);
  }
  #specialty .second .img {
    float: none;
    width: 80%;
    margin: 15px 0;
    margin-right: calc(50% - 50vw);
    margin-left: auto;
  }
  #specialty .first .text-box,
  #specialty .second .text-box {
    float: none;
    width: 100%;
  }
  #specialty .first .text-box .link01,
  #specialty .second .text-box .link01 {
    margin: 35px auto 0;
  }
/*===== #education =====*/
  #education .front-box {
    margin-right: auto;
    margin-bottom: 30px;
  }
  #education .front-box .hx-box {
    width: 100%;
    float: none;
  }
  #education .front-box .img {
    width: 80%;
    float: none;
    margin-right: calc(50% - 50vw);
    margin-left: auto;
    margin-bottom: 15px;
  }
  #education .front-box .text-box {
    float: none;
    width: 100%;
  }
/*===== #staff-list =====*/
  #staff-list .front-box {
    margin-left: auto;
    margin-bottom: 30px;
  }
  #staff-list .front-box .hx-box {
    width: 100%;
    float: none;
    margin-top: 0;
  }
  #staff-list .front-box .hx-box h3 {
    text-align: right;
  }
  #staff-list .front-box .img {
    width: 80%;
    float: none;
    margin-left: calc(50% - 50vw);
    margin-bottom: 15px;
  }
  #staff-list .front-box .text-box {
    width: 100%;
    float: none;
  }
}

/*===============================================
    ■tablet 画面の横幅が570pxまで
===============================================*/
@media screen and (max-width: 570px) {
/*===== #front =====*/
  #front {
    padding: 30px 0;
  }
  #front ul {
    justify-content: center;
  }
  #front ul li {
    width: 48%;
    border-radius: 18px;
    max-width: 250px;
    margin: 0 1% 10px;
  }
  #front ul li.first {
    margin: 0px 3% 10px;
  }
/*===== #philosophy =====*/
  #philosophy .bg {
    padding: 30px 0;
    background: url(../img/index/philosophy-bg-sp.jpg) no-repeat center center;
    background-size: cover;
  }
  #philosophy .box {
    padding: 30px 5%;
  }
  #philosophy .box .main-txt {
    font-size: 20px;
  }
/*===== #specialty =====*/
  #specialty {
    padding: 30px 0;
  }
/*===== #education =====*/
  #education {
    padding: 30px 0 15px;
  }
  #education .front-box .hx-box h3 .hx {
    font-size: 27px;
  }
  #education .point-box .box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  #education .point-box .box:nth-child(2) {
        flex-direction: row-reverse;
  }
  #education .point-box .box .img {
    width: 49%;
    margin-bottom: 0;
  }
  #education .point-box .box .text {
    width: 48%;
  }
/*===== #staff-list =====*/
  #staff-list {
    padding: 15px 0 30px;
  }
/*----- slider -----*/
  .slider {
    width: 80%;
  }
  .slick-prev {
    left: -13%;
  }
  .slick-next {
    right: -13%;
  }
/*===== #inst =====*/
  #inst {
    padding: 30px 0;
  }
}
#specialty .cn-sw .box .hx-box h3 .shx,
#care01 .box .hx-box h3 .shx,
#care02 .box .hx-box h3 .shx,
#care03 .box .hx-box h3 .shx {
  font-size: 36px !important; /* 黒字キャッチコピー33pxの約110% */
  font-weight: bold !important;
  letter-spacing: 2px !important;
  margin-left: 10px !important;
  margin-bottom: 8px !important;
}
#specialty .cn-sw .box .text-box .link01 a {
  font-size: 20px !important;
  padding: 22px 10px !important;
}
@media (max-width: 768px) {
  #specialty .cn-sw .box .text-box .link01 a {
    font-size: 17px !important;
    padding: 19px 10px !important;
  }
}

/* 2026-12-03: エメラルドボタンの文字サイズ統一 */
@media (max-width: 768px) {
  .link01 {
    max-width: 100%;
  }
  .link01 a {
    font-size: 16px;
    padding: 19px 10px;
    white-space: nowrap;
  }
}

/* 2026-12-03: 想いボタンを1行表示（横長へ拡張） */
#philosophy .link01 {
  max-width: 460px;
}
#philosophy .link01 a {
  white-space: nowrap;
}
@media (max-width: 480px) {
  #philosophy .link01 a {
    white-space: normal;
  }
}

/* 2026-12-03: フロント用 隠しh1（SEO） */
.seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  margin: -1px;
  padding: 0;
  white-space: nowrap;
  border: 0;
}

/* ===== 2026-12-03: ヘッダー最上部のh1（背景はヘッダーと同色・1行表示） ===== */
.hd-top-h1 {
  background-color: #fdf5f9;
  color: #555;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-align: left;
  padding: 4px 3%;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .hd-top-h1 { font-size: 11px; padding: 5px 4%; line-height: 1.5; white-space: normal; }
}
