*{
    margin: 0;padding: 0;
    box-sizing:border-box;
}

.head-rogo{
 width: 15rem;
 height: auto;
vertical-align: middle;
z-index: 10;
background-color: #ffffff;
border-radius: 20px;
min-height: 85px;
margin-left: 20px;
}

.head-rogo a{
  display: inline-block;
  margin-left: 0.5em;
}
.head-rogo img{
  width: 15rem;
  height: auto;
 
}


.overlay-image{
  position: relative;
  width: 70%;
  height: auto;
  position: absolute;
  top: 300px; /* 例 */
  left: 50px; /* 例 */
  z-index: 2; /* スライダー画像より上に */
  
}
.header-right{
  display: flex;
}
.navi-links{
  display: flex;
  justify-content: space-between;
  height: 34px;
}
@media screen and (min-width: 500px){
.overlay-image{
 display: none;
}
.rogo-head{
  display: none;
}
}


.sns-links {
  
  /* 必要に応じて、余白やサイズなどを調整 */
  padding-top: 0.1px; /* リンクとメニューバーの間隔 */
}

.sns-links a {
  display: inline-block; /* リンクを横並びに配置 */
  margin-right: 0.5em; /* リンク間の間隔 */
}

.sns-links img {
  margin-right: 0.2em; /* リンク間の間隔 */
  height: auto; /* 画像の高さを自動調整 */
  border-radius: 5px;
  vertical-align: middle; /* 画像をテキストに合わせる */
}

.head-rogo{
  display: flex;
  vertical-align: middle;
}


.gnavi{
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;/*スマホ表示折り返し用なのでPCのみなら不要*/
    margin:0 ;
    list-style: none;
}

.gnavi li a{
    display: block;
    padding:5px 30px;
    text-decoration: none;
    color: #333;
}
@media screen and (max-width: 480px){
  .navi{
    display: none;
  }
}
@media screen and (max-width: 480px){
.navi-links{
  display: none;
}
}
/*@media screen and (min-width: 500px){
  .head-rogo{
    display: none;
  }
}*/

/*==================================================
　5-3-7 上下に線が伸びて背景になる
===================================*/

.gnavi li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
    /*はみ出る要素を隠す*/
	overflow: hidden;
    /*アニメーションの指定*/
	transition: all .2s;
}

/*現在地とhoverの設定*/
.gnavi li.current a,
.gnavi li a:hover{
    /*背景色をつける*/
    background: #4b4b4b;
	color:#fff;
}

/*背景がつくのアニメーションの開始を0.5秒遅らせる*/
.gnavi li a:hover{
	transition-delay: .5s;
}

/*線の設定*/
.gnavi li a:before,
.gnavi li a:after {
    content: "";
    /*絶対配置で線の位置を決める*/
    position: absolute;
    left: 0;
    /*線の形状*/
    height: 2px;
    width:100%;
    background: #4b4b4b;
    /*アニメーションの指定*/
	transition: all .5s;
}

/*線の位置と変化*/
.gnavi li a::before {
    top: 0;
	transform: translateX(-100%);/*X方向に-100%移動*/
}
.gnavi li a::after {
    bottom: 0;
	transform: translateX(100%);/*X方向に100%移動*/
}

/*hoverした際の線の変化*/
.gnavi li a:hover::before ,
.gnavi li a:hover::after {
	transform: translateX(0);/*X方向に0%移動*/
}
.sns-links {
    
    /* 必要に応じて、余白やサイズなどを調整 */
    padding-top: 0.1px; /* リンクとメニューバーの間隔 */
  }
  
  .sns-links a {
    display: inline-block; /* リンクを横並びに配置 */
    margin-right: 0.5em; /* リンク間の間隔 */
  }
  
  .sns-links img {
    width: 2rem; /* 画像のサイズ */
    height: auto; /* 画像の高さを自動調整 */
    vertical-align: middle; /* 画像をテキストに合わせる */
  }


/*==================================================
スライダーのためのcss
===================================*/
.slider {
    position:relative;
	z-index: 1;
	/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    margin-bottom: 100px;
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(../img/img\ 5ht.jpeg);
}

.slider-item02 {
    background:url(../img/kitunezaru.png);
}

.slider-item03 {
    background:url(../img/imgsaiho-n.png);
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:95vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}
@media screen and (max-width: 480px){
  .slider-item03{
    background: url(../img/imgsaiho-n\ iphone.png);
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:95vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
  }
  .slider-item{
    height: 100Vh;
  }
}
@media screen and (min-width: 600px){
  .slider-item02 {
    background:url(../img/kitunezaru-2.png);
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:95vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

}
/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
	z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;/*矢印の色*/
    border-right: 2px solid #ccc;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
	position: relative;
	z-index: 3;
    text-align:center;
	margin:-50px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}


