﻿@charset "UTF-8";
/*
Theme Name: AmamiFreelance
Author: AmamiFreelance
Description: AmamiFreelance Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: AmamiFreelance

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* --------------------------------------------------
    import
-------------------------------------------------- */
/* compass
---------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
table.table-bordered th {
background-color:#7a82a7;
color:#fff;
}
table.table-bordered td {
padding:20px 10px;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border-top: 1px solid #ddd;
    line-height: 1.8;
    padding: 18px;
    vertical-align: top;
}
body {
  line-height: 1.9;
font-family: "FP-HiraKakuStdN-W5", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
letter-spacing: 0.08em;
font-size: .80em;
margin:0;
padding:0;
}

ul {
  list-style: none;
}
ol {
margin-left:30px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
td, th {
padding:20px 0px;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}
b {
font-weight:bold;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

@media (max-width: 768px) {
br.sp {
display:none;
}
}

a img {
  border: none;
}
a:link, a:visited {
text-decoration:none;
color:#212121;
-webkit-transition: all 0.3s ease;
}
a:visited {
outline: none;
}

a:hover {
color: #CDD1D5;
outline: none;
}

a:focus,
a:active {
color: #CDD1D5;
outline: none;
}

a.default {
background-color:#ddd;
}
a.terakoya {
background-color:#00ccfb;
}
a.club {
background-color:#51ea96;
}
a.house {
background-color:#ffe500;
}
a.performance {
background-color:#ff56a2;
}

::selection {color: #FFF; background:#4cb615;}

::-moz-selection {color: #FFF; background:#4cb615;}

input::selection,textarea::selection {color: #000;}
input::-moz-selection,textarea::-moz-selection {color: #000;}


/* ==========================================================================
Typography
========================================================================== */
h1,h2,h3,h4,h5,h6{margin: 0;}
h2 {font-size: 2.4em; color: #000; font-weight:normal;padding-bottom:1em; font-family: Reimin Y30 Medium;}

h2.pagetitle {margin-top:1em;text-align:center;padding-bottom:0.5em;margin-bottom:1em;font-family: Reimin Y30 Medium;line-height:1.4;}
h2.articletitle {margin-top:2em;text-align:center;padding-bottom:0.5em;margin-bottom:2em;font-family: ヒラギノ丸ゴ W4 JIS2004;line-height:1.4;}
h2.articletitle::after {
    width: 200px;
    height: 1px;
    content: "";
    background-color: #000;
    position: absolute;
    bottom: 45px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
h3 {font-size: 1.6em;margin-bottom:1em;font-family: ヒラギノ丸ゴ W4 JIS2004;line-height:1.4;}

small.small,.small small{font-size: .9em; letter-spacing: 0;}
p,pre {vertical-align: top;}
p,li,dt {font-size: 1.16em; line-height: 1.8; font-weight: normal;}
li p,dt p {font-size:inherit;}
dt {font-weight: normal;}
p {margin-bottom: 16px;letter-spacing: .12em;}

@media (max-width: 768px) {
h2.pagetitle {
font-size:2em;
text-align:left;
}

h2 {font-size: 1.4em; color: #000; font-weight:normal;padding-bottom:1em; font-family: Reimin Y30 Medium;}

}


/* ==========================================================================
Padding Margin
========================================================================== */
.pt-01{padding-top: .1rem;}
.pt-02{padding-top: .2rem;}
.pt-03{padding-top: .3rem;}
.pt-04{padding-top: .4rem;}
.pt-05{padding-top: .5rem;}
.pt-06{padding-top: .6rem;}
.pt-07{padding-top: .7rem;}
.pt-08{padding-top: .8rem;}
.pt-09{padding-top: .9rem;}
.pt-1{padding-top: 1rem;}
.pt-15{padding-top: 1.5rem;}
.pt-2{padding-top: 2rem;}
.pt-3{padding-top: 3rem;}
.pt-4{padding-top: 4rem;}
.pt-5{padding-top: 5rem;}
.pt-6{padding-top: 6rem;}
.pt-7{padding-top: 7rem;}
.pt-8{padding-top: 8rem;}
.pb-01{padding-bottom: .1rem;}
.pb-02{padding-bottom: .2rem;}
.pb-03{padding-bottom: .3rem;}
.pb-04{padding-bottom: .4rem;}.pb-05{padding-bottom: .5rem;}.pb-06{padding-bottom: .6rem;}.pb-07{padding-bottom: .7rem;}.pb-08{padding-bottom: .8rem;}.pb-09{padding-bottom: .9rem;}.pb-1{padding-bottom: 1rem;}.pb-15{padding-bottom: 1.5rem;}.pb-2{padding-bottom: 2rem;}.pb-3{padding-bottom: 3rem;}.pb-4{padding-bottom: 4rem;}.pb-5{padding-bottom: 5rem;}.pb-6{padding-bottom: 6rem;}.pb-7{padding-bottom: 7rem;}.pb-8{padding-bottom: 8rem;}.pb-9{padding-bottom: 9rem;}.pb-10{padding-bottom: 10rem;}.pb-11{padding-bottom: 11rem;}
.mt-0{margin-top: 0;}.mt-01{margin-top: .1rem;}.mt-02{margin-top: .2rem;}.mt-03{margin-top: .3rem;}.mt-04{margin-top: .4rem;}.mt-05{margin-top: .5rem;}.mt-06{margin-top: .6rem;}.mt-07{margin-top: .7rem;}.mt-08{margin-top: .8rem;}.mt-09{margin-top: .9rem;}.mt-1{margin-top: 1rem;}.mt-2{margin-top: 2rem;}.mt-3{margin-top: 3rem;}.mt-4{margin-top: 4rem;}.mt-5{margin-top: 5rem;}.mt-6{margin-top: 6rem;}.mt-7{margin-top: 7rem;}.mt-8{margin-top: 8rem;}.mt-13{margin-top: 1.3rem;}.mt-15{margin-top: 1.5rem;}
.mb-0{margin-bottom: 0;}.mb-01{margin-bottom: .1rem;}.mb-02{margin-bottom: .2rem;}.mb-03{margin-bottom: .3rem;}.mb-04{margin-bottom: .4rem;}.mb-05{margin-bottom: .5rem;}.mb-06{margin-bottom: .6rem;}.mb-07{margin-bottom: .7rem;}.mb-08{margin-bottom: .8rem;}.mb-09{margin-bottom: .9rem;}.mb-1{margin-bottom: 1rem;}.mb-13{margin-bottom: 1.3rem;}.mb-15{margin-bottom: 1.5rem;}.mb-2{margin-bottom: 2rem;}.mb-3{margin-bottom: 3rem;}.mb-4{margin-bottom: 4rem;}.mb-5{margin-bottom: 5rem;}.mb-6{margin-bottom: 6rem;}.mb-7{margin-bottom: 7rem;}.mb-8{margin-bottom: 8rem;}.mb--1{margin-bottom: -1rem;}

@media (max-width: 768px) {
.mgt20_xs {
  margin-top:20px;
}
.mgt30_xs {
  margin-top:30px;
}
.mgt40_xs {
  margin-top:4em;
}
.pt-6{padding-top: 3rem;}

}
/* ==========================================================================
Drawer
========================================================================== */
.drawer-nav {
background-color:#000;
color:#fff;
padding-left:1em;
}
.drawer-nav a {
color:#fff;
font-size:0.9em;
}
.drawer-nav a:hover {
color:#fff;
text-decoration:none;
}
.menuTitle {
padding-left:1em;
font-size:0.8em;
border-top:1px solid #ddd;
padding-top:1em;
color:#ddd;
margin-top:1em;
}
.button {
	background-color: #fff;
	border: 2px solid #000;
	color: #000;
	line-height: 50px;
	display: inline-block;
	width: 200px;
	height: 54px;
	text-align: center;
	text-decoration: none;
	line-height: 54px;
	outline: none;
        margin:0 auto;
}
.button:hover {
	background-color: #000;
	border-color: #000;
	color: #fff;
}

.button::before,
.button::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.button,
.button::before,
.button::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}



/* ==========================================================================
Header
========================================================================== */
#fixed-top {
	z-index: 9999;
	position: fixed;
	top: 0;
	width: 100%;
	height: 75px;
border-bottom: 1px solid #c8cdd7;
background-color: rgba(248, 252, 255, 0.8);
}
#fixed-sitetop {
z-index: 9999;
width: 100%;
height: 75px;
border-bottom: 1px solid #c8cdd7;
background-color:#f8fcff;
}
#fixed-top a, #fixed-sitetop a {

}


