@charset "UTF-8";

body {
	font-family: "Yu Gothic", YuGothic, Arial, Helvetica, 
	"Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", 
	Meiryo, メイリオ sans-serif;
	color: #060606;
	/*イカの背景*/
	background-image: url(../images/まいっかちゃん.png);
	background-repeat: repeat;
}

#aboutcity, #spot, #modelcourse, #map, #instagram, #footer {
	/*上に30px　下に60pxの余白*/
	padding: 30px 0 60px 0;
}

/*コンテンツの最大幅を960px 中央寄せ*/
.section-inner {
	max-width: 960px;
	margin: 0 auto;
}

.pc-only {
	/*PCの時は（横幅769px以上の時は）表示する*/
	display: block;
}
.sp-only {
	/*SPの時は（横幅768px以下の時は）表示しない*/
	display: none;
}
/*--------スマホ---------*/
@media screen and (max-width: 768px) {
	.section-inner {
		/*左右に24pxの余白padding*/
		padding: 0 24px;
		/*最大幅550px*/
		max-width: 550px;
	}
	.pc-only {
		/*PCの時は（横幅769px以上の時は）表示しない*/
		display: none;
	}
	.sp-only {
		/*SPの時は（横幅768px以下の時は）表示する*/
		display: block;
	}
	#aboutcity, #spot, #modelcourse, #map, #instagram, #footer {
		padding: 40px 0 30px 0;
	}
}

/** -----------------------------------
    テキスト
-------------------------------------**/

h2.large {
	font-weight: bold;
	font-size: 26px;
	line-height: 1.5;
	letter-spacing: 0.1em;
}

h3.small {
	font-weight: bold;
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: 0.1em;
}

h4 {
	font-weight: bold;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0.1em;
}
p.title, .footer-link {
	font-weight: bold;
	font-size: 19px;
	line-height: 1.5;
	letter-spacing: 0.12em;
}
p.medium {
	font-weight: 600;
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.06em;
}

p.small, p.copyright {
	font-weight: 600;
	font-size: 14px;
	line-height: 2;
	letter-spacing: 0.06em;
}
/*--------スマホ---------*/
@media screen and (max-width: 768px) {
	h2.large {
		font-weight: bold;
		font-size: 24px;
		line-height: 1.5;
		letter-spacing: 0.1em;
	}
	h3.small {
		font-weight: bold;
		font-size: 16px;
		line-height: 1.5;
		letter-spacing: 0.1em;
	}
	p.medium {
		font-weight: 600;
		font-size: 14px;
		line-height: 2;
		letter-spacing: 0.06em;
	}
	p.small, p.copyright {
		font-weight: 600;
		font-size: 12px;
		line-height: 2;
		letter-spacing: 0.06em;
	}
}

/** -----------------------------------
    見出し
-------------------------------------**/
.title-en {
	text-align: center;
	margin-bottom: 15px;
}
.icon {
	width: 23.5px;
}
.title-en .title {
	font-family: "Cabin", sans-serif;
	font-size: 19px;
	line-height: 1.5;
	letter-spacing: 0.12em;
}

/** -----------------------------------
    レイアウト
-------------------------------------**/

.col-3 {
	/*横並びにする*/
	display: flex;
	/*左右に散らすように水平方向の揃え方を指定する*/
	justify-content: space-between;
}
.col-3 .item {
	/*要素と要素の間の余白が48pxで左右の横幅が等しくなるように指定する*/
	width: calc((100% - 48px)/3);
}
.col-4 {
	display: flex;
	justify-content: space-between;
}
.col-4 .item {
	width: calc((100% - 72px)/4);
}
	/*お出かけマップのスポットのレイアウト*/
.col-3-map {
	display: flex;
	justify-content: space-evenly;
}
.col-4-map {
	display: flex;
	justify-content: space-between;
	margin: 54px 0 0;
}

/** -----------------------------------
    ヘッダー
-------------------------------------**/

