/* すべてのページに適用 */ 
* {
	margin: 0;
	padding: 0;
}
html {
	font-size: 16px;
	font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
	color: #333;
	height: 100%;
	background-color: #ffeed8;
	scroll-behavior: smooth; /* スムーススクロール */
}
body {
	height: 100%;
	box-sizing: border-box;
	position: relative;
}
.container {
	top: 60px;
	position: absolute;
	height: auto;
	width: 100%;
	background-image: url(../images/background_dog.png);
	background-repeat: space;
	background-size: 160px;
}
a:link, a:visited {
	color: #fff;
	text-decoration: none;
}
a:hover, a:active {
	color: #fff;
	text-decoration: none;
}
.marker {
	background: linear-gradient(transparent 90%, #6ff9f3 90%);
}



/* ヘッダーに適用 */
.top-header {
	display: flex;
	width: 100%;
	height: 60px;
	position: fixed;
	z-index: 1000;
	border-bottom: 1px solid #666;
	background-color: #000;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, .5);
}
.logo {
	padding-left: 10px;
}
.logo img {
	height: 50px;
}
.hamburger_menu {
	width: 100%;
	height: 100%;
	display: flex;
}
#menu_btn_check {
	display: none;
}
nav {
	width: 100%;
}
.menu {
	margin-left: auto;
	margin-right: 0;
	width: 500px;
	height: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	text-align: center;
	align-items: end;
	list-style-type: none;
	font-size: 1.1rem;
}
.menu a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 6px 0;
}
.menu a:hover {
	background: linear-gradient(#000 40%, #666 100%);
}
.active {
	border-bottom: solid 1px #fff;
	background: linear-gradient(#000 40%, #666 100%);
}
.hero {
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 400;
	height: 400px;
	background-position: center;
	background-size: cover;
}
.hero span {
	background-color: rgba(255,255,255,0.1);
	padding: 10px 20px;
	border-radius: 6px;
	text-shadow: 2px 2px 2px #333;
}	
.bread-area {
	font-size: 0.95rem;
	margin: 20px 0 0 20px;
	display: flex;
}
.bread-area li {
	list-style-type: none;
	font-size: 1.05rem;
}
.bread-area li:not(:first-child):before {
	content: '＞';
	font-size: 0.9rem;
	margin: 0 6px;
}
.bread-area a {
	color: #157287;
	text-decoration: underline;
}


/* フッターに適用 */
footer {
	text-align: center;
	background-color: #000;
	color: #fff;
}
.copylight {
	padding: 20px 0;
}
.gotop a {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: flex;
	justify-content: center;
	width:50px;
	height:50px;
	border-radius: 30%;
	background-color: #1d6a85;
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .5);
}
.gotop a:link, .gotop a:visited {
	color: #fff;
	text-decoration: none;
}
.gotop a:hover {
	color: #fff;
	transform:rotate(360deg);
	transition: 1s;
}
.arrow {
	display: inline-block;
	text-decoration: none;
	border-radius: 5px;
	position: relative;
	height: 50px;
	width: 50px;
	background-color: #2196F3;
}
.arrow::before {
	content:  '';
	width: 20px;
	height: 20px;
	display: block;
	border-top: solid 2px;
	border-right: solid 2px;
	transform: rotate(-45deg);
	position: absolute;
	top: 10px;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}



/* メインに適用 */
.main {
	max-width: 960px;
	margin: 0 auto;
	height: 100%;
}
.main h2 {
	padding-left:45px;
	height: 40px;
	border-bottom: solid 2px #8b4513;
	display: flex;
	align-items: center;
	color: #5f350f;
	background: linear-gradient(#fff 40%, #ffe689 100%);
}
.main .move {
	width: 25px;
	margin-left: -35px;
	margin-top: 2px;
	position: absolute;
	animation: move_key 3s infinite;
}
.main .move img {
	width: 100%;
}
@keyframes move_key {
	0%, 100% {
		transform: rotate(10deg);	}
	50% {
		transform: rotate(-10deg);
	}
}
.main .info-group {
	padding: 30px;
	margin-top: 20px;
	margin-bottom: 40px;
	background-color: #fff;
	border-radius: 20px;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
}
.main .info-area {
	font-size: 1.2rem;
}
.main .memo-area {
	background-color: #fff;
	background-size: 8px 100%, 100% 2.0em;
	background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%),
	linear-gradient(180deg, #ccc 1px, transparent 1px);
	line-height: 2.0;
	text-indent: 1.0em;
	padding: 0 0.9em 1.0em;
}
.main .memo-area-cover {
	height: 100%;
	background-image: url(../images/index_logo.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: 160px;
}
.main .img-area {
	width: 40%;
	text-align: center;
}
.main .comment-area {
	padding: 15px 0;
}



/* ホームに適用 */ 
.home-hero {
	background-image: url(../images/home_hero.jpg);
}
.home-main .info-area {
	display: flex;
	font-size: 1.2rem;
	padding: 40px 0 0;
}
.home-main .memo-area {
	width: 60%;
}
.home-main .img-area {
	width: 40%;
}
.home-main .img-area img {
	width: 90%;
	height: auto;
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .5);
}



/* 日常生活に適用 */ 
.daily-hero {
	background-image: url(../images/daily_hero.jpg);
}
.daily-main .info-area {
	display: flex;
	padding: 40px 0 0;
}
.daily-main .memo-area {
	width: 60%;
}
.daily-main .img-area {
	width: 40%;
}
.daily-main .img-area img {
	width: 90%;
	height: auto;
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .5);
}
.daily-main .video {
	width: 95%;
}
.video-area .memo-area {
	width: 40%;
}
.video-area .img-area {
	width: 60%;
}



/* 成長日記に適用 */ 
.history-hero {
	background-image: url(../images/history_hero.jpg);
}
.history-main .info-area {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	padding: 40px 20px 10px;
	gap: 20px;
}
.history-main li {
	list-style-type: none;
	text-align: center;
}
.history-main .img-area {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.history-main .img-area img {
	width: 100%;
}
.history-main .video-area {
	padding: 10px 60px 0;
	text-align: center;
	font-size: 1.2rem;
}
.history-main .video {
	width: 100%;
}



/* 応援するに適用 */ 
.cheer-hero {
	background-image: url(../images/cheer_hero.jpg);
}
.cheer-main .info-area {
	line-height: 2.4rem;
	font-size: 1.2rem;
	padding: 10px 20px;
}
.cheer-main .question {
	color: #e7a441;
	font-weight: bold;
	border-bottom: 1px solid #e7a441;
}
.cheer-main p {
	margin: 20px 0;
}
.cheer-main .submit-zone {
	text-align: center;
}
.cheer-main .radio-zone label {
	padding: 0 10px;
	white-space: nowrap
}
.cheer-main input[type="radio"] {
	transform: scale(1.15);
	margin: 0 5px;
}
.cheer-main input[type="text"] {
	font-size: 1.1rem;
	width: 60%;
	padding: 5px;
}
.cheer-main textarea {
	font-size: 1.1rem;
	width: 60%;
	height: 6.0rem;
	padding: 5px;
}
.cheer-main input[type="submit"] {
	font-size: 1.2rem;
	padding: 10px 30px;
	border-radius: 5px;
	border: 1px solid #ccc;
	background-color: #0c2442;
	color: #fff;
	cursor: pointer;
}
.cheer-main input[type="submit"]:hover {
	color: #fff;
	background-color: #ff2288;
	transition: 0.8s;
}



/* モバイル対応 */
@media(max-width: 767px) {

	/*　ロゴ　*/
	.logo {
		padding-left: 5px;
	}

	/*　ハンバーガー 開く　*/
	.menu_btn {
		position: fixed;
		top: 10px;
		right: 14px;
		display: flex;
		height: 36px;
		width: 36px;
		justify-content: center;
		align-items: center;
		z-index: 90;
		background-color: #333;
		border: solid 1px #fff;
		border-radius: 5px;
	}
	.menu_btn span,
	.menu_btn span:before,
	.menu_btn span:after {
		content: '';
		display: block;
		height: 2px;
		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-content {
		width: 40%;
		height: 100%;
		position: fixed;
		top: 0;
		right: -40%;
		z-index: 80;
		background-color: #ededed;
		transition: all 0.5s;
		box-shadow: 0 0 20px 0 rgba(0, 0, 0, .5);
	}
	.menu {
		display: block;
		margin-top: 70px;
		width: 100%;
		list-style-type: none;
		font-size: 1.15rem;
		text-align: left;
	}
	.menu a {
		color: #000;
		display: block;
		width: 100%;
		height: 100%;
		padding: 15px 0 15px 15px;
		background-color: #ededed;
		border-bottom: solid 1px #ccc;
	}
	.menu .active {
		color: #fff;
	}

	/* ハンバーガーナビ クリック時 */
	#menu_btn_check:checked ~ .menu-content {
		right: 0;
		transition-duration: 0.5s;
	}

	/* ヒーロー */
	.hero {
		height: 200px;
		font-size: 1.8rem;
	}

	/* パンくず */
	.bread-area li:not(:first-child):before {
		font-size: 0.9rem;
	}


	/* メイン */
	.main .info-group {
		margin: 18px 10px;
		padding: 10px;
		border-radius: 10px;
	}
	.main h2 {
		font-size: 1.2rem;
	}
	.main .info-area {
		padding: 20px 0 0;
		font-size: 1.1rem;
	}
	.main .info-area.ltextrimg {
		display: flex;
		flex-direction: column-reverse;
	}
	.main .info-area.limgrtext {
		display: flex;
		flex-direction: column;
	}
	.main .memo-area {
		width: auto;
		padding: 0 0.4em;
	}
	.main .img-area {
		width: auto;
		margin-bottom: 20px;
	}
	.main .img-area img {
		width: 70%;
	}

	/* 成長日記 */
	.history-main .info-area {
		display: block;
	}
	.history-main .img-area {
		margin-bottom: 0;
	}
	.history-main .img-area img {
		width: 80%;
	}
	.history-main .comment-area {
		padding: 5px 0 25px;
	}
	.history-main .video-area {
		padding: 10px 10px 0;
	}

	/* 応援する */
	.cheer-main .radio-zone label {
		display: block;
	}
	.cheer-main input[type="text"] {
		width: 96%;
		padding: 2%;
	}
	.cheer-main textarea {
		width: 96%;
		padding: 2%;
	}

}
