/*
         __
   _____/ /_  ____ _      ______ _      __  __
  / ___/ __ \/ __ \ | /| / / __ `/_____/ / / /
 (__  ) / / / /_/ / |/ |/ / /_/ /_____/ /_/ /
/____/_/ /_/\____/|__/|__/\__,_/      \__,_/

SUHY/
INDEX.CSS
*/

/*==========================================================
*
* clear picnic.css style
*
==========================================================*/
tr:nth-child(even) {
  background: transparent
}

th {
  background-color: transparent;
  color: inherit;
  vertical-align: top;
}

td,
th {
  padding: 0;
}

.flex.reverse {
  flex-direction: row-reverse;
}

@media (max-width:899px) {
  .flex {
    width: 100%;
    margin: 0;
    padding: 0;
  }
}

/*==========================================================
*
* utils
*
==========================================================*/

html,
body {
  font-family: 'Roboto', "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 1.0em;
}

.hidden-visually {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

span.tab,
span.fab,
span.lm,
span.m,
span.sp,
br.tab,
br.fab,
br.lm,
br.m,
br.sp {
  display: none !important;
}

span.pc {
  display: inline !important;
}

br.pc {
  display: block !important;
}

a:link {
  color: #0070c9;
}

a:link.white,
a:visited.white {
  color: #fff;
}

a:link.sky,
a:visited.sky {
  color: #6bf;
}

a:link.shadow-b {
  text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.75);
}

a:link.shadow-w {
  text-shadow:  1px 1px 1px rgba(255, 255, 255, 0.9),
                -1px 1px 1px rgba(255, 255, 255, 0.9),
                1px -1px 1px rgba(255, 255, 255, 0.9),
                -1px -1px 1px rgba(255, 255, 255, 0.9);
}

a:hover {
  text-decoration: underline;
}

a.box {
  display: block;
  width: 100%;
  height: 100%;
}

/*==========================================================
*
* icons
*
==========================================================*/
.icon {}

.icon i {
  display: inline-block;
  vertical-align: baseline;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.icon-angle-bottom i {
  width: 10px;
  height: 6px;
  background-image: url(../img/icon-angle-bottom.svg);
  vertical-align: 0.2em;
}

.icon-angle-right i {
  width: 6px;
  height: 10px;
  background-image: url(../img/icon-angle-right.svg);
}

.icon-angle-right-boxhead i {
  width: 7px;
  height: 11px;
  background-image: url(../img/icon-angle-right-boxhead.svg);
}

.icon-angle-right-lead i {
  width: 8px;
  height: 12px;
  background-image: url(../img/icon-angle-right-lead.svg);
}

.icon-external-white i {
  width: 12px;
  height: 12px;
  background-image: url(../img/icon-external-white.svg);
}

.icon-external i {
  width: 12px;
  height: 12px;
  background-image: url(../img/icon-external.svg);
}

.icon-location-white i {
  width: 16px;
  height: 17px;
  background-image: url(../img/icon-location-white.svg);
  vertical-align: -0.35em;
}

.icon-phone-white i {
  width: 16px;
  height: 17px;
  background-image: url(../img/icon-phone-white.svg);
  vertical-align: -0.35em;
}

.icon-mail-white i {
  width: 26px;
  height: 18px;
  background-image: url(../img/icon-mail-white.svg);
  vertical-align: -0.14em;
}

.icon-pdf i {
  width: 14px;
  height: 16px;
  background-image: url(../img/icon-pdf.svg);
  vertical-align: -0.15em;
}

.icon-pdf-white i {
  width: 21px;
  height: 24px;
  background-image: url(../img/icon-pdf-white.svg);
  vertical-align: -0.35em;
}


/*==========================================================
*
* header/footer
*
==========================================================*/

header#header {
  /* mini */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 5px solid #173386;
  z-index: 10000;
  transition: all .3s;
  transform-style: preserve-3d;
}

@media print {
  header#header {
    position: absolute;
  }
}

header#header.transparent {
  height: 115px;
  box-shadow: none;
}

header#header nav {
  position: relative;
  max-width: 1000px;
  height: 115px;
  margin: 0 auto;
  padding: 0 .6em;
  box-shadow: none;
  background: none;
}