#header {
	background-color: #e8ddcd;
	height: 100px;
	width: 100%;
	padding: 0 80px;
	/*ロゴとそれ以外を横並びにする*/
	display: flex;
	/*左右に散るように指定*/
	justify-content: space-between;
	/*headerが常に上部に固定されるように指定*/
	position: fixed;
	/*topから0の距離で固定*/
	top: 0;
	/*重なり順が一番上になるように指定*/
	z-index: 1;
}
.header-logo {
	display: flex;
	align-items: center;
}
.header-logo a {
	display: flex;
}
.gnav-pc-wrap {
	display: flex;
	justify-content: space-between;
	/*垂直方向に中央に揃うように指定*/
	align-items: center;
}
ul li {
	margin-right: 40px;
	/*左右に散るように指定*/
	display: inline;
}
.gnav-pc-wrap a {
	color: #060606;
	font-size: 19px;
	font-weight: bold;
	text-decoration: none;
}
.gnav-pc-wrap a:hover {
	color: #bb5535;
}
/*--------スマホ---------*/
@media screen and (max-width: 768px) {
	#header {
		height: 60px;
		padding: 0;
	}
	#header h1 img {
		width: 180px;
	}
	#header h1 {
		padding-left: 20px;
	}
	#header h1 a {
		display: flex;
	}
	.gnav-pc-wrap {
		/* PCのナビゲーションをスマホでは非表示にする */
		display: none;
	}
	#menu-button {
		display: block;
		width: 60px;
		height: 60px;
		padding: 22px 18px;
	}
	.menu-button-inner {
		position: relative;
		display: block;
		width: 100%;
		height: 100%;
	}
	.menu-button-inner span {
		display: block;
		height: 2px;
		width: 100%;
		background-color: #060606;
		position: absolute;
	}
	.menu-button-inner span:nth-of-type(2) {
		top: 0;
		bottom: 0;
		margin: auto;
	}	
	.menu-button-inner span:nth-of-type(3) {
		bottom: 0;
	}
}
/** -----------------------------------
    メインビジュアル
-------------------------------------**/
.mainvisual {
	width: 100vw;
	height: calc(100vh - 102px);
	background-image: url(../images/mainvisual.jpg);
	/*背景画像が常に縦横比を維持したまま全面を覆うようにサイズ指定*/
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}
.mainvisual img {
	/* 画面幅によってサイズが変わる */
	width: 60%;
	position: absolute;
	/* 位置を指定 */
	top: 43%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/*--------スマホ---------*/
@media screen and (max-width: 768px) {
	.mainvisual {
		width: 100vw;
		/* スマホ用の背景画像を表示する */
		background-image: url(../images/mainvisual-sp.jpg);
		height: 435px;
		margin-top: 60px;
		margin-bottom: 30px;
	}

}
/** -----------------------------------
    AboutCity 八戸市ってこんなところ
-------------------------------------**/
#aboutcity {
	padding: 90px 0 60px;
}
#aboutcity .aboutcity-top {
	position: relative;
}
#aboutcity .aboutcity-top:after {
	display: block;
	content: '';
	width: 70%;
	height: 460px;
	background: #fff;
	border-radius: 0 2em 2em 0;
	position: absolute;
	top: -30px;
	left: 0;
	z-index: -1;
}
#aboutcity .aboutcity-top .section-inner {
	display: flex;
	align-items: flex-start;
	justify-content: center;
} 
#aboutcity .aboutcity-top .txtArea {
	width: 50%;
	text-align: center;
}
#aboutcity .aboutcity-top .txtArea .title-en {
	margin-bottom: 0;
}
#aboutcity .aboutcity-top .txtArea  h2.large {
	margin-bottom: 30px;
}
#aboutcity .aboutcity-top .txtArea p.medium {
	text-align: center;
}
#aboutcity .aboutcity-top img.aomori {
	width: 528px;
}
#aboutcity .aboutcity-btm img.access {
	display: block;
	width: 959px;
	margin: 50px auto 0;
}

/*--------スマホ---------*/
@media screen and (max-width: 768px) {
	#aboutcity {
		padding: 50px 0 0;
	}
	#aboutcity .aboutcity-top:after {
		display: block;
		content: '';
		width: 100%;
		height: 735px;
		background: #fff;
		border-radius: 0;
		position: absolute;
		top: -30px;
		left: 0;
		z-index: -1;
	}
	#aboutcity .aboutcity-top .section-inner {
		display: block;
	} 
	#aboutcity h2.large,
	#aboutcity p.medium {
		text-align: center;
	}
	#aboutcity p.medium {
		margin-bottom: 30px;
	}
	#aboutcity .aboutcity-top img.aomori {
		width: 350px;
		display: block;
		margin: 20px auto;
	}
	#aboutcity .aboutcity-btm img.access {
		display: block;
		width: 375px;
		margin: 50px auto 0;
	}
}

