body {
  background-color: #1B262C;
  color: #C7EEFF;
  font-family: "Ryumin Bold KL", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
}

img {
  height: auto;
  max-width: 100%;
}

/*--------------------------------
レイアウト
---------------------------------*/

.wrapper {
  margin: 0;
  padding: 0;
}

/*--------------------------------
loading
---------------------------------*/

.loading {
  background: #1B262C;
  height: 100vh;
  left: 0px;
  position: fixed;
  top: 0px;
  width: 100vw;
  z-index: 9999;
}

.animation {
  color: #C7EEFF;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.animation,
.animation:after ,
.animation:before {
  animation: load 1s infinite ease-in-out;
  background: #C7EEFF;
  height: 4em;
  width: 1em;
}

.animation:after ,
.animation:before {
  content: '';
  position: absolute;
  top: 0;
}

.animation {
  animation-delay: -0.16s;
}

.animation:after {
  left: 1.5em;
}

.animation:before {
  animation-delay: -0.32s;
  left: -1.5em;
}

@keyframes load {

  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }

  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  background-color: #4D6DE3;
  font-size: 30px;
  font-weight: bold;
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 15px 0px;
  margin-left: 40px;
  margin-right: 40px;
}

.gnav-list li {
  text-align: center;
}

.gnav-list a {
  color: #C7EEFF;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  position: relative;
}

.mv img {
  width: 100%;
}

.mv h1 {
  backdrop-filter: blur(3px);
  color: #C7EEFF;
  font-family: "Maru Folk Heavy", sans-serif;
  /*font-size: 70px;*/
  font-size: 8vw;
  font-style: italic;
  font-weight: bold;
  left: 20px;
  line-height: 0.8em;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100px;
  text-shadow: 1px 2px 3px black;
  -webkit-text-stroke: 0.5px black;
  -webkit-backdrop-filter: blur(3px);
}

.mv span {
  font-size: 40px;
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  background-color: #4D6DE3;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  margin: 20px 0;
  padding: 15px 0;
  text-align: center;
  width: 100%;
}

/*--------------------------------
 About
---------------------------------*/

.about {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 767px;
}

.about-img {
  width: 20%;
  margin: auto 0;
}

.about-img img{
  border-radius: 50%;
}

.about-body {
  flex: 1;
  padding: 0px 20px;
}

.about-body p {
  font-size: 15px;
  line-height: 1.8;
}

.about-body p:not(:last-child) {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

/*--------------------------------
 Works
---------------------------------*/

/*ラジオボタンを全て非表示に*/
input[name="tab-radio"] {
  display: none;
  }
  
/* 選択されたタブの見た目 */
input:checked + h3 > .tab-label{
background-color: #4D6DE3!important;
color: #C7EEFF!important;
opacity: 1.0;
transition: .3s;
}

.panel-a h4 {
  background-color: #4D6DE3 ;
  color:  #C7EEFF;
  font-size: 24px;
  margin: 20px 20%;
  padding: 2px;
  text-align: center;
}

.panel-a p {
  padding: 0 10%;
  text-align: left;
}

.panel-b {
  height: 170px;
}

.panel-c div{
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  height: 170px;
}

.panel-c button {
  background-color: #4D6DE3 ;
  border-radius: 30px;
  color:  #C7EEFF;
  font-size: 18px;
  font-weight: bold;
  height: 80px;
  margin: 0 1.3%;
  text-align: center;
  vertical-align: middle;
  width: 30%;
}

.button-close {  
  background-color: #4D6DE3;;
  border-radius: 20rem;
  cursor: pointer;
  color: #C7EEFF;
  margin: auto;
  padding: 1em;
  width: 200px;
}

.close-button {
  display: flex;
}

.no_scroll {
  overflow: hidden;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 10;
}

.real-estate h4 {
  color: #4D6DE3;
  font-weight: bold;
}

.real-estate-detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.real-estate-detail div {
  width: 30%;
}

.real-estate-modal{
  background-color: #C7EEFF;
  border-radius: 5px;
  display: none;
  left: 50%;
  max-width: 767px;
  padding: 2rem;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  z-index: 11;
}

.programming-modal{
  background-color: #C7EEFF;
  border-radius: 5px;
  display: none;
  left: 50%;
  max-width: 767px;
  padding: 2rem;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  z-index: 11;
}

.programming-menu {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
}

.programming-icon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  width: 30%;
}

.programming-icon img{
  height: auto;
  width: 90%;
}

.programming-icon p{
  height: 50%;
  font-size: 12px;
  margin: 0;
  width: 100%;
}

.programming h4 {
  color: #4D6DE3;
  font-weight: bold;
  text-align: center;
}

.programming-menu{
  display: flex;
  justify-content: space-around;
  width: 100%;
}

/* 選択されているチェックボックスに応じてパネルを表示 */
#tab-a:checked ~ .panel-a,
#tab-b:checked ~ .panel-b,
#tab-c:checked ~ .panel-c{
display: block;
}

