@charset "utf-8";

/* メインビジュアル／トップ
-------------------------------------------------------------------------------*/

h1 {
  width: 100%;
  max-width: clamp(
    17.407rem,
    14.752rem + 11.33vw,
    28.344rem
  ); /* min278.51px max453.51px : min375px max1920px*/
}
img.title {
  position: absolute;
  bottom: -10px;
}
img.title_smp {
  max-width: clamp(20.787rem, -1.125rem + 93.49vw, 43.75rem);
  /* min332.5 max700 : min375 max768 */
  width: 100%;
  position: absolute;
  bottom: 0px;
}
img.surgery {
  margin-left: -140px;
  width: 100%;
  max-width: clamp(
    21.063rem,
    16.603rem + 19.03vw,
    39.438rem
  ); /* min337px max631px : min375px max1920px*/
}
@media screen and (max-width: 768px) {
#work .flexwrap {
    display: block;
}
img.surgery {
  margin: 48px auto 0px !important;
  display: block;
  width: 100% !important;
}
}
@media screen and (max-width: 1721px) {
#work .main {
    flex-basis: 48% !important;
}
img.surgery {
  margin: 0;
  width: 46%;
}
}
@media screen and (max-width: 1279px) {
img.surgery {
  width: 32%;
}
#work .main {
  flex-basis: 65% !important;
}
}
.pc {
  display: block;
}
.smp {
  display: none;
}
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .smp {
    display: block;
  }
}
.main p {
  padding-top: clamp(1.563rem, -3.688rem + 6.56vw, 4.188rem);
  line-height: 2em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(0.938rem, 0.922rem + 0.06vw, 1rem);
}
@media screen and (max-width: 1279px) {
  .main p {
    padding-top: clamp(1.563rem, -3.688rem + 6.56vw, 4.188rem);
  }
}

/* Work Environment #work
-------------------------------------------------------------------------------*/
#main section#work_environment:before {
  background-image: url(../img/WorkEnvironment.svg);
  background-repeat: no-repeat;
  background-position: right 0px top 230px;
}
@media screen and (max-width:1279px){
  #main section#work_environment:before {
    background-image: url(../img/WorkEnvironment.svg);
    background-repeat: no-repeat;
    background-position: left 25px top 185px;
    margin: 0 calc(50% - 50vw);
  }
}
@media screen and (max-width:443px){
  #work h3 {
    padding-top: 13px;
    line-height: 0.9em;
  }
  #work h3 span {
    height: 33px;
    margin-top: 0px !important;
}
#work h3 span:after {
  margin-top: 22px !important;
}
  }
#work h3{
  margin-top: clamp(4.875rem, 3.57rem + 5.57vw, 10.25rem);
}
#work h3 span{
  margin-top: -15px;
}
#work h3 span:after {
  margin-top: 14px;
}
#work .main_box {
  padding-top: clamp(1.625rem, 0.836rem + 3.37vw, 4.875rem);
}
#work .main {
  align-items: center;
  display: flex;
  flex-basis: 54%;
}
@media screen and (max-width:1023px){
  #work .main {
    flex-basis: 100%;
}
}
.work_list {
  padding-top: 120px;
  column-gap: clamp(2.5rem, 0.167rem + 4.86vw, 6rem);
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  row-gap: 120px;
  display: grid;
}
@media screen and (max-width: 767px) {
  #work .wrap p.number {
    top: -45px !important;
    left: 15px !important;
}
  .work_list {
    display: block;
  }
  .wrap{
    display: block;
  }
