@charset "UTF-8";

/*====================================

  ----------------------------------
  Color
  ----------------------------------

    Primary     : #FF6A18
    secondary   : #FFAB3D
    tertiary    : #FDF7F1

    border      : #DEDEDE
    text        : #414141

  ----------------------------------
  font
  ----------------------------------

    JP  : Noto Sans JP
    EN  : None

====================================*/

:root {
  --primary: #ff6a18;
  --secondary: #ffab3d;
  --tertiary: #fdf7f1;

  --border: #dedede;
  --text: #414141;
}

/*==================================
  1. General - サイト共通
==================================*/
html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #414141;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.25em;

  background: var(--tertiary) url(/clinic/assets/images/texture.png) repeat;
}

button {
  letter-spacing: 0.1em;
}

.l-wrapper {
  width: 100%;
  text-align: left;
  overflow: hidden;
  font-size: 1.8rem;
}

@media only screen and (max-width: 767px) {
  .l-wrapper {
    font-size: 1.6rem;
  }
}

.l-wrapper.is-fixed {
  position: fixed;
}

.l-wrap {
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

/* @media only screen and (max-width: 767px) {
  .l-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }
} */

/*
 	1.1 Print
====================================*/
@media print {
  body {
    padding-top: 0 !important;
  }
  header {
    display: none !important;
  }
  footer {
    display: none !important;
  }
  .l-header_info {
    display: none !important;
  }
  .l-2col_side {
    display: none !important;
  }
  .l-2col_main {
    width: 100% !important;
  }
  .l-wrapper {
    -webkit-print-color-adjust: exact;
  }
  #page_top {
    display: none !important;
  }

  /* adjustment */
  .p-subVisual {
    display: none !important;
  }
  .c-gallery .c-gallery_list figure {
    padding: 0 !important;
  }
  .c-gallery .slick-arrow {
    display: none !important;
  }
}

/*
 	1.2 Utility
====================================*/
.u-strong {
  font-weight: 700;
}

.u-small {
  font-size: 90%;
}

.u-smaller {
  font-size: 60%;
}

.u-big {
  font-size: 110%;
}

.u-bigger {
  font-size: 140%;
}

.u-biggest {
  font-size: 170%;
}

.u-colon {
  position: relative;
}

.u-colon::after {
  content: "\ff1a";
  padding: 0 0.25em;
}

.u-sup {
  font-size: 1.2rem;
  letter-spacing: 0;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

/* Background */
.u-bgWhite {
  background: #fff;
}

/* adjustment */
.pc_none {
  display: none;
}
.pc_space {
  margin-left: 1em;
}

@media only screen and (max-width: 767px) {
  .pc_none {
    display: block;
  }
  .pc_space {
    margin: auto;
  }
}

/* Margin */
.u-mt0 {
  margin-top: 0 !important;
}
.u-mt20 {
  margin-top: 20px;
}
.u-mt40 {
  margin-top: 40px;
}
.u-mt60 {
  margin-top: 60px;
}
.u-mt80 {
  margin-top: 80px;
}
.u-mt100 {
  margin-top: 100px;
}
.u-mt120 {
  margin-top: 120px;
}
.u-mt160 {
  margin-top: 160px;
}

@media only screen and (max-width: 767px) {
  .u-mt20 {
    margin-top: 10px;
  }
  .u-mt40 {
    margin-top: 20px;
  }
  .u-mt60 {
    margin-top: 30px;
  }
  .u-mt80 {
    margin-top: 40px;
  }
  .u-mt100 {
    margin-top: 50px;
  }
  .u-mt120 {
    margin-top: 60px;
  }
  .u-mt160 {
    margin-top: 80px;
  }
}

/* Padding */
.u-pd80 {
  padding: 80px 0;
}
.u-pd120 {
  padding: 120px 0;
}
.u-pd160 {
  padding: 160px 0;
}
.u-pt80 {
  padding-top: 80px;
}
.u-pt120 {
  padding-top: 120px;
}
.u-pb120 {
  padding-bottom: 120px;
}

@media only screen and (max-width: 767px) {
  .u-pd80 {
    padding: 40px 0;
  }
  .u-pd120 {
    padding: 60px 0;
  }
  .u-pd160 {
    padding: 80px 0;
  }
  .u-pt80 {
    padding-top: 40px;
  }
  .u-pt120 {
    padding-top: 60px;
  }
  .u-pb120 {
    padding-bottom: 60px;
  }
}

/*
 	1.3 skipnav
====================================*/
#skiptocontent a {
  font-size: 1.4rem;
  padding: 4px 1em;
  position: absolute;
  top: -40px;
  left: 0px;
  border-bottom-right-radius: 8px;
  background: #f0f0f0;
  color: #414141;
  z-index: 9999;
}

