@charset "UTF-8";
/* //////////////////////////////////////////////////

　パーツのスタイル

////////////////////////////////////////////////// */
/* 
  パーツ
-------------------------------------------------- */
/* ELEMENT */
.table {
  width: 100%; }

/* BUTTON */
.btn {
  display: inline-block;
  text-decoration: none;
}
  /* .btn:hover {text-decoration: underline;} */
  .btn .mrk {
    display: flex;
    justify-content: center;
    min-height: 20px;
    height: 100%;
    text-decoration: none;
    line-height: 1.2; }
    .btn .mrk::before {
      display: inline-block;
      content: "";
      width: 20px;
      height: 20px;
      margin-top: -0.08em;
      margin-right: 10px;
      background-repeat: no-repeat;
      background-size: 100%; }
    .btn .mrk.white::before {
      background-image: url("../img/mrk_link_white.svg"); }
    .btn .mrk.black::before {
      background-image: url("../img/mrk_link_black.svg"); }
    .btn .mrk.blue1::before {
      background-image: url("../img/mrk_link_blue1.svg"); }
    .btn .mrk.blue2::before {
      background-image: url("../img/mrk_link_blue2.svg"); }
    .saiyo {
        font-weight: 800;
        color: #E43B65;
      }  
  @media screen and (max-width: 768px) {
    .btn .mrk {
      min-height: 15px; }
      .btn .mrk::before {
        width: 15px;
        height: 15px;
        margin-top: -0.0em;
        margin-right: 5px; } 
        .saiyo {
          font-size: 10px;
        }  
      
      }

/* LAYOUT */
.main_grid {
  grid-template-columns: 31% 1fr;
  -ms-grid-columns: 31% 1fr;
  margin-bottom: 40px; }
  .main_grid .grid_1 {
    grid-row: 1;
    grid-column: 1;
    -ms-grid-row: 1;
    -ms-grid-column: 1; }
  .main_grid .grid_2 {
    margin-left: 60px;
    grid-row: 1 / 3;
    grid-column: 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    -ms-grid-column: 2; }
  .main_grid .grid_3 {
    grid-row: 2;
    grid-column: 1;
    -ms-grid-row: 2;
    -ms-grid-column: 1; }
  @media screen and (max-width: 768px) {
    .main_grid {
      display: block;
      margin-bottom: 40px; }
      .main_grid .grid_2 {
        margin-left: 0px; } }

.sec .ttl {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.25em; }
  .sec .ttl i {
    margin-right: 10px; }
.sec.top_border {
  border-top: 3px solid #1270B3;
  padding-top: 15px; }
  @media screen and (max-width: 768px) {
    .sec.top_border {
      padding-top: 10px; } }
.sec.border {
  border: 3px solid #1270B3; }
@media screen and (max-width: 768px) {
  .sec .ttl {
    margin-bottom: 10px; }
    .sec .ttl i {
      transform: scale(0.75);
      margin-right: 5px; } }

/*
  mainimg
-------------------------------------------------- */
#mainimg {
  position: relative;
  margin-bottom: 20px; }
  #mainimg #slider .slick-slide {
    text-align: center;
}
  #mainimg .text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
z-index: 10;
}
  #mainimg .flex {
    height: 100%;
    flex-direction: column;
    justify-content: center;
    font-weight: bold; }
  #mainimg h2 {
    margin-bottom: 0.2em;
    color: #1270B3;
    font-size: 2.25em; }
  #mainimg p {
    font-size: 1.5em; }
@media screen and (max-width: 768px) {
  #mainimg #slider .slick-slide img {
    width: 100%
}
}

/*
  重要なお知らせ
-------------------------------------------------- */
#important {
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 40px;
  background: #E43B65; }
  #important h2 {
    padding: 10px 40px;
    color: #fff;
    font-size: 1.25em;
    font-weight: bold;
    white-space: nowrap; }
  #important ul {
    width: 100%;
    background: #FBE6EB;
    padding: 0 20px; }
    #important ul li {
      padding: 15px 0; }
      #important ul li + li {
        border-top: 1px solid #F3A6B9; }
  @media screen and (max-width: 768px) {
    #important {
      flex-direction: column;
      margin: 0 -10px 20px; }
      #important h2 {
        padding: 10px; }
      #important ul {
        padding: 0 10px; }
        #important ul li {
          padding: 10px 0; }
        #important h2 {
          margin-bottom: 0;
        }

        }

