@charset "utf-8";

/* 要素のボックスを確認する・普段はコメントアウト */
/* *{
	outline: 1px solid red;
  } */

/* すべてのWebページに適用 */
html{
	font-family: sans-serif;
	/* OSやブラウザごとにデフォルト設定されたフォントが自動的に適用 */
	scroll-padding-top: 120px; /* 固定ヘッダの高さ分 */
	scroll-behavior: smooth;
	/* ページトップに滑らかにスクロールアップして戻るようにする設定です。スクロールアップではなく一瞬でトップに移動するようにしたい場合はこの記述は不要です。 */
}

html *{
	box-sizing: border-box;
	/* レスポンシブデザインに対応するためボックスモデルを変更 */
}

body{
	margin: 0 0 0 0;/* コンテンツの上下左右の隙間を無くす */
	background-color: #FCFAF5;
  }

.wrapper {
	margin: 0 auto 0 auto;/* ウィンドウ中央に配置する */
}

main {
	max-width: 960px;/* ページの最大幅 */
	margin: 0 auto 0 auto;/* ウィンドウ中央に配置する */
	padding-top: 100px;/* グローバルメニューと重ならないようhight分ずらす */
}	

/* 本文の色 */
p {
	color:#333333;
	line-height: 1.6;/* 行間 */
}

/* リンクの色 */
a:link {
	color: #F5C0BF;/* 何もしていない時 */
}
a:visited {
	color: #F5C0BF;/* 訪問済み */
}
a:hover {
	color: #d28e8d;/* マウスを置いた時 */
}
a:active {
	color: #F5C0BF;/* クリックした時 */
}

/* 画像について */
img {
	max-width: 100%;
	/* 親要素のボックスの幅に合わせて伸縮する */
	height: auto;
	/* 横幅に合わせて自動で縦横比を合わせる */
}
/* 全般終わり */


/* ↓グローバルメニュー */
header {
	position: fixed;/* グローバルメニューを上に固定 */
	top:0;/* 上部の余白削除 */
	z-index: 1000;/* 一番上に重なる */
    width: 100%;/* 横幅画面いっぱい */
	height: 100px;/* 縦幅指定 */
    padding: 10px 20px 10px;
    background-color: #fff;
	display: flex;/* ロゴとメニューを横ならびに */
   	align-items: center;/* 垂直方向に中央揃え */
}

/* ロゴ部分 */
h1 {
	line-height: 0;
	margin: 0px;
} 

/* ナビゲーション */
nav {
	margin: 0 0 0 auto;/* ヘッダー内で右揃えに */
}

ul{
	margin: 0 0 0 0;
	padding: 0px;
}

/* リストの装飾を抜く */
li {
	list-style: none;
}

/* ナビゲーションのリンクだけ色を変える */
li a:link {
	color: #333333;/* 何もしていない時 */
	text-decoration: none;/* 下線を無くす */	
}
li a:visited {
	color: #333333;/* 訪問済み */
	text-decoration: none;/* 下線を無くす */
}
li a:hover {
	color: #F5C0BF;/* マウスを置いた時 */
	text-decoration: none;/* 下線を無くす */
}
li a:active {
	color: #F5C0BF;/* クリックした時 */
	text-decoration: none;/* 下線を無くす */
}


