/* :::::リセットCSS:::::: */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}
ol,
ul {
  list-style: none;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
  font-weight: normal;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}
th,
td {
  font-weight: normal;
}
/* buttonタグをリセット */
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
summary::-webkit-details-marker {
  /* Safariで表示されるデフォルトの三角形アイコン削除 */
  display: none;
}
/* acodion */
/* Chrome、Safari以外 */

summary {
  display: block;
}
main {
  overflow: hidden;
}
/* Chrome、Safari */
summary::-webkit-details-marker {
  display: none;
}

/* =============================================================
ベース設定
============================================================= */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap");

:root {
  --font-family: "Noto Sans JP", sans-serif;
  --font-family-sub: "Noto Serif JP", serif;
  --color--primary: #38546b;
  --color--text: #333333;
}
html,
body {
  width: 100%;
  margin: 0 auto;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--color--text);
  background-color: #fff;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0em;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  /* overflow-x: hidden; */
  interpolate-size: allow-keywords;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  transition: all 0.6s ease-out;
}

a:hover {
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.6s ease-out;
}

::before,
::after {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
iframe {
  width: 100%;
  height: 100%;
  border: none;
}

section {
  width: 100%;
  padding-block: clamp(40px, 10vw, 80px);
}
.contents-wrapper {
  width: calc(100% - 40px);
  max-width: 1247px;
  margin-inline: auto;
}
/* drawerメニュー表示中のbody固定（スクロール位置を維持） */
body.is-fixed {
  position: fixed;
  width: 100%;
  overflow: hidden;
  left: 0;
  /* top:0 を削除し、JSでスクロール位置をセットする */
}
.sp-none {
  display: none;
}
@media screen and (min-width: 1024px) {
  html {
    font-size: 16px;
  }

  .contents-wrapper {
    width: calc(100% - 80px);
  }
  .sp-none {
    display: block;
  }
}
/* =============================================================
header
============================================================= */
.header-inner {
  max-height: 58px;
  padding: 18px 0.5em;
}

.header-logo {
  width: clamp(232px, 30vw, 292px);
}

.header-nav {
  display: flex;
  flex-direction: column;
  row-gap: 10vw;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: #fff;
  padding: min(30vw, 100px) 5vw 0;
}

.header-nav-list {
  display: flex;
  flex-direction: column;
  row-gap: 3vw;
}

.header-nav-link {
  position: relative;
  font-weight: 500;
  font-size: 1.2rem;
}
.header-nav-link:hover {
  opacity: 1;
}

.header-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--color--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav-link:hover::after {
  transform: scaleX(1);
}
.header-contact-btn {
  display: grid;
  grid-template-columns: 30px 1fr;
  /* 中心に揃える */
  align-items: center;
  column-gap: 10px;
  width: fit-content;
  color: var(--color--primary);
  background-color: #fff2f2;
  border-radius: 50px;
  padding: 20px 20vw;
}
.header-contact-btn:hover {
  opacity: 1;
  background-color: #ffd8d8;
}
/* responsive */
@media screen and (min-width: 600px) {
  .header-nav {
    width: 70%;
  }
}
@media screen and (min-width: 1180px) {
  .header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #fff;
  }
  .header-inner {
    display: flex;
    align-items: center;
    column-gap: clamp(50px, 4vw, 90px);
    max-height: inherit;
    padding-block: 0;
    padding-inline: 2.1vw 0;
  }
  .header-logo {
    flex-shrink: 0;
  }
  .header-nav {
    flex-direction: row;
    justify-content: space-between;
    row-gap: 10vw;
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 0;
  }

  .header-nav-list {
    flex-direction: row;
    align-items: center;
    column-gap: clamp(20px, 2.6vw, 50px);
  }
  .header-contact-btn {
    border-radius: 0;
    min-width: 220px;
    padding: 33px 40px;
  }
}
/* =============================================================
drawer menu
============================================================= */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  transition: right 0.5s ease-in-out;
  z-index: 500;
}
.drawer.is-open {
  right: 0;
}

@media screen and (min-width: 1180px) {
  .drawer {
    position: static;
  }
}
.hambarger-btn {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  height: 58px;
  width: 58px;
  align-items: center;
  background-color: #ab485d;
  padding: 20px 13px;
}
.hambarger-btn .bar,
.hambarger-btn .bar:before,
.hambarger-btn .bar:after {
  content: "";
  display: block;
  height: 2px;
  width: 34px;
  background-color: #fff;
  position: absolute;
  transition: 0.5s;
}
.hambarger-btn .bar:before {
  bottom: 11px;
}
.hambarger-btn .bar:after {
  top: 11px;
}

.hambarger-btn.is-active .bar {
  background-color: rgba(255, 255, 255, 0);
  box-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
}