#skiptocontent a:focus {
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #skiptocontent a {
    transition-duration: 0.001ms !important;
  }
}

/*
 	1.4 pagetop
====================================*/
#page_top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 10;
  display: none;
}
#page_top a {
  display: block;
  width: 80px;
  height: 80px;
}
#page_top img {
  filter: drop-shadow(0px 2px 3px rgba(91, 91, 91, 0.5));
}

@media only screen and (max-width: 1199px) {
  #page_top {
    right: 20px;
    bottom: calc(40px + 20px);
  }
  #page_top a {
    width: 60px;
  }
}

/*==================================
  2. Parts- パーツ
==================================*/

/*== Title =======================*/
.p-clinicTtl {
  font-size: 4.2rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-top: calc(50px + 20px);
}

.p-clinicTtl::before {
  content: "";
  position: absolute;
  background: url(/clinic/assets/images/logo_mark.svg) no-repeat center/cover;
  height: 50px;
  aspect-ratio: 4 / 5;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media only screen and (max-width: 767px) {
  .p-clinicTtl {
    font-size: 3.2rem;
    padding-top: calc(30px + 10px);
  }
  .p-clinicTtl::before {
    height: 35px;
  }
}

/*== Arrow =======================*/
.arrow {
  position: relative;
}
.arrow::before,
.arrow::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
}

/* Kunoji */
.s5-2::before {
  width: 0.75em;
  height: 0.75em;
  border-top: 4px solid;
  border-right: 4px solid;
  transform: rotate(45deg);
}

/*== Button =======================*/
.c-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  width: 90%;
  max-width: 320px;
  padding: 10px 30px;
  border-radius: 9999px;

  border: 2px solid var(--primary);
  background: #fff;
}

.c-btn:hover,
.c-btn:focus {
  opacity: 0.8;
}

/*==================================
  3. header- ヘッダー
==================================*/
.l-header_inr {
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding: 20px 80px;
}

.l-header_logo img {
  width: 420px;
  height: auto;
}

.l-header_utility {
  display: flex;
  align-items: center;
  gap: 40px;
}

.l-header_utility_label {
  position: relative;
  padding-left: calc(1.4em + 0.5em);
}

.l-header_utility_label::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 1.4em;
  height: 1.4em;
}

.i_tel::before {
  background: url(/clinic/assets/images/i_tel.svg) no-repeat;
}
.i_access::before {
  background: url(/clinic/assets/images/i_access.svg) no-repeat;
}

.l-header_utility_label a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

@media only screen and (max-width: 1199px) {
  .l-header_inr {
    display: block;
    padding: 20px;
  }
  .l-header_utility {
    gap: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
  }
  .l-header_utility_item {
    padding: 14px;
    border: 2px solid;
    background: #fff;
    border-color: var(--primary);
  }
  .l-header_utility_item__tel {
    width: 55%;
    background: var(--secondary);
    border-color: var(--secondary);
  }
  .l-header_utility_item__access {
    width: 45%;
    background: #fff;
    border-color: var(--primary);
  }
  .l-header_logo {
    text-align: center;
  }
  .l-header_logo img {
    width: 90%;
    max-width: 370px;
  }
}

/*==================================
  4. Mainvis - メインビジュアル
==================================*/
.p-mainvis {
  padding: 0 80px;
  position: relative;

  background: linear-gradient(180deg, #fff 0%, #fff 50%, transparent 50%, transparent 100%);
}

.p-mainvis_image {
  width: 100%;
  height: 74vh;
}

.p-mainvis_image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 11 / 5;
  object-fit: cover;
}

.p-mainvis_catch {
  position: absolute;
  top: 10%;
  left: 10%;

  font-size: 6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2em;
  filter: drop-shadow(0px 2px 3px rgba(61, 61, 61, 0.7));
}

.p-mainvis_catch.rl {
  writing-mode: vertical-rl;
}

.p-mainvis_catch .border {
  border-right: 2px solid #fff;
}

@media only screen and (max-width: 1199px) {
  .p-mainvis_catch {
    font-size: 4.6rem;
  }
}

@media only screen and (max-width: 767px) {
  .p-mainvis {
    padding: 0 20px;
  }
  .p-mainvis_catch {
    left: auto;
    right: 10%;

    font-size: 3.6rem;
  }
}

/*==================================
  5. Menu - 診療所メニュー
==================================*/
.c-menuList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.c-menuBox {
  display: block;
  background: #fff;
  border-radius: 1rem;
  padding: 40px;
  text-decoration: none;
}

.c-menuBox_inr {
  position: relative;
  padding-bottom: calc(100px + 1em);
}

