/* 全体のスタイル調整 */
*{
    box-sizing: border-box;
}

/* bodyの初期スタイル調整*/
body{
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
    font-weight: 400;
    color: #333;
    background-color: #fff;
}

/* 初期スタイル調整 */
h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.5;
    letter-spacing: 0.2em;
    text-align: center;
}

h3 {
    color: #2192c5;
    font-size: 14px;
    margin-bottom: 20px;
}

p {
    margin-top: 0;
    margin-bottom: 1.5em;
    text-align: justify;
}

address{
    font-style: normal;
}

a {
    color: #396cec;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #70a1c0;
    text-decoration: none;
}

ul {
    margin: 1em 0;
    padding: 0;
    list-style: none;
}

img {
    width: 100%;
    height: auto;
}

section{
    padding: 50px 0;
}

/* h2への指定指定 */
.h2-title{
    position: relative;
    text-transform: uppercase;
    margin-bottom: 5px;
    z-index: 100;   /* ◆より手前に指定 */
    
}
/* 疑似要素を使ったロゴの指定 */
.h2-title::before{
    content:url("../img/nishigaitologo.png");
    /* display: block;
    width: 40px;
    height: 40px;
   background: #f4cfc8;
    position: absolute;    絶対値で中央に合わせる 
    left: 50%;
    margin-left: -20px;
    transform: rotate(45deg);   ■を45度回転して◆にする 
    z-index: -100; h2の奥に設定 */
   
}

.txt-center {
    text-align: center;
}
.txt-lead {
    font-weight: 700;
}

/* ボタン共通の設定 */
.btn {
    display: block;
    padding: 20px 35px;
    border-radius: 8px;
    margin: 0 auto;
    border: none;
}

.btn:hover,
.btn:focus {
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

/* Web予約ボタン */
.btn-reserve {
    color: #ffffff;
    background: #6195cc;
    margin: 15px auto 0;
}

/* コンテンツを格納するスタイル */
.inner{
    padding: 0 15px;
    margin: 0 auto;
}

/* PC用のスタイル */
@media screen and (min-width:768px) {
    .inner {
        max-width: 1000px;
    }
}

/* モバイルとPCでの表示に関するスタイル */
.sp-only {
    display: block;  /*モバイルでは表示する*/
}
.pc-only {
    display: none;  /*モバイルでは非表示にする*/
}

/* PC用のスタイル */
@media screen and (min-width:768px) {
    .sp-only{
        display: none; /*PCでは非表示*/
    }
    .pc-only{
        display: block; /*PCでは表示*/
    }
}

/* headerのスタイル */
.header{
    position: fixed;
    top: 0px;
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9); /*背景を半透明にする*/
    z-index: 200; /*スクロール時に他のコンテンツよりも上に表示する*/
}

/* サイトロゴとナビゲーションの並び */
.header-logo-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;  /*ロゴを左寄せ、<nav>を右寄せ*/
}

/*サイトロゴの表示*/
.logo-area{
    width: 250px;
    height: 50px;
    margin: 0;
    text-align: left;
}

/*ハンバーガーメニュー*/
.gnav-toggle {
    position: relative;
    margin-top: 12px;
  }
  
  
  /*チェックボックス等は非表示に*/
  .gnav-hidden {
    display: none;
  }
  
  /*アイコンのスペース*/
  #gnav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
  }
  
  /*ハンバーガーの形をCSSで表現*/
  #gnav-open span,
  #gnav-open span::before,
  #gnav-open span::after {
    content: '';
    position: absolute;
    height: 3px;
    /*線の太さ*/
    width: 25px;
    /*長さ*/
    border-radius: 3px;
    background: #555;
    display: block;
    cursor: pointer;
  }
  
  #gnav-open span::before {
    bottom: -8px;
  }
  
  #gnav-open span::after {
    bottom: -16px;
  }
  
  /*閉じる用の薄黒箇所*/
  #gnav-close {
    display: none;
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    transition: 0.3s ease-in-out;
  }
  
  /*チェックがついたら表示させる*/
  #gnav-input:checked ~ #gnav-close {
    display: block;
    opacity: 0.5;
  }
  
  #gnav-input:checked ~ #gnav-content {
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
  }
  
  /*メニューの中身*/
  #gnav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 70%;
    max-width: 300px;
    height: 100%;
    background: rgb(97, 149, 204,0.9);
    transition: 0.3s ease-in-out;
    transform: translateX(-105%);
  }
  
  .gnav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    text-transform: uppercase;
  }
  
  
  .gnav-item {
    border-bottom: 2px dotted #eee;
    margin: 10px;
    padding-bottom: 20px;
  }
  
  .gnav-item a {
    color: #fff;
    font-size: 12px;
    display: block;
    width: 200px;
    text-align: center;
  }
  
  .gnav-item a::first-line {
    font-size: 16px;
    font-weight: bold;
  }

  @media screen and (min-width:768px) {
      .logo-area{
          width: 300px;  /*サイトロゴのサイズ設定*/
      }
  }

  @media screen and (min-width:768px) {
      /*ナビゲーションを横並びに変更*/
    .gnav-menu {   
        flex-direction: row;    
        padding-top: 18px;
        margin: 0;
    }
    .gnav-item {
        border-bottom: none;
        margin: 0;
        padding-bottom: 0;
    }
    .gnav-item a {
        color: #10589c;
        width: 120px;
    }
    .gnav-item a:hover {
        color: #2192c5;
    }
}