.hambarger-btn.is-active .bar::before {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hambarger-btn.is-active .bar::after {
  top: 0;
  transform: rotate(-45deg);
}
.drawer-overlay {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
}
.drawer-overlay.is-active {
  display: block;
}
@media screen and (min-width: 1180px) {
  .hambarger-btn {
    display: none;
  }
}

/* =============================================================
footer
============================================================= */
.footer {
  padding-block: min(18vw, 65px) 20px;
}

.footer-inner {
  width: 90%;
  max-width: 800px;
  margin-inline: auto;
}

.footer-contact-btn {
  position: relative;
  display: grid;
  grid-template-columns: 23px 1fr;
  align-items: center;
  column-gap: 10px;
  color: #fff;
  background-color: #ab485d;
  border-radius: 100px;
  padding: 12px 20px;
  margin-bottom: min(8vw, 35px);
}
.footer-contact-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 21px;
  height: 20px;
  background-image: url("../images/common/icon-arrow-small-w.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  transform: translateY(-50%);
  transition: all 0.6s ease-out;
}
.footer-contact-btn:hover {
  opacity: 1;
  background-color: var(--color--primary);
}
.footer-contact-btn:hover::after {
  transform: translateY(-50%) translateX(3px);
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: min(15vw, 57px);
}

.footer-contact-item {
  display: flex;
}

.footer-contact-label {
  width: 55%;
}

.footer-contact-number {
  width: 45%;
}

.footer-contact-hours {
  display: block;
}

.footer-info {
}

.medical-departments {
  margin-bottom: min(5vw, 20px);
}

.footer-address {
  text-decoration: none;
  font-style: normal;
  margin-bottom: min(10vw, 35px);
}

.footer-logo {
  display: block;
  width: clamp(273px, 20vw, 343px);
  margin-bottom: min(5vw, 25px);
}

.footer-sns {
  display: flex;
  justify-content: center;
  column-gap: 10px;
  margin-bottom: min(20vw, 80px);
}

.sns-link {
  width: 48px;
}
.footer-copyright {
  font-size: clamp(0.8rem, 2vw, 1rem);
  text-align: center;
}
/* responsive */
@media screen and (min-width: 1024px) {
  .footer-inner {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 40px);
    max-width: 1247px;
    margin-inline: auto;
  }
  .footer-contact {
    width: 570px;
  }
  .footer-info {
    width: 355px;
  }
  .footer-contact-btn {
    max-width: 400px;
    padding: 17px 30px;
  }
  .footer-contact-label {
    width: 216px;
  }
  .footer-contact-number {
    width: auto;
  }
  .footer-contact-hours {
    display: inline;
    margin-left: 1rem;
  }
  .footer-sns {
    justify-content: flex-start;
  }
  .sns-link {
    width: 57px;
  }
}


.pc-br{
display: block;
}

.sp-br{
display: none;
}

.sp1em {
height: 1em;
}
.sp2em {
height: 2em;
}
.sp3em {
height: 3em;
}
.pc_sp1em {
height: 1em;
}
.pc_sp2em {
height: 2em;
}
.pc_sp3em {
height: 3em;
}
.sp_sp1em {
display: none;
}
.sp_sp2em {
display: none;
}
.sp_sp3em {
display: none;
}

.pc-toggle {
display: block;
}
.sp-toggle {
display: none;
}

.nagalogo_pc{
width: 90%;
margin: 0 auto;
max-width: 615px;
margin-bottom: 4em;
}

.naga_gaikan{
width: 90%;
margin: 0 auto;
max-width: 615px;
margin-bottom: 2.5em;
}

.mentetxt{
width: 90%;
text-align: center;
color: #39546B;
margin: 0 auto;
font-size: 18px;
line-height: 190%;
font-family: Hiragino Maru Gothic ProN;
margin-bottom: 2.5em;
}

.mentetxt02{
width: 90%;
text-align: center;
color: #39546B;
margin: 0 auto;
font-size: 16px;
line-height: 190%;
font-family: Hiragino Maru Gothic ProN;
margin-bottom: 7em;
}

.mentetxt03{
width: 90%;
text-align: center;
color: #39546B;
margin: 0 auto;
font-size: 14px;
line-height: 190%;
font-family: Hiragino Maru Gothic ProN;
}

.nagatel_pc{
width: 90%;
margin: 0 auto;
max-width: 615px;
margin-bottom: 2em;
}



/*******SMART用*********/
@media print, screen and (max-width: 767px) {

.pc-br{
display: none;
}

.sp-br{
display: block;
}

.pc-toggle {
display: none;
}
.sp-toggle {
display: block;
}

.sp1em {
height: 1em;
}
.sp2em {
height: 2em;
}
.sp3em {
height: 3em;
}
.pc_sp1em {
display: none;
}
.pc_sp2em {
display: none;
}
.pc_sp3em {
display: none;
}
.sp_sp1em {
height: 1em;
}
.sp_sp2em {
height: 2em;
}
.sp_sp3em {
height: 3em;
}

.nagalogo_sp{
width: 90%;
margin: 0 auto;
margin-bottom: 1em;
}

.naga_gaikan{
width:90%;
margin: 0 auto;
margin-bottom: 1em;
}

.mentetxt{
width: 90%;
text-align: center;
color: #39546B;
margin: 0 auto;
font-size: 16px;
line-height: 190%;
font-family: Hiragino Maru Gothic ProN;
margin-bottom: 1.5em;
}

.mentetxt02{
width: 90%;
text-align: center;
color: #39546B;
margin: 0 auto;
font-size: 15px;
line-height: 190%;
font-family: Hiragino Maru Gothic ProN;
margin-bottom: 10em;
}

.mentetxt03{
width: 90%;
text-align: center;
color: #39546B;
margin: 0 auto;
font-size: 14px;
line-height: 190%;
font-family: Hiragino Maru Gothic ProN;
}

.nagatel_sp{
width: 90%;
margin: 0 auto;
max-width: 615px;
margin-bottom: 2em;
}

}