.c-menuBox_inr::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
}

.icon01::before {
  background: url(/clinic/assets/images/icon01.svg) no-repeat center/cover;
}
.icon02::before {
  background: url(/clinic/assets/images/icon02.svg) no-repeat center/cover;
}
.icon03::before {
  background: url(/clinic/assets/images/icon03.svg) no-repeat center/cover;
}
.icon04::before {
  background: url(/clinic/assets/images/icon04.svg) no-repeat center/cover;
}
.icon05::before {
  background: url(/clinic/assets/images/icon05.svg) no-repeat center/cover;
}
.icon06::before {
  background: url(/clinic/assets/images/icon06.svg) no-repeat center/cover;
}

.c-menuBox_ttl {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
}

.c-menuBox_ttl span {
  padding-left: calc(1em + 0.5em);
}

.c-menuBox_ttl span::before {
  border-color: var(--primary);
}

@media only screen and (max-width: 1199px) {
  .c-menuList {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .c-menuList {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .c-menuBox {
    padding: 20px;
  }
  .c-menuBox_inr {
    padding-bottom: 60px;
  }

  .c-menuBox_inr::before {
    width: 60px;
    height: 60px;
  }
  .c-menuBox_ttl {
    font-size: 2rem;
  }
}

/*==================================
  6. News - 新着情報
==================================*/
/* newsBody - 本体 */
.c-newsList {
  border-top: 1px solid #ccdbe9;
  border-bottom: 1px solid #ccdbe9;
}
.c-newsList_item {
  padding: 20px 0;
}
.c-newsList_item:not(:first-of-type) {
  border-top: 1px solid #ccdbe9;
}
.c-newsList_item_head {
  display: flex;
  align-items: center;
  gap: 1em;
}
.c-newsList_item_date {
  font-size: 1.6rem;
}
.c-newsList_item_body {
  margin-top: 12px;
}
.c-newsList_item_dept {
  margin-left: 0.5em;
}

@media only screen and (max-width: 767px) {
  /* .c-newsList_item {
    padding: 16px 0;
  } */
  .c-newsList_item_date {
    font-size: 1.4rem;
    /* adjustment */
    letter-spacing: 0.15em;
  }
}

/*==================================
  7. Access - アクセス
==================================*/
.c-access {
  display: flex;
  gap: 80px;
}

.c-access_det {
  width: calc(100% - 720px);
}
.c-access_map {
  width: 720px;
  flex-shrink: 0;
}

.c-access_ttl {
  font-size: 120%;
  font-weight: 700;
  padding-left: calc(30px + 10px);
  position: relative;
}
.c-access_ttl::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: url(/clinic/assets/images/logo_mark.svg) no-repeat center/cover;
  height: 40px;
  aspect-ratio: 4 / 5;
}

.c-access_means {
  position: relative;
  padding-left: calc(1.8em + 1em);
}

.c-access_means::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.8em;
  height: 1.8em;
}

.c-access_means:nth-child(n + 2) {
  margin-top: 10px;
}

.i_car::before {
  background: url(/clinic/assets/images/i_car.svg) no-repeat center/cover;
}
.i_walk::before {
  background: url(/clinic/assets/images/i_walk.svg) no-repeat center/cover;
}

.c-access_map iframe {
  width: 100%;
  height: 500px;
}

@media only screen and (max-width: 1199px) {
  .c-access {
    flex-direction: column;
    gap: 20px;
  }
  .c-access_det {
    width: 100%;
    order: 2;
  }
  .c-access_map {
    width: 100%;
    order: 1;
  }
}

@media only screen and (max-width: 767px) {
  .c-access_ttl {
    padding-left: calc(20px + 10px);
  }
  .c-access_ttl::before {
    height: 30px;
  }
  .c-access_map iframe {
    height: 360px;
  }
}

/*==================================
  8. Footer - フッター
==================================*/
.l-footer_bg {
  position: relative;
  padding-top: 40vh;
}

.l-footer_bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  background: url(/clinic/assets/images/image.jpg) no-repeat center/cover;
}

.l-footer_inr {
  padding: 60px 0 20px;
}

.l-footer_det {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.l-footer_item {
  flex: 1;
}

.l-footer_logo {
  display: inline-block;
  width: 100%;
  max-width: 360px;
}

.l-footer_btn {
  text-align: right;
}

@media only screen and (max-width: 1199px) {
  .l-footer_inr {
    padding: 60px 0 calc(60px + 20px);
  }
  .l-footer_det {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .l-footer_item {
    width: 100%;
    text-align: center;
  }
  .l-footer_btn {
    text-align: center;
  }
}

@media only screen and (max-width: 767px) {
  .l-footer_logo {
    max-width: 320px;
  }
}