header#header nav a.ext {
  top: -42px;
  background: #0082D9;
  color: #fff;
  border-radius: 0px 0px 10px 10px;
  position: absolute;
  right: 0;
  width: 280px;
  height: 42px;
  text-align: center;
  line-height: 42px;
  font-size: 1em;
}

header#header.transparent nav a.ext {
  top: 0;
}

header#header nav .logo {
  /* mini */
  position: absolute;
  top: 15px;
  background-size: 285px 33px;
  background-repeat: no-repeat;
  background-image: url(../img/logo_suhy_line_2025.svg);
  background-position: center center;
  width: 285px;
  height: 33px;
}

header#header.transparent nav .logo {
  top: 29px;
  background-size: 285px 65px;
  background-image: url(../img/logo_suhy_line_2025.svg);
  height: 65px;
}

header#header nav .logo span {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
  top: 50%;
}

header#header nav ul.menu {
  /* mini */
  /*font-size: 0.875em;*/
  font-size: 0.9375em;
  top: 20%;
}

header#header.transparent ul.menu {
  top: 50%;
}

header#header ul.menu li.button {
  border-radius: 0;
  box-shadow: none;
  padding: .3em 0;
  margin: 0 .5em;
  letter-spacing: -0.35px;
  /*margin: 0 .9em;*/
  border-top: 3px solid transparent;
}

header#header ul.menu li.current {
  border-top: 3px solid #09F;
}

/* hospital version */
header#header.hospital {
  height: 115px;
}

header#header.transparent.hospital {
  height: 115px;
}


header#header.hospital nav {
  /*  position: absolute;
  z-index: -1;*/
  max-width: 100%;
  padding: 0;
}

header#header.hospital nav div {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 .6em;
  height: 115px;
}

header#header.hospital nav a.ext {
  background: #173386;
}

header#header.hospital nav .logo {
  /* mini */
  background-image: url(../img/logo_suhy_line_2025.svg);
  background-size: 305px 33px;
  width: 305px;
  top: 20px;
}

header#header.transparent.hospital nav .logo {
  /* mini */
  top: 4px;
}

header#header.hospital ul.menu {
  position: absolute;
  width: 100%;
  margin: 0;
  background: #0082D9;
  color: #fff;
  line-height: 36px;
  top: 93px;
  text-align: center;
  padding: 0;
  z-index: 1;
  transition: all .3s;
  transform-style: preserve-3d;
}

header#header.transparent.hospital ul.menu {
  top: 93px;
}

header#header.hospital ul.menu li.button {
  padding: 0;
  border-top: 5px solid transparent;
  border-bottom: 3px solid transparent;
  margin: 0 .6em
}

header#header.hospital ul.menu li.current {
  border-bottom: 3px solid rgba(255, 255, 255, 0.8);
}

header#header.hospital ul.menu li.ext {
  border-left: 1px dotted rgba(255, 255, 255, 0.8);
  padding-left: 1.2em;
}

header#header.hospital ul.menu li.button a {
  font-weight: 300;
  /*font-size: 0.9375em;*/
  color: #fff;
}

aside.bottom-links {
  text-align: center;
  background: #C6CED8;
  padding: 22px;
}

aside.bottom-links.hospital {
  background: #EDEFF2;
}

.links a.button,
aside.bottom-links a.button {
  width: 390px;
  line-height: 62px;
  margin: 25px;
  padding: 0;
  border-radius: 3px;
}

aside.bottom-links.hospital a.button {
  width: 300px;
  margin: 25px 15px;
}

aside.bottom-links.hospital p.note {
  font-size: 0.8125em;
  text-align: right;
  margin: 0 auto;
  max-width: 980px;
}

.links a.button.m,
aside.bottom-links a.button.m {
  background: #173386;
  color: #fff;
}

aside.bottom-links a.button.s {
  background: #B4BBC4;
  color: #173386;
}

.links a.button:hover,
aside.bottom-links a.button:hover {
  text-decoration: none;
}

footer {
  padding: 2.5em 0 1.5em 0;
  background: #173386;
  color: #fff;
  text-align: center;
  font-size: 0.8125em;
}

