@font-face {
    font-family: "Hiragino Kaku Gothic Pro W3";
    src: url('../fonts/hirakakupro-w3.otf');
}

@font-face {
    font-family: "Avenir Heavy";
    src: url('../fonts/Avenir-Heavy.ttf');
}

@font-face {
    font-family: "Century";
    src: url('../fonts/century.ttf');
}


html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

p {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

a, a:hover {
    color: inherit;
	text-decoration: none;
}


ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    font: 14px Hiragino Kaku Gothic Pro W3, Arial;
    color: #3E3A39;
	background-color: #dde8f2;
}

.wrapper {
    width: 100%;
    margin: auto;
}


/* ==========================================================================
   main contents
   ========================================================================== */


#global-head {
    position: fixed;
    color: #033560;
    width: 260px;
    text-align: center;
    padding-top: 60px;
    z-index: 100;
}

h1 {
	font-weight: bold;
	font-size: 30px;
	letter-spacing: 0.1em;
	color: #000000;
}

.h--p {
	color: #666666;
	text-align: center;
	padding: 20px;
    font-size: 16px;
    line-height: 1.5em;
}

.company {
	color: #000000;
	text-align: left;
}

.Copywriter {
	color: #808080;
	text-align: left;
}
 
#sidebar {
    font-size: 15px;
    padding-top: 120px;
    width: 260px;
    height: 100%;
    position: fixed;
    color: #033560;
    background: #fff;
    text-align: center;
}
 
#global-nav {
	margin-top: 95px;
}

#global-nav ul {
    list-style: none;
    margin-left: 0;
	padding: 0 40px;
}
#global-nav > ul > li {
    position: relative;
}
 
#global-nav a {
    color: #033560;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: background-color .3s linear;
}
 
 
/* nav-toggle */
#nav-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 8px;
    height: 32px;
}

#nav-toggle > div {
	position: relative;
	width: 40px;
}

#nav-toggle span {
	width: 100%;
	height: 3px;
	left: 0;
	display: block;
	background: #033560;
	position: absolute;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 9px;
}
#nav-toggle span:nth-child(3) {
	top: 18px;
}

.toggle--p {
	position: absolute;
	top: 35px;
	text-align: left;
	font-size: 7px;
}

 
#overlay {
    display: none;
    position: fixed;
    background: rgba(0,0,0,.6);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#main-in {
    padding-left: 260px;
	padding-top: 40px;
}
 
.main--area {
	padding: 0 20px;
	display: flex;
	flex-wrap: wrap;
    justify-content: space-around;
}

.main--area:after {
	    content: "";
    display: block;
    width: 30%;
	height: 0;
}

.contents--box {
	background-color: #ffffff;
	width: 30%;
	margin-bottom: 40px;
}

.box--area {
	padding: 40px;
	text-align: center;
}

.contents_img {
	width: 100%;
}


.tittle {
	text-align: left !important;
	font-weight: bold;
	font-size: 20px;
	margin-top: 14px;
    margin-bottom: 14px;
}

.midashi {
	text-align: left !important;
	color: #666666;
}

.img_link{
 margin:0 auto; 
 overflow:hidden;
}
.img_link img{
 transition:1s all;
}
.img_link img:hover{
  transform:scale(1.2,1.2);
  transition:1s all;
}

.text_link{
    /*-webkit-transition: 2s;
    -moz-transition: 2s;
    -o-transition: 2s;
    -ms-transition: 2s;*/
    transition: all  0.5s ease;
}
.text_link:hover {
    color: #0000ff;
}

.post-area {
	margin: 0 auto;
	background-color: #ffffff;
	padding: 60px;
	margin-left: 50px;
	margin-right: 50px;
	text-align: center;
}

.post_img {
	margin: 40px 0;
}

.Update--p {
	color: #666666;
	font-size: 13px;
	text-align: left;
	margin-bottom: 20px;
}

.PR--p {
	color: #666666;
	font-size: 13px;
	text-align: right;
	margin-bottom: 20px;
}


h2 {
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: left;
}

.post--text {
	font-size: 18px;
	margin-top: 20px;
	line-height: 2.0em;
	text-align: left;
}