.Header {
z-index: 9999;
position: absolute;
width: 100%;
}

.Header__head {
    z-index: 9999;
    position: absolute;
    top: 10px;
    left: 30px;
    line-height: 0;
}
.Header__head span {
font-size:.9em;
padding-left:10px;
}

@media (min-width:960px) and (max-width: 1530px) {
.Header__head span {
display:none;
}
}

.Menu {
display: flex;
flex-flow: row;
justify-content: flex-end;
margin: 0 0.5em;
padding: 25px 0 1em;
list-style-type: none;
}
.Menu li {
position: relative;
margin: 0 1em;
font-weight: bold;
letter-spacing: 0.05em;
font-family: ヒラギノ丸ゴ W4 JIS2004;
}
.Menu a {
	position: relative;
	display: inline-block;
	transition: .3s;
	color: #212121;
}
@media (max-width: 1200px) {
.Menu a {
font-size:.8em;
}
}
.Menu a:hover {
color: #ccc !important;
}
.Menu a::after {
position: absolute;
left: 0; bottom: 0;
content: '';
height: 2px;
background-color: #ccc;
transition: .3s
}
.Menu a:hover::after {
color: #fff;
width: 100%;
}



/* ==========================================================================
ZoomSlider
========================================================================== */
#topfull {
position: relative;
overflow: hidden;
width: 100%;
min-height: 400px;
background-color: #999;
}
.topfull-inner-content {
position: relative;
z-index: 2;
margin: 180px auto;
padding: 40px;
max-width: 850px;
color: #fff;
font-size: 1.3em;
}
.topfull-inner-content h1 {
margin: 0;
text-align: center;
}
.topfull-inner-content p {
font-family: Reimin Y20 Medium;
text-align: center;
}