/* ↓スマホのハンバーガーメニュー用 */
header .btn-gNav {
    position: fixed;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 12;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

header .btn-gNav span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #333333;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

header .btn-gNav span:nth-child(1) {
    top: 0;
}

header .btn-gNav span:nth-child(2) {
    top: 10px;
}

header .btn-gNav span:nth-child(3) {
    top: 20px;
}

header .btn-gNav.open span:nth-child(1) {
    background: #fff;
    top: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

header .btn-gNav.open span:nth-child(2),
header .btn-gNav.open span:nth-child(3) {
    top: 6px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.btn-gNav {
    display: none;
}

.gNav .gNav-menu {
    display: flex;
    justify-content: space-between;
}

.gNav .gNav-menu li {
    margin: 0 auto;
    padding: 0 10px;
}
/* スマホのハンバーガーメニュー用終わり */
/* グローバルメニュー終わり */


/* ↓ページトップへ戻るボタン */
  .pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}
/* ページトップへ戻るボタン終わり */



/* ↓h2のデザイン */
.midashi2 {
	text-align: center;
	margin-top: 60px;
	margin-bottom: 50px;
}

h2{
	margin: 0;/* 上下の余白・左右の余白をリセット */	
	position: relative;/* 下線引くため */
	display: inline-block;/* 下線引くため */
	font-family: 'Sorts Mill Goudy', sans-serif;
	color: #333333;
	font-size: 2em;
	letter-spacing: 0.25em;/* 文字と文字の間 */
}

h2:before {
	content: '';
	position: absolute;
	bottom: -15px;
	display: inline-block;
	width: 60px;
	height: 3px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	background-color: #333333;
}
/* h2のデザイン終わり */


/* ↓フッター */
/* コンテンツとフッターの間を空ける */
footer {
	margin-top: 200px;
}
/* フッターのコピーライトだけ文字を小さくする */
footer .copy{
	text-align: center;
	font-family: sans-serif;
	font-size: 0.75em;
}
/* フッター終わり */


/* ↓h2下のテキスト */
.intro{
	text-align: center;
	line-height: 2;/* 行間 */
}




/* ↓CAFE部分 */
.cafe-item-list {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
  }
  .cafe-item-list .cafe-item {
	width: 31%;
	margin: 0;
	padding: 0 0 20px 0;
	box-sizing: border-box;
  }
  .cafe-item-list .cafe-item .image {
	margin: 0;
	padding: 0;
  }

  .cafe-item-list .cafe-item .title {
	text-align: center;
	margin: 10px 0 0;
	font-weight: bold;
	font-size: 20px;
  }
  .cafe-item-list .cafe-item .description {
	margin: 5px 0 0;
	font-size: 16px;
  }

  /* ライトボックスにだけ表示する画像 */
.hide_area{
	display: none;
}
/* CAFE部分終わり */





/* ↓GALLERY部分 */
/* ピンクの「」線を引く */
.carousel-line1{
	margin-top: 20px;
	padding: 40px;
	position: relative;
}

.carousel-line1::before,.carousel-line1::after {
	position: absolute;
	width: 100px;
	height: 100px;
	content: '';
}

.carousel-line1::before {
    top: 0px;
    left: 20px;
    border-top: 5px solid #F5C0BF;
    border-left: 5px solid #F5C0BF;
}

.carousel-line1::after {
    bottom: 0px;
    right: 20px;
    border-right: 5px solid #F5C0BF;
    border-bottom: 5px solid #F5C0BF;
}

/* 水色の「」線を引く */
.carouse-line2{
	position: relative;
	overflow: hidden;
}

.carousel-line2::before,.carousel-line2::after {
	position: absolute;
	width: 100px;
	height: 100px;
	content: '';
}

.carousel-line2::before {
    top: 20px;
    left: 0px;
    border-top: 5px solid #b6e6f5;
    border-left: 5px solid #b6e6f5;
}

.carousel-line2::after {
    bottom: 20px;
    right: 0px;
    border-right: 5px solid #b6e6f5;
    border-bottom: 5px solid #b6e6f5;
}

/* カルーセル部分について */
  .slide-items {
	width: 100%;
	height: 100%;
  }

  /* カルーセルはliで作っているので上でliに関するCSSを書いていたら消しておく */
  .slide-items li {
	padding: 0;
  }
  
  .slide-items img {
	width: 100%;
	object-fit: cover;
  }

/* GALLERY部分終わり */


/* ↓LIKE部分 */
/* ↓凝ったボックスデザイン↓ */
.like-box {
	border:3px solid #e25c2b;
	box-shadow: 10px 10px 0px #e25c2b;
	border-radius: 50px 3px;
	margin-top:100px;
	padding:40px;
	background-color: #fff;
}


/* ↓ボックスの中身 */
.like-box .midashi2 {
	margin-top: 20px;/* 外側の枠線との余白のバランスを調整 */
	margin-bottom: 40px;
}

/* ↓ぴよりん部分 */
.like-item1 {
	/* 自己紹介サイトの好きなものページと同じです */
	display: flex;
	align-items: center;
	margin-bottom: 80px;
}

.like-item1-photo {
	/* flexアイテム１ */
	margin-right: 40px;
	flex: 1 1 auto;
	/* 幅を伸縮させたいものには1 1 auto */
	/* 余った分プラス　はみ出した分マイナス　デフォルトの横幅は自動 */
}

.like-item1-text {
	/* flexアイテム２ */
	flex: 0 0 336px;
	/* 幅を固定させたいものには0 0 固定幅px */
	/* 余った分プラスしない　はみ出した分マイナスしない　デフォルトの横幅は数値 */
}

/* ↓ボタンのデザイン */
.button001 a {
    background: #ffecba;
    border-radius: 50px;
	text-decoration: none;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    max-width: 336px;
    padding: 10px 25px;
    color: #e25c2b;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.button001 a:hover {
    background: #d74611;
    color: #FFF;
}
.button001 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #d74611;
    border-right: 3px solid #d74611;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button001 a:hover:after {
    border-color: #FFF;
}
/* ボタンのデザイン終わり */
/* ぴよりん部分終わり */


/* ↓YAMADADENKI部分 */
.like-item2 {
	max-width: 500px;
	margin: 0 auto;
}

.like-item2-photo {
	/*親div*/
	position: relative;/*相対配置*/
}

.like-item2-photo p {
	margin: 0;
	padding: 0;
	font-family: 'Sorts Mill Goudy', sans-serif;
	color: #333333;
	font-size: 3em;
}

.like-item2-photo .yamada {
	position: absolute;/*絶対配置*/
	top: -30px;
	left: -50px;
}

.like-item2-photo .denki {
	position: absolute;/*絶対配置*/
	bottom: -30px;
	right: -50px;
}

.like-item2-text {
	margin-top: 40px;
}
/* パンケーキ部分終わり */



/* ↓スマートフォン用CSS */
@media (max-width: 767px){
	/* 767pxはタブレットの短辺を基準にしている */
	/* 全体〜ナビゲーション */
	main {
		margin: 0 8px;
	}

	header {
		height: 80px;/* 縦幅指定 */
		padding: 10px 4% 10px;
	}

	/* ロゴをちょっと小さくする */
	h1 img{
		width: 80%;
	}

	/* ↓ハンバーガーメニュー */
	li a:link {
		color: #fff;/* 何もしていない時 */
	}
	li a:visited {
		color: #fff;/* 訪問済み */
	}
	li a:hover {
		color: #fff;/* マウスを置いた時 */
	}
	li a:active {
		color: #fff;/* クリックした時 */
	}
	
    .btn-gNav {
        display: block;
    }
    .gNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        background-color: #ea9898;
        font-size: 20px;
        box-sizing: border-box;
        z-index: 1;
        padding-top: 50px;
        transition: .3s;
    }
    .gNav.open {
        right: 0;
    }
    .gNav .gNav-menu {
		margin-bottom: 40px;
        padding: 0;
        width: 100%;
        height: 100%;
        display: block;
        flex-direction: column;
        text-align: center;
        /*justify-content: center;*/
    }
    .gNav .gNav-menu li {
        width: 86%;
        padding: 15px;
        border-bottom: #fff 1px dashed;
    }
	/* グローバルメニュー終わり */


	/* 中央揃えが読みづらく感じたので本文を左揃えに */
	.intro{
		text-align: left;
	}

	/* CAFEを縦並びに */
	.cafe-item-list {
		display: block;
	  }

	.cafe-item-list .cafe-item {
	width: 100%;
	padding: 0 0 40px 0;
	}

	/* LIKE部分、like-boxのbox-shadow分右に余白を作る */
	.like-box {
		margin-right:10px;
		padding:20px;/* 内側の余白ちょい狭く */
	}
	
	/* LIKEを縦並びに */
	.like-item1 {
		display: block;
	}
	.like-item1-photo {
		margin-right: 0;
		width: 100%;
	}
	.like-item1-text {
		width: 100%;
	}
	.button001 a {
		width: 100%;
	}

	/* YAMADA DENKIのはみ出しを防ぐ */
	.like-item2-photo .yamada {
		left: 0px;
	}
	.like-item2-photo .denki {
		right: 0px;
	}
	
	
}