Newer
Older
cafe-2022 / ryuei / cafe-all.css
@SATO Shinya SATO Shinya on 12 Jul 2022 5 KB picture
/*--------------共通--------------*/
body {
	width: 100%;
  margin: 0px;
}
/*--------------ここまで共通--------------*/

/*-------------------------ヘッダー---------------------*/
#header{
  width: 100%;
  padding: 30px 4% 10px;
  margin: 0 auto;
  position: fixed;
  top: 0;
  background-color: #fff9aa;
}

h1{
  text-align: center;
  padding: 0 0 30px 0;
}
/*-----ハンバーガーメニュー-----*/
.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #35bbb0;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}


#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);
}

#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);
}

#menu-btn-check {
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #3584bb;
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #3584bb;
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #3584bb;
    transition: all 1.0s;/*アニメーション設定*/
}

#menu-btn-check:checked ~ .menu-content {
  left: 0;
}/*メニューを画面内へ*/

/*-----ハンバーガーメニュー-----*/

a{
  text-decoration: none;
  color: #4b4b4b;
}
/*---いったん削除---
.logo{padding: 10px 20px;display: inline-block;}
*/



.menu-ul{
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  margin: 0 auto;
}

.menu-li {
  padding: 0;
  margin: 0 auto;
  font-size: 14px;
}

.menu-li li+li{
  position: relative;
}
.menu-li li+li::before{
  content: "";
  display: block;
  height: 1em;
  border-left: 1px solid #000000;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: 0 auto;
}
/*---------------------ここまでヘッダー----------------------*/


/*-------トップページ画像スライド用---------*/
.top-picture img{
  width:100%;
  height:50%;
  margin: 180px 0 0;
}



/*.slider {
  width: 1200px;
    overflow: hidden;
    margin: 0 auto;

}
.slider-item {
  width: 1200px;
  float: left;
}
.img{
  width:100%;
}
.slider-inner {
  width: 1200px;
  animation: slider 10s infinite ease;
}


@keyframes slider {
	0% {
	transform: translateX(0);
	}
	33% {
	transform: translateX(-300px);
	}
	66% {
	transform: translateX(-600px);
	}
	100% {
	transform: translateX(0);
	}
}
---------スライド一旦封印-----------
*/
/*--------トップページ画像スライド用---------*/


/*-----------新着情報------------*/
#news{
  font-size: large; 
  text-align: center;
  background-color: #f6f5ed;
  border-radius: 20px;
  border: 2px solid #6f6f6f;
  width: 80%;
  margin: 50px 10% 50px 10%;
  padding: 0;
}

iframe {
  text-align: center;
  border: none;
  margin: 0px;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

/*-----------新着情報------------*/

/*-------場所で検索------*/
.area {
  text-align: center;
  letter-spacing: 1em;
  margin-bottom: 30px;
}

.round{
border: 3px solid maroon ; border-radius: 9px 9px; background: moccasin
}

a{
 position: relative;
 top:0px; left:0px;
 width: 100%;
 height: 290px;
 
}

.txdes {
 color: maroon;
 text-shadow: peru 2px 3px 3px;
 font-size: 1.4rem;
 }
 
txdes:hover { text-decoration: none; opacity: 0.5; }
/*-------場所で検索------*/

.footer {
  width: 100%;
  font-size: smaller;
  margin-top: 100px;
  text-align: center;
}