@charset "UTF-8";
/* ---------------------------------------

	タブレット端末＜1024px以下共通＞

--------------------------------------- */
@media screen and (max-width:1024px) {
	img {
		width: auto;
		height: auto;
		max-width: 100%;
	}
	
	.head-top {
		width: 100%;
		margin: 60px auto 0 auto;
		height: auto;
	}
		
	#top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
	
    #top-head {
        position: fixed;
		margin-top: 0;
		height: 56px;
		top: 0;
    }
	
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: #3734b1;
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        top: 13px;
        color: #333;
        font-size: 26px;
    }
	
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #2f2c95;
        width: 100%;
        text-align: center;
        padding: 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
		display: block;
    }
	
    #global-nav ul li {
        position: static;
		text-align: center;
		width: 100%;
		border-bottom: #7673da 1px solid;
    }
    
    #global-nav ul li:hover {
		background: #3734b1;
	}
	
	#global-nav ul li:last-child {
		border-bottom: none;
    }
	
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 22px 0 18px 0;
    }
	
	#top-head.fixed #global-nav ul li:hover {
		background: #3734b1;
	}
	
	#nav-toggle {
		display: block;
    }
	
	#nav-toggle .tit {
		display: none;
	}

	
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
	
	nav ul li.top a::after, nav ul li.jikoku a::after, nav ul li.noriba a::after,
	nav ul li.guide a::after, nav ul li.setsubi a::after, nav ul li.faq a::after,
	nav ul li.jigyosha a::after {
		content: '';
	}
	
	/* --------------------------
		メインビジュアル
	-------------------------- */
	.visual-wrap {
		margin-top: 0;
		height: 280px;
	}
	
	#sliderArea {
		margin-top: 0;
	}
	
	/* --------------------------
		コンテンツ
	-------------------------- */	
	#contents {
		width: 100%;
		min-width: 100%;
	}

	#contents_inner {
    	width: 98%;
	}
	
	#main_cont {
		width: 100%;
		float: none;
	}
	
	/*航路マップエリア*/
	.routemapArea img {
		width: 100%;
	}
	
	/*メニューエリア*/
	#main_cont .menuArea ul {
		justify-content: center;
	}
	
	#main_cont .menuArea ul li {
		padding: 10px 20px;
	}
	
	/* --------------------------
		小豆島へのお得な旅情報
	-------------------------- */
	#main_cont .info-tabi ul {
		justify-content: center;
	}
	
	#main_cont .info-tabi ul li {
		padding: 10px;
		width: auto;
	}
	
	/* --------------------------
		サイドエリア
	-------------------------- */	
	#side_cont {
		width: 100%;
	    float: none;
	    text-align: center;
	    -js-display: flex;
	    display: flex;
	    justify-content: center;
	    flex-wrap: wrap;
		margin-bottom: 0;
	}
	
	.bnr_angel, .sns_brnArea, .reservArea, .otherArea {
	    padding: 4px 10px;
	}
	
	.sns_brnArea ul li {
	    padding: 0;
	}
	
	
	/* --------------------------
		フッター上バナーエリア
	-------------------------- */
	#bnrArea ul {
		flex-wrap: wrap;
		width: 100%;
		justify-content: center;
		flex-direction: column;
		text-align: center;
	}
	
	#bnrArea ul li {
		padding: 6px 0;
	}
	
	/* --------------------------
		フッター
	-------------------------- */
	#footer_upperArea .wrapper {
		background-size: contain;
		height: 100px;
	}

	#footer_inner001 .wrapper, #footer_inner002 .wrapper {
		width: 100%;
	}
	
	#footer_inner001 ul.nain_nemu, #footer_inner002 ul.nain_nemu {
	    justify-content: flex-start;
	    padding: 30px 0;
	}
	
	#footer_inner001 ul.nain_nemu li.list {
	    border-right: none;
	    width: 100%;
	    text-align: left;
	    margin: 8px auto;
	    
	}
	
	#footer_inner002 ul.nain_nemu li.list {
	    border-right: none;
	    width: 100%;
	    text-align: left;
	    margin: 8px auto;
	    
	}
	
	#footer_inner001 ul.nain_nemu li.list a {
	    text-align: left;
	}
	
	/* --------------------------
		コピーライト
	-------------------------- */
	#footer_bottom {
		min-width: 100%;
	}

	#footer_bottom_inner {
		width: 100%;
	}
	
	/* --------------------------
		メインビジュアル＜第二階層＞
	-------------------------- */
	.visual-wrap-2nd {
		margin-top: 0;
		/**height: 200px;　高さを固定した場合**/
		height: 0;
    	padding-top: 27.142857%;
	}
}


@media screen and (min-width:641px) and (max-width:1024px) {
	#info-unkou .block {
		width: 98%;
		margin: 0 auto;
	}
	
}

@media screen and (min-width:641px) and (max-width:768px) {
	.head-top h1 {
		width: 40%;
	}
	
	#trasArea {
		padding-right: 30px;
	}
	
}


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

			スマホ