/*
  受付時間
-------------------------------------------------- */
#reception_time {
  margin-bottom: 20px; }
  #reception_time .head {
    display: none; }
  #reception_time dl {
    align-items: flex-start; }
    #reception_time dl dt, #reception_time dl dd {
      margin-bottom: 15px;
      padding: 0.2em; }
    #reception_time dl dt {
      width: 30%;
      text-align: center;
      background: #DCEEF9; }
      #reception_time dl dt.off {
        background: #FBE6EB; }
    #reception_time dl dd {
      width: 70%;
      padding-left: 10px; }
      #reception_time dl dd.off {
        color: #E43B65; }
  @media screen and (max-width: 768px) {
    #reception_time .head {
      display: flex;
      margin-bottom: 10px; }
      #reception_time .head span {
        text-align: center; }
        #reception_time .head span:nth-child(1) {
          width: 30%; }
        #reception_time .head span:nth-child(2), #reception_time .head span:nth-child(3) {
          width: 35%; }
    #reception_time dl dt, #reception_time dl dd {
      margin-bottom: 10px; }
    #reception_time dl dt.off {
      width: 50%; }
    #reception_time dl dd {
      text-align: center; }
      #reception_time dl dd.off {
        width: 50%; }
      #reception_time dl dd span {
        float: left;
        width: 50%; }
        #reception_time dl dd span em {
          display: none; } }

/*
  受診のご予約
-------------------------------------------------- */
#reservation {
  margin-bottom: 30px; }
  #reservation dl {
    justify-content: space-between;
    align-items: center; }
    #reservation dl dt {
      background: #DCEEF9;
      padding: 3px 5px; }
    #reservation dl dd.note {
      width: 100%;
      margin-bottom: 10px;
      flex-grow: 2;
      text-align: right; }
    #reservation dl dd .tel {
      color: #1270B3;
      font-family: Helvetica Neue, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
      font-size: 2em;
      font-weight: bold; }
  @media screen and (max-width: 768px) {
    #reservation {
      margin-bottom: 20px; }
      #reservation dl {
        justify-content: flex-start;
        align-items: center; }
        #reservation dl dt {
          padding: 3px 10px; }
        #reservation dl dd {
          padding-left: 10px; }
          #reservation dl dd.note {
            text-align: center; }
          #reservation dl dd .tel {
            background: url("../img/ico_tel_blue.png") no-repeat 0 50%;
            background-size: 24px;
            padding-left: 30px; } }

/*
  メニュー
-------------------------------------------------- */
#menu {
  margin-bottom: 20px; }
  #menu ul {
    margin: 0 -10px; }
    #menu ul li {
      padding: 0 10px 20px; }
      #menu ul li.main {
        width: 33.333%; }
      #menu ul li.sub {
        width: 50%; }
      #menu ul li a,
      .normal-btn a,#challeng a .btn {
        display: flex;
        flex-direction: column;
        border: 3px solid #1270B3;
        padding: 17px 10px;
        text-align: center;
        text-decoration: none; }
        #menu ul li a i {
          min-height: 70px;
          margin-bottom: 20px; }
        #menu ul li a .mrk::before {
          margin-right: 5px; }

          @media screen and (max-width: 768px) {
    #menu ul {
      margin: 0 -5px; }
      #menu ul li {
        padding: 0 5px 10px; }
        #menu ul li a, .normal-btn a {
          border: 2px solid #1270B3;
          padding: 15px 0px 10px; }
          #menu ul li a i {
            min-height: 50px;
            margin-bottom: 10px; } }
  @media screen and (max-width: 360px) {
    #menu ul {
      margin: 0 -3px; }
      #menu ul li {
        padding: 0 3px 6px; }
        #menu ul li.main {
          width: 32%; }
        #menu ul li.main:nth-child(2) {
          width: 36%; }
        #menu ul li a .mrk {
          font-size: 10px; }
          #menu ul li a .mrk::before {
            margin-top: -0.1em; } }