#work .work_list .wrap:nth-child(even) {
    top: 0px !important;
}
#work .work_list .wrap:not(.last){
  padding-bottom: 77px;
}
#work .wrap {
  max-width:100% !important;
}}
#work h2.first {
  line-height: 2em;
  color: #313E68;
  font-weight: 400;
  font-size: clamp(1.25rem, 0.5rem + 0.94vw, 1.625rem);
}
#work h2.second {
  width: 100%;
  max-width: 1112px;
  margin: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem) auto;
  color: #313E68;
  font-weight: 400;
  line-height: clamp(2.875rem, 2.556rem + 1.36vw, 4.188rem);
  text-align: center;
  font-size: clamp(1.125rem, 0.943rem + 0.78vw, 1.875rem)
    /* min20px max26px : min375px max1920px*/;
}
@media screen and (max-width: 768px) {
  #work h2 span {
    display: inline-block;
  }
}
#work .wrap {
  position: relative;
  max-width: 576px;
  width: 100%;
}
#work .inner_wrap {
  position: relative;
}
#work .text_wrap {
  position: relative;
}
#work .wrap img {
  width: 100%;
}
#work .wrap p.number {
  color: #313E68;
  position: absolute;
  top: -60px;
  left: 20px;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(3.5rem, 2.984rem + 2.2vw, 5.625rem);
}
#work .wrap p:not(.number) {
  line-height: 34px;
  font-size: 16px;
  padding-top: 1em;
  font-weight: 400;
}
#work h4 {
  margin-top: -55px;
  position: absolute;
  top: 0;
  color: #313E68;
  font-weight: 400;
  font-size: clamp(1.563rem, 1.487rem + 0.32vw, 1.875rem);
  background-color: #fff;
  padding: clamp(0.625rem, 0.579rem + 0.19vw, 0.813rem)
    clamp(1.25rem, 1.038rem + 0.91vw, 2.125rem)
    clamp(0.625rem, 0.579rem + 0.19vw, 0.813rem) 0px;
  left: 0;
}
#work .work_list .wrap:nth-child(even) {
  top: 70px;
}
@media screen and(max-width:767px){
#work .work_list .wrap:nth-child(even) {
  top: 0px;
}
}

/* Training Program #training
-------------------------------------------------------------------------------*/
#main section#training:before {
  background-image: url(../img/TrainingProgram.svg);
  background-repeat: no-repeat;
  background-position: right 0px top 210px;
}
@media screen and (max-width:1279px){
  #main section#training:before {
    background-image: url(../img/TrainingProgram.svg);
    background-repeat: no-repeat;
    background-position: left 25px top 200px;
    margin-left: 0;
  }
}
#training h3{
  line-height: 1.2em;
  margin-top: clamp(1.438rem, 0.74rem + 2.98vw, 4.313rem);
}
#training h3 span{
  margin-top: -27px;
  margin-bottom: -37px;
}
#training h3 span:after {
  margin-top: 45px;
}

@media screen and (max-width:419px){
  #training h3 {
    padding-top: 13px;
    line-height: 0.9em;
  }
#training h3 span:after {
  margin-top: 26px !important;
}}

@media screen and (max-width:557px){
  #training h3 {
    padding-top: 13px;
    line-height: 1em;
  }
  #training h3 span {
    height: 44px;
    margin-top: -13px !important;
    margin-bottom: 0px !important;
}
#training h3 span:after {
  margin-top: 22px;
}
  }
@media screen and (min-width:558px) and (max-width:1880px){
#training h3 {
    padding-bottom: 5px;
}
}
#work
#training h3 {
  margin-top: 136px;
}
#training p {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 2em;
}
p.second {
  margin-top: 1.5em;
}
#training .gleeting {
  flex-basis: clamp(25rem, 4.458rem + 42.8vw, 55.813rem);
}
#training .notice {
  max-width: 281px;
	height: auto;
}
#training .total {
  padding-top: clamp(2.5rem, 2.09rem + 1.75vw, 4.188rem);
  width: 100%;
  max-width: 965px;
  display: block;
  margin: 0 auto;
}
#training .training_list {
  font-size: 17px;
}
#training p.number {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 20px;
  position: relative;
}
#training .skull-base-surgery,
#training .Microvascular,
#training .GammaKnifeSurgery {
  width: 100%;
  max-width: 480px;
}
#training .nbc {
  width: 100%;
  max-width: 484px;
}
@media screen and (max-width:1023px) {
  #training .nbc,
  img.Microvascular,
  img.skull-base-surgery,
  img.Aneurysm,
  img.GammaKnifeSurgery
  {
    display: block;
    margin: 0 auto !important;
    width: 100%;
  }
}
#training .Aneurysm {
  width: 100%;
  max-width: 361px;
}
#training .image {
  width: 48%;
  max-width: 596px;
}
.box {
  position: relative;
}
#training .contents div.box:nth-of-type(1) {
  padding: clamp(3.563rem, 2.789rem + 3.3vw, 6.75rem) 0;
}
#training .contents div.box {
padding: clamp(3.563rem, 3.441rem + 0.52vw, 4.063rem) 0;
  border-bottom: 1px solid #d4d9d7;
}
#training .contents div.box:nth-of-type(9){
	border-bottom: none;
	padding: 65px 0 clamp(1.563rem, 0.956rem + 2.59vw, 4.063rem) 0;
}
.photo_img {
  padding-bottom: clamp(4.688rem, 4.005rem + 2.91vw, 7.5rem);
}
#training .wrapleft {
  width: 680px;
}
#training .box .flexwrap img:not(.Aneurysm){
  margin-left: 1em;
}
#training .box .flexwrap img.Aneurysm{
  margin-right: 67px;
}