footer div.flex {
  max-width: 1000px;
  margin: 0 auto;
}

footer div.flex div span {
  line-height: 2.5em;
  vertical-align: middle;
}


/*==========================================================
*
* hero
*
==========================================================*/

header.hero,
header.hero div.content {
  position: relative;
  width: 100%;
  text-align: center;
  color: #111;
  padding: 0.1px 0;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 50% center;
  background-attachment: scroll;
  background-size: cover;
}

header.hero.top {
  margin-top: 115px;
}

header.hero div.content {
  height: 435px;
  background-color: #ddd;
}


header.hero>p.title {
  font-size: 2em;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2.5em;
  padding-bottom: 0;
}

header.hero>p {
  font-size: 1.125em;
  line-height: 1.8;
  font-weight: 500;
  padding-bottom: 2em;
  color: #222;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

header.hero div.content h1.shoulder {
  position: absolute;
  width: 100%;
  top: calc(100% + 1.2em);
  font-size: 1.25em;
  color: #173386;
}

header.hero h1 span {
  display: block;
}

/*==========================================================
*
* title
*
==========================================================*/
header.title {
  margin-top: 135px;
}

header.title div.content {
  max-width: 960px;
  margin: 50px auto;
}

header.title div.content h1 {
  font-size: 1.75em;
  font-weight: 700;
  border-bottom: 1px solid #999;
}

header.title div.content p.lead {
  font-size: 1.125em;
  font-weight: 500;
}

header.title.news,
header.title.resident {
  text-align: center;
}

header.title.news div.content h1,
header.title.resident div.content h1 {
  color: #173386;
}

header.title.news div.content p.title {
  padding: .6em 0;
  font-size: 1.5em;
  color: #173386;
  border-bottom: 1px solid #999;
}


header.title.hospital div.content h1 {
  font-weight: 400;
  color: #0082D9;
}

header.title.hospital div.content p.lead {
  font-weight: 400;
  line-height: 1.8;
}


/*==========================================================
*
* section content
*
==========================================================*/
/* area */
section.area {
  padding-top: 0.1px;
  padding-bottom: 0.1px;
}

section.area>header {
  position: relative;
  text-align: center;
  padding-bottom: 2em;
}

section.area>header.pad {
  margin-bottom: 1em;
}

section.area>header h2:before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 65px);
  width: 130px;
  border-top: 5px solid #0099FF;
}

section.area>header.navy h2:before {
  border-top: 5px solid #173386;
}

section.area>header.khaki h2:before {
  border-top: 5px solid #a69375;
}


section.area>header h2 {
  /*font-size: 1.5em;*/
  font-size: 1.75em;
  padding-top: 1.2em;
  padding-bottom: 0;
}

section.area>header.pad h2 {
  margin-top: 40px;
}

section.area>header p {
  margin: 0;
  padding-top: 0.5em;
  color: #173386;
  font-size: 1.18em;
  font-weight: 500;
}

section.area>header.single {
  padding-bottom: 1em;
}

section.area>header.single h2:before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 65px);
  width: 130px;
  border-top: 5px solid #0099FF;
}

section.area>header.single h2 {
  /* font-size: 1.5em; */
  font-size: 1.75em;
  padding-top: 1.666em;
}

section.area section.flex div.txt-left {
  padding-right: 2em;
  text-align: justify;
  text-justify: inter-ideograph;
}

section.area section.flex div.txt-right {
  padding-left: 2em;
  text-align: justify;
  text-justify: inter-ideograph;
}

section.area section.flex header h3 {
  padding: 0;
  /*font-size: 1.3125em;*/
  font-size: 1.5em;
  font-weight: 500;
}

section.area section.flex header p {
  padding: 0;
  margin: 0;
  color: #173386;
  /*font-size: 0.875em;*/
  font-size: 1em;
}