/*
  お知らせ
-------------------------------------------------- */
#information {
  margin-bottom: 20px; }
  #information .tab {
    margin-bottom: 10px; }
    #information .tab li {
      width: 33.333%;
      padding-top: 10px;
      border-bottom: 1px solid #1270B3; }
      #information .tab li a {
        display: block;
        margin-right: 1px;
        padding: 8px 0 5px;
        background: #DCEEF9; }
        #information .tab li a .mrk::before {
          margin-right: 5px; }
      #information .tab li.active {
        border: 1px solid #1270B3;
        border-bottom-color: transparent; }
        #information .tab li.active a {
          background: none;
          text-decoration: none;
          cursor: default; }
          #information .tab li.active a .mrk::before {
            display: none; }
  #information .content {
    margin-bottom: 30px; }
    #information .content li {
      border-bottom: 1px solid #D5D5D5; }
      #information .content li a {
        display: table;
        width: 100%;
        padding: 10px 5px;
        text-decoration: none; }
        #information .content li a > div {
          display: table-cell; }
        #information .content li a:hover > div:not(.category) {
          text-decoration: underline; }
      #information .content li .category {
        padding-right: 10px;
        color: #fff;
        font-size: 0.875em;
        text-align: center;
        white-space: nowrap; }
        #information .content li .category span {
          font-size: 0.75em;
          display: inline-block;
          width: 60px; }
        #information .content li .category.all span,.wp_entry .label.all {
          background: #1270B3; }
        #information .content li .category.red span,.wp_entry .label.red {
          background: #E43B65; }
        #information .content li .category.event span,.wp_entry .label.event {
          background: #E77D4D; }
        #information .content li .category.treatment span,.wp_entry .label.treatment {
          background: #5897A2; }
        #information .content li .category.recruit span,.wp_entry .label.recruit {
          background: #7F4F21; }
        #information .content li .category.seminar span,.wp_entry .label.seminar {
          background: #E77D4D; }
      #information .content li .date {
        width: 80px;
        font-size: 0.75em; }
      #information .content li .title {
        width: 100%;
        padding-left: 10px; }
    @media screen and (max-width: 768px) {
      /* #information .content {
      margin-bottom: 20px; }
      #information .content li.view_sp {
      display: block; }
      #information .content li.view_sp a {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      padding: 10px 0; }
      #information .content li .title {
      display: block;
      padding: 7px 0 0; } */
      #information .content ul li a {
        display: grid;
        grid-template-columns: 60px auto;
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 5px;
      }

      #information ul li a .category {
        grid-area: 1 / 1 / 2 / 2;
      }

      #information ul li a .date {
        grid-area: 2 / 1 / 3 / 2;
      }

      #information ul li a .title {
        grid-area: 1 / 2 / 3 / 3;
      }
    }

/*
  開催予定の医療講演
-------------------------------------------------- */
#seminar h2, #magazine h2 {
  padding: 10px 25px;
  background: #DCEEF9;
  font-size: 1.25em;
  text-align: center; }

#seminar {
  margin-bottom: 25px; }
  #seminar h2 {
    position: relative;
    padding-left: 50px; }
    #seminar h2 i {
      position: absolute;
      top: -10px;
      left: 10px; }
  #seminar li {
    padding: 10px; }
    #seminar li + li {
      border-top: 3px solid #1270B3; }
    #seminar li .date {
      margin: 0 0 5px 30px;
      color: #1270B3; }
      #seminar li .date em {
        padding-right: 5px;
        font-size: 1.375em; }
#seminar li .content {
  display: block;
  padding-left: 30px;
  background: url("../img/mrk_link_blue1.svg") no-repeat 0 3px;
  background-size: 20px 20px;
}
  @media screen and (max-width: 768px) {
    #seminar {
      margin-bottom: 20px; }
      #seminar h2 {
        padding-left: 0px; }
        #seminar h2 i {
          top: -5px; }
      #seminar li + li {
        border-top-width: 2px; }
      #seminar li .date {
        margin-left: 20px; }
      #seminar li .content {
        padding-left: 20px;
        background-position: 0 4px;
        background-size: 15px 15px;
      }
}