@media screen and (min-width: 1279px) and (max-width: 1920px){
  #training .wrapleft {
    flex-basis:clamp(31.25rem, 7.75rem + 29.38vw, 43rem);
    /* min500 max680 :min1280 max1920 */
}
}
@media screen and (min-width: 1024px) and (max-width: 1278px){
  #training .wrapleft {
    flex-basis:clamp(29.063rem, -17.552rem + 72.83vw, 40.625rem);
    /* min465 max650 :min1024 max1278 */
}
}
@media screen and (max-width: 1023px) {
#training .box .flexwrap img:not(.notice){
    margin-left: 0em;
    padding-top: clamp(1.875rem, 0.79rem + 4.63vw, 3.75rem);
}
#training .wrapleft {
    width: 100%;
}
}
@media screen and (max-width: 750px){
#training .box .flexwrap img {
  padding-top: 40px;
    margin-left: 0;
}
  #training .gleeting {
    flex-basis: 100%;
}
.flexwrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#training .image {
  width: 100%;
  max-width: 484px;
}
#training .image:last-of-type {
  margin-top: 25px;
}
}
/* Entry / Contact  #contact
-------------------------------------------------------------------------------*/
#contact h3 span {
  margin-top: -13px;
}
#contact h3 span:after {
  margin-top: clamp(0.688rem, 0.596rem + 0.39vw, 1.063rem) !important;
}
#main section#contact:before {
  background-image: url(../img/Entry_Contact.svg);
  background-repeat: no-repeat;
  background-position: right 0px top 120px;
}
@media screen and (max-width:1279px){
  #main section#contact:before {
    background-image: none;
  }
}
#contact .contents a{
  font-size: clamp(0.938rem, 0.907rem + 0.13vw, 1.063rem);
  font-family:"Noto Sans JP", sans-serif;
  text-decoration: revert-layer;
  color: #2591d1;
}
#contact .contents a:not(.blank){
  padding-top: 10px;
  margin-bottom: 65px;
  display: block;
}
@media screen and (max-width:768px){
  #contact .contents a:not(.blank){
    padding-top: 30px;
  }
}
#contact p:not(.privacy_policy) {
  margin-top: clamp(2.938rem, 2.589rem + 1.49vw, 4.375rem);
  font-family: "Open Sans", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 17px;
}
form {
  background-color: #eef1f0;
  padding: clamp(3.125rem, 2.67rem + 1.94vw, 5rem) clamp(0rem, -1.214rem + 5.18vw, 5rem);
  margin-bottom: clamp(0rem, -2.731rem + 11.65vw, 11.25rem);
  font-size: clamp(1rem, 0.985rem + 0.06vw, 1.063rem);
  /* min16 max17 */
}
.btn_form {
  padding-bottom: clamp(0rem, -1.138rem + 4.85vw, 4.688rem);
}
@media screen and (max-width:768px) {
  #main #contact.entry:before {
    width: 100%;
    background-color: #eef1f0 !important;
  }
}
@media screen and (max-width: 1023px) {
  #contact table td textarea.space {
    height: 240px;
}
#contact table th {
  width: 100% !important;
}
  #contact table th .hissu {
    float: none !important;
    display: inline-block !important;
}
#contact table th, #contact table td{
  display: block;
  width: 100%;
}
#contact table td {
  padding: 0px !important;
}
#contact table th, #contact table td {
  padding-top: 44px;
  padding-bottom: 10px;
}
}