@media (max-width: 768px) {
.topfull-inner-content {
margin: 80px auto;
padding: 0px 15px;
}
.topfull-inner-content h1 img{
width:200px;
margin-left:25px;
}

.topfull-inner-content p {
font-size:0.8em;
text-align: left;
margin-top:0.5em;
}

}

/* ==========================================================================
ClubBox
========================================================================== */
.ClubBox {
padding-left: 113px;
position: relative;
margin-bottom: 40px;
height:350px;
}
.ClubBox img {
max-width:64px;
position:absolute;
top:10px;
left:10px;
}
.ClubBox h3 {
    line-height: 25px;
    margin:8px 0 1em;
    
}

@media (max-width: 768px) {
.ClubBox {
height:auto;
}

}
/* ==========================================================================
Article
========================================================================== */
.Article__body {
padding-bottom:3em;
margin-bottom:3em;
background-color:#fff;
border-radius:5px;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}
.Article__content {
padding:2em;
word-wrap: break-word;
}
.Article__content h3 {
margin:2em 0 1.0em;
font-size:2.0em;
}
.Article__content p {
    margin-bottom: 1em;
    line-height: 2;
}
.Article__content img {
    margin-bottom: 2em;
    max-width:100%;
}
.Article__mainimg {
padding-bottom:0em;
}
.Article__mainimg img {
border-top-left-radius:5px;
border-top-right-radius:5px;
}
.Article__title {
margin-top:1em;
padding-bottom:0.5em;
margin-bottom:0.5em;
font-family: ヒラギノ丸ゴ W4 JIS2004;
line-height:1.4;
}
.Article__category a {
border-radius:20px;
padding:0.2em 0.3em;
color:#fff;
font-size:0.9em;
}
.Article__category a.default {
background-color:#ddd;
}
@media (max-width: 768px) {
.Article__category a {
font-size:0.6em;
padding:0.4em 0.5em;
}
.Article__content p {
    margin-bottom: 1em;
    line-height: 1.4;
}
}