/*タブを横並びに*/
.tab-label {
  display: block;
  float: left;
  padding: 0;
  width: 33.3%;
}

.tab-label{
  background-color: #4D6DE3;
  color: #C7EEFF;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.3;
  padding: 10px 0px;
  text-align: center;
  transition: .3s;
  }
  
.tab-label:hover{
  opacity: 1.0!important;
  }

.tab-label-heading:not(:last-of-type) .tab-label{
margin-right: 0.05%!important;
}

.tab-panel{
background-color: #C7EEFF;
clear: both;
display: none; /*パネルを非表示*/
}

.tab-panel {
  background-color: #C7EEFF;
  clear: both;
  display: none; /*パネルを非表示*/
}

.works {
  max-width: 767px;
  margin: 0 auto;
}

.works p{
  color: #4D6DE3;
}

.writing_works{
  padding: 10px 0;
}

/*--------------------------------
 Profile
---------------------------------*/

.profile {
  max-width: 767px;
  margin: 0 auto;
}

.profile h3{
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}

.profile p{
  line-height: 1.8;
}

dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

dl dt{
  font-size: 20px;
  text-align: right;
  width: 8.5em;
  padding: 0.5em 1.0em 0.5em 0.5em;
  position: relative;
}

dl dt::after{
  content: '⚫︎';
  position: absolute;
  right: -0.55em;
  top: 5px;
  font-size: 24px;
  color: #4D6DE3;
}

dl dd{
  width: calc(100% - 17.5em);
  padding: 0.5em 2.0em 3.0em;
  border-left: 2px solid #C7EEFF;
  margin: 0;
}

dl dd h4{
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 5px;
}

.qualification {
  max-width: 767px;
  margin: 0 auto;
}

.qualification h3{
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}

.qualification-table {
  border-collapse: collapse;
  width: 100%;
}

.qualification-table th, 
.qualification-table td {
  border-bottom: 2px solid #4D6DE3;
  padding: 1em;
  text-align: center;
}
.qualification-table th {
  font-weight: bold;
  min-width: 5rem;
}

/*--------------------------------
 Contact
---------------------------------*/

.contact {
  max-width: 767px;
  margin: 0 auto;
}

.contact details {
  margin: 10px;
}

.form-element {
  margin-top: 10px;
  margin-bottom: 10px;
}

.form-element input {
  width: 50%;
}

.form-element textarea {
  width: 100%;
  height: 100px;
}

.form-element label {
  display: flex;
}

.form-element .submit {
  width: 100px;
}

/*--------------------------------
 THANKS
---------------------------------*/

.thanksanimation {
  display:flex;
  justify-content: center;
  margin: 0 auto;
}

.thanksanimation p {
  animation: thanksanimation 1.0s forwards;
  animation-iteration-count: infinite;
  font-size: 48px;
}

.thanksanimation p:nth-child(1) {
  animation-delay: 0.1s
}

.thanksanimation p:nth-child(2) {
  animation-delay: 0.2s
}

.thanksanimation p:nth-child(3) {
  animation-delay: 0.3s
}

.thanksanimation p:nth-child(4) {
  animation-delay: 0.4s
}

.thanksanimation p:nth-child(5) {
  animation-delay: 0.5s
}

.thanksanimation p:nth-child(6) {
  animation-delay: 0.6s
}

.thanksanimation p:nth-child(7) {
  animation-delay: 0.7s
}

@keyframes thanksanimation {
  0% {
    transform: translateY(0);
  }  
  
  10%{
    transform: scale(1.2);
  }
  
  50%{
    transform: translateY(-1rem);
  }
  
  100% {
      transform: translateY(0);
  }
}



.thanks {
  max-width: 767px;
  margin: 0 auto;
}

.thanks p {
  margin: 0 auto;
  text-align: center;
}

/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  text-align: center;
  background-color: #F1FCFD;
}

.page-top img {
  width: 3%;
  border-radius: 50%;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 10px;
  text-align: center;
  background-color: #4D6DE3;
}

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 12px;
  }

  /*  ヘッダー */
  .header {
    font-size: 15px;
  }

  .gnav-list {
    margin-left: 20px;
    margin-right: 20px;
  }

  /*  メインビジュアル */
  .mv h1 {
    top: 75px;
    padding: 0;
    margin: 0;
    line-height: 0.8em;
  }

  .mv span {
    font-size: 18px;
  }

  /* 見出し */
  .title {
    font-size: 18px;
  }
  
  /* About */
  .about {
    display: block;
  }

  .about-img {
    width: 150px;
    margin: 0 auto;
  }

  .about-body p:not(:last-child) {
    font-size: 18px;
  }

  /* Works */  
  .tab-label{
    font-size: 14px;
  }
  
  .writing_works h4{
    font-size: 14px;
  }
  
  .programming-icon p{
    font-size: 9px;
  }
  
  .panel-c button {
    font-size: 14px;
  }
  
  /* Profile */
  dl dt{
    width: 6.5em;
  }

  /* contact */
  .contact-list img {
    width: 10%;
  }
}