section.area section.flex p {
  font-size: 1em;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

section.area section.flex ul {
  font-size: 1em;
  line-height: 1.8;
}

section.area section.flex p.l1 {
  margin-top: 1em;
}

/* area-white */
section.area-white {
  background: #fff;
}

section.area-white section header {
  margin-top: 2em;
  margin-bottom: 1em;
}

section.area-white section header:first-child {
  margin-top: 0;
}

/* area-khaki */
section.area-khaki {
  background: #e1ddd6;
}

/* area-gray */
section.area-gray {
  background: #F2F4F8;
}

/* area-black */
section.area-black {
  background: #333;
  color: #fff;
}

/* graybox */
section.area div.graybox {
  background: #EDEFF2;
  padding: 1em;
  line-height: 1.8;
}


/*==========================================================
*
* area-related (resident)
*
==========================================================*/
section.area-related {
  max-width: 990px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid #95989A;
}

section.area-related ul {
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
}

section.area-related ul li {
  padding: 0 15px;
}

section.area-related ul li a {
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  text-align: center;
  font-size: 1em;
  padding: calc(65%) 0 20px 0;
  margin: 0;
}


section.area-related ul li#related-1 a {
  background-image: url(../resident/img/l1.jpg);
}

section.area-related ul li#related-2 a {
  background-image: url(../resident/img/l2.jpg);
}

section.area-related ul li#related-3 a {
  background-image: url(../resident/img/l3.jpg);
}

section.area-related ul li#related-4 a {
  background-image: url(../resident/img/l4.jpg);
}


/*==========================================================
*
* mobile
*
==========================================================*/
@media (max-width:1000px) {
  footer div.flex {
    max-width: 95%;
  }
}

@media (max-width:960px) {

  span.lm,
  span.m,
  span.tab,
  span.fab,
  br.lm,
  br.m,
  br.tab,
  br.fab {
    display: none !important;
  }

  span.pc {
    display: inline !important;
  }

  br.pc {
    display: block !important;
  }

  header#header.transparent.hospital nav .logo {
    top: 35px;
  }

  header#header.transparent nav .burger {
    top: 75px;
  }

  header#header nav .burger {
    float: none;
    position: absolute;
    display: block;
    top: 30px;
    right: 0px;
    width: 60px;
    height: 60px;
    line-height: 50px;
  }

  header#header.transparent ul.menu,
  header#header nav ul.menu {
    width: 0;
    top: 0;
    right: 0;
    padding-top: 20px;
    background: rgba(23, 51, 134, 0.90);
  }

  header#header.hospital.transparent ul.menu,
  header#header.hospital nav ul.menu {
    width: 0;
    top: 0;
    right: 0x;
    padding-top: 20px;
    background: rgba(0, 130, 217, 0.90);
  }

  header#header nav ul.menu li.button {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

  header#header.hospital ul.menu li.ext {
    border-left: 0;
    padding-left: 0;
  }

  header#header ul.menu li.current {
    border-top: 3px solid transparent;
    opacity: .6;
  }

  header#header nav ul.menu li a {
    font-weight: 300;
    color: #fff;
  }

  header#header nav .show:checked~.burger {
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7);
  }

  header#header nav .show:checked~.menu {
    width: 30%;
    height: 100vh;
    padding-left: 10px;
  }

  header.title div.content {
    padding: 0 2em;
  }

  header.title div.content p.lead {
    text-align: left;
  }

  header.hero>p.title {
    font-size: 1.85em;
    margin-left: 1em;
    margin-right: 1em;
  }

  header.hero>p.lead {
    font-size: 1.125em;
    margin-left: 2em;
    margin-right: 2em;
  }

  .links a.button,
  aside.bottom-links a.button,
  aside.bottom-links.hospital a.button {
    max-width: 300px;
    margin: 10px;
  }

  footer {
    padding-right: 10px;
    padding-left: 10px;
  }

  footer div.flex div span {
    line-height: inherit;
  }
}

@media (max-width:900px) {

  span.pc,
  br.pc {
    display: none !important;
  }

  span.tab {
    display: inline !important;
  }

  br.tab {
    display: block !important;
  }
}

@media (max-width:800px) {
  header#header nav .show:checked~.menu {
    width: 35%;
  }
}

@media (max-width:700px) {

  span.tab,
  br.tab {
    display: none !important;
  }

  span.fab {
    display: inline !important;
  }

  br.fab {
    display: block !important;
  }

  header#header nav .show:checked~.menu {
    width: 40%;
  }

  section.area>header h2 {
    margin: 0 2em;
  }

  section.area>header p {
    margin: 0 2em;
  }
}