/** -----------------------------------
    Spot おすすめスポット
-------------------------------------**/
#spot h2.large, h3.small {
	text-align: center;
}
#spot p.small {
	text-align: left;
}
#spot .item {
	margin-top: 50px;
}
#spot .card-text {
	position: relative;
}
#spot .card-text::after {
	display: block;
	content: '';
	width: 100%;
	height: 260px;
	background: #fff;
	border-radius: 0 0 2em 2em;
	position: absolute;
	top: -30px;
	left: 0;
	z-index: -1;
}
.card-text h3.small {
	margin-bottom: 20px;
}
.card .card-text {
	padding: 16px 21px 20px 21px;
}
.card-img img {
	width: 220px;
	height: auto;
}
div.purpose {
	padding: 56px 80px 0;
	/*ロゴとそれ以外を横並びにする*/
	display: flex;
	/*左右に散るように指定*/
	justify-content: space-between;
}
.button {
	display: flex;
	justify-content: space-around;
	/*垂直方向に中央に揃うように指定*/
	align-items: center;
	gap: 30px;
}
.btn {
	display: block;/*ブロック表示にする*/
	width: 139px;
	height: 38px;
	color: #060606;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
	letter-spacing: 0.1em;
	background-color: #fff;
	border: #060606 2px solid;
	border-radius: 19px;
	text-align: center;
	line-height: 38px;
}
a.btn-red:hover {
	color: #fff;
	background: #bb5535;
}
a.btn-yellow:hover {
	color: #fff;
	background: #edcf70;
}
a.btn-green:hover {
	color: #fff;
	background: #87caac;
}
/*--------スマホ---------*/
@media screen and (max-width: 768px) {
	.card-img img {
		width: 161.8px;
		height: auto;
	}
	#spot .card-text {
		position: relative;
	}
	#spot .card-text::after {
		display: block;
		content: '';
		width: 161.8px;
		height: 180px;
		background: #fff;
		border-radius: 0 0 1em 1em;
		position: absolute;
		top: -30px;
		left: 0;
		z-index: -1;
	}
	.card-text h3.small {
		font-size: 14.8px;
		margin-bottom: 13px;
	}
	.card-text p.small {
		font-size: 10px;
	}
	.card .card-text {
		padding: 5px 15px 5px;
	}
	.col-2 {
		/*横並びにする*/
		display: flex;
		/*左右に散らすように水平方向の揃え方を指定する*/
		justify-content: space-between;
	}
	.col-2 .item {
		/*要素と要素の間の余白が16pxで左右の横幅が等しくなるように指定する*/
		width: calc((100% - 16px)/2);
	}
	div.purpose {
		display: block;
		padding: 30px 0 0;
	}
	div.purpose h2 {
		text-align: center;
	}

	div.purpose .button01 {
		display: flex;
		justify-content: center;
		margin-top: 20px;
	}
	div.purpose .button02 {
		display: flex;
		gap: 18px;
		margin: 20px auto;
		width: 80%;
	}
}

/** -----------------------------------
    Model Course　おすすめのめぐり方
-------------------------------------**/
#modelcourse {
	background-color: #fff;
    border-radius: 3em;
	width: 960px;
    height: 487px;
	margin: 60px auto;
	position: relative;
}
#modelcourse h2.large {
	text-align: center;
}
#modelcourse .section-inner img.plan {
	width: 114px;
	position: absolute;
	left: 83px;
	top: 95px;
}
#modelcourse h3.small, 
#modelcourse p.medium {
	text-align: left;
	margin-bottom: 30px;
}
#modelcourse .course {
	margin: 30px 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
}
#modelcourse .btn {
	position: relative;
	display: inline-block;
	width: 248px;
	height: 49px;
	color: #060606;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	letter-spacing: 0.1em;
	background-color: #fff;
	border: #060606 2px solid;
	border-radius: 10px;
	text-align: center;
	line-height: 49px;
}
#modelcourse .btn::before,
#modelcourse .btn::after {
	position: absolute;
	top: 0;
	bottom: 0;
	right: -200px;
	margin: auto;
	content: "";
	vertical-align: middle;
}
#modelcourse .btn::before {
	/*直線を作る*/
	left: 3px;
	width: 7px;
	height: 1px;
	background: #060606;
}
#modelcourse .btn::after {
	/*矢印の三角を作る:*/
	left: 3px;
	width: 6px;
	height: 6px;
	border-top: 1px solid #060606;
	border-right: 1px solid #060606;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
