@charset "utf-8";

html{
  scroll-behavior: smooth;
}

body{
    background-color: #efefef;
}

/* img画像のフルード化 */
img{
    border: 0;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}


/* .header-title{
    margin: 0 auto;
    height: 80px;
} */

.header-title{
  display: none;
}

/* =====ハンバーガーメニュー======== */
.h-menu-content {
    max-width: 940px;
    width: 100%;
    height: 80px;
    padding: 0;
    top: 0;
    margin: 0 auto;
    /* padding-left: 20px;
    padding-right: 20px; */
  }
  
/* グローバルナビ */
.gnav {
    margin: 0;
    top: 0;
    width: 100%;
  }
  
  .gnav ul {
    display: flex;
  }
  
  .gnav li {
    display: inline-block;
    /* width: calc(100% / 3); */
    width: calc(100% / 2);
    height: 100px;
  }

  .gnav li a {
    box-sizing: border-box;
    display: block;
    padding: 20px;
    background-color: #0099e6;
    color: #ffffff;
    font-size: 20px;
    border: 1px solid #ffffff;
    text-align: center;
    text-decoration: none;
    transition: 0.7s;
  }

  
  .gnav .gnav-logo a{
    border: none;
    border-radius: 50%;
    font-size: 24px;
  }
  
  .gnav li a:hover {
    background: #ffffff;
    /* color: #0099e6; */
    border: 1px solid #0099e6;
    
  }
  
  .gnav .gnav-logo a:hover{
    color: #0099e6;
  }
  
/* ====CSS　ホバー時文字変更========= */
.switch_text {
  display: inline-block;
  position: relative;
  /* color: #ffffff; */
  transition: 0.5s;
}

.switch_text::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: transparent;
  text-align: center;
  white-space: nowrap;
  transition: 0.5s;
  content: attr(data-hover-text);
}

.switch_text:hover {
  color: transparent;
}

.switch_text:hover::before {
  /* color: #ffffff; */
  color: #0099e6;

}

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

.container{
    width: 100%;
    max-width: 940px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.flex{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.flex-title{
    font-weight: bold;
    font-size: larger;
}

.s-title{
    font-size: 25px;
    margin-top: 20px;
}



.signboard,
.site,
.flyer,
.logo{
    /* width: 48.9361%; */
    width: 45%;
    /* width: calc(100% / 2); */
    height: auto;
    padding: 10px;
    border: 1px dotted #000000;
}

.big-sign{
    width: 70%;
}

.signboard p,
.site p,
.flyer p,
.logo p{
    margin: 10px;
}


.flyer img,
.logo img{
    width: 70%;
    height: auto;
    margin: 0 auto;
}



/* 自己紹介 */
.profile-img{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px solid #5cb8e6;
}

.profile-list{
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    margin-left: 15px;
}

.profile-list dt,
.profile-list dd{
    padding: 10px 0;
    border-top: 1px dotted #0099e6;
}

.profile-list dt{
    width: 30%;
}

.profile-list dd{
    width: 70%;
}

.profile-list :first-of-type{
    border-top: none;
}

/* デザインをやりたい理由 */
.design-reason{
  font-size: 19px;
  line-height: 1.8;
}

/*===pagetop===*/
.pagetop {
    width: 45px;
    height: 45px;
    position: fixed;
    right: 10px;
    bottom: 70px;
  }
  
  .pagetop a {
    display: block;
    width: 45px;
    height: 45px;
    padding-top: 10px;
    box-sizing: border-box;
    background: #0099e6;
    border-radius: 50%;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    color: #000000;
  }
  
  .pagetop a::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: auto;
    border-top: 1px solid #000000;
    border-right: 1px solid #000000;
    transform: rotate(-45deg);
  }
  
  .pagetop a:hover {
    background: #5cb8e6;
    color: #ffffff;
  }
  

.footer-aisatsu{
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

.copyright{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Javascript */
#modDay {
  display: flex;
  justify-content: right;
  font-size: 1.5rem;
  letter-spacing: 0.04rem;
  align-items: center;
}
#modDay span {
  background: #313131;
  line-height: 1.2;
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 3px;
  color: #eee;
}



/* ===========768px以下のデバイス用 スマホ用===========*/
@media screen and (max-width: 768px) {

      /*===== ヘッダー======= */
      .header-title{
        display: inline;
      }
      
  /* グローバルナビ ===========*/
  /* ハンバーガーメニュー======各ページ共通============== */
  /*三本線実装部分のcss①
----------------------*/
.menu-btn {
    position: fixed;
    top: 0px;  
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0099e6;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
  }
  
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    position: absolute;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
  }
  .menu-btn span:before {
    bottom: 10px;
  }
  .menu-btn span:after {
    top: 10px;
  }
  
  /*三本線を「×」にするcss②
  ----------------------*/
  #menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
  }
  
  #menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  
  /* チェックボックスを隠すcss③ media andの外に記載済み
  ----------------------*/
    
  /*ここからメニューの装飾css④
  -------------------------------*/
  .h-menu-content {
    width: 75%;
    height: 100%;
    padding: 50px 20px 0;
    top: 0;
    right: 0;
    z-index: 2;
  }
  
  .gnav ul{
    display: block;
  }
  
  .h-menu-content li {
    display: block;
    width: 50%;
    height: 80px;
    list-style: none;
  }
  .h-menu-content li a {
    box-sizing: border-box;
    width: 100%;
    height: 80px;
    position: relative;
    border: none;
    border-bottom: 2px solid #ffffff;
  }
  
  .gnav .gnav-logo a{
    border-radius: 0%;
    font-size: 20px;
    border: 1px solid #ffffff;
  }
  
  
  
  /*メニュー部分タップするとメニューが開く⑤
  -------------------------------*/
  .h-menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 2;
    /* background-color: #c77777; */
    background-color: #0099e6;
    transition: all 0.5s;/*アニメーション設定*/
  }
  
  #menu-btn-check:checked ~ .h-menu-content {
    left: 25%;
  }
  
  /* ハンバーガーメニュー=ここまで=================== */
  
  .main{
    margin-top: 80px;
  }

    .container{
        width: 90%;
        padding-right: 0;
        padding-left: 0;
        margin: 0 auto;
    }
    
    .header-title{
        width: 50%;
    }
    
    .flex{
        display: block;
        margin: 0 auto;
        padding: 0;
    }

    .signboard,
    .site,
    .flyer,
    .logo{
        width: 80%;
        padding: 0;
        margin: 0 auto;
    }

    .profile-img{
        margin-left: 20px;
    }

    .profile-list{
        width: 90%;
    }

    /* Javascript */
#modDay {
  font-size: 1.2rem;
}
#modDay span {
  line-height: 1.0;
}

    
}

/*チェックボックスを隠すcss③ media andの外に書く
----------------------*/
#menu-btn-check {
    display: none;
  }


  