﻿/*
 Theme Name:   asahikawa2.0
 Version:      2.0.0
*/

/*------------------------------------------

	Reset

------------------------------------------*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
body{
margin:0;
font-family: 'Noto Sans JP', sans-serif;
}
body.page-template-page-plain{
margin:8px;
}
img{
  max-width: 100%;
  height: auto;
  width /***/:auto; /*IE8のみ適用*/
	vertical-align:bottom;
}
a img {
	border: none;
}
ul li,
ol li{
}

.single-post:not(.has-sidebar) #primary, .page.page-one-column:not(.twentyseventeen-front-page) #primary, .archive.page-one-column:not(.has-sidebar) .page-header, .archive.page-one-column:not(.has-sidebar) #primary {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}
/* clearfix
------------------------------------------*/

.cf:before,
.cf:after {
	content:"";
	display:table; 
}

.cf:after {
	clear:both; 
}   

.cf {
	zoom:1; 
} 

/*-------------------------------------------
	fonts
--------------------------------------------*/
/*------------------------------------------

	Header

------------------------------------------*/
header{
  height:215px;
  height:0;
  padding-top:30px;
  padding:0;
  margin:0 auto;
border-top:20px #18906D solid;
}

header .inner{
  position:relative;
  max-width:1190px;
display:none;
}

.httl{
display:inline-block;
margin:0 0 30px 0;
}
.navbox{
 max-width:1000px;
margin:0 auto;
}
.navbox-inner{
   position:relative;
}
.gnbox{
}
.navttl{
  width:200px;
  margin:0;
  padding:5px 0;
}
.navttl a{

}

/* grobal navigation (custom menu)
------------------------------------------*/
.grobal-nav {
  position:absolute;
  width:calc(100% - 200px);
  top:0px;
  right:0;
}
#menu-grobal-menu{
  display:table;
  width:100%;
  margin:0;
border-right:1px #E9B8BB solid;
}
#menu-grobal-menu li{
  display:table-cell;
	width:25%;
  margin:0;
border-left:1px #E9B8BB solid;
}
#menu-grobal-menu li a{
  display:block;
  font-size:16px;
  font-weight:600;
  line-height:1;
  padding:21px 0 21px 20px;
text-align:center;
background-position:15px center;
background-repeat:no-repeat;
}
#menu-grobal-menu li a:hover,
#menu-grobal-menu li.current-menu-item a{
  opacity:0.8;
}

.menu{
  list-style-type:none;
}


#toggle {
	display: none;
}

/*-- ■ Media Queries ■ --*/
@media (max-width: 1190px) {
.httl{
margin:0 0 30px 3%;
}
}
@media (max-width: 1000px) {
header{
  height:60px;
  height:0;
  padding:0;
}
header .inner{
border:none;
padding:0;
}

.httl{
width:240px;
margin:10px 0 8px 3%;
}
.httl a{
  padding:11px 0;
}
.navbox{
position:relative;
display: none;
z-index:10:
}

.navttl{
display:none;
}


.grobal-nav{
position:relative;
width:100%;
margin-left:0;
margin-right:0;
}
.menu-grobal-menu-container{
	width:100%;
	top:60px;
	z-index:20;
}
#menu-grobal-menu{
	display:block;
	background:rgba(255,255,255,0.9);
	border-right:none;
	border-top:1px #E9B8BB solid;
}
#menu-grobal-menu li{
width:100%;
	display:block;
	border-left:none;
	border-bottom:1px #E9B8BB solid;
}
#menu-grobal-menu li a{
text-align:left;
padding: 15px 0 15px 60px;
background-size:28.75px 30px;
}

#toggle{
	display:block;
	display:none;
	position:absolute;
	top:20px;
	right:3%;
	cursor:pointer;
}
.menu-trigger,
.menu-trigger span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
}
.menu-trigger {
	position: relative;
	width: 25px;
	height: 19px;
}
.menu-trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: #B81B25;
	border-radius: 3px;
}
.menu-trigger span:nth-of-type(1) {
	top: 0;
}
.menu-trigger span:nth-of-type(2) {
	top: 8px;
}
.menu-trigger span:nth-of-type(3) {
	bottom: 0;
}

#toggle.gnavon .menu-trigger span:nth-of-type(1) {
	-webkit-transform: translateY(8px) rotate(-45deg);
	transform: translateY(8px) rotate(-45deg);
}
#toggle.gnavon .menu-trigger span:nth-of-type(2) {
	opacity: 0;
}
#toggle.gnavon .menu-trigger span:nth-of-type(3) {
	-webkit-transform: translateY(-8px) rotate(45deg);
	transform: translateY(-8px) rotate(45deg);
}
}/* end 900px */

/*------------------------------------------

	footer

------------------------------------------*/
#footer{
}
#footer small{
display:block;
text-align:center;
padding:20px 3%;
}
.totop {
	position: absolute;
	right: 0;
	bottom: -10px;
}
.totop a {
    display: block;
    width: 76px;
    height: 76px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background: url() 0 0 no-repeat;
    background-size: contain;
}

@media (max-width: 1190px) {
#footer{
}
}
@media (max-width: 768px) {
#footer{
}

}

