:root{
  --base-color:#8fd1ef;
  --base-color-night:#000000;
  --front-color:#000000;
  --front-color-night:#ffff;
  --line-color:#f8f8ff;
  --line-color2:#b0c4de;
  --blog-title-color:#b0c4de;
  --footer-color:#00a1e9;
  --footer-color-night:#1f2971;
  --point-color:#ea5550;
  --search-submit:url(../img/search.png)
}

body{
    background-color: var(--base-color);
    color:#f7f6f5;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    margin: 0;
    padding: 0;
 

  }

html{
    scroll-behavior: smooth;
  }


header{
  position: fixed;
  z-index: 98;
  top: 0;
  width: 100%;
  transition: top 0.3s;
  -webkit-transition: top 0.3s;
}

.header-hidden {
  top: -140px; /* ヘッダーの高さに応じて調整してください */
  -webkit-top:-140px;
}

footer{
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color:var(--footer-color);
}

footer p{
  text-align: center;
  padding-bottom: 0.5rem;
  font-weight: 600;
}

h3{
    font-weight: 600;
    margin: 0.5rem 0 0.5rem 0;
}

tbody{
  color: var(--base-color-night);
}


.pagetitle {
  font-size: 1.5rem;
}

 .wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1%;
  } 
  
  .top-visual{
    height: 100vh; 
    overflow-x: hidden; /* 横方向のオーバーフローを非表示にする */
  }


  .main-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
  }
  
  .top-image,
  .top-image-anima {
    position: absolute;
    top: 0;
  }

  .top-logo{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-top: 0.5rem;

  }

  .top-logo p{
    padding-left: 2rem;
  }

  .catchphrase{
    position: absolute;
    top:6rem;
    left: 12%;
  }

  .responsive-image {
    max-width: 100%;
    height: auto;
  }

  .top-image img,
  .top-image-anima img{
    height: 100vh;
    overflow-x: hidden; /* 横方向のオーバーフローを非表示にする */
  }

  .hide {
    display: none;
  }

  .menu{
    width: 100%;
    position: absolute;
    top: 30%;
  }


  .main-menu{
    position: relative;
    display: flex;
    font-weight: bold;
    font-size: 1.2rem;

  }


  .about{
    position: absolute;
    left: 0%;
  }

  .service{
    position: absolute;
    left: 20%;
  }

  .works{
    position: absolute;
    left: 40%;
  }

  .blog{
    position: absolute;
    left: 60%;
  }

  .contact{
    position: absolute;
    left: 80%;
  }

  .mobile-menu{
    display: none;
    font-weight: bold;
    font-size: 0.8rem;
    margin-top: 0.5rem;
  }

  .container{
    display: flex;
    flex-wrap:wrap;
    align-items: start;
    justify-content:space-between;
  }

  .title-property{
    font-weight: bold;
    text-align: center;
    margin: 2rem 0 2rem 0;
    font-size: 2rem;
  }

  .title-property2{
    font-weight: bold;
    text-align: start;
    margin: 1rem 0 1rem 0;
    font-size: 2rem;
  }

  .text-property{
    font-weight:500;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0.5rem 0 0 0;
  }

  .kadomaru{
    border-radius: 5%;
  }

  .sub-title-property{
    font-weight: 600;
    text-align: center;
    font-size: 1.3rem;
  }

  .sub-title-text{
    font-weight:500;
    margin: 0 0 1rem 0;
  }

  .service_container{
    text-align: center;
    margin-bottom: 1rem;
    padding-right: 1rem;
    width: 32.5%;
    height: 22rem;
  }

  .service_container img {
    width: 120px;
  }

  .service_container:nth-child(1),
  .service_container:nth-child(2) {
  border-right: 1.2px dashed #f8f8ff ;
  }

  .service_container .text-property {
    text-align: start;
  }

  #service{
    padding-bottom: 2rem;
  }

  .work-container {
    position: relative;
    height: 300px;
    width: 328px;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 3%;
    border:0.2px solid #b0c4de;
  }

  .work-photo{
    width: 100%;
    height: 100%;
  }

  .work-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    
  }

  .work-title{
    display: flex;
  }

  .work-title a {
    padding: 7px 0 0 5px;
}

  .icon-mark {
    position: absolute;
    top:20px;
    left:5px;
  }

  .icon-mark img{
    width: 120px;
  }

  #works{
    padding-bottom: 2rem;
  }

  .blog-title{
    position: absolute;
    top: 0;
    background-color: #b0c4de;
    padding: 0.5rem 0.5rem 0 0.5rem;
    border-radius: 3%;
    width: 100%;
    font-size: 0.9rem;
    height: 1.9rem;

  }

  .topup{
    text-align: center;
    font-size: 1.5rem;
    margin: 2rem 0 6rem 0;
  }

  .privacy{
    font-size: 0.7rem;
  }

  .footer-property{
    display: flex;
    justify-content:space-evenly;
    padding: 0.5rem 0 0.3rem 0;
    font-weight: 600;
  }
 
  .content-hi{
    margin-top: 9rem;
    margin-bottom: 6rem;
  }

  .content-single{
    margin-top: -1rem;
    margin-bottom: 2rem;
  }



  .header-menu{
    display: flex;
    justify-content:start;
    padding: 0 0 0.5rem 0;
    font-weight: 600;

  }

  .header-menu p{
    margin: 0 3rem 0 3rem;
  }

  label{
    display: block;
    margin-bottom: 0.5rem;
  }

  textarea{
    resize:none;
  }


  #company_name,#your_name,#email,#phone,#inquiry,.phonefield {
    border: 0.5px solid var(--front-color-night);
    height: 2rem;
    width: 20rem;
    padding-left: 0.3rem;

  }

  #inquiry {
    border: 0.5px solid var(--front-color-night);
    height: 4rem;
    width: 40rem;
    padding-left: 0.3rem;

  }

  .company_name{
    margin-top: 2rem;
  }

  .your_name,.email,.phone,.inquiry{
    margin-top: 1.2rem;
  }

  .your_name span,.email span,.inquiry span{
    margin-left: 0.5rem;
    padding: 0 0.2rem 0 0.2rem;
    background-color:var(--point-color);
    font-size: 0.8rem;

  }

  .submit-button{
    background-color: var(--footer-color  );
    border: 0.5px solid var(--blog-title-color);
    font-size: 1.5rem;
    margin: 1.2rem 0 3rem 0;
    width: 20rem;
    height: 3.5rem;
    position: relative;
    box-shadow: 0 3px #7d7b83;
    display: inline-block;
    top:-2px;
    text-align: center;

  }

  .submit-button:hover{
    top:1px;
    box-shadow: 0 1px #7d7b83;
   
  }

  .work-photo-box{
    display: flex;
    justify-content:space-between;
    width: 100%;
    overflow-y: hidden;
    margin-bottom: 0.5rem;

  }

  .work-photo-box img {
    width: 48%;

  }

  .blog-photo-box img{
    width: 100%;
  }


  .pagination {
    text-align:center;
  }

  .page-number{
    font-size: 1rem;
    margin: 0 1rem 0 1rem;
  }

  .current{
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 1rem 0 1rem;

  }

  .blog-text{
    margin-bottom: 1rem;
  }

  .contents-area{
    min-height: 70vh;
  }

  .text-contents-area p{
    line-height: normal;
    padding: 0 0.5rem 0 0.5rem;

  }

  .text-contents-area h3{
    padding: 0 0.5rem 0 0.5rem;
    font-size: 1.3rem;
  }


  .work-detail{
    display: flex;
  }

  .work-detail li{
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    
  }

  .notfound a{
    font-weight: bold;
    color:red;
  }


  .taglist ul {
    text-align: right;

  }

  .taglist ul li{
    display: inline;
    color: red;
    margin-left: 0.3rem;
    font-size: 0.8rem;

  }


  /* footer */
  .page-nation{
    display: flex;
    justify-content: space-between;
  }




  /*ふわふわ*/
  @keyframes floating {
    0%, 100% {
      transform: translateY(0) rotate(-12deg);
  }
  50% {
      transform: translateY(-10px) rotate(-12deg);
  }
}