*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.info {
  margin: 1em auto;
  padding: 0 1.5em;
  border: 1px solid #ccc;
  text-align: left;
  font-size: 1em;
  line-height: 1.3;
  color: #444;
  overflow: auto;
  width: 60%;
  height: 10em;
  background-color: #e9e9e9;
}
.info dl {
  padding: 0.5em 0;
  border-bottom: 1px solid #ccc;
}
.info dt {
  padding-bottom: 0;
  width: 6em;
}
@media screen and (max-width: 480px) {
.info dt {clear: left;float: left;}
.info dd {margin-left: 0.5em;}
.info{
  width: 90%;
  margin: auto;
}
}
.info{
    margin-bottom: 200px;
}


/*==================================================
ギャラリーのためのcss
===================================*/

/*＝＝＝並び替えボタンのCSS*/
.sort-btn{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding:50px 20px;
}

.sort-btn li{
	background:#eee;
list-style:none;
	border-radius:10px;
	cursor: pointer;
	padding: 10px;
	margin:0 10px;
}

.sort-btn li.active{/*ボタンに現在地＝activeというクラス名がついたら背景色を変更*/
	background:#ccc;	
}

/*横幅が480px以下になった際の指定*/
@media only screen and (max-width: 480px) {
.sort-btn{
	justify-content: space-between;
}
	
.sort-btn li{
	width:48%;
	margin:0 0 10px 0;
	text-align:center;
	}	
}

/*＝＝＝Muuriのレイアウトのための調整 */
.grid {
  position: relative;/*並び替えの基準点を指定*/
}

/*各画像の横幅などの設定*/
.item {
  display: block;
  position: absolute;
  width: 33%;/*横並びで3つ表示*/
  z-index: 1;
  list-style:none;
}

/*内側のボックスの高さが崩れないように維持*/
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
  margin-bottom: 200px;
}

/*画像の横幅を100%にしてレスポンシブ化*/
.grid img{
	width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*横幅が768px以下になった際の指定*/
@media only screen and (max-width: 768px) {
.item {
  width: 49.5%;/*横並びで2つ表示*/
}
}

/*＝＝＝lightboxサムネイル背景と画像選択時の枠線の指定*/
.lightbox-thumbs {
    background: transparent!important;
}

.lightbox-thumbs__list a:before {
    border: 6px solid #FA999B;
}

/*========= ページトップのためのCSS ===============*/
/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:30px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(150px);
}

/*　上に上がる動き　*/
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(150px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(150px);
  }
}

/*画像の切り替えと動き*/
#page-top a {
    /*aタグの形状*/
	display: block;
	width: 150px;
	height: 150px;
	color: #333;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
    /*背景画像の指定*/
	background: url("../img/top.png") no-repeat center;
	background-size: contain;
}

#page-top.floatAnime a{
	width: 150px;
	height: 180px;
    /*背景画像の指定*/
	background: url("../img/top2.png") no-repeat center;
	background-size: contain;
    /*アニメーションの指定*/
	animation: floatAnime 2s linear infinite;
	opacity: 0;
}

@media only screen and (max-width: 768px){
  #page-top a {
    width: 100px;
    height: 100px;
  }
  #page-top.floatAnime a{
    width: 100px;
    height: 130px;
  }
}

@keyframes floatAnime {
  0% { transform: translateX(0); opacity: 0; }
  25% { transform: translateX(-6px);opacity: 1; }
  50% { background-image: url(../img/top3.png);
        transform: translateX(0) }
  100%{ background-image: url(../img/top4.png);
        transform: translateX(6px);opacity: 1; }
}

/*Page Topと書かれたテキストの位置*/
#page-top span{
    position: absolute;
    bottom: -20px;
    right: 20px;
	color: #666;
}

/*link*/
.link{
  display: flex;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  width: 100px;
}
.linkchild{
  border-radius: 8px;
  margin: 5px;
}


/*プロフィール*/
.about{
  display: flex;
  align-items: flex-start;
  justify-content: center;  /* 横方向中央 */
  align-items: center;      /* 縦方向中央 */
}
.about-item{
  margin: 60px;
  margin-left: 150px;
  border-radius: 50%;
}
.about-text {
    width: 580px;
    height: 400px;
    background-color:#e9e9e9; /* 背景色（見やすくするため） */
    text-align: left;
    font-size: 24px;
    margin-bottom: 120px;
    padding: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
 
  @media screen and (max-width: 480px){
    .about{
    align-items: center;
    flex-direction: column;
    margin: 50px;
    }
    .about-text{
      width:  120%;
      margin: 0;
      font-size: 20px;
    }
    .about-item{
      width: auto;
      margin: auto;
    }

  }

/*フッター*/

footer{
    background-color:#5a5a5a;
    padding-bottom: 20px;
    color: whitesmoke;
}
.footer-menu{
    height: 60px;
}
.footer-menu-list{
    list-style: none;
    text-align: center;
    line-height: 80px;
}
.footer-menu-list li{
    margin: 10px;
    display: inline;
}
.copyright{
    text-align: center;
  
}

/*お問い合わせページ*/

.explanatory-text{
    background-color: #e9e9e9;
    border-radius: 10px;
    text-align: left;
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
    padding: 30px;
    margin-bottom: 80px;
    margin-top: 70px;

}
/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
    margin-bottom: 80px;
}