.post--text-02 {
	font-size: 15px;
	margin-top: 20px;
	line-height: 1.5em;
	text-align: left;	
}

.post--text_midashi {
	text-align: center;
	font-size: 15px;
	margin-top: 20px;
	background-color: #de1c24;
	color: #ffffff;
	padding: 20px;
}

.post--text_midashi_02 {
	margin-top: 20px;
	font-size:22px;
	font-weight: bold !important;
	text-align: center;
}

.post--text_midashi_03 {
	font-size:22px;
	font-weight: bold !important;
	text-align: center;
}

.post--text_midashi_04 {
	text-align: center;
	font-size: 22px;
	margin-top: 20px;
	background-color: #ff7b9d;
	color: #ffffff;
	padding: 20px;
}

.post--text_midashi_05 {
	text-align: center;
	font-size: 22px;
	margin-top: 20px;
	background-color: #299cd3;
	color: #ffffff;
	padding: 20px;
}

.post--text_midashi_06 {
	text-align: center;
	font-size: 22px;
	margin-top: 20px;
	background-color: #842780;
	color: #ffffff;
	padding: 20px;
}

.post--text_midashi_07 {
	text-align: left;
	font-size: 13px;
	color: #4d4d4d;
	margin-top: 20px;
}

.post--text {
	font-size: 18px;
	line-height: 2.0em;
	text-align: center;
}

.m--gray {
	color: #666666;
}

.m--yel_red {
	background-color: red;
	color: #ffff00;
	padding: 10px;
}


.__big {
	font-size: 20px !important;
	font-weight: bold !important;
}

.__bigbig {
	font-size: 25px !important;
	font-weight: bold !important;
}

.__bg {
    background-color: #e6e6e6;
    padding: 15px;
    color: #0071bc;
}

.bold {
	font-weight: bold;
}

.red {
	font-weight: bold;
	color: red;
}

.red-line {
	font-weight: bold;
	color: red;
	border-bottom: solid 1px red;
}

.blue {
	font-weight: bold;
	color: blue;
}

.blue-blue {
	background-color: #d2ffff;
	color: blue;
	padding: 10px;
}

.blue-line {
	border-bottom: dotted 3px #2e31af;
	padding-bottom: 5px;
	font-weight: bold;
	color: #2e31af;
}

.lightblue {
	font-weight: bold;
	color: #0071ad;
}