#modelcourse a.btn-red:hover {
	color: #fff;
	background: #bb5535;
}
#modelcourse a.btn:hover::before {
	background: #fff;
}
#modelcourse a.btn:hover::after {
	border-top-color: #fff;
	border-right-color: #fff;
}
#modelcourse img.model-img {
	width: 419px;
}
/*--------スマホ---------*/
@media screen and (max-width: 768px) {
	#modelcourse {
		background-color: #fff;
		border-radius: 3em;
		width: 375px;
		height: 763px;
		margin: 30px auto 50px;
		position: relative;
	}
	#modelcourse img.model-img {
		width: 300px;
		display: block;
		margin: 30px auto 0;
	}
	#modelcourse .section-inner img.plan {
		width: 114px;
		position: absolute;
		left: 30px;
		top: 400px;
	}
	#modelcourse h3.small {
		font-size: 20px;
		margin-top: 110px;
	}
	#modelcourse h3.small,
	#modelcourse p.medium {
		text-align: center;
	}
	#modelcourse p.medium {
		font-size: 15px;
	}
	#modelcourse .modelcourse-btn {
		text-align: center;
	}
}
/** -----------------------------------
    Map　八戸市お出かけマップ
-------------------------------------**/
#map {
	background-color: #efe8de;
	position: relative;
}
#map .style {
	text-align: center;
	position: relative;
}
#map .section-inner .check {
	width: 193px;
	position: absolute;
	right: 120px;
	bottom: -22px;
}
#map .item {
	height: auto;
	position: relative;
	margin: 10px auto;
}
#map .item img {
	cursor: pointer;
	width: 147px;
	height: auto;
	position: relative;
}
#map .item img.hacchi {
	width: 161px;
}
#map .item:hover {
	opacity: 70%;
}
#map .hachinohe {
	width: 823.5px;
	margin: 30px auto 0;
	display: block;
}
/*--------スマホ---------*/
@media screen and (max-width: 768px) {
	#map {
		background-color: #efe8de;
		position: relative;
	}
	#map .title-en {
		margin-top: 58px;
	}
	#map .style {
		text-align: center;
		position: relative;
	}
	#map .section-inner .check {
		width: 149px;
		position: absolute;
		right: 5px;
		bottom: 60px;
	}
	#map .item img {
		cursor: pointer;
		width: 120px;
		height: auto;
		position: relative;
	}
	#map .item img.hacchi {
		width: 131px;
	}
	#map .col-2-map {
		display: flex;
		justify-content: space-around;
		margin: 20px 10px 10px;
	}
	#map .tanesashi img {
		margin: 20px auto 0;
		display: flex;
		justify-content: center;
	}
	#map .item:hover {
		opacity: 70%;
	}
	#map .hachinohe {
		width: 345px;
		margin: 40px auto 0;
		display: block;
	}
}
/** -----------------------------------
    Instagram　八戸市の魅力をお届け
-------------------------------------**/
.slider img{
	margin: 60px 12px 0;
}
#instagram h2.large, h4 {
	text-align: center;
}
#instagram .section-inner .instagram-btn {
	text-align: center;
	margin: 30px 0 0;
}
#instagram .section-inner .instagram-btn h4 {
	margin: 30px 0 20px;
}
#instagram .section-inner img.photo-btn {
	width: 48px;
}
.btn-blue {
	display: inline-block;/*インラインブロック表示にする*/
	width: 48px;
	height: 25px;
	color: #060606;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
	letter-spacing: 0.1em;
	background-color: #fff;
	border: #060606 2px solid;
	border-radius: 12.5px;
	line-height: 25px;
	text-align: center;
}
a.btn-blue:hover {
	color: #fff;
	background: #4e82c0;
}
/*--------スマホ---------*/
@media screen and (max-width: 768px) {
	.slider img{
		width: 182px;
		margin: 20px 6px 0;
		/* ？？写真のサイズの変更方法がわからない */
	}
}
/** -----------------------------------
    footer フッター
-------------------------------------**/
#footer {
	background-color: #98c2cb;
	height: 300px;
	/*中央寄せにする*/
	text-align: center;
}
#footer a {
	color: #060606;
	text-decoration: none;
}

.sns, .footer-link {
	margin: 10px;
}
.sns li, .footer-link li {
	/*リストを横並びにする*/
	display: inline;
	margin: 0 auto;
}
#footer .sns img:hover {
	color: #bb5535;
}
#footer img.logo02 {
	width: 422px;
	height: auto;
	margin: 0 10px;
}
#footer img.sns {
	width: 30px;
	height: auto;
	margin: 0 10px;
}
#footer a:hover {
	color: #bb5535;
}
.copyright {
	color: #060606;
}
/*--------スマホ---------*/
@media screen and (max-width: 768px) {
	#footer {
		background-color: #98c2cb;
		height: 363px;
		/*中央寄せにする*/
		text-align: center;
	}
	#footer p.title {
		margin: 20px 0 10px;
	}
	.sns, .footer-link {
		margin: 10px;
	}
	.footer-link li {
		/*リストを縦並びにする*/
		display: block;
		margin: 0 auto;
	}
	#footer img.logo02 {
		width: 300px;
		height: auto;
		margin: 0 10px;
	}
}

/*===============================================
PC : 画面の横幅が769px以上
=================================================*/

.example {
	font-size: 50px;
	color: #99293D;
}



/*ここからメディアクエリで各デバイスサイズに書き分けます
CSSは上から下に継承されるので、変化させたいところだけ書けばOK*/



/*================================================
Tablet : 画面の横幅が768pxまで
==================================================*/
@media screen and (max-width: 768px){
	.example {
		font-size: 30px;
		color: #2D81B1;
	}
}


/*================================================
Smartphone :  画面の横幅が640pxまで
=================================================*/
@media screen and (max-width:640px){
	.example {
		font-size: 20px;
		color: #AD8651;
	}
}