@media (max-width:600px) {
  header#header nav .show:checked~.menu {
    width: 50%;
  }
}

@media (max-width:500px) {
  header#header nav .show:checked~.menu {
    width: 60%;
  }

  header#header.transparent nav a.ext {
    display: none;
  }
}


@media (max-width:414px) {

  span.pc,
  span.m,
  span.tab,
  span.fab,
  br.pc,
  br.m,
  br.tab,
  br.fab {
    display: none !important;
  }

  span.lm {
    display: inline !important;
  }

  br.lm {
    display: block !important;
  }

  .flex>* {
    padding-left: 0;
    padding-bottom: 0;
  }

  header#header.transparent {
    height: 65px;
  }

  header#header.hospital {
    height: 65px;
  }

  header#header.transparent.hospital {
    height: 65px;
  }

  header#header nav {
    height: 65px;
  }

  header#header.transparent nav a.ext {
    display: none;
  }

  header#header.transparent nav .logo,
  header#header nav .logo {
    /* mini */
    top: 15px;
    height: 33px;
    width: 260px;
    background-size: contain;
    background-image: url(../img/logo_suhy_line_2025.svg);
  }

  header#header.transparent.hospital nav .logo,
  header#header.hospital nav .logo {
    top: 15px;
    height: 33px;
    width: 260px;
    background-size: contain;
    background-image: url(../img/logo_suhy_line_2025.svg);
  }

  header#header.transparent nav .burger,
  header#header nav .burger {
    top: 33px;
    right: -5px;
  }

  header#header nav .show:checked~.menu {
    width: 100%;
  }

  header.hero.top {
    margin-top: 65px;
  }

  header.title {
    margin-top: 70px;
    padding: 0;
  }

  header.title div.content {
    margin-bottom: 30px;
  }

  header.title div.content h1 {
    font-weight: 500;
  }

  header.title div.content p.lead {
    text-align: left;
    font-size: 1em;
  }

  header.hero>p.title {
    font-weight: 500;
    font-size: 1.5em;
    margin-top: 3em;
    margin-left: 0.7em;
    margin-right: 0.7em;
    text-align: left;
    text-align: justify;
    text-justify: inter-ideograph;
  }

  header.hero>p.lead {
    font-weight: 400;
    font-size: 1em;
    margin-left: 1em;
    margin-right: 1em;
    text-align: left;
    text-align: justify;
    text-justify: inter-ideograph;
  }


  section.area>header {
    padding: 0 1em 2em 1em;
  }

  section.area>header h2:before {
    left: calc(50% - 50px);
    width: 100px;
  }

  section.area>header h2 {
    font-size: 1.31em;
    padding-top: 1em;
    margin: 0;
  }

  section.area>header p {
    margin: 0;
  }

  section.area-white section header:first-child {
    margin-top: 1em;
  }

  section.area section.flex header h3 {
    font-size: 1.125em;
    text-align: center;
  }

  section.area section.flex header p {
    text-align: center;
  }

  section.area section.flex p {
    padding: 0 1em;
  }

  section.area section.flex p.l1 {
    text-align: center;
    margin-top: 0.5em;
    margin-bottom: 2em;
  }

  section.area section.flex div.txt-left {
    padding-right: 0;
  }

  section.area section.flex div.txt-right {
    padding-left: 0;
  }

  section.area-related ul {
    padding: 0 1em;
  }

  section.area-related ul li {
    width: 100%;
    height: auto;
    margin: 0;
  }

  section.area-related ul li a {
    display: block;
    width: 100%;
  }

  .links a.button,
  aside.bottom-links a.button,
  aside.bottom-links.hospital a.button {
    width: 90%;
    margin: 10px;
  }

}

@media (max-width:340px) {

  span.pc,
  span.tab,
  span.fab,
  span.lm,
  br.pc,
  br.tab,
  br.fab,
  br.lm {
    display: none !important;
  }

  span.m {
    display: inline !important;
  }

  br.m {
    display: block !important;
  }

  header.hero>p.title {
    font-size: 1.4em;
  }

}