/*------------------------------------------

	Common

------------------------------------------*/
#main{
}
.home #main{
margin-bottom:0;
}


#content {
}
.site-content{
padding:0;
}
.sec{
clear:both;
padding-bottom:80px;
}
.inner{
max-width:980px;
margin:0 auto;
}

.img{
margin-bottom:20px;
}

.menu{
list-style-type:none;
}
a{
color:#000;
text-decoration:underline;
transition: opacity .4s,background-color .4s;
}

header a,
.grobal-nav a,
.page-navigation a{
	text-decoration:none;
}

a:hover{
	opacity:0.8;
}

.simple-list{
	list-style:none;
}
.simple-list li{
	text-indent:-1em;
	padding-left:1em;
	margin:0 0 0.3em;
}
.simple-list li:before{
	content:"・";
}

.note{
	font-size:15px;
	font-size:0.9375rem;
	text-indent:-1em;
	padding-left:1em;
}

.note:before{
	content:"※";
}
/*-- ■ Media Queries ■ --*/
@media (max-width: 1000px) {
.inner{
padding:0 3%;
margin:0;
}
}
@media (max-width: 768px) {
}
@media (max-width: 600px) {
}

/*------------------------------------------

	page-header

------------------------------------------*/

header{
width:100%;
position:relative;
z-index:1;
}
.thead{
padding:40px 0 20px;
}
.thead{
display: flex;
justify-content:space-between;
flex-wrap: wrap;
align-items:center;
}
.thead .txt{
width:560px;
}
.thead .img{
width:calc(100% - 560px);
text-align:center;
}
.thead .txt h1{
font-size:50px;
font-weight:bold;
}

.phead{
padding:0;
margin-bottom:60px;
background:#F7F7F7;
}

.phead .inner{
position:relative;
text-align:center;
padding:104px 0;
}

h1.phead-ttl{
position:relative;
font-size: 30px;
font-size: 1.875rem;
font-weight:bold;
padding:0;
margin:0;
}

/*-- ■ Media Queries ■ --*/
@media (max-width: 1190px) {
}/* end 1000px */
@media (max-width: 1000px) {
.thead .img{
width:100%;
}
.thead .txt{
width:100%;
}
.phead{
padding:0 3%;
}
}/* end 1000px */

@media (max-width: 768px) {
.phead .inner{
:50px 0;
}
}/* end 768px */

@media (max-width: 620px) {
.thead-main{
text-align:center;
}
.pagettl{
margin-bottom:40px;
}
}/* end 620px */

@media (max-width: 480px) {
.thead .txt h1{
font-size:30px;
}
.thead .img img{
width:160px;
}

.phead{
margin-bottom: 40px;
}

}/* end 480px */


/*--------------------------------------------------------------
	midashi
--------------------------------------------------------------*/
.cmnmds01{
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 22px;
  color:#000;
  font-weight: 700;
  padding:10px !important;
text-align:center;
}
.cmnmds02{
  font-size:18px;
  color:#B81C25;
  font-weight:bold;
  padding:0 0 20px;
  text-align:center;
  border-bottom:1px #B81C25 solid;
}

.cmnmds01+.cmnmds02{
	padding:0 0 13px !important;
}

/*-- ■ Media Queries ■ --*/
@media (max-width: 620px) {

}

/*--------------------------------------------------------------
	flexbox
--------------------------------------------------------------*/

.flfrm{
	display: flex;
	justify-content:space-between;
	flex-wrap: wrap;
}

.flbox2-1{
	width:47.5%;
}

.flbox3-1{
	width:30%;
}
.flbox4-1{
	width:23%;
	margin-bottom: 30px;}

/*-- ■ Media Queries ■ --*/
@media (max-width: 620px) {
.flfrm{
	display: block;
}
.flfrm .flbox2-1,
.flfrm .flbox3-1,
.flfrm .flbox4-1{
	width:auto;
	margin-bottom:30px;
}
}

/*--------------------------------------------------------------
	button
--------------------------------------------------------------*/
a.cmnbtn01 {
    max-width: 250px;
    width: 100%;
    background-color: #666;
    font-size: 16px;
    color: #FFF;
    line-height: 1;
    text-align: center;
    font-weight: 700;
    display: block;
    padding: 20px;
    margin: 0 auto 40px;
    text-decoration: none;
}

a.cmnbtn01:visited,
a.cmnbtn01:hover,
a.cmnbtn01:focus,
a.cmnbtn01:active {
	color:#FFF;
	outline:none;
}
.cmnbtn01-off{
	display:block;
	max-width:400px;
	padding:10px;
	font-size:20px;
	color:#999;
	font-weight:bold;
	text-align:center;
	margin:0 auto 40px;
	background:#CCC;
	border-radius:28px;
}
.btn-back{
	display:block;
	border-radius: 6px;
	width: 230px;
	background: #F2F2F2 !important;
	padding:10px; 
	margin: 0 auto 20px;
	font-size: 16px;
	font-weight: normal;
	text-align:center; 
	text-decoration:none;
	border:none;
}
/*-- ■ Media Queries ■ --*/
@media (max-width: 620px) {
}