.floating-text {
  transform: rotate(-12deg);
  animation: floating 4s infinite;
   
}

  /*ふわふわ2*/
  @keyframes floatingB {
    0%, 100% {
      transform: translateY(-10px) rotate(-24deg);
  }
  50% {
      transform: translateY(0) rotate(-24deg);
  }
}

.floating-text-B {
  transform: rotate(-24deg);
  animation: floatingB 4s infinite;
   
}

  /*ふわふわ3*/
  @keyframes floatingC {
    0%, 100% {
      transform: translateY(-10px) ;
  }
  50% {
      transform: translateY(0) ;
  }
}

.floating-text-C {
  transform: rotate(0);
  animation: floatingC 4s infinite;
   
}







  /* 灯台*/
  @keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  .blinking-image {
    animation: blink 4s infinite; /* 4秒間かけて点滅し、無限に繰り返す */
  }

  /* 星空*/
  @keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .rotate-image {
    animation: rotate 500s linear infinite; /* 5秒かけてゆっくりと回転し、無限に繰り返す */
  }

  /*鷹*/
  @keyframes rotateAndShake {
    0% { transform: rotate(0deg); }
    45% { transform: rotatex(90deg); }
    75% { transform: rotate(270deg); }
    100% { transform: rotatex(360deg); }
  }
   .rotating-image {
      display: inline-block;
      animation: rotateAndShake 40s infinite;
    }


