/* 
<style> */
  @charset "utf-8";
  /* color */
  :root {
    /* 書体 */
    --theme-font-family-sans-serif: "Noto Sans JP", sans-serif;
    /* カラー */
    /* ピンク */
    --theme-pink-color: #ca518b;
    --theme-lightpink-color: #ff7bac;
    /* グリーン */
    --theme-green-color: #009975;
    /* イエロー */
    --theme-lightyellow-color: #f8f6ef;
  }
  body {
    font-family: var(--theme-font-family-sans-serif);
    line-height: 1.8;
  }
  img {
    max-width: 100% !important;
  }
  h1 {
    font-weight: 700 !important;
  }
  h1,h2,h3,h4 {
    font-family: "Zen Maru Gothic", serif;
    /* Zen Maru Gothicを優先 */
  }
  /*==================================================
  bootstrap クラスを変更
  ===================================*/
  .container,
  .container-fluid,
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm {
    padding-left: 24px;
    /* デフォルトは12px */
    padding-right: 24px;
    /* デフォルトは12px */
  }
  a {
    color: #333;
    text-decoration: none;
  }
  a:hover {
    color: #333;
  }
  .text-danger {
    color: var(--theme-pink-color) !important;
  }
  .text-pink {
    color: var(--theme-lightpink-color) !important;
  }
  .bg-danger {
    background-color: var(--theme-pink-color) !important;
  }
  .text-success {
    color: var(--theme-green-color) !important;
  }
  .bg-success {
    background-color: var(--theme-green-color) !important;
  }
  .bg-pink {
    background-color: var(--theme-lightpink-color) !important;
  }
  .bg-lightyellow {
    background-color: var(--theme-lightyellow-color) !important;
  }
  .rounded-4 {
    border-radius: .5rem !important;
  }
  .rounded-5 {
    border-radius: .75rem !important;
  }
  .btn {
    border-radius:0.5rem;
  }
  /*==================================================
  ヒーローエリア
  ===================================*/
  .bg-heroarea {
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
  }
  .bg-heroarea:before {
    content: "";
    position: absolute;
    top:0;
    left:0;
    z-index: -1;
    border-radius: 0 0 50% 50% / 0 0 10% 10%;
    width: 120%;
    height: 100%;
    margin-left: -10%;
    background: url('https://www.jiaikai.or.jp/obstetrics/design/default/files/img/design/main.jpg') center center / cover no-repeat;
  }
  @media screen and (min-width: 992px) {
    .bg-heroarea {
      padding: 16rem 0 8rem;
    }
    .bg-heroarea:before {
      border-radius: 0 0 50% 50% / 0 0 20% 20%;
    }
  }
  /*==================================================
  header : container
  ===================================*/
  #header {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    overflow: hidden;
  }
  #header.hidden {
    transform: translateY(-100%);
    opacity: 0;
  }
  #header.visible {
    transform: none;
    /* translateY(0) */
    opacity: 1;
  }
  #header .container-fluid {
    padding-left: 12px;
    padding-right: 0px;
  }
  @media screen and (min-width: 992px) {
    #header .container-fluid {
      padding-right: 12px;
    }
  }
  /*==================================================
  header : ロゴ
  ===================================*/
  #header .logo {
    max-width:240px;
    max-height:32px;
  }
  @media screen and (min-width: 992px) {
    #header .logo {
      max-height:45px;
    }
  }
  /*==================================================
  header : 電話番号
  ===================================*/
  .box-phone {
    font-size: 0.7rem !important;
    line-height: 0.8rem;
  }
  .box-phone .text-phone {
    font-size: 1rem !important;
  }
  @media screen and (min-width: 992px) {
    .box-phone {
      font-size: 0.8rem !important;
      line-height: 1rem;
    }
    .box-phone .text-phone {
      font-size: 1.25rem !important;
    }
  }
  /*==================================================
  グローバルナビ
  ===================================*/
  #header-navi a.active, #header-navi a:hover,
  #footer-navi a.active, #footer-navi a:hover {
    border-bottom : var(--theme-pink-color) 3px solid;
    border-radius: 0;
  }
  /*==================================================
  home : メインナビエリア : 装飾ボタン
  ===================================*/
  .mainnaviarea {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    overflow: hidden !important;
    background: url('https://www.jiaikai.or.jp/obstetrics/design/default/files/img/design/bg-theme-1%402x.png') top center / cover no-repeat;
  }
  @media screen and (min-width:992px) {
    .mainnaviarea {
      background: none;
    }
  }
  /* 円エリア正方形を維持 */
  .btn-box-square {
    position: relative !important;
    display: block !important;
    padding-top: 100%;
  }
  /* 円の形を維持 */
  .btn-flex-circle {
    position: absolute !important;
    z-index: 1;
    top: 0;
    left: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50rem !important;
  }
  /* 円の後ろドロップシャドウ */
  .btn-flex-circle.shadow-danger {
    box-shadow: 8px 8px 0 var(--theme-pink-color);
  }
  .btn-flex-circle.shadow-success {
    box-shadow: 8px 8px 0 var(--theme-green-color);
  }
  /* 円の中の画像 */
  .btn-flex-circle.circle-image-1 {
    background: linear-gradient(rgba(242, 242, 242, 0.2), rgba(242, 242, 242, 0.2)),url('https://www.jiaikai.or.jp/obstetrics/design/default/files/img/design/top001.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 160%;
    transition: background-size 5s ease;
  }
  .btn-flex-circle.circle-image-1:hover {
    background-size: 200%;
  }
  .btn-flex-circle.circle-image-2 {
    background: linear-gradient(rgba(242, 242, 242, 0.2), rgba(242, 242, 242, 0.2)),url('https://www.jiaikai.or.jp/obstetrics/design/default/files/img/design/top002.jpg');
    background-position: 0 center;
    background-repeat: no-repeat;
    background-size: 160%;
    transition: background-size 5s ease;
  }
  .btn-flex-circle.circle-image-2:hover {
    background-size: 200%;
  }
  .btn-flex-circle.circle-image-3 {
    background: linear-gradient(rgba(242, 242, 242, 0.3), rgba(242, 242, 242, 0.3)),url('https://www.jiaikai.or.jp/obstetrics/design/default/files/img/design/top003.jpg');
    background-position: center 1%;
    background-repeat: no-repeat;
    background-size: 180%;
    transition: background-size 5s ease;
  }
  .btn-flex-circle.circle-image-3:hover {
    background-size: 200%;
  }
  /*==================================================
  各ページ：見出し
  ===================================*/
  .page-header {
    position: relative;
    overflow: hidden;
  }
  /* 妊婦写真のテキスト */
  .page-header-text {
    position: relative;
    z-index:1;
  }
  /* 妊婦写真のコンテナ */
  .page-header-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    height: 100%;
    overflow: hidden;
  }
  /* 画像（お腹部分にフォーカス） */
  .page-header-image img {
    position: absolute;
    height: 200%;
    top: -70%;
    right: -10%;
    object-fit: cover;
  }
  /* 円形グラデーションマスク */
  .page-header-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100%, rgba(255, 123, 172, 0) 60%, rgba(255, 123, 172, 1) 75%);
    z-index: 0;
  }
  @media screen and (min-width: 992px) {
    .page-header-image img {
      height: 300%;
      top: -130%;
    }
    .page-header-image::after {
      background: radial-gradient(circle at 100%, rgba(255, 123, 172, 0) min(220px, 45%), rgba(255, 123, 172, 1) min(240px, 60%));
    }
  }
  /* 出産ページのコンテナ */
  .page-header-image-2 {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    overflow: hidden;
  }
  /* 画像（足部分にフォーカス） */
  .page-header-image-2 img {
    position: absolute;
    height: 140%;
    top: -20%;
    right: -15%;
    object-fit: cover;
  }
  /* 円形グラデーションマスク */
  .page-header-image-2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100%, rgba(0, 153, 117, 0) 60%, rgba(0, 153, 117, 1) 75%);
    z-index: 0;
  }
  @media screen and (min-width: 992px) {
    .page-header-image-2 {
      width: 30%;
      height: 100%;
      overflow: hidden;
    }
    .page-header-image-2 img {
      height: 150%;
      top: -30%;
      right: -20%;
    }
    .page-header-image-2::after {
      background: radial-gradient(circle at 100%, rgba(0, 153, 117, 0) min(220px, 45%), rgba(0, 153, 117, 1) min(240px, 60%));
    }
  }
  /* 産後ページのコンテナ */
  .page-header-image-3 {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    overflow: hidden;
  }
  /* 画像（足部分にフォーカス） */
  .page-header-image-3 img {
    position: absolute;
    height: 140%;
    top: -20%;
    right: -15%;
    object-fit: cover;
  }
  /* 円形グラデーションマスク */
  .page-header-image-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100%, rgba(255, 123, 172, 0) 60%, rgba(255, 123, 172, 1) 75%);
    z-index: 0;
  }
  @media screen and (min-width: 992px) {
    .page-header-image-3 {
      width: 30%;
      height: 100%;
      overflow: hidden;
    }
    .page-header-image-3 img {
      height: 150%;
      top: -30%;
      right: -20%;
    }
    .page-header-image-3::after {
      background: radial-gradient(circle at 100%, rgba(255, 123, 172, 0) min(220px, 45%), rgba(255, 123, 172, 1) min(240px, 60%));
    }
  }
  /*==================================================
  テーブルの装飾
  ===================================*/
  .table-theme-lightpink {
    background-color: #FFF;
    border-color: var(--theme-lightpink-color);
  }
  .table-theme-lightpink th,
  .table-theme-lightpink td {
    border-bottom-width: 0;
    border-right-width: 1px;
  }
  .table-theme-lightpink th:last-child,
  .table-theme-lightpink td:last-child {
    border-right-width: 0;
  }
  .table-theme-lightpink tr {
    border-bottom-width: 1px;
  }
  .table-theme-lightpink tr:last-child {
    border-bottom-width: 0;
  }
  /*==================================================
  医師紹介
  ===================================*/
  .FID2120 {
    border-top: var(--theme-lightpink-color) 1px solid;
    border-bottom: var(--theme-lightpink-color) 1px solid;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }
  /*==================================================
  アコーディオン：妊婦健診のスケジュール
  ===================================*/
  #accordion_4007 .accordion-item {
    border: var(--theme-lightpink-color) 1px solid;
    border-radius: 1rem;
  }
  #accordion_4007 .accordion-item .accordion-button {
    border-radius: calc(1rem - 1px);
  }
    /*==================================================
  アコーディオン：よくある質問
  ===================================*/
  .accordion-header{
    font-family:"Noto Sans JP", sans-serif;
  }
  
  /*==================================================
  5-2-6 3本線が回転して×に
  ===================================*/
  /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
  .openbtn{
    z-index: 99999;
    position: relative;
    /*ボタン内側の基点となるためrelativeを指定*/
    background: var(--theme-lightpink-color);
    cursor: pointer;
    width: 50px;
    height:50px;
  }
  /*ボタン内側*/
  .openbtn span{
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
    width: 45%;
  }
  .openbtn span:nth-of-type(2) {
    top:23px;
    width: 35%;
  }
  .openbtn span:nth-of-type(3) {
    top:31px;
    width: 20%;
  }
  /*activeクラスが付与されると線が回転して×になる*/
  .openbtn.active {
    background: var(--theme-lightpink-color);
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
  }
  /*==================================================
  機能編 5-1-16　クリックしたら円形背景が拡大（上から）
  ===================================*/
  /*アクティブになったエリア*/
  #g-nav.panelactive{
    position:fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width:100%;
    height: 100vh;
  }
  /*丸の拡大*/
  .circle-bg{
    position: fixed;
    z-index:3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #F4FAFF;
    /*丸のスタート位置と形状*/
    transform: scale(0);
    /*scaleをはじめは0に*/
    top:-50px;
    left:calc(50% - 50px);
    /*50%から円の半径を引いた値*/
    transition: all .6s;
    /*0.6秒かけてアニメーション*/
  }
  .circle-bg.circleactive{
    transform: scale(50);
    /*クラスが付与されたらscaleを拡大*/
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav-container{
    display: none;
    /*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  #g-nav.panelactive #g-nav-container{
    display: block;
    /*クラスが付与されたら出現*/
  }
  /*ナビゲーション*/
  #g-nav ul {
    opacity: 0;
    /*はじめは透過0*/
  }
  /* 背景が出現後にナビゲーションを表示※レイアウトによって調整してください。不必要なら削除*/
  #g-nav.panelactive ul{
    animation-name:gnaviAnime;
    animation-duration:1s;
    animation-delay:.2s;
    /*0.2 秒遅らせて出現*/
    animation-fill-mode:forwards;
    opacity:0;
  }
  @keyframes gnaviAnime{
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  /* fadeInUpの動きを小さく */
  .animate__fadeInUp {
    animation-name: fadeInUpSmall;
  }
  @keyframes fadeInUpSmall {
    from {
      opacity: 0;
      transform: translate3d(0, 25%, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