/* section のスタイル */
.mv-area {
    width: 100%;
    height: 65vh;
    background-image: url(../img/nishigaitotopsora.jpg);
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}

/* h1のスタイル */
.mv-title {
    color: #10589c;
    text-shadow: 2px 2px 3px #fff;  /* 縦に2px　横に2px　ぼかし3px */
    font-size: 1.25em;
    margin-top:70px;   /*ヘッダーの高さ分、下に下げて位置を調整*/
} 

@media screen and (min-width:768px) {
    .mv-area {
        width: 100%;
        height: 550px;
    }

    .mv-title {
        margin-top: 90px;
        font-size: 1.5em;
    }
}

/* にしがいと内科クリニックの紹介 */

/* section のスタイル */
.info-area {
    background-color: #a3c7db;
}

.info-txt {
    color: #fff;
}
.info-txt h2 {
    font-size: 20px;
}

@media screen and (min-width:768px) {
    .info-content {
      display: flex;
      flex-direction: row-reverse;
      align-items: center;
    }
  
    .info-txt {
      flex: 1;
      margin-left: 30px;
    }
  
    .info-area img {
      display: block;
      max-width: 500px;
      flex: 1;
    }
    .info-txt h2 {
        font-size: 24px;
    }
}


/* section のスタイル */

.clinic-area {
    background-color: #fff;
}

/* クリニック案内リスト(ul) */
.clinic-content {
    display: flex;
    flex-wrap: wrap;  /*折り返しを有効にする*/
}

/* クリニック案内アイテム(li) */
.clinic-item {
    flex: 40%;   /*アイテムひとつの割合*/
    text-align: center;
    padding: 20px 20px 0;
    margin: 5px;
    border: 3px solid #6195cc;
    border-radius: 10px;
    
}
.clinic-item li a {
    display: block;
}
.clinic-item h4 {
    color: #6195cc;
}

/* アイコン画像の情報 */
.clinic-item img {
    width: 120px;
    margin: 0 auto;
}

/* PC用のCSS */
@media screen and (min-width:768px) {
    /*クリニック案内リスト(ul) */
    .clinic-content {
        flex-wrap: nowrap;
        max-width: 1000px;
        margin: 0 auto;
    }

/*サービスアイテム(li)*/
    .clinic-item {
        flex: 1;
    }
}

/* 「新着情報」のスタイル調整 */

.news-item {
    margin: 15px 20px 5px;
}

.news-item dl{
    margin: 0 auto 50px;
} 
 
.news-item dl dt{
    
    font-size: 16px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #6195cc;
}

.news-item dl dd{
    margin-bottom: 16px;
    font-size: 16px;
}

.important {
    margin-bottom: 16px;
    font-size: 16px;
    color:mediumvioletred;
}

.news-hoka {
    text-align: right;
    font-size: 13px;
    padding-right: 15px;
}

.news-kobetu {
    color:#333;
}

@media screen and (min-width: 768px){
    .news-item{
        margin: 80px 80px 0;
    }
    
    .news-item dl{
        max-width: 900px;
    }
    
    .news-item dl dt{
        margin-bottom: 16px;
        padding-bottom: 8px;
        font-size: 16px;
    }
    
    .news-item dl dd{
        margin-bottom: 40px;
        font-size: 18px;
    }
    .news-hoka {
        text-align: right;
        font-size: 13px;
        max-width: 900px;
        margin: 0 auto;
        
    }
}

/* 受付のご案内のスタイル調整 */

.reception-area {
    background-color: #d3d6dbb0;
}

.reception-content {
    margin: 20px;
}