/*ボタン*/
/* === ボタンを表示するエリア ============================== */
.switchArea {
  position       : absolute;            /* 親要素が基点       */
  right: 10px; 
  top: 3rem;                           /* 中央寄せ           */
  width          : 52px;               /* ボタンの横幅       */
                                        /* デフォルト背景色   */
}

 /* === チェックボックス ==================================== */
.switchArea input[type="checkbox"] {
  display        : none;            /* チェックボックス非表示 */
}

 /* === チェックボックスのラベル（標準） ==================== */
.switchArea label {
  display        : block;               /* ボックス要素に変更 */
  box-sizing     : border-box;          /* 枠線を含んだサイズ */
  height         : 20px;                /* ボタンの高さ       */
  border         : 1.5px solid #ffff;   /* 未選択タブのの枠線 */
  border-radius  : 12px;                /* 角丸               */
}

 /* === チェックボックスのラベル（ONのとき） ================ */
.switchArea input[type="checkbox"]:checked +label {
  border-color   : #696969;             /* 選択タブの枠線     */
}

 /* === 丸部分のSTYLE（標準） =============================== */
.switchArea #swImg {
  position       : absolute;            /* 親要素からの相対位置*/
  width          : 15px;                /* 丸の横幅           */
  height         : 15px;                /* 丸の高さ           */
  background     : #ffff;             /* カーソルタブの背景 */
  top            : 3px;                 /* 親要素からの位置   */
  left           : 3px;                 /* 親要素からの位置   */
  border-radius  : 8px;                /* 角丸               */
  transition     : .2s;                 /* 滑らか変化         */
}

 /* === 丸部分のSTYLE（ONのとき） =========================== */
.switchArea input[type="checkbox"]:checked ~ #swImg {
  transform      : translateX(31px);    /* 丸も右へ移動       */
  background     : #ffff;             /* カーソルタブの背景 */
}  

/*りーどもあ　*/
.readmore {
  text-align:center;
  
}

.readmore a{
padding: 0.5rem;
position: relative;
display: inline-block;
 
}

.readmore a::before, .readmore a::after {
content: '';
width: 35px;
height: 25px;
position: absolute;
transition: width .3s ease-in-out,height .3s ease-in-out; /*マウスが離れた時の指定*/
}

.readmore a::before {
border-left: solid 2px var(--front-color-night);
border-top: solid 2px var(--front-color-night);
top: 0;
left: -15%;
}

