/*
Theme Name: ATSUMARU
*/

@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* RESET
----------------------------------------------------------------------------------------------------*/
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,picture {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  line-height: 1.5em;
  text-align: left;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
}
picture {
  display: block;
}

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

 * 設定をしなおす

---------------------------------------------- */
body {
  margin: 0 auto;
  padding: 0;
  font-size: 14px;
  line-height: 1.8em;
  color: #1f1f1f;
  height: 100%;
  font-family: 'Lato', "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-weight: 400;
  background: #fff;
  position: relative;
  letter-spacing: .6px;
}
/* IE11だけに適応 */
_:lang(x)::-ms-backdrop, .selector {
  font-family: 'Lato',"Segoe UI", "メイリオ", Meiryo, sans-serif;
}

sup,sub {
  font-size: 70%;
}
small {
  font-size: 80%;
}


@media only screen and ( max-width : 767px ) {
  body {font-size: 12px;}
}


table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
}


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

 * アンカータグの設定

---------------------------------------------- */
a {
  outline:none;
  color: #000;
}

a:hover {
  text-decoration: none;
}


a,a:hover,a:hover img,button,input {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}

a:hover {
  filter: alpha(opacity=60);
  -moz-opacity:0.60;
  opacity:0.60;
}



.clr {
  zoom:1;
  display:inline-table;
}
.clr:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
  font-size:0;
  line-height:0;
  }

* html .clr {
  height:1%;
  display:inline-table;
  display:block;
  height:1%;
}
.clr {
  display:block;
}

* {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  *behavior:url(/scripts/boxsizing.htc);
}

@media(max-width:767px){
  .sp_none{display:none !important;}
}
@media print, screen and ( min-width : 768px ) {
  .sp{
    display:none;
  }
}

/* -----------------------------------------------
 * base.css
----------------------------------------------- */

main {display: block;}
img {
    max-width: 100%;
    height: auto;
}

.fit {
  object-fit: cover;
  font-family: 'object-fit: cover;';
  width: 100%;
}
@media only screen and ( max-width : 767px ) {
  .container {
    padding: 0 4%;
  }
  .sp_box {
    margin-bottom: 40px;
  }
  .sp_sbox {
    margin-bottom: 20px;
  }
  .sp_ssbox {
    margin-bottom: 10px;
  }
  .sp_inner {
    padding: 0 20px;
  }
  .section {
    padding: 30px 0;
    margin-bottom: 0;
  }
  .br_pc {
    display: none;
  }
  .box {
    margin-bottom: 40px;
  }
  .sbox {
    margin-bottom: 20px;
  }
  .ssbox {
    margin-bottom: 10px;
  }
}

@media print, screen and ( min-width : 768px ) {
  .posL {
    float: left;
  }
  .posR {
    float: right;
  }
  .br_sp {
    display: none;
  }
  .section {
    padding: 60px 0;
  }
  .box {
    margin-bottom: 60px;
  }
  .sbox {
    margin-bottom: 30px;
  }
  .ssbox {
    margin-bottom: 15px;
  }
}

@media print, screen and ( min-width : 991px ) {
  .section {
    padding: 80px 0;
  }
  .box {
    margin-bottom: 80px;
  }
  .sbox {
    margin-bottom: 40px;
  }
  .ssbox {
    margin-bottom: 20px;
  }
  .small_container {
    max-width: 900px;
    margin: 0 auto;
  }
}


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

　   HEADER

--------------------------------------------------------------------------------------------- */
.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 997;
}
.modal__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
    z-index: 998;
}
.modal__content{
    background: #fff;
    left: 50%;
    padding: 20px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    max-width: 400px;
    z-index: 999;
}
.modal label {
    display: block;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}
.modal textarea {
    padding:10px;
    border: none;
    margin:0;
    display: block;
    background: #fff;
    font-family: inherit;
    -webkit-appearance: none;
    font-size: inherit;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 400px;
    height: 10em;
    border-radius:0;
    line-height: 1em;
    margin-bottom: 15px;
}
.modal button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  background: #000;
  color: #fff;
  width: 140px;
  text-align: center;
  padding: 10px;
  font-family: inherit;
  font-size: inherit;
  margin: 0 auto;
  display: block;
}
.logo a {
  background: url(./img/logo.png) no-repeat center / 100%;
  display: block;
  width: 100%;
}
.logo a strong {
  display: block;
  text-indent: -9999px;
}
#header h1 {
  width: 100%;
  text-align: right;
}
#nav {
  background: #000;
  color: #fff;
}
#nav .menu {
  text-align: right;
}
#nav a {
  color: #fff;
}
#nav .menu .menu_title {
  display: inline-block;
  cursor: pointer;
  transition: .3s;
  letter-spacing: 0.15em;
}
#nav .menu .menu_title.open {
  color: #15eae4;
}
#nav .menu .menu_title:hover {
  color: #f2798b;
}
#nav .menu .contentWrap {
  display: none;
}