/* ==========================================================================
DetailNav
========================================================================== */
.DetailNav {
margin-top:2em;
display:flex;
}
.DetailNav__previous {
flex:1 1 auto;
}
.DetailNav__next {
flex:1 1 auto;
text-align:right;
}
.DetailNav a {
color:#304d91;
}
/* ==========================================================================
SideBox
========================================================================== */
.SideBox {
    padding: 1em;
    margin: 0 0 1.5em;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}
.SideBox h3 {
font-size:1.6em;
text-align:left;
padding:1em 0;
border-top:3px solid #ddd;
margin-bottom:0;
margin-top:2em;
}

.SideBox__item {
margin-bottom:20px;
}

.SideBox__sub {
}

.SideBox__body time{
margin-bottom:1em;
}
.SideBox__body h4 {
font-size: 1em;
text-align:left;
line-height:1.3em;
}
.SideBox__body time {
font-size:0.6em;
}
.SideBox__label {
margin-top:1em;
margin-bottom:0.5em;
}
.SideBox__label a {
border-radius:20px;
padding:0.2em 0.3em;
color:#fff;
font-size:0.9em;
}
.SideBox__label a.default {
background-color:#ddd;
}

/* ==========================================================================
TopMessage
========================================================================== */
.TopMessage {
padding-top:10em;
padding-bottom:10em;
    background-image: url(images/gara.jpg);
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position-y: 100%;


}

.fadeInDown {
 -webkit-animation-fill-mode:both;
 -ms-animation-fill-mode:both;
 animation-fill-mode:both;
 -webkit-animation-duration:2s;
 -ms-animation-duration:2s;
 animation-duration:2s;
 -webkit-animation-name: fadeInDown;
 animation-name: fadeInDown;
 visibility: visible !important;
}
@-webkit-keyframes fadeInDown {
 0% { opacity: 0; -webkit-transform: translateY(-20px); }
 100% { opacity: 1; -webkit-transform: translateY(0); }
}
@keyframes fadeInDown {
 0% { opacity: 0; -webkit-transform: translateY(-20px); -ms-transform: translateY(-20px); transform: translateY(-20px); }
 100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
}

.TopMessage__head {
font-size: 3.4em; 
color: #000; 
font-weight:normal;
padding-bottom:1em;
font-family: Reimin Y20 Medium;
text-align:center;
}
.TopMessage__body {
text-align:center;
padding:0px 15px;
}

@media (max-width: 768px) {
.TopMessage {
padding-top:6em;
padding-bottom:6em;
}
.TopMessage__head {
font-size: 1.6em;
}
.TopMessage__body {
text-align:left;
}
}

/* ==========================================================================
Activity
========================================================================== */
.Activity {
background-image:url(/wp-content/themes/amamifreelance/images/bg_wave.png);
padding-top:6em;
padding-bottom:6em;
}
.Activity__title {
    background-color: #fff;
    position: relative;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.15);
font-family: ヒラギノ丸ゴ W4 JIS2004;
}
.Activity__title p {
    color: #333;
    font-style: normal;
    font-weight: 700;
    text-align: center;
    padding: 20px 0 21px 0;
    margin: 0;
    letter-spacing: 0.42em;
    background-color: #fff;
    position: relative;
    z-index: 3;
}
.Activity__head p {
margin-top:2em;
margin-bottom:3em;
text-align:center;
}