.yel {
	font-weight: bold;
	background: linear-gradient(transparent 50%, #ffff00 50%);
}

.yel-no {
	font-weight: bold;
	color: #ffff00;
}

.pink {
	font-weight: bold;
	color: #ff00ff;
}

.pink-yel {
	font-weight: bold;
	color: #ff7b9d;
	background: linear-gradient(transparent 50%, #ffff00 50%);
}

.d-pink {
	font-weight: bold;
	color: #d23c6e;
}

.red-yel {
	color: red;
	background: linear-gradient(transparent 50%, #ffff00 50%);
}

.blue-yel {
	color: blue;
	background: linear-gradient(transparent 50%, #ffff00 50%);	
}

.my-color {
	color: #07f4d7;
	font-size: 1.2em;
}

h3 {
	padding: 0.5em;
	background: #f2f2f2;
	border-left: solid 5px #000000;
	text-align: left;
    font-size: 20px;
	font-weight: bold;
	margin-top: 20px;
}

.post--text-midashi {
	padding: 0.1em 0.2em 0.1em 0.6em;
	border-left: solid 5px #000000;
	text-align: left;
    font-size: 16px;
	font-weight: bold;
	margin-top: 30px;
}

.btn--area {
	display: block;
    margin: 0 auto;
}

a.btn {
  width: 50%;
  color: #fff;
  background-color: #0fdb0f;
  border-bottom: 5px solid #4f844f;
}
a.btn:hover {
  margin-top: 3px;
  color: #fff;
  background: #04a504;
  border-bottom: 2px solid #4f844f;
}
a.btn--shadow {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}

.mocchiri {
    animation: mocchiri 3s infinite;
}

.f--p {
	margin-top: 30px;
}

.br-sp {display: none; }

@keyframes mocchiri {
    0% {
        transform: scale(1, 0.8);
    }
    20% {
        transform: scale(0.8, 1.1);
    }
    95% {
        transform: scale(1, 1);
    }
    100% {
        transform: scale(1, 0.8);
    }
}

a.btn p {
	padding: 10px;
	font-weight: bold;
	font-size: 20px;
}

.hover-img img {
-webkit-transition: 0.4s ease-in-out;
-moz-transition: 0.4s ease-in-out;
-o-transition: 0.4s ease-in-out;
transition: 0.4s ease-in-out;
}

.hover-img :hover{
	opacity: 0.6;
filter: alpha(opacity=60);
-moz-opacity:0.6;
}

.btn-margin {
	margin-top: 30px;
	margin-bottom: 40px;
}

.navi-area {
	margin: 0 auto;
	padding: 60px 0;
	margin-left: 50px;
	margin-right: 50px;
	text-align: center;
	display: flex;
	justify-content: space-between;
}

.navi--prev {
	width: 48%;
}

.navi--next {
	width: 48%;
}

a.navi-btn {
	width: 100%;
	transition: 0.5s;
   background-color: #84b4d8;
   padding: 30px 20px;
   display: inline-block;
   color: #fff;
   text-decoration:none;
}

 a.navi-btn:hover{
   background-color: #1e4c68;
 }




/* ==========================================================================
   Media Queries
   ========================================================================== */

@media screen and (max-width: 900px) {
    #main-in {
        padding-left: 0;
		padding-top: 100px;
    }
	
    #global-head {
        width: 100%;
        padding: 15px 10px;
        background: rgba(255,255,255,.8);
        display: flex;
		align-items: center;
    }
 
    #sidebar {
        position: fixed;
        right: -300px;
        top: 0;
        height: 100%;
        width: 300px;
        color: #333;
        background: #fff;
        transition: .35s ease-in-out;
    }
 
    /* サブメニューは開けない */
    #global-nav .sub-menu-head:after,
    #global-nav .sub-menu-nav {
        display: none;
    }
    #nav-toggle {
        display: block;
    }
 
    /* nav open */
    .open {
        overflow: hidden;
    }
    .open #overlay {
        display: block;
    }
    .open #sidebar  {
        transform: translate3d(-300px,0,0);
    }
 
    /* #nav-toggle close */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        transform: rotate(45deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        transform: rotate(-45deg);
    }
 
    /* z-index */
    #overlay {
        z-index: 200;
    }
    #sidebar {
        z-index: 300;
    }
    #nav-toggle {
        z-index: 400;
		padding-top: 10px;
    }
	
	.contents--box {
    	background-color: #ffffff;
    	width: 45%;
    	margin-bottom: 40px;
	}
	
	a.btn {
    	width: 100%;
	}
}

@media only screen and (max-width: 767px) {
	
	.br-sp {display: block; }
	
	h1 {
    font-size: 21px;
	text-align: left;
	}
	
	.h--p {
	text-align: left;
    font-size: 13px;
	padding: 0 !important;
	margin-top: 5px;
	}
	
	#main-in {
    	padding-top: 110px;
	}
	
	.main--area {
    	padding: 0 20px;
    	display: block;
    	width: 100%;
	}
	
	.contents--box {
    	background-color: #ffffff;
    	width: 100%;
    	margin: 0 auto;
    	margin-bottom: 40px;
	}
	
	.post-area {
		margin: 0 auto;
    	width: 90%;
		padding: 20px;
	}
	
	.Update--p {
    margin-bottom: 5px;
	}
	
	h2 {
    	font-size: 22px;
		line-height: 1.7em;
	}
	
	.post--text {
    font-size: 17px;
    line-height: 1.7em;
	}
	
	.__big {
    font-size: 18px !important;
	}
	
	.post_img {
    	margin: 40px 0;
    	width: 100%;
	}
	
	a.btn {
		width: 100%;
	}
	
	.navi-area {
    	margin: 0 auto;
    	padding: 30px 0;
    	width: 90%;
	}

	
}

@media only screen and (max-width: 575px) {
    
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