.tabs{
  width:100%;
  position:relative;
  font-size: 12px;
  /*border-top: 1px solid #333;*/
}
.tab-buttons span{
  cursor:pointer;
  /*border-bottom:2px solid #000;*/
  display:block;
  width:25%;
  float:left;
  text-align:center;
  height: 40px;
  line-height: 40px;
  color: #777;
  transition: .3s;
}
.tab-buttons span:hover {
  color: #ccc;
}
.tab-buttons span.is-active {
  color: #fff;
  pointer-events: none;
}
.tab-content{
  padding:15px;
  display:inline-block;
  width: 100%;
}
.tab-content li {
  border-bottom: 1px solid #333;
}
.tab-content li a {
  display: flex;
  align-items: center;
  height: 100%;
}
.tab-content li a .slash {
  margin: 0 5px;
}
#lamp{
  width:25%;
  height:2px;
  background:#fff;
  display:block;
  position:absolute;
  top:40px;
  transition: all .3s ease-in;
-o-transition: all .3s ease-in;
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
}
#lamp.content2{
  left:25%;
  transition: all .3s ease-in;
-o-transition: all .3s ease-in;
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
}
#lamp.content3{
  left:50%;
  transition: all .3s ease-in;
-o-transition: all .3s ease-in;
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
}
#lamp.content4{
  left:75%;
  transition: all .3s ease-in;
-o-transition: all .3s ease-in;
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
}
#lamp.content1{
  left:0;
  transition: all .3s ease-in;
-o-transition: all .3s ease-in;
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
}
.menu_title_text {
  display: inline-block;
  line-height: 30px;
  vertical-align: middle;
}
.accordion_icon {
  vertical-align: middle;
}
.accordion_icon,
.accordion_icon span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.accordion_icon {
  position: relative;
  width: 30px;
  height: 30px;
  margin-left: 5px;
}
.accordion_icon span {
  position: absolute;
    left: 6px;
    width: 50%;
  height: 2px;
    background-color: #f2798b;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -ms-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
}
.accordion_icon span:nth-of-type(1) {
    top: 13px;
  transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
}
.accordion_icon span:nth-of-type(2) {
    top: 13px;
  transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
}
/*＋、－切り替え*/
.open .accordion_icon span:nth-of-type(1) {
  display:none;
}
.open .accordion_icon span:nth-of-type(2) {
  top: 13px;
  transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    background: #15eae4;
}

@media only screen and ( max-width : 1299px ) {
  .tab-content li {
    width: 32%;
    margin-right: 2%;
  }
  .tab-content li:nth-child(3n) {
    margin-right: 0;
  }
}
@media only screen and ( max-width : 991px ) {
  #header {
    /*padding: 20px 0;*/
  }
  #header_content {
    padding: 30px 20px;
  }
  #site_menu {
    /*padding: 20px;*/
    margin-top: 30px;
  }
  #site_menu li {
    margin-right: 20px;
    font-size: 12px;
  }
  #site_menu li:last-child {
    margin-right: 0;
  }
  #site_menu li a {
    text-decoration: underline;
  }
  .logo a {
    width: 180px;
    height: 21px;
    margin: 0 auto 30px;
  }
  #header h1 {
    text-align: center;
    font-size: 11px;
  }
  .tab-content li {
    width: 49%;
    margin-right: 2%;
  }
  .tab-content li:nth-child(3n) {
    margin-right: 2%;
  }
  .tab-content li:nth-child(2n) {
    margin-right: 0;
  }
  .tab-content li a {
    padding: 15px 10px;
  }
  .menu_title {
    padding: 15px;
  }
}

@media only screen and ( max-width : 575px ) {
  .tab-content li {
    width: 100%;
    margin-right: 0;
  }
  .tab-content li:nth-child(3n) {
    margin-right: 0;
  }
}

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

}