.reception-txt {
    margin-left: 10px;
}

.reception-txt ul {
    list-style: square;
}

.reception-txt li {
    margin-bottom: 15px;
    font-size: 14px;
}
.reception-img1 img {
    margin-bottom: 10px;
}

@media screen and (min-width: 768px){
    .reception-content {
        margin: 0 auto;
        max-width: 1000px;
    }
    .reception-txt {
        margin:0 50px;
        
    } 
    .reception-txt ul {
        list-style: square;
        padding-top: 20px;
    }
    .reception-txt li {
        margin-bottom: 25px;
        font-size: 16px;
    }
    .reception-img {
        padding: 20px 200px;
    }
    .reception-img1 {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
    }
    .reception-img1 img {
        margin: 5px 10px;
        display: block;
        max-width: 450px;
        flex: 1;
      }
}

/* アクセスのスタイル調整 */

.access-area {
    padding-bottom: 0;
}
/* 画像のスタイル */
.access-area img {
    margin: 10px auto 30px;
}

/* マップの表示枠の指定 */
.access-maparea {
    position: relative;  /*相対指定で基準にする*/
    padding-top: 100%;  /*マップを表示する高さを指定*/
}
/*Googleマップに追加*/
.access-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 768px){
    .access-content {
        display: flex;
        align-items: center;
        flex-direction: reverse;
        margin-bottom: 30px;
        
    }
    
    .access-area img {
        display: block;
        max-width: 550px;
        flex: 1;
    }
    .access-txt {
        flex: 1;
    }

    .access-area table {
        display: block;
        max-width: 650px;
        flex: 1;
    }
    .hyouannai {
        margin: 0 20px;
        padding: 0 20px;
    }
    .hyou table {
        margin-left:50px;
       
    }

    /*マップの表示枠の指定*/
    .access-maparea {
        position: relative;
        padding-top: 20%; /*マップを表示する高さを20％に変更*/
    }
}



/*ページトップ全体のスタイル*/
.pagetop {
    text-align: right;
    padding: 15px;
    background-color: #d3d6db96;
}
/*リストマーカーのスタイル*/
.pagetop a::after {
    content: "";
    background: url(../img/list-marker.svg)no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 3px 10px;
    transform: rotate(-90deg);
}

/* footer全体のスタイル */