@media screen and (min-width: 1023px) {
  #contact .contents .clm {
    display: -webkit-flex;
    display: flex;
    margin-bottom: 30px;
  }
  #contact .contents .clm h3 {
    width: 20%;
    margin-top: 0;
  }
  #contact .contents .clm .wrap {
    width: 80%;
  }
}
#contact .contents .clm {
  margin-top: 3em;
  margin-bottom: 3em;
}
#contact .contents .clm h3 {
  font-family: "Shippori Mincho B1", serif;
  font-size: 250%;
}
#contact .contents .block01 p {
  font-family: "Shippori Mincho B1", serif;
}
#contact .contents .block01 strong {
  padding-right: 3em;
}
#contact .contents .block01 strong a {
  font-family: "Shippori Mincho B1", serif;
  font-size: 250%;
  position: relative;
  text-decoration: none;
}
#contact .contents .block01 strong a:before {
  content: "";
  display: inline-block;
  background-image: url(../img/contact/icon_tel.svg);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  width: 1em;
  height: 1em;
  margin-right: 0.3em;
}
#contact .contents .block01 span {
  font-size: 114%;
}
@media screen and (max-width: 599px) {
  #contact .contents .block01 span:before {
    content: "\A";
    white-space: pre;
  }
}
#contact table {
  width: 100%;
}
#contact table th {
  width: 30%;
  border-style: none;
  background-color: transparent;
}
#contact table td {
  border-style: none;
}
#contact table th .hissu {
  float: right;
  display: block;
  width: 3.5em;
  font-size: 88%;
  text-align: center;
  color: #fff;
  background-color: #313e68;
  padding: 0.5em;
  margin-left: 1em;
  line-height: 1em;
  margin-right: 1em;
}
#contact table th,
#contact table td {
  text-align: left;
}
#contact .privacypolicy {
  text-align: center;
  display: block;
  padding: 2em 0 1em;
}
@media screen and (min-width: 768px) {
  #contact table th,
  #contact table td {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
  }
  #contact table td {
    padding-left: 1em;
  }
}
#contact table td textarea,
table td input[type="text"],
table td input[type="email"],
table td input[type="tel"] {
  width: 100%;
}
#contact table td label {
  display: inline-block;
  padding: 0em 1em 1em;
}
#contact table td input,
#contact table td textarea {
  border: 1px solid #e9e9e9;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  padding: 0.8em;
  resize: vertical;
}
#contact table td textarea.space{
  height: 196px;
}
#contact table td textarea.address_space{
  height: 144px;
}
#contact table td input:not(.gender) {
  width: 100%;
}
#contact .btnWrap {
  text-align: center;
  padding: 1em 0 3em;
}
#contact .btnWrap input[type="submit"] {
  font-family: "Shippori Mincho B1", serif;
  max-width: 23em;
  font-size: 1.2em;
  color: #fff;
  border: 1px solid #1b4f8d;
  background-image: url(../img/common/icon_arrow_white.svg);
  background-repeat: no-repeat;
  background-position: 90% center;
  background-color: #1b4f8e;
}
#contact .btnWrap input:hover[type="submit"] {
  background-color: #2468bb;
}
#contact .btnWrap input[type="button"] {
  font-family: "Shippori Mincho B1", serif;
  max-width: 16em;
  color: #333;
  border: 1px solid #aaa;
}
#contact .btnWrap input {
  display: inline-block;
  width: 90%;
  font-weight: 500;
  border: none;
  letter-spacing: 0.1em;
  vertical-align: middle;
  padding: 1em;
  margin: 1em;
}
@media screen and (max-width: 767px) {
  #contact table td {
    display: block;
    width: 100%;
  }
}
p.privacy_policy {
  margin-top: clamp(2.5rem, 2.121rem + 1.62vw, 4.063rem);
  font-family: "Open Sans", "Noto Sans JP", sans-serif;
  margin-bottom: clamp(0rem, -0.425rem + 1.81vw, 1.75rem);
  font-weight: 400;
  font-size: 17px;
  text-align: center;
}
.button {
  display: block;
  margin: 0 auto;
  appearance: none;
  border: 0;
  background: #313e68;
  color: #fff;
  padding: clamp(1.688rem, 1.566rem + 0.52vw, 2.188rem)
    clamp(7rem, 4.982rem + 8.61vw, 15.313rem);
  font-size: 25px;
  border: 1px solid #313e68;
}
.button:hover {
  transition: 0.3s;
  border: 1px solid #313e68;
  background-color: transparent;
  color: #313e68;
}