@media print, screen and ( min-width : 768px ) {

}

@media print, screen and ( min-width : 992px ) {
  #header_content {
    /*padding: 90px 40px 100px 40px;*/
    padding: 50px 40px;
  }
  #site_menu {
    /*padding: 20px 40px;*/
    margin-bottom: 40px;
  }
  #site_menu li {
    margin-right: 40px;
    font-size: 13px;
    letter-spacing: 0.1em;
  }
  #site_menu li:last-child {
    margin-right: 0;
  }
  #site_menu li a {
    display: block;
    position: relative;
  }
  #site_menu li a:after {
    content: "";
    height: 2px;
    left: 0;
    width: 0;
    background: #000;
    position: absolute;
    bottom: -10px;
    left: 0;
    transition: .3s;
  }
  #site_menu li a:hover:after {
    width: 100%;
  }
  .logo {
    width: 50%;
  }
  .logo a {
    width: 260px;
    height: 30px;
  }
  .mysite_info {
    width: 50%;
  }
  #nav {
    padding: 0 40px;
  }
  .menu_title {
    padding: 20px 0;
  }
  .tab-content {
    padding: 20px 0 40px 0;
  }
  .tab-content li a {
    padding: 20px 10px;
  }
  .tab-buttons span {
    height: 60px;
    line-height: 60px;
    letter-spacing: 0.15em;
    font-size: 13px;
  }
  #lamp {
    top: 60px;
  }

}

@media print, screen and ( min-width : 1300px ) {
  h1 {
    width: 500px;
  }
  .tab-content li {
    width: 23.5%;
    margin-right: 2%;
  }
  .tab-content li:nth-child(4n) {
    margin-right: 0;
  }
}




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

　   FOOTER

--------------------------------------------------------------------------------------------- */
#footer .copy {
  text-align: center;
  letter-spacing: 0.15em;
  font-size: 10px;
  padding: 20px;
}

#pagetop {
  right: 0;
  bottom: 0;
  z-index: 99;
}
#pagetop a {
  display: block;
  text-align: center;
  background: #000;
  width: 50px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  overflow: hidden;
  font-size: 20px;
}


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


}
@media print, screen and ( min-width : 768px ) {

  
}
@media print, screen and ( min-width : 992px ) {
  
}
@media print, screen and ( min-width : 1200px ) {
  
}


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

　   POST