.foot-area {
    color: #fff;
    text-align: center;
    padding-top: 40px;
    background-image: url(../img/3575283_m.jpg);
    background-size: cover;
    background-position: center center;
}
.foot-logo {
     margin: 0 auto 20px;
}
/*電話番号のスタイル*/
.text-phone,
.text-phone a {
    color: #10589c;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}
.foot-cm {
    font-size: 10px;
    text-align: center;
    margin-bottom: 5px;
}

/* 著作権表示のスタイル */
.foot-area_copy {
    color: #fff;
    font-size: 12px;
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #3a3d41;
}

/*PC用のスタイル*/
@media screen and (min-width: 768px){
    a[href^="tel:"] {
        pointer-events: none;
    }
}

/*診療時間テーブルのスタイル*/
.hyou table tr td {
	font-size: large;
	background-color: #FFF;
	text-align: center;
}
.hyou table tr th {
	font-size: medium;
	background-color: #bfd8e6;
	font-weight: normal;
    color: #333;
}
.hyou table {
	background-color: #71859a;
    margin: 0 ;
}
.hyou table caption {
	padding-bottom: 10px;
    background-color: #FFF;
}
.hyou-area {
    margin: 10px;
    padding: 5px;
}


/* medicalcare.html　診療内容のスタイル設定 */

.mv-area2 {
    width: 100%;
    height: 30vh;
    background-image: url(../img/medical2.jpg);
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}

/* h1のスタイル */
.mv-title2 {
    color: #10589c;
    text-shadow: 2px 2px 3px #fff;  /* 縦に2px　横に2px　ぼかし3px */
    font-size: 1.25em;
    margin-top:70px;   /*ヘッダーの高さ分、下に下げて位置を調整*/
} 

@media screen and (min-width:768px) {
    .mv-area2 {
        width: 100%;
        height: 300px;
    }

    .mv-title2 {
        margin-top: 90px;
        font-size: 1.5em;
    }
}

.check-item{
    margin: 5px 10px 0;
}
.check-item h2 {
    font-size: 20px;
    color: #10589c;
    margin: 0 0 10px;
}
.check-item h3 {
    font-size: 16px;
    margin: 0 0 10px;
    text-align: left;
}
.check-item ul {
    list-style: square;
    margin-left: 10px;
    margin-bottom: 20px;
}
.check-item li {
    font-size: 14px;
    margin-bottom: 5px;
}
.check-item p {
    font-size: 14px;
}
@media screen and (min-width:768px) {
    .check-item{
        margin: 5px 50px 0;
    }
    .check-item h2 {
        font-size: 24px;
        color: #10589c;
        margin: 0 0 10px;
    }
    .check-item h3 {
        font-size: 18px;
        margin: 0 0 10px;
        text-align: left;
    }
    .check-item ul {
        list-style: square;
        margin-left: 10px;
        margin-bottom: 20px;
    }
    .check-item li {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .check-item p {
        font-size: 16px;
    } 
    .check-img {
        padding: 20px 180px;
    } 
}

.vac-area {
    background-color: #d3d6dbb0;
}

.vac-item{
    margin: 5px 10px 0;
}
.vac-item h2 {
    font-size: 20px;
    color: #10589c;
    margin: 0 0 10px;
}
.vac-item h3 {
    font-size: 16px;
    margin: 0 0 10px;
    text-align: left;
}
.vac-item ul {
    list-style: square;
    margin-left: 10px;
    margin-bottom: 30px;
}
.vac-item li {
    font-size: 14px;
    margin-bottom: 5px;
}
.vac-item p {
    font-size: 14px;
}
@media screen and (min-width:768px) {
    .vac-item{
        margin: 5px 50px 0;
    }
    .vac-item h2 {
        font-size: 24px;
        color: #10589c;
        margin: 0 0 10px;
    }
    .vac-item h3 {
        font-size: 18px;
        margin: 0 0 10px;
        text-align: left;
    }
    .vac-item ul {
        list-style: square;
        margin-left: 10px;
        margin-bottom: 20px;
    }
    .vac-item li {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .vac-item p {
        font-size: 16px;
    } 
    .vac-img {
        padding: 20px 200px;
    } 
}

/* アクセスの追加スタイル */
.access-item {
    max-width: 900px;
    margin: 0 auto;
}
.access-txt h2 {
    font-size: 20px;
    color: #10589c;
    margin: 0 0 10px;
}
.access-txt p {
    font-size: 14px;
    margin-bottom: 30px;
}
@media screen and (min-width:768px) {
    .access-txt h2 {
        font-size: 24px;
        color: #10589c;
        margin: 0 0 10px;
    }
    .access-txt p {
        font-size: 16px;
        margin-bottom: 50px;
    }
}

/* 予防接種のスタイル設定 */

/* プランリスト(ul) */
.plan-content {
    display: flex;
    flex-direction: column;
}

/* プランアイテム(li) */
.plan-item {
    border: 3px solid #6195cc;
    border-radius: 10px;
    padding-bottom: 10px;
    margin-bottom: 30px;
}
.plan-info {
    padding: 0 15px 15px;
    font-size: 17px;
}
.plan-setsumei h2 {
    font-size: 18px;
}
.plan-setsumei p {
    font-size: 18px;
    padding: 0px 15px;
}
/* プラン名 */
.plan-title {
    font-size: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #10589c;
}
/* リスト */
.plan-list {
    font-size: 18px;
    padding-left:30px;
}

/* 予約ボタン */
.btn-yoyaku {
    padding: 9px 50px;
    line-height:1.4;
    border-radius:4px;
    background-color:#0073d9;
    font-family:Meiryo,'Hiragino Kaku Gothic Pro','MS PGothic';
    font-size:28px;
    text-align:center;
    color:#ffffff;
    text-decoration:none;
    margin-bottom: 30px;
    margin-top: 20px;
}
.btn-yoyaku2 {
    padding:9px 50px;
    line-height:1.4;
    border-radius:4px;
    background-color:#E85372;
    font-family:Meiryo,'Hiragino Kaku Gothic Pro','MS PGothic';
    font-size:28px;
    text-align:center;
    color:#ffffff;
    text-decoration:none;
    margin-bottom: 40px;
    margin-top: 50px;
}
.btn-yoyaku3 {
    padding:11px 50px;
    line-height:1.4;
    border-radius:4px;
    background-color:#009cad;
    font-family:Meiryo,'Hiragino Kaku Gothic Pro','MS PGothic';
    font-size:36px;
    text-align:center;
    color:#ffffff;
    text-decoration:none;
    margin-bottom: 15px;
    margin-top: 15px;
}
span {
    color: #E85372;
    font-weight: bold;
}

/* パソコン用予約接種スタイル設定 */

@media screen and (min-width:768px) {
   
    .plan-content {
        flex-direction: row;
    }
    /*リストを均等に配置する*/
    .plan-item {
        flex: 1;
        margin-top: 0;
        margin-left: 15px;
        margin-right: 15px;
    }
    .plan-setsumei p {
        padding: 5px 15px;
        margin: 0 40px;
    }
}

/* 「求人情報」のスタイル調整 */

/* 募集要項のスタイル設定 */

.rec-item {
    margin: 15px 20px 5px;
}

.rec-item dl{
    margin: 0 auto 50px;
} 
 
.rec-item dl dt{
    
    font-size: 16px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #6195cc;
}

.rec-item dl dd{
    margin-bottom: 16px;
    font-size: 16px;
}

.important {
    margin-bottom: 16px;
    font-size: 16px;
    color:mediumvioletred;
}

@media screen and (min-width: 768px){
    .rec-item{
        margin: 80px 80px 0;
    }
    
    .rec-item dl{
        max-width: 600px;
    }
    
    .rec-item dl dt{
        margin-bottom: 16px;
        padding-bottom: 8px;
        padding-left: 20px;
        font-size: 18px;
    }
    
    .rec-item dl dd{
        margin-bottom: 60px;
        margin-left: 150px;
        font-size: 18px;
    }
    .rec-hoka {
        text-align: right;
        font-size: 13px;
        max-width: 900px;
        margin: 0 auto;
        
    }
}

/* 募集内容と案内のスタイル設定 */

.i-jimu-item{
    margin: 5px 10px 0;
}
.i-jimu-item h2 {
    font-size: 20px;
    color: #10589c;
    margin: 0 0 10px;
}
.i-jimu-item h3 {
    font-size: 16px;
    margin: 0 0 10px;
    text-align: left;
}
.i-jimu-item ul {
    list-style: square;
    margin-left: 10px;
    margin-bottom: 20px;
}
.i-jimu-item li {
    font-size: 16px;
    margin-bottom: 5px;
}
.i-jimu-item p {
    font-size: 16px;
}
@media screen and (min-width:768px) {
    .i-jimu-item{
        margin: 5px 50px 0;
    }
    .i-jimu-item h2 {
        font-size: 24px;
        color: #10589c;
        margin: 0 0 10px;
    }
    .i-jimu-item h3 {
        font-size: 18px;
        margin: 0 0 10px;
        text-align: left;
    }
    .i-jimu-item ul {
        list-style: square;
        margin-left: 10px;
        margin-bottom: 20px;
    }
    .i-jimu-item li {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .check-item p {
        font-size: 16px;
    } 
    .i-jimu-img {
        padding: 30px 180px 20px;
    } 
}
.recruit {
    color: #10589c;
    font-size: 16px;
}

/* 応募・お問合せのスタイル設定 */

.work-area {
    background-color: #d3d6dbb0;
}

.work-content {
    margin: 20px;
}

.work-txt {
    margin-left: 10px;
}

.work-txt h2 {
    color: #10589c;
    font-size: 20px;
}
.work-txt p {
    text-align: center;
}
.work-img1 img {
    margin-bottom: 10px;
}

@media screen and (min-width: 768px){
    .work-content {
        margin: 0 auto;
        max-width: 1000px;
    }
    .work-txt {
        margin:0 50px;
        
    } 
    .work-img {
        padding: 20px 200px;
    }
    .work-img1 {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
    }
    .work-img1 img {
        margin: 5px 10px;
        display: block;
        max-width: 450px;
        flex: 1;
      }
}

/* 桜を表示するコンテナのスタイル */
.cherry-blossom-container {
    position: relative;
    height: 100%; /* コンテナの高さ */
    width: 100%; /* コンテナの横幅 */
    overflow: hidden; /* コンテナからはみ出した要素を隠す */
  }
  
  /* 桜の花びらのスタイル */
  .petal {
    position: absolute;
    background-color: #ffc0cb; /* 花びらの色 */
    border-radius: 150% 0 150% 0;
    animation: animate-petal 10s linear;
  }
  
  .petal::after {
    content: "";
    position: absolute;
    top: -14%;
    left: -10%;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #ffc0cb;
    border-radius: 150% 0 150% 0;
    transform: rotate(15deg);
  }
  
  /* 花びらが降るアニメーション */
  @keyframes animate-petal {
    0% {
      top: 0;
      opacity: 0;
      transform: rotate(0deg);
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      top: 100vh;
      transform: rotate(3000deg);
    }
  }