/*
  病院発行の広報誌
-------------------------------------------------- */
#magazine {
  padding-bottom: 10px; }
  #magazine figure {
    margin: 10px 0; }
  #magazine li {
    margin: 0 10px;
    line-height: 1; }
  @media screen and (max-width: 768px) {
    #magazine {
      margin-bottom: 20px; }
      #magazine li {
        /*
        + li {
          position: relative;
          &::before {
            position: absolute;
            top: 0; left: -10px;
            content: "";
            width: 1px; height: 1em;
            background: #000;
          }
        }
        */ } }

/*
  池上総合病院のとりくみと特長
-------------------------------------------------- */
#feature {
  padding: 50px 0;
  background: #DCEEF9; }
  @media screen and (max-width: 768px) {
    #feature {
      padding: 40px 0; } }
  #feature h2 {
    margin-bottom: 0.7em;
    color: #1270B3;
    font-size: 2.25em;
    text-align: center; }
  #feature .lead {
    margin-bottom: 40px;
    text-align: center; }
    #feature .lead span {
      position: relative;
      display: inline-block;
      padding: 5px 60px;
      background: #fff;
      font-size: 1.125em; }
      #feature .lead span::before, #feature .lead span::after {
        position: absolute;
        top: 50%;
        width: 65px;
        height: 1px;
        content: "";
        background: #000; }
      #feature .lead span::before {
        left: -40px; }
      #feature .lead span::after {
        right: -40px; }
    @media screen and (max-width: 768px) {
      #feature .lead {
        margin-bottom: 30px; }
        #feature .lead span {
          padding: 5px 30px; }
          #feature .lead span::before, #feature .lead span::after {
            width: 35px; }
          #feature .lead span::before {
            left: -25px; }
          #feature .lead span::after {
            right: -25px; } }
  #feature .main {
    margin: 0 -10px 50px; }
    #feature .main li {
      margin: 10px;
      width: calc(25% - 20px);
      background: #fff; }
      #feature .main li .btn {
        display: block; }
      #feature .main li h3 {
        padding: 15px 0;
        background: #1270B3;
        color: #fff; }
      #feature .main li p {
        padding: 20px 10px 10px;
        color: #1270B3;
        line-height: 1.5; }
      #feature .main li small {
        display: block;
        padding: 0 10px 20px;
        color: #595757;
        font-size: 0.875em; }
    @media screen and (max-width: 768px) {
      #feature .main {
        flex-direction: column;
        margin: 0 0 10px; }
        #feature .main li {
          margin: 0 0 10px;
          width: 100%; }
          #feature .main li .btn .mrk {
            justify-content: flex-start; }
          #feature .main li h3 {
            padding: 10px 10px 5px; }
          #feature .main li img {
            float: left;
            height: 65px; }
          #feature .main li p {
            display: flex;
            align-items: center;
            height: 65px;
            padding: 0 10px; }
          #feature .main li small {
            clear: both;
            padding: 10px; } }
  #feature .sub {
    text-align: center; }
    #feature .sub li {
      display: inline-block;
      padding: 0 40px 20px; }
    @media screen and (max-width: 768px) {
      #feature .sub {
        display: flex;
        flex-wrap: wrap;
        text-align: left; }
        #feature .sub li {
          width: 50%;
          padding: 15px 10px 0 0; } }


#menu a:hover,a.btn-rich:hover,#challeng a .btn {
  background-color: #1270B3;
  color: #fff;
  text-decoration: none;
}
#menu a:hover .btn,a.btn-rich:hover .btn,#challeng a{
  text-decoration: none;
}
#menu ul li a:hover .mrk::before,a.btn-rich:hover .mrk::before,#challeng .btn .mrk::before{
background-image: url("../img/mrk_link_white.svg");
}