.Activity__item {
position: relative;
color: #FFF;
overflow: hidden;
display: block;
}

.Activity__item h3 {
position: absolute;
bottom: 0px; 
left: 0;
font-size: 1em;
z-index: 2;
width: 100%;
background-color: rgba(0,0,0,.5);
margin: 0;
padding: 1em;
text-align: left;
line-height: 1;
}

.Activity__item img {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transition: .2s ease-in-out;
transition: .2s ease-in-out;
}
.Activity__item:hover img {
-webkit-transform: scale(1.05); 
transform: scale(1.05);
}
.Activity__body h3 {
color: #000;
font-size:1em;
font-family: 'Courgette', cursive;
text-align: center;
}

@media (max-width: 768px) {
.Activity__head {
padding:0 15px;
text-align:left;
}
.Activity__head p {
text-align:left;
}
}
/* ==========================================================================
News
========================================================================== */
.News {
background-color: #fff;
padding-top:6em;
padding-bottom:6em;
}
.News ul {
width: 80%;
margin: 0 auto;
}
.News li {
padding:15px 0;
border-bottom: 1px solid #e5e5e5;
}
.News time {
padding-right: 10px;
}

.News__foot {
margin-top:6em;
margin-bottom:0em;
text-align:center;
}

@media (max-width: 768px) {
.News ul {
width: 95%;
margin: 0 auto;
}
.News time {
display:block;
padding-right: 10px;
}

}

/* ==========================================================================
Topics
========================================================================== */
.Topics {
background-color: #f2f9ff;
padding-top:6em;
padding-bottom:6em;
}

/* ==========================================================================
title
========================================================================== */
.title {
    color: #0f2841;
    font-size: 1.2em;
    margin: 0 0 4em;
    position: relative;
    text-align: center;
    font-family:
}
.title span {
    color: #000;
    display: block;
    font-family: 'Satisfy', cursive;
    font-size: 2.8em;
    letter-spacing: 0.02em;
}
.title::after {
    background-color: #000;
    bottom: -15px;
    content: "";
    height: 1px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 200px;
}



.container-fluid {padding-left: 15px; padding-right: 15px; max-width: 1260px;}