--------------------------------------------------------------------------------------------- */
.post_box figure {
  border: 1px solid #000;
}
.post_thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #004695;
  background: -moz-linear-gradient(90deg, #004695 0%, #0097ad 100%, #0097ad 100%);
  background: -webkit-linear-gradient(90deg, #004695 0%, #0097ad 100%, #0097ad 100%);
  background: linear-gradient(90deg, #004695 0%, #0097ad 100%, #0097ad 100%);
  margin-bottom: 10px;
  transition: 0.3s;
}
.post_thumb:hover {
  transform: translateY(5px);
}

.post_thumb img,
.post_thumb:before,
.post_thumb:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.post_thumb img {
  width: 100%;
  backface-visibility: hidden;
  vertical-align: top;
}

.post_thumb:before,
.post_thumb:after {
  content: '';
  background-color: #fff;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.post_thumb:before {
  width: 60px;
  height: 1px;
  left: 100%;
}

.post_thumb:after {
  height: 60px;
  width: 1px;
  top: 0%;
}
.post_thumb a.share {
  position: absolute;
  z-index: 10;
  bottom: 10px;
  right: 10px;
  background: #fff;
  color: #c8232c;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
}
.post_thumb a.share:hover {
  transform: translateY(-5px);
  opacity: 1;
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
}

.post_thumb a.post_thumb_link {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.post_thumb:hover img,
.post_thumb.hover img {
  zoom: 1;
  filter: alpha(opacity=50);
  -webkit-opacity: 0.5;
  opacity: 0.5;
}

.post_thumb:hover:before,
.post_thumb.hover:before,
.post_thumb:hover:after,
.post_thumb.hover:after {
  opacity: 1;
  top: 50%;
  left: 50%;
}
.site_type_cat {
  display: inline-block;
}
.site_type_cat a {
  color: #fff;
  display: block;
  border-radius: 100px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 5px 15px;
  background: #333;
}
.site_type_cat a:hover {
  transform: translateY(3px);
}
.cat-coporate a {
  background: #000845;
}
.cat-landing-page a {
  background: #e61938;
}
.post_site_name {
  margin-bottom: 10px;
}
.post_category_list {
  font-size: 12px;
}
.post_category_list_jp {
  margin-top: 10px;
}
h2 {
  text-align: center;
}
h2 span {
  display: block;
  text-align: center;
}
.view-more-button {
  border: 1px solid #000;
  background: #fff;
  display: block;
  padding: 15px;
  text-align: center;
  margin: 0 auto;
  cursor: pointer;
  transform: .3s;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: 0.15em;
}
.view-more-button:hover {
  background: #000;
  color: #fff;
  transform: translateY(3px);
}
@media only screen and ( max-width : 1599px ) {
  .post_box {
    width: 32%;
    margin-right: 2%;
    margin-bottom: 60px;
  }
  .post_box:nth-child(3n) {
    margin-right: 0;
  }
}
@media only screen and ( max-width : 1199px ) {
  #main {
    padding: 60px 0;
  }
  .post_box {
    width: 49%;
    margin-right: 2%;
    margin-bottom: 40px;
  }
  .post_box:nth-child(3n) {
    margin-right: 2%;
  }
  .post_box:nth-child(2n) {
    margin-right: 0;
  }
}
@media only screen and ( max-width : 767px ) {
  .post_box {
    width: 80%;
    margin-right: 0;
    margin: 0 auto 40px;
  }
  .post_box:nth-child(2n),.post_box:nth-child(3n) {
    margin: 0 auto 40px;
  }
  h2 {
    font-size: 20px;
    margin-bottom: 50px;
  }
  .post_thumb a.share {
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
  }
  .view-more-button {
    width: 200px;
  }
}
@media print, screen and ( min-width : 768px ) {
  .post_thumb a.share {
    opacity: 0;
  }
  .post_thumb:hover a.share {
    opacity: 1;
  }
  h2 {
    font-size: 25px;
    margin-bottom: 80px;
  }
  .view-more-button {
    width: 240px;
  }

}
@media print, screen and ( min-width : 992px ) {
  #main {
    padding: 80px 0;
  }
}
@media print, screen and ( min-width : 1600px ) {
  #main {
    padding: 100px 0;
  }
  .post_box {
    width: 23.5%;
    margin-right: 2%;
    margin-bottom: 60px;
  }
  .post_box:nth-child(4n) {
    margin-right: 0;
  }
}

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

　   SINGLE

--------------------------------------------------------------------------------------------- */
#single_post #share {
  margin: 20px 0;
}
#single_post #share a {
  background: #fff;
  color: #c8232c;
  text-align: center;
  display: block;
  border: 1px solid #c8232c;
  width: 180px;
  padding: 10px;
}
#single_post #share a span {
  margin-right: 10px;
  background: #c8232c;
  color: #fff;
  width: 30px;
  height: 30px;
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  line-height: 30px;
}
#single_post #share a:hover {
  transform: translateY(-5px);
  opacity: 1;
}
#single_post .topdesign_all img {
  width: 100%;
}
#single_post .post_category_list {
  margin-bottom: 1em;
}
#single_post .post_category_list span.post_category_list_title {
  font-weight: bold;
  display: block;
}
#single_post .post_category_list a:after {
  content: "/";
  margin: 0 5px;
}
#single_post .post_category_list a:last-child:after {
  content: none;
}
#single_post .post_category_list .category_jp:after {
  content: ",";
  margin: 0 5px;
}
.related {
  margin: 40px 0;
  padding: 40px 0;
  border-top: 1px solid #ddd;
}
.related ul {list-style: none; margin: 0; padding: 0;}
.related li {margin-bottom:15px;border:1px solid #777;}
.related li a {display:flex; color:#222;align-items: center;background: #f5f5f5;}
.related a img {max-width:100px; object-fit:cover;}
.related-title {
  padding: 10px;
  width: calc(100% - 100px);
}
@media only screen and ( max-width : 991px ) {
  .site_info {
    margin-bottom: 50px;
  }
}
@media print, screen and ( min-width : 992px ) {
  #single_post .container {
    max-width: 1200px;
  }
}

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

　   XXX

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

@media only screen and ( max-width : 767px ) {
}
@media print, screen and ( min-width : 768px ) {
}