.readmore a::after {
border-right: solid 2px var(--front-color-night);
border-bottom: solid 2px var(--front-color-night);
bottom: 0;
right: -15%;
}

.readmore a:hover::before,.readmore a:hover::after { /*マウスが乗った時のアニメーション*/
  width: 128%;
  height: 99%;
  transition: width .3s ease-in-out,height .3s ease-in-out;
}

.backbutton{
  margin-top: 1.5rem;
}


/* ここから下がハンバーガーメニューに関するCSS */ 
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
  margin-top: 1rem;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: var(--front-color-night);
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  


.nav_content {
  width: 100%;
  height: 35rem;
  position: fixed;
  inset:0;
  top: 4.5rem;
  left: 100%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #e6e1e1;
  transition: .5s;
  border-radius: 30px;
  opacity: 0.9;
}



/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  left: 0;
  /* メニューを画面に入れる */
}

.nav_list{
  color: var(--base-color-night);
  z-index: 100;
}

.tag-list ul, .archive-list ul,.category-list ul{
  display: flex;
  flex-wrap: wrap;
}

.tag-list ul li, .archive-list ul li,.category-list ul li{
  margin: 0 0.3rem 0.3rem 0.3rem;
}


.tag-list ul li, .archive-list ul li,.category-list ul li:nth-child(1){
  margin-left: 1rem;
}

.tag-list .title-property2,.archive-list .title-property2,.category-list .title-property2,.searc-list .title-property2,.favorite-list .fav-menu .title-property2{
  margin: 1rem 0 1rem 0.5rem;
}

.fav-menu {
  display: flex;
  justify-content: space-between;
}

#saved_posts_container {
  display: flex;
  flex-wrap:wrap;
}

#saved_posts_container p{
  margin-left: 1rem;
  margin-top: 0rem;
  padding-top: 0.3rem;
}

.searc-list{
  height: 5rem;
}
.searchunit{
  position: relative;;
}

.searcharea{
  position: absolute;
  height: 2rem;
  width: 30rem;
  padding-left: 0.6rem;
  border: 0.2px solid var(--line-color2);
  border-radius: 20px;
  background-color: var(--front-color-night);
  z-index: 101;
}

.searchsubmit{
  position:absolute;
  left:28rem;
  height: 1.95rem;
  width: 4rem;
  border: 0.2px solid var(--line-color2);
  background-color: var(--line-color2);
  background-image: var(--search-submit);
  background-repeat:no-repeat;
  background-position: center right 0.5rem;
  z-index: 100;
}

.entry-header{
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.entry-content a{
  font-size: 0.8rem;
  color:var(--point-color) ;
}

.entry-content {
  padding-bottom: 1rem;
  background-image: linear-gradient(to right,var(--front-color),var(--front-color) 6px, transparent 6px, transparent 8px);
  background-size: 10px 2px;
  background-position: left bottom; 
  background-repeat: repeat-x;

}

/*お気に入り*/
/* ☆ のスタイル */
/* チェックボックスのスタイルを非表示にする */
/* ☆ のスタイル */
.custom-checkbox {
  width: 30px; /* 幅を調整 */
  height: 30px; /* 高さを調整 */
  margin-top: 1rem;
  padding-top:1rem

}

.custom-checkbox:before {
  content: "☆";
  width: 100%;
  height: 100%;
  font-size: 20px;
  line-height: 30px; /* テキストの縦方向の中央揃えを行うために高さと同じ値にする */
  background-color: transparent;
  cursor: pointer;
}

/* チェックされている場合の★のスタイル */
#favorite:checked + .custom-checkbox:before {
  content: "★";
  color: yellow; /* 黄色 */
}

.blog-title-favorite{
  display: flex;
  justify-content: space-between;
}

.favorite-star{
  display: flex;
  margin-top: 10rem;
}

.favorite-star p{
  margin-top:1.3rem ;
  padding-top:1rem
}

.blog-menu{
  display: flex;
  justify-content: space-between;
}