/* ==========================================================================
Card
========================================================================== */
.Card {
height:450px;
background-color:#fff;
margin-bottom:4em;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.Card__sub {
overflow: hidden;
position: relative;
color: #FFF;
display: block;
}
.Card__label {
margin-top:1.5em;
margin-bottom:1em;
}
.Card__label a {
border-radius:20px;
padding:0.4em 1em;
color:#fff;
}
.Card__label a.default {
background-color:#ddd;
}
.Card__label a.terakoya {
background-color:#00ccfb;
}
.Card__label a.club {
background-color:#51ea96;
}
.Card__label a.house {
background-color:#ffe500;
}
.Card__label a.performance {
background-color:#ff56a2;
}

.Card__body {
padding:0em 1em;
}
.Card__body h3{
margin-bottom:0.8em;
margin-top:1em;
font-size:1.4em;
color:#333;
line-height:1.6;
}
.Card__body p {
font-size:0.9em;
}
.Card__body time {
margin-top:1em;
}

.Card img {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transition: .2s ease-in-out;
transition: .2s ease-in-out;
}
.Card a:hover img {
-webkit-transform: scale(1.05); 
transform: scale(1.05);
}
@media (min-width: 430px) and (max-width: 768px) {
.Card {
height:600px;
}
}

@media (max-width: 440px) {

.Card {
height:400px;
}

.Card__body h3 {
font-size:1em;
}

}

/* ==========================================================================
Freelance
========================================================================== */
.Freelance {
}
.Freelance__body {
background-color:#fff;
width:700px;
margin:0 auto;
padding:2em;
word-wrap: break-word;
}

@media (max-width: 768px) {
.Freelance__body {
width:auto;
}
}
.Freelance__sub {
}

.Freelance__content {
font-size:0.9em;
margin-top:1em;
}

.Freelance__contact {
font-size:0.9em;
padding:1em;
background-color:#f3f3f3;
margin-top:2em;
border-radius:5px;
}
.Freelance__contact a {
color:#304d91;
}

.Freelance__job {
margin-top:1em;
}
.Freelance__body h2{
margin-bottom:0em;
padding-bottom:0em;
}
.Freelance__head {
margin:2em 0em 2em;
border-bottom:2px solid #ddd;
padding-bottom:1em;
}
.Freelance__body h2 span {
font-size:0.6em;
}
/* ==========================================================================
OtherPerson
========================================================================== */
.OtherPerson {
position: relative;
}
/* ==========================================================================
Person
========================================================================== */
.Person {
height:450px;
background-color:#fff;
margin-bottom:4em;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.Person__sub {
overflow: hidden;
position: relative;
color: #FFF;
display: block;
}

.Person__body {
padding:0em 1em;
}

.Person__author {
    font-style: italic;
    font-weight: 400;
    font-size:0.3em;
    line-height: 30px;
    display: block;
    color: #ddd;
    letter-spacing: 0.45em;
    text-align:center;
}
.Person__job {
    font-style: italic;
    font-weight: 400;
    font-size:0.9em;
    line-height: 30px;
    display: block;
    color: #231f20;
    letter-spacing: 0.45em;
    text-align:center;
}
.Person__body h3{
margin-top:1.4em;
font-size:2.0em;
color:#333;
text-align:center;
position: relative;
height:90px;
margin-bottom:0em;
letter-spacing: 0.45em;
}
.Person__body h3::after {
    bottom:20px;
    background-color: #c8cdd7;
    content: "";
    display: block;
    height: 1px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    transition: all 0s ease 0s, all 0.2s ease 0s;
    width: 41%;
}
.Person__body p {
font-size:0.9em;
}

.Person img {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transition: .2s ease-in-out;
transition: .2s ease-in-out;
}
.Person a:hover img {
-webkit-transform: scale(1.05); 
transform: scale(1.05);
}

.Person__detail {
border-top:1px solid #ddd;
border-bottom:1px solid #ddd;
padding:3em 0em;
margin:6em 0em;
}

@media (min-width: 430px) and (max-width: 768px) {
.Person {
height:600px;
}
}

@media (max-width: 440px) {
.Person__job {
font-size:0.8em;
letter-spacing: 0.2em;
line-height: 1.2;
margin-top:1em;
}

.Person {
height:350px;
}
}

/* ==========================================================================
ToppageMugiwara
========================================================================== */
.mugiwara {
    background: url("images/gara2.jpg") no-repeat fixed 0% 0% transparent;
}
.ToppageMugiwara{
  min-height: 600px;
　background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* ==========================================================================
Banner
========================================================================== */
.Banner{
  padding:2em 0;
  border-top: 1px solid #ebebeb;
}
.sukomo {
    background: #e7f0f7 url("/wp-content/themes/amamifreelance/images/sukomo.jpg") no-repeat scroll center center;
}
.syodon {
    background: #e7f0f7 url("/wp-content/themes/amamifreelance/images/syodon.jpg") no-repeat scroll center center;
}
.seri {
    background: #e7f0f7 url("/wp-content/themes/amamifreelance/images/seri.jpg") no-repeat scroll center center;
}
.gajyu {
    background: #e7f0f7 url("/wp-content/themes/amamifreelance/images/gajyu.jpg") no-repeat scroll center center;
}
.sagari {
    background: #e7f0f7 url("/wp-content/themes/amamifreelance/images/sagari.jpg") no-repeat scroll center center;
}
.taki {
    background: #e7f0f7 url("/wp-content/themes/amamifreelance/images/taki.jpg") no-repeat scroll center center;
}
#page-header {
padding:12em 0px 9em;
text-align: center;
}
#page-header {
    background-position: center 40%;
    background-size: cover;
    color: #fff;
    overflow: hidden;
    width: 100%;
    z-index:999;
    color:#fff;
}

#page-header h1 {
    font-size: 4em;
    color:#fff;
    font-family: 'Satisfy', cursive;
position: relative;	
}
#page-header p {
padding:2em 0 0;
    color:#fff;
}
#page-header h1:after {
    width: 200px;
    height: 1px;
    content: "";
    background-color: #fff;
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