.accordion-area li{
    margin: 10px 0;
    background-color: #e9e9e9;
}

.accordion-area section {
	border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    background: #ffffff;
	margin:0 3% 3% 3%;
    padding: 3%;
}

/*お問い合わせフォーム*/
.Form {
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    max-width: 720px;
  }
  @media screen and (max-width: 480px) {
    .Form {
      margin-top: 40px;
    }
  }
  .Form-Item {
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;
  }
  @media screen and (max-width: 480px) {
    .Form-Item {
      padding-left: 14px;
      padding-right: 14px;
      padding-top: 16px;
      padding-bottom: 16px;
      flex-wrap: wrap;
    }
  }
 
  .Form-Item-Label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Label {
      max-width: inherit;
      display: flex;
      align-items: center;
      font-size: 15px;
    }
  }
  .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Label.isMsg {
      margin-top: 0;
    }
  }
  .Form-Item-Label-Required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #76c6ff;
    color: #fff;
    font-size: 14px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Label-Required {
      border-radius: 4px;
      padding-top: 4px;
      padding-bottom: 4px;
      width: 32px;
      font-size: 10px;
    }
  }
  .Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Input {
      margin-left: 0;
      margin-top: 18px;
      height: 40px;
      flex: inherit;
      font-size: 15px;
    }
  }
  .Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Textarea {
      margin-top: 18px;
      margin-left: 0;
      height: 200px;
      flex: inherit;
      font-size: 15px;
    }
  }
  .Form-Btn {
    border: 1px solid #ffffff;
    border-radius: 8px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background-color: #76c6ff;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
  }
  @media screen and (max-width: 480px) {
    .Form-Btn {
      margin-top: 24px;
      padding-top: 8px;
      padding-bottom: 8px;
      width: 160px;
      font-size: 16px;
    }
  }
  input[type=checkbox] {
    /* チェックボックスのデフォルトスタイル */
    transform: scale(1.5);
    margin-right: 10px;
    margin-left: 20px;
    margin-top: 10px;
  }
  
  /* チェックボックスのテキストのスタイル */
  label {
    display: inline-block;
   
  }
.privacypolicy{
  text-align: center;
}
.privacy{
  text-align: center;
  margin-left: 23px;
}
  .message{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
    margin-top: 100px;
  }
  h2{
    list-style: none;
    width: 85%;
    max-width: 900px;
    margin:0 auto;
  }

  
/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
top:0;
  right: -120%;
width:100%;
  height: 100vh;/*ナビの高さ*/
background:#999999d4;
  /*動き*/
transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
  right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
list-style: none;
  text-align: center;
}

#g-nav li a{
color: #ffffff;
font-size: 20px;
text-decoration: none;
padding:30px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
}
.sns{
  margin-top: 600px;
  margin-left: 150px;
  display: flex;
}
.sns a{
  margin-right: 5px;
}
.sns img{
  height: 40Px;
  border-radius: 8px;
}
/*========= ボタンのためのCSS ===============*/
.openbtn{
  display: none;
position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
top:10px;
right: 10px;
cursor: pointer;
  width: 50px;
  height:50px;
}

/*×に変化*/	
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
background-color: #373737;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
top:15px;	
}

.openbtn span:nth-of-type(2) {
top:23px;
}

.openbtn span:nth-of-type(3) {
top:31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  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(45deg);
  width: 30%;
}
@media screen and (max-width: 480px){
  .openbtn{
    display: block;
  }
}
.shutter{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color:#1e1e1e;
  z-index:9999;
}
.shutter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  width: 0;
  height: 1px;
}
.shutter {
  -webkit-animation: byeShutter 2.6s forwards;
          animation: byeShutter 2.6s forwards;
}
.shutter::before {
  -webkit-animation: shutterOpen 2.6s forwards;
          animation: shutterOpen 2.6s forwards;
}
.content {
  -webkit-animation: contentScale 2.6s forwards;
          animation: contentScale 2.6s forwards;
}
@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}
@keyframes shutterOpen {
  0% {
    width: 0;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  90% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}
@keyframes contentScale {
  70% {
    -webkit-transform: perspective(800px) scale(0.9) rotateX(15deg);
            transform: perspective(800px) scale(0.9) rotateX(15deg);
  }
  100% {
    -webkit-transform: perspective(800px) scale(1) rotateX(0);
            transform: perspective(800px) scale(1) rotateX(0);
  }
}

/*サンクスページ*/
.thanks{
  margin-top: 90px;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px;
}
.thankstitle{
  text-align: center;
}
.top-link{
  text-align: center;
}