--------------------------------------- */
@media only screen and (max-width: 640px) {
	/* --------------------------
		＜共通＞
	-------------------------- */
	br.sp {
		display: block;
		line-height: 1.6em;
	}
	
	/* --------------------------
		トップ上部
	-------------------------- */
	.head-top {
		width: 100%;
		margin: 56px auto 0 auto;
		height: auto;
	}
	
	.head-top img {
		width: auto;
	}
	
	.head-top h1, .head-top .btn_yoyaku {
		float: none;
	}
	
	.head-top .btn_yoyaku {
		padding-right: 0;
	}
	
	#top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
	
	.btn_yoyaku a {
		background: #eb2536;
		width: 100%;
		display: inline-block;
	}
	
    #top-head {
        position: fixed;
		margin-top: 0;
		height: 56px;
		top: 0;
    }
	
	/* --------------------------
		Google翻訳
	-------------------------- */
	#trasArea {
		float: none;
	}
	
	/*===============================
		運行状況エリア
	===============================*/
	#info-unkou .block {
		flex-wrap: wrap;
		width: 98%;
		margin: 0 auto;
	}
	
	#info-unkou .tit-unkou {
		width: 98%;
	}
	
	#info-unkou .koumoku {
		width: 98%;
    	margin: 0 auto;
	}
	
	#info-unkou ul.unkou-list {
		flex-wrap: wrap;
		width: 100%;
	}
	
	#info-unkou ul.unkou-list li {
		border-right: none;
		border-bottom: #fff 1px solid;
		width: 100%;
		padding: 15px 0 15px 15px;
	}
	
	#info-unkou ul.unkou-list li:last-child {
		border-bottom: none;
	}

	#info-unkou {
		margin: 20px auto 30px auto;
		width: 98%;
	}
	
	#info-unkou ul.unkou-news {
		flex-wrap: wrap;
		width: 98%;
	}
	
	#info-unkou ul.unkou-news li{
		width: 100%;
	}
	
	#info-unkou ul.unkou-news li:first-child {
		width: 100%;
		padding: 16px 0 14px 0;
	}
	
	span.kousoku {
		font-size: 60%;
		position: relative;
		top: 0;
		left: 0;
	}
	
	/* --------------------------
		航路
	-------------------------- */
	.route_list ul {
		-js-display: flex;
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		flex-direction: column;
		margin: 0 auto;
		text-align: center;
	}
	
	.route_list ul li {
		width: 100%;
	}
	
	/* --------------------------
		新着情報
	-------------------------- */
	#main_cont .info-news ul li a {
	    line-height: 1.6em;
	}
	
	/* --------------------------
		フッター
	-------------------------- */
	#footer_upperArea .wrapper {
		background-size: contain;
		height: 100px;
		background: none;
	}
	
	/* ---------------------------------------
		メインビジュアル＜第二階層＞
	--------------------------------------- */	
	.shopArea .left-block {
		float: none;
		width: 100%;
	}
	

	/* ---------------------------------------
		お問い合わせフォーム
	--------------------------------------- */
	#main_cont table.inquiry {
		max-width: 98%;
    	margin: 0 auto;
	}
	
	#main_cont table.inquiry tbody tr {
		width:100%;
		display: block;
		list-style: none;
	}
	
	#main_cont table.inquiry tbody th,
	#main_cont table.inquiry tbody td {
		width:100%;
		display: list-item;
		padding: 12px 0 10px 0;
		border:none;
	}
	
	#main_cont table.inquiry tbody td {
		text-align: center;
	}
	
	#main_cont table.inquiry tbody th {
		background: #3734b1;
		padding: 18px 0;
		color: #fff;
	}
	
	 /* テキストエリアの設定 */
	#main_cont table.inquiry input[type="text"],
	#main_cont table.inquiry input[type="email"],
	#main_cont table.inquiry input[type="tel"],
	#main_cont table.inquiry textarea, #main_cont table.inquiry select{
		width:90%;
		padding: 12px 0px 12px 0px;
		margin:10px 0;
	}
	
	p.text-xs-center {
		margin: 24px auto 0 auto;
		text-align: center;
	}
	
	.btn-success {
		width: 90%;
		padding: 24px 0;
	}
	
	span.wpcf7-not-valid-tip {
		padding: 18px 0;
	}

	/**********
	20170222追加
	***********/
	.head-top {
		margin: 0 auto;
		position: relative;
		background: #fff;
		z-index: 999999;
	}
	
	.head-top h1 {
		width: 65%;
		padding-top: 16px;
	}
	
	#trasArea {
		position: absolute;
		top: 1%;
		right: 0;
		padding-right: 8px;
	}
	
	#top-head {
		position: relative;
	}
	
	.head-top .btn_yoyaku {
		padding-top: 10px;
	}
	
	.goog-te-gadget {
		margin: 10px auto 0 auto;
	}
	
	/*ナビ*/
    #nav-toggle {
		-js-display: flex;
        display: flex;
		-js-justify-content: center;
		justify-content: center;
		
		position: relative;
    	right: inherit;
		margin: 0 auto;
		width: auto;
		height: auto;
		
    }
	
	#nav-toggle_wrapper {
		width: 34px;
    	height: 36px;
	}
	
	#nav-toggle .tit {
		display:block;
		padding: 6px 0 6px 10px;
	}

}

/**********
20170222追加
***********/
@media only screen and (min-width:415px) and (max-width: 600px) {
	#trasArea {
		top: 9%;
		padding-right: 14px;
	}
	
	.head-top h1 {
		width: 100%;
		padding-top: 16px;
		text-align: left;
	}
	
}

/**********
20170222追加
***********/
@media only screen and (max-width: 414px) {
	.head-top h1 {
		width: 60%;
		padding-top: 7px;
	}
}