nav.Pankuzu {
border-bottom:1px solid #ddd;
padding:10px 0px;
background-color:#f8fcff;
}
.Pankuzu__detail{padding-left: 2.4em;}
nav.Pankuzu ul li {
float:left;
font-size:.9em;
}
nav.Pankuzu ul li::after {
    content: ">";
    display: inline-block;
    margin: 0 1em;
}
nav.Pankuzu ul li:last-child::after {
    display: none;
}
#maincontent {
 padding-bottom: 80px;
background-color:#f6f9ff;
background-image: url(/wp-content/themes/amamifreelance/images/bg_shima.jpg);
background-position:left bottom;
    background-repeat: no-repeat;
background-size:100%;
}

ul.circle li {
    list-style-type: disc;
    margin-left: 18px;
    margin-bottom: .5rem;
}


@media (min-width: 768px) and (max-width: 991px) {

}
@media (max-width: 768px) {
#maincontent {
padding-bottom:3em;
}
#page-header {
padding:6em 0px 2em;
text-align: center;
}
}

.tac {
text-align:center;
}

.tacText {
text-align:center;
}

@media (max-width: 768px) {
.tacText {
text-align:left;
}
}

.topmessage {
padding-left:20px;
font-size:0.9em;
}
#logo {
margin:5px 0px;
}
header.hidden-xs nav {
margin:50px 0px 20px;
padding-bottom:3px;

}
header.hidden-xs nav ul {
margin:0px;
padding:0px;
}
header.hidden-xs nav ul li {
float:left;
width:20%;
text-align:center;
padding-bottom:30px;
font-weight:bold;
font-size:110%;
color:#002357;
}
header.hidden-xs nav ul li:after {
border-bottom: 2px solid black;
content: "";
display: block;
margin: 25px auto 0;
width: 200px;
}
#page-top {
  position: fixed;
  bottom:40px;
  right: 30px;
}
@media (max-width: 767px) {
#page-top {
bottom:5px;
right: 10px;
}
}
#page-top a {
    color: #fff;
    display: block;
    font-size: 85%;
    padding: 13px 15px;
    text-decoration: none;
    background-color:#333;
    border-radius:5px;
}
.tit, .tit_border{
    display: inline-block;
    float: left;
    width: 100%;
    padding-bottom:50px;
    margin-bottom:0px;
}

.tit_border {
    border-top:1px solid #003a6b;
    padding-top:20px;
}
.tit h3,.tit_border h3 {
    font-family: "Amiri",serif;
    font-size: 300%;
    letter-spacing: 1px;
    line-height: 1;
    color:#003a6b;
}
h4 {
    font-family: serif;
    font-size: 200%;
    letter-spacing: 1px;
    line-height: 1;
    color:#003a6b;
    text-align:center;
}
.tit p, .tit_border p{
font-size:90%;
color:#a1a1a1;
letter-spacing:1px;
}

.news dl dt {
float:left;
width:20%;
border-bottom:1px dotted #ddd;
padding-bottom:10px;
padding-top:20px;
}
.news dl dd {
float:left;
width:70%;
border-bottom:1px dotted #ddd;
padding-bottom:10px;
padding-top:20px;
}
.news dl dt:first-child, .news dl dt:first-child + dd {
padding-top:0px;
}

#works {
background-color:#f3f3f3;
margin-top:75px;
padding:90px 0px;
}
.workbox {width:25%;float:left;}
@media (max-width: 767px) {
.workbox {width:50%;float:left;}
}
.workkind {
margin:10px 0px;
text-align:center;
}

#other h4 {
font-size:150%;
margin-bottom:40px;
}

#other {
    background: rgba(0, 0, 0, 0) url("/wp-content/themes/amamifreelance/images/bg_footer.png") repeat-x scroll left bottom;
    padding-bottom:90px;
}
.Footer {
border-top:1px solid #f0f0f0;
color:#000;
text-align:center;
background-image:url("/wp-content/themes/amamifreelance/images/bg_green.jpg");
background-repeat:repeat;
padding-top:6em;
padding-bottom:6em;
}
@media (max-width: 767px) {
.Footer {
padding-top:3em;
padding-bottom:3em;
}
}
.detailBtn {
margin-top:30px;
}
.detailBtn a {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #003a6b;
    color: #003a6b;
    display: block;
    float: right;
    padding: 10px 30px;
    position: relative;
    width: 100%;
}
.detailBtn a:hover {
    background: #003a6b none repeat scroll 0 0;
    color: #fff;
}
.detailBtn span {
    position: absolute;
    right: 30px;
    top: 10px;
}

#copy {
color:#fff;
font-size:.9em;
padding-top:3em;
}
@media (max-width: 767px) {
#copy {
color:#fff;
font-size:.5em;
padding-top:3em;
}
}



/************************************
** レスポンシブページネーション
************************************/
.pagination{
  list-style-type: none;
  padding-left: 0;
  margin: 30px 0;
}
 
.pagination,
.pagination li a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
 
.pagination a {
  font-weight: 300;
  padding-top: 1px;
  text-decoration:none;
  border: 1px solid #ddd;
  border-left-width: 0;
  min-width:36px;
  min-height:36px;
  color: #333;
}
 
.pagination li:not([class*="current"]) a:hover {
  background-color: #eee;
}
 
.pagination li:first-of-type a {
  border-left-width: 1px;
}
 
.pagination li.first span,
.pagination li.last span,
.pagination li.previous span,
.pagination li.next span {
  /* screen readers only */
  position: absolute;
  top: -9999px;
  left: -9999px;
}
 
.pagination li.first a::before,
.pagination li.last a::after,
.pagination li.previous a::before,
.pagination li.next a::after {
  display: inline-block;
  font-family: Fontawesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
}
 
.pagination li.first a::before { content: "\f100"; }
.pagination li.last a::after { content: "\f101"; }
 
.pagination li.previous a::before { content: "\f104"; }
.pagination li.next a::after { content: "\f105"; }
 
.pagination li.current a {
 background-color: #ddd;
 cursor: default;
 pointer-events: none;
}
 
.pagination > li:first-child > a {
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
 
.pagination > li:last-child > a {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}
 
@media only screen and ( max-width: 680px ) {
  .pagination li.first,
  .pagination li.last {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
 
  .pagination li.previous a { border-left-width: 1px; }
}
 
@media only screen and ( max-width: 500px ) {
  .pagination li {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
 
  .pagination li.current,
  .pagination li.first,
  .pagination li.last,
  .pagination li.previous,
  .pagination li.next{
    position: initial;
    top: initial;
    left: initial;
  }
 
  .pagination li.previous a { border-left-width: 0; }
}
 
@media only screen and ( max-width: 400px ) {
  .pagination li.first,
  .pagination li.last {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
 
  .pagination li.previous a { border-left-width: 1px; }
}
 
@media only screen and ( max-width: 240px ) { /* For watches? */
  .pagination li { width: 50%;}
 
  .pagination li.current {
    order: 2;
    width: 100%;
    border-left-width: 1px;
  }
}