@charset "UTF-8";

/*
Theme Name:   共同プランニング
Author:       SHIN Inc.
Author URI:   http://www.shin-inc.jp/
Version:      1.0
Template:     archetype
*/

/* Font
--------------------------------*/

@font-face {
  font-family: "Yugo";
  src: local("Yu Gothic");
  font-weight: 300;
}

@font-face {
  font-family: "Yugo";
  src: local("Yu Gothic");
  font-weight: 500;
}

@font-face {
  font-family: "Yugo";
  src: local("Yu Gothic Bold");
  font-weight: bold;
}

@font-face {
  font-family: "icomoon";
  src: url("fonts/icomoon.eot?o4y9zt");
  src: url("fonts/icomoon.eot?o4y9zt#iefix") format("embedded-opentype"), url("fonts/icomoon.ttf?o4y9zt") format("truetype"), url("fonts/icomoon.woff?o4y9zt") format("woff"), url("fonts/icomoon.svg?o4y9zt#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* Normalize
--------------------------------*/

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html,
body,
div,
header,
footer,
main,
article,
section,
aside,
nav,
figure,
figcaption {
  display: block;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: auto;
  line-height: 1.75;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Yugo, "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-break: strict;
}

body {
  min-width: 1166px;
  overflow-x: hidden;
  background: #fff;
  color: #111;
}

.fixed,
.fixed > body {
  height: 100%;
  overflow: hidden;
}

a {
  color: inherit;
  transition: 0.3s;
}

a:before,
a:after {
  text-align: inherit;
  text-decoration: inherit;
}

abbr,
cite {
  font-style: inherit;
  text-decoration: inherit;
}

blockquote {
  margin: 1.5em 0;
  padding: 1em;
  border-style: solid;
  border-width: 1px 0;
}

del {
  opacity: 0.8;
}

em {
  font-style: inherit;
  font-weight: bolder;
}

figcaption {
  font-weight: 700;
}

img,
iframe {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

img {
  height: auto;
}

p {
  margin: 1em 0;
}

header p,
footer p {
  margin: 0;
}

pre {
  margin: 1em 0;
  white-space: pre-wrap;
}

ul {
  margin: 1em 0;
  padding-left: 1.5em;
}

ol {
  margin: 1em 0;
  padding-left: 2em;
}

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

dl {
  margin: 1em 0;
}

dt {
  margin: 0;
  font-weight: 700;
}

dd {
  margin: 0 0 0 40px;
}

dd + dt {
  margin-top: 1em;
}

section {
  margin: 5rem auto;
}

article section,
section section {
  margin: 60px auto;
}

table {
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

caption {
  text-align: center;
}

th,
td {
  vertical-align: baseline;
  padding: 20px 8px;
  border: solid #ccc;
  border-width: 1px 0;
  background: #fff;
  text-align: left;
}

th {
  background: #e1e6e6;
  font-weight: 700;
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
  text-align: center;
}

td {
  padding-left: 36px;
  padding-right: 0;
}

button,
input,
textarea,
select {
  max-width: 100%;
  vertical-align: middle;
  line-height: 1.4;
  font-family: inherit;
  font-size: 1em;
  transition: 0.3s;
}

button,
input[type=submit],
input[type=button],
input[type=reset] {
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-shadow: none;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=url],
input[type=search],
input[type=number],
input[type=password],
textarea,
select {
  padding: 5px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
}

input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
  background: #ff9;
}

input[type=radio],
input[type=checkbox] {
  vertical-align: baseline;
}

button,
input[type=submit],
input[type=button],
input[type=reset],
input[type=radio],
input[type=checkbox] {
  cursor: pointer;
}

input[disabled] {
  opacity: 0.3;
  cursor: default;
}

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

legend {
  width: 100%;
}

/* Heading
--------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

h2 {
  margin-bottom: 30px;
  font-family: "FOT-筑紫Aオールド明朝 Pr6 M", serif;
  font-weight: 400;
  font-size: 24px;
  text-align: center;
}

h2[data-en] {
  font-family: inherit;
  font-size: 10px;
}

h2 .en {
  font-size: 34px;
}

.entry-content h2 {
  font-size: 1.25em;
}

.entry-content h2:before {
  content: none;
}

h3 {
  display: table;
  padding: 0 8px;
  border-bottom: 1px solid;
  font-family: "FOT-筑紫明朝 Pr6 M", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 18px;
}

h4,
h5,
h6 {
  margin-bottom: 1rem;
}

/* Remove Margin
--------------------------------*/

.entry-content > :first-child,
.widget:first-child,
.paragraph:first-child,
p:first-child,
section:first-child,
table ul:first-child,
table ol:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0;
}

.entry-content > :last-child,
.post:last-child,
.widget:last-child,
.paragraph:last-child,
p:last-child,
section:last-child,
table ul:last-child,
table ol:last-child {
  margin-bottom: 0;
}

.map-area:last-child {
  margin-bottom: -80px;
}

/* Site Width
--------------------------------*/

.site {
  position: relative;
  margin: auto;
}

.site-content,
.site-footer-content,
.site-header-content {
  width: 100%;
  max-width: 1166px;
  margin-right: auto;
  margin-left: auto;
}

/* Common
--------------------------------*/

.group:after,
.entry-content:after,
.site-footer-content:after {
  display: block;
  clear: both;
  content: "";
}

.wpcf7-submit,
.toc-service a,
.btn {
  display: block;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  max-width: 100%;
  line-height: 1.5;
  box-shadow: none;
  padding: 1.7143em 2.857143em;
  background: transparent;
  border: 1px solid;
  border-radius: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Yugo, "Yu Gothic", Meiryo, sans-serif;
  font-size: 0.875em;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
}

.wpcf7-submit:before,
.toc-service a:before,
.btn:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  height: 1em;
  margin: auto;
  font: 1.286em/1 FontAwesome;
  content: "\f0da";
}

.btn {
  display: inline-block;
  min-width: 26.57143em;
  font-weight: 700;
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
}

.image,
.graph,
.link,
.tagline,
.lede {
  text-align: center;
}

.tagline {
  margin: 0 auto 1.5rem;
  font-family: "FOT-筑紫明朝 Pr6 M", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 28px;
  letter-spacing: 0.2em;
}

.tagline--kchoice {
  font-family: "FOT-筑紫Aオールド明朝 Pr6 M", serif;
}

.lede {
  margin: 1.5rem auto 2rem;
}

.tagline > span:not(.break),
.lede > p > span:not(.break) {
  display: block;
}

.dummy-text {
  display: none;
  font-family: "FOT-筑紫ゴシック Pro B", sans-serif;
}

.en {
  display: block;
  font-family: "EB Garamond", serif;
}

.paragraph {
  margin: 1em 0;
}

.paragraph > p {
  margin-top: 0;
  margin-bottom: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  word-wrap: normal;
}

.break:before {
  white-space: pre;
  content: "\a";
}

/* Header
--------------------------------*/

.site-header {
  position: relative;
}

.site-header-content {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas: "logo nav contact mail";
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.home .site-header-content {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  color: #fff;
}

.site-title {
  grid-area: logo;
  line-height: 1;
  margin: 0;
  padding: 0;
  font-size: 1em;
}

.global-nav {
  grid-area: nav;
  line-height: 1.8182;
  margin-left: auto;
  font-size: 11px;
}

.global-nav__list {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.global-nav__item {
  position: relative;
  margin-right: 20px;
}

.global-nav__item:nth-last-child(-n+2) {
  display: none;
}

.global-nav__link {
  display: block;
  position: relative;
  text-decoration: none;
}

.global-nav__link:before {
  position: absolute;
  top: 100%;
  right: -3px;
  left: -3px;
  opacity: 0;
  border-top: 1px solid;
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  transition: inherit;
  content: "";
}

.global-nav__link:hover:before,
.global-nav__link:focus:before {
  opacity: 1;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.global-nav__link:has(+ .global-nav-children):before {
  content: none;
}

.global-nav__link .en {
  display: none;
}

.global-nav-children {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  width: max-content;
  visibility: hidden;
  opacity: 0;
  margin-top: 1em;
  transition: opacity 0.3s;
  padding: 0 0.625rem;
  background: #a30000;
  color: #fff;
}

.global-nav-children:before {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 1em;
  background: transparent;
  content: "";
}

.global-nav-children__item {
  border-bottom: 1px solid;
}

.global-nav-children__item:last-child {
  border-bottom: none;
}

.global-nav-children__link {
  display: block;
  position: relative;
  padding: 1.45455em 1.364em;
  text-decoration: none;
}

.global-nav-children__link:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 1em;
  margin: auto;
  font: 1.5em/1 FontAwesome;
  content: "\f0da";
}

.global-nav__item:hover > .global-nav-children,
.global-nav__item:focus-within > .global-nav-children,
.global-nav__item.is-open > .global-nav-children {
  visibility: visible;
  opacity: 1;
}

.drawer[aria-hidden=false] {
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

.logged-in .drawer {
  top: 46px;
}

.drawer.scrolled:before,
.drawer.scrolled:after {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  content: "";
}

.drawer.scrolled:after {
  transform: rotate(-45deg);
}

.menu-button {
  display: none;
}

.menu-icon {
  vertical-align: top;
  fill: currentColor;
}

.menu-icon__bar {
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

[data-open=true] .menu-icon__bar--1 {
  -webkit-animation: bar1 0.3s linear forwards;
  animation: bar1 0.3s linear forwards;
}

[data-open=true] .menu-icon__bar--2 {
  -webkit-animation: bar2 0.15s 0.15s linear forwards;
  animation: bar2 0.15s 0.15s linear forwards;
}

[data-open=true] .menu-icon__bar--3 {
  -webkit-animation: bar3 0.3s linear forwards;
  animation: bar3 0.3s linear forwards;
}

[data-open=false] .menu-icon__bar--1 {
  -webkit-animation: back1 0.3s linear forwards;
  animation: back1 0.3s linear forwards;
}

[data-open=false] .menu-icon__bar--2 {
  -webkit-animation: back2 0.15s linear forwards;
  animation: back2 0.15s linear forwards;
}

[data-open=false] .menu-icon__bar--3 {
  -webkit-animation: back3 0.3s linear forwards;
  animation: back3 0.3s linear forwards;
}

@-webkit-keyframes bar1 {
  50% {
    -webkit-transform: translateY(6px);
  }

  100% {
    -webkit-transform: rotate(45deg) translateY(6px);
  }
}

@keyframes bar1 {
  50% {
    transform: translateY(6px);
  }

  100% {
    transform: rotate(45deg) translateY(6px);
  }
}

@-webkit-keyframes bar2 {
  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes bar2 {
  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes bar3 {
  50% {
    -webkit-transform: translateY(-6px);
  }

  100% {
    -webkit-transform: rotate(-45deg) translateY(-6px);
  }
}

@keyframes bar3 {
  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: rotate(-45deg) translateY(-6px);
  }
}

@-webkit-keyframes back1 {
  0% {
    -webkit-transform: rotate(45deg) translateY(6px);
  }

  50% {
    -webkit-transform: rotate(0) translateY(6px);
  }

  100% {
    -webkit-transform: rotate(0) translateY(0);
  }
}

@keyframes back1 {
  0% {
    transform: rotate(45deg) translateY(6px);
  }

  50% {
    transform: rotate(0) translateY(6px);
  }

  100% {
    transform: rotate(0) translateY(0);
  }
}

@-webkit-keyframes back2 {
  0% {
    -webkit-transform: rotate(45deg);
  }

  100% {
    -webkit-transform: rotate(0);
  }
}

@keyframes back2 {
  0% {
    transform: rotate(45deg);
  }

  100% {
    transform: rotate(0);
  }
}

@-webkit-keyframes back3 {
  0% {
    -webkit-transform: rotate(-45deg) translateY(-6px);
  }

  50% {
    -webkit-transform: rotate(0) translateY(-6px);
  }

  100% {
    -webkit-transform: rotate(0) translateY(0);
  }
}

@keyframes back3 {
  0% {
    transform: rotate(-45deg) translateY(-6px);
  }

  50% {
    transform: rotate(0) translateY(-6px);
  }

  100% {
    transform: rotate(0) translateY(0);
  }
}

.head-contact {
  grid-area: contact;
  font-size: 12px;
}

.head-mail {
  grid-area: mail;
  font-size: 11px;
  margin-left: 1.5rem;
}

.head-mail > a {
  display: flex;
  align-items: center;
  gap: 0.5455em;
  padding: 0.7273em 1.8182em;
  border-radius: 2em;
  background: #a30000;
  color: #fff;
  text-decoration: none;
}

.head-mail > a:before {
  font: 1.364em/1 icomoon;
  content: "\e90a";
}

.hero {
  position: relative;
  height: 960px;
  overflow: hidden;
  background: #222;
}

.hero > video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: "object-fit: cover";
}

.hero__text {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  width: 4.5em;
  margin: 0 auto;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #fff;
  font: 130px/1.086 "EB Garamond", serif;
  text-align: center;
}

/* Footer
--------------------------------*/

.site-footer {
  margin-top: 80px;
  background: #e1e6e6;
}

.site-footer-content {
  padding-top: 40px;
}

.organization {
  font-size: 0.75em;
  text-align: center;
}

.organization > span {
  display: block;
}

.organization [itemprop=name] {
  margin-top: 20px;
  font-weight: 700;
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
}

.copyright {
  margin: 40px 0 4px;
  font-family: "EB Garamond", serif;
  font-size: 10px;
  text-align: center;
}

.copyright > small {
  font-size: 1em;
}

.foot-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25em;
  padding: 1.875em 0;
  background: #000;
  color: #fff;
  text-align: center;
}

.foot-contact__caption {
  display: block;
  padding: 0.25em 2.5em;
  border: 1px solid;
}

.foot-contact__tel {
  display: block;
  font-size: 1.25em;
  text-decoration: none;
}

.foot-contact__mail {
  display: flex;
  align-items: center;
  gap: 0.5455em;
  padding: 0.7273em 1.8182em;
  border-radius: 2em;
  background: #fff;
  color: #a30000;
  font-weight: 700;
  font-size: 0.6875em;
  text-decoration: none;
}

.foot-contact__mail:before {
  font: 1.364em/1 icomoon;
  content: "\e90a";
}

.map {
  height: 400px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.follow-us {
  display: flex;
  list-style: none;
  justify-content: center;
  margin: 32px 0;
  padding: 0;
}

.follow-us__item {
  margin: 0 8px;
}

.follow-us__link {
  display: block;
}

.follow-us__link:hover,
.follow-us__link:focus {
  transform: scale(1.2);
}

.foot-menu {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 2em;
  margin: 0;
  padding: 0;
  font-size: 0.625em;
}

.foot-menu a {
  text-decoration: none;
}

.foot-menu a:hover,
.foot-menu a:focus {
  text-decoration: underline;
}

/* Site Content
--------------------------------*/

.site-content--blog {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-around;
  justify-content: space-around;
}

.site-content--blog > main {
  -ms-flex: 0 0 57.461406518%;
  -webkit-flex: 0 0 57.461406518%;
  flex: 0 0 57.461406518%;
}

.pagetop {
  position: fixed;
  bottom: 70px;
  left: 50%;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  width: 60px;
  height: 60px;
  margin-left: 543px;
  border-radius: 50%;
  background: #a30000;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.pagetop:before {
  display: block;
  font: 48px/1.1 FontAwesome;
  content: "\f106";
}

.pagetop.show {
  visibility: visible;
  opacity: 0.6;
}

.pagetop.show:hover,
.pagetop.show:focus {
  opacity: 1;
}

.no-posts {
  margin: 64px 0;
  font-family: "FOT-筑紫明朝 Pr6 M", "Hiragino Mincho ProN", "Yu Mincho", serif;
  text-align: center;
}

/* Sidebar
--------------------------------*/

.sidebar {
  -ms-flex: 0 0 24.1852487136%;
  -webkit-flex: 0 0 24.1852487136%;
  flex: 0 0 24.1852487136%;
}

.widget {
  margin: 50px 0;
}

.widget-title {
  margin: 0;
  border-bottom: 3px solid #e1e6e6;
  font-family: "EB Garamond", serif;
  font-size: 1.4375em;
  text-align: center;
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875em;
}

.side-list > li {
  border-bottom: 1px solid #e1e6e6;
}

.side-list a {
  display: block;
  box-shadow: 4px 0 transparent inset;
  padding: 12px 10%;
  text-decoration: none;
}

.side-list a:hover,
.side-list a:focus {
  box-shadow: 4px 0 #a30000 inset;
}

.side-list--post a {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 16px 6.4%;
}

.side-list--post__thumbnail {
  -ms-flex: 0 0 65px;
  -webkit-flex: 0 0 65px;
  flex: 0 0 65px;
  margin-right: 1em;
}

.side-list--post__thumbnail > img {
  width: 65px;
  height: 65px;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: "object-fit: cover";
}

/* Breadcrumbs
--------------------------------*/

.breadcrumbs {
  width: 100%;
  margin: 15px auto 50px;
  font-size: 0.875em;
}

.breadcrumbs li {
  display: inline-block;
}

.breadcrumbs li:last-child > a {
  text-decoration: none;
}

.breadcrumbs li + li:before {
  content: ">";
}

/* Home
--------------------------------*/

p.tagline--first {
  margin: 100px 0;
}

.introduction-area {
  position: relative;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
  padding-top: 72px;
  background: #e1e6e6;
}

.introduction-area:before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 0;
  border: 15px solid transparent;
  border-top-color: #fff;
  content: "";
}

.introduction-text {
  width: 100%;
  max-width: 920px;
  margin: 0 auto 60px;
  font-weight: 700;
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
  font-size: 0.9375em;
  text-align: justify;
}

.introduction-text > p {
  margin: 0;
}

.our-business {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  width: 100%;
  max-width: 1040px;
  line-height: 1.4;
  margin: 60px auto 96px;
  color: #444;
  text-align: center;
}

.our-business__item {
  width: 406px;
}

.our-business__item:before {
  display: block;
  margin-bottom: 10px;
  font: 30px/1 icomoon;
}

.our-business__item--client {
  width: 100%;
}

.our-business__item--client:before {
  content: "\e900";
}

.our-business__item--advertising,
.our-business__item--outsourcing {
  position: relative;
  margin-top: 36px;
  padding: 30px 13px 13px;
  background: #fff;
}

.our-business__item--advertising:after,
.our-business__item--outsourcing:after {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 50%;
  height: 72px;
  border: dashed #525252;
  border-width: 1px 0 0 1px;
  content: "";
}

.our-business__item--advertising:before {
  content: "\e901";
}

.our-business__item--outsourcing:before {
  content: "\e902";
}

.our-business__item--outsourcing:after {
  right: 50%;
  left: auto;
  border-width: 1px 1px 0 0;
}

.our-business__caption {
  display: block;
  font-size: 11px;
}

.our-business__caption .en {
  font-size: 3.091em;
}

.our-business__list {
  list-style: none;
  margin: 35px 0 0;
  padding: 0;
}

.our-business__list > li {
  margin-top: 13px;
  padding: 6px;
  border-radius: 6px;
  background: #e1e6e6;
  color: #727271;
  font-size: 14px;
}

.our-business__list > li .en {
  color: #3a3a3a;
  font-size: 24px;
}

.our-business-link {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  background: url(images/bg_our-business-link.jpg) no-repeat 50% 50% #666;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.our-business-link__item {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  position: relative;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  width: 50%;
  height: 400px;
  padding-right: calc(50% - 640px);
  background: rgba(0, 0, 0, 0.6);
  text-decoration: none;
}

.our-business-link__item:first-child {
  padding-right: 0;
  padding-left: calc(50% - 640px);
  border-right: 1px solid #e1e6e6;
}

.our-business-link__item:first-child::before {
  right: 0;
  left: calc(50vw - 640px);
}

.our-business-link__item::before {
  position: absolute;
  top: 0;
  right: calc(50vw - 640px);
  left: 0;
  width: 0;
  margin: auto;
  border: 15px solid transparent;
  border-top-color: #e1e6e6;
  content: "";
}

.our-business-link__item:hover,
.our-business-link__item:focus {
  background-color: transparent;
}

.our-business-link__item:hover > .our-business-link__name,
.our-business-link__item:focus > .our-business-link__name {
  background-color: rgba(0, 0, 0, 0.6);
}

.our-business-link__name {
  display: inherit;
  position: relative;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 192px;
  height: 192px;
  margin: auto;
  padding: 10px;
  border: 1px solid;
  border-radius: 50%;
  font-size: 11px;
  transition: inherit;
}

.our-business-link__name .en {
  margin-bottom: 5px;
  border-bottom: 1px solid;
  font-size: 32px;
}

.btn--more {
  min-width: 526px;
}

.content-menu-button {
  display: none;
}

/* Page
--------------------------------*/

.page-header {
  position: relative;
  height: 16em;
  background: url(images/bg_page-header.jpg) no-repeat 50% 50% #333;
  background-size: cover;
  color: #fff;
}

.page-title {
  position: absolute;
  right: 0;
  bottom: 0.6154em;
  margin: 0;
  padding-right: calc(50vw - 583px);
  font-weight: 400;
  font-size: 0.8125em;
  text-align: right;
}

.page-title .en {
  display: block;
  line-height: 1;
  margin-right: calc(583px - 50vw);
  margin-bottom: 0.12em;
  padding-right: inherit;
  padding-left: 0.64em;
  border-bottom: 1px solid;
  font-size: 3.8462em;
}

.head-slide {
  position: relative;
  height: 100%;
}

.head-slide__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: "object-fit: cover";
}

.no-js .head-slide__item {
  opacity: 1;
}

.slideOn img {
  opacity: 0;
  transition: opacity 1s;
}

.slideOn .show {
  z-index: 1;
  opacity: 1;
}

.business-page-header {
  position: relative;
  height: 860px;
  background: #333;
  color: #fff;
}

.business-page-title {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  position: absolute;
  top: 160px;
  right: 0;
  left: 0;
  z-index: 10;
  width: 234px;
  height: 234px;
  margin: auto;
  padding: 16px;
  border: 1px solid;
  border-radius: 50%;
  font-weight: 400;
  font-size: 12px;
  text-align: center;
}

.business-page-title .en {
  margin-bottom: 6px;
  border-bottom: 1px solid;
  font-size: 38px;
}

.business-page-catch {
  position: absolute;
  top: 460px;
  right: 0;
  left: 0;
  z-index: 10;
  font-family: "FOT-筑紫明朝 Pr6 M", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 35px;
  text-align: center;
  white-space: pre;
}

.works-archive-block,
.works-area,
.related-works,
.service-toc,
.service-part,
.privacy-policy-area,
.requirements-area,
.company-profile-area,
.outsourcing-about-area,
.ad-service-area {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
  padding-top: 80px;
  padding-bottom: 80px;
  background: #e1e6e6;
}

/** Advertising */

.ad-service-area {
  margin-bottom: 0;
}

.service-grid {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.service-grid__item {
  position: relative;
  width: 31.218%;
  margin-top: 120px;
  padding: 116px 45px 30px;
  border: 1px solid #fff;
}

.service-grid__item:before {
  position: absolute;
  top: -70px;
  right: 0;
  left: 0;
  width: 140px;
  margin: auto;
  border-radius: 50%;
  background: #fff;
  color: #3f3f3f;
  font: 47px/140px icomoon;
  text-align: center;
  content: "\e903";
}

.service-grid__item--marketing:before {
  content: "\e906";
}

.service-grid__item--promotion:before {
  content: "\e905";
}

.service-grid__item--creation:before {
  content: "\e907";
}

.service-grid__item--media:before {
  content: "\e904";
}

.service-grid__item--event:before {
  content: "\e908";
}

.service-grid__name {
  display: block;
  margin-bottom: 8px;
  font-family: "EB Garamond", serif;
  font-size: 1.75em;
  text-align: center;
}

.service-grid__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.75em;
  text-align: justify;
}

.service-grid__list > li {
  display: inline;
}

.service-grid__list > li:not(:first-child) {
  margin-left: -0.31em;
}

.service-grid__list > li:not(:first-child):before {
  content: "／";
}

.outdoor-ad-area {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  background: url(images/bg_outdoor-ad.jpg) no-repeat 50% 50% #333;
  background-size: cover;
  color: #fff;
}

.banners {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  max-width: 890px;
  margin: 90px auto 60px;
  padding: 0;
  text-align: center;
}

.banners > li {
  -ms-flex: 0 0 22.4719101124%;
  -webkit-flex: 0 0 22.4719101124%;
  flex: 0 0 22.4719101124%;
  margin: 90px 0 0 16.2921348315%;
}

.banners > li:nth-child(-n+3) {
  margin-top: 0;
}

.banners > li:nth-child(3n+1) {
  margin-left: 0;
}

.banners a {
  display: block;
  position: relative;
  text-decoration: none;
}

.banners a:before {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  margin-top: 18px;
  color: #a30000;
  font: 24px/1 FontAwesome;
  transition: inherit;
  content: "\f054";
}

.banners a:hover:before,
.banners a:focus:before {
  left: 20px;
}

/** Outsourcing */

.outsourcing-works {
  margin-top: 100px;
}

.outsourcing-works__item {
  position: relative;
  height: 590px;
}

.outsourcing-works__item:before {
  display: block;
  height: 100%;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  background: no-repeat 50% 50%;
  background-size: cover;
  content: "";
}

.outsourcing-works__item--call:before {
  background-image: url(/assets/images/outsourcing_img01.jpg);
}

.outsourcing-works__item--dataentry:before {
  background-image: url(/assets/images/outsourcing_img02.jpg);
}

.outsourcing-works__item--dataentry > .outsourcing-works__content {
  right: 0;
  left: auto;
}

.outsourcing-works__item--office:before {
  background-image: url(/assets/images/outsourcing_img03.jpg);
}

.outsourcing-works__content {
  position: absolute;
  bottom: 56px;
  left: 0;
  width: 336px;
  padding: 30px 48px;
  background: rgba(255, 255, 255, 0.8);
}

.outsourcing-works__name {
  width: 200px;
  line-height: 0.9;
  margin-bottom: 20px;
  color: #525252;
  font-size: 13px;
}

.outsourcing-works__name > span:lang(en) {
  font-family: "EB Garamond", serif;
  font-size: 55px;
  speak: none;
}

.outsourcing-works__name > span:lang(en) > span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.outsourcing-works__text {
  font-size: 0.875em;
}

.outsourcing-about-area {
  margin-top: 0;
}

.outsourcing-list {
  width: 24.5em;
  margin: 0 auto;
  text-align: justify;
}

.outsourcing-list > li {
  margin: 1em 0;
}

.link--recruit {
  margin: 80px 0;
}

/** Company */

.promise-list {
  display: table;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.promise-list > li {
  margin: 20px 0;
  padding-left: 2em;
  text-indent: -2em;
}

.company-profile {
  margin: auto;
  border-collapse: separate;
  border-spacing: 0 20px;
}

.company-profile th,
.company-profile td {
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 400;
}

.company-profile th {
  text-align: right;
}

.company-profile td {
  padding-left: 40px;
}

.map-area {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

/** Recruit */

.toc__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}

.toc__item {
  flex: 0 0 47.6844%;
  margin-top: 24px;
}

.toc__item:nth-child(n-2) {
  margin-top: 0;
}

.toc__link {
  display: block;
  position: relative;
  line-height: 1.25;
  padding: 2.0625em 3em;
  border: 1px solid;
  font-weight: 700;
  text-decoration: none;
}

.toc__link:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1em;
  height: 1em;
  line-height: 1;
  margin: auto;
  font-family: FontAwesome;
  font-size: 1.5em;
  content: "\f0da";
}

.toc--bottom {
  display: none;
}

.toc__list[role=tablist] {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1em;
}

[role=tablist] .toc__item {
  position: relative;
  flex: auto;
  margin: 0;
  transition: background-color 0.3s;
  cursor: pointer;
}

[role=tablist] .toc__item:before,
[role=tablist] .toc__item:after {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  width: 0;
  opacity: 0;
  margin: auto;
  border: solid transparent;
  border-width: 14px 8px 0;
  border-top-color: currentColor;
  transition: 0.3s;
  content: "";
}

[role=tablist] .toc__item:after {
  margin-top: -2px;
  border-top-color: #fff;
}

.toc__item[aria-selected=true] {
  background: #fff;
}

.toc__item[aria-selected=true]:before,
.toc__item[aria-selected=true]:after {
  opacity: 1;
}

[role=tablist] .toc__link {
  padding: 1.5em 0.5em;
}

[role=tablist] .toc__link span {
  display: block;
}

[role=tablist] .toc__link:before {
  content: none;
}

.toc2__title {
  display: block;
  padding: 0;
  border: 0;
  text-align: center;
}

.toc2__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}

.toc2__item {
  flex: 0 0 12em;
}

.toc2__link {
  display: block;
  position: relative;
  padding-right: 1em;
  border-bottom: 1px solid #111;
  color: #00a0e9;
  font-family: "FOT-筑紫明朝 Pr6 M", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: min(16px, 3.4667vw);
  text-decoration: none;
}

.toc2__link:before {
  position: absolute;
  right: 0;
  color: #111;
  font-family: FontAwesome;
  content: "\f0da";
}

.requirements-wrap {
  margin-top: 80px;
}

.requirements-part {
  padding: 40px 103px 60px;
  border: solid #a30000;
  border-width: 4px 0 2px;
  background: #fff;
}

.requirements-part[role=tabpanel] {
  display: none;
}

.requirements-part[role=tabpanel][aria-hidden=false] {
  display: block;
  animation: fadeIn 0.8s forwards;
}

.requirements-part__heading {
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  border-color: #a30000;
  text-align: center;
}

.requirements-part__heading:before {
  display: inline-block;
  line-height: 1;
  vertical-align: top;
  margin-right: 0.6em;
  font-family: icomoon;
  font-weight: 400;
  font-size: 1.6667em;
  content: "\e901";
}

.requirements-part__heading--2:before {
  content: "\e902";
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.not-recruiting {
  color: #923127;
  text-align: center;
}

.not-recruiting > strong {
  font-weight: 500;
}

.recruit-requirements {
  display: block;
  font-size: 0.9375em;
}

.recruit-requirements__caption {
  margin-inline: auto;
  border-bottom-color: #111;
  color: #00a0e9;
}

.recruit-requirements__caption:before {
  display: block;
  margin-bottom: 0.174em;
  color: #111;
  font: 1.2778em/1 icomoon;
  text-align: center;
  content: "\e909";
}

.recruit-requirements > tbody {
  display: block;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
  -moz-column-gap: 56px;
  -webkit-column-gap: 56px;
  column-gap: 56px;
}

.recruit-requirements tr {
  display: inline-table;
  position: relative;
  width: 100%;
  margin-top: -1px;
}

.recruit-requirements tr:first-child,
.recruit-requirements tr:nth-child(5) {
  margin-top: 0;
}

.recruit-requirements th {
  width: 33.333%;
}

.work-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-list ul {
  list-style: disc;
  font-size: 0.8666em;
}

.contact {
  margin-bottom: 2em;
  text-align: center;
}

.contact > p {
  margin: 0;
}

.contact__caption {
  font-weight: 700;
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
}

/** Privacy Policy */

.privacy-mark {
  width: 92px;
  margin: 100px auto;
  text-align: center;
}

.privacy-mark-data th,
.privacy-mark-data td {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.privacy-mark-data th {
  padding-right: 25px;
}

.privacy-mark-data th:before {
  content: "(";
}

.privacy-mark-data th:after {
  content: ")";
}

.privacy-mark-data dl {
  overflow: hidden;
}

.privacy-mark-data dt {
  float: left;
  clear: left;
  width: 7em;
  margin: 0;
  font-weight: 400;
}

.privacy-mark-data dd {
  overflow: hidden;
  margin: 0;
}

.privacy-child {
  margin: 0 auto 30px;
}

.privacy-child ol > li {
  margin: 1em 0;
}

.privacy-child ul {
  list-style: none;
  padding: 0;
}

.privacy-policy-author {
  margin-top: 50px;
  text-align: right;
}

/** Service */

.toc-service {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em 2.05832%;
  margin: 8.2333% 0;
  padding: 0;
  text-align: center;
}

.toc-service > li {
  width: 31.961121%;
}

.service-part {
  margin-top: 1px;
  margin-bottom: 0;
}

.service-content {
  display: grid;
  grid-template-areas: "title image" "description image" "link image";
  grid-template-columns: 1fr 48.0274443%;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: 0 5.49%;
}

.service:nth-of-type(2n) .service-content,
.service-part:nth-of-type(2n) .service-content {
  grid-template-areas: "image title" "image description" "image link";
  grid-template-columns: 48.0274443% 1fr;
}

.service-content h3 {
  grid-area: title;
  line-height: 1.4;
  margin: 0 0 1.5em;
  padding: 0;
  border: 0;
  font-size: 1.125em;
}

.service-content h3 .en {
  line-height: 1.1;
  margin-bottom: 0.5em;
  font-weight: 400;
  font-size: 2em;
}

.service-content .image {
  grid-area: image;
}

.service-content .description {
  grid-area: description;
}

.service-content .link {
  grid-area: link;
  margin-top: 2.5em;
  text-align: left;
}

.service-content .link:has(:nth-child(2)) {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
}

.service-content .link:has(:nth-child(2)) .btn {
  display: block;
  min-width: 0;
}

.service-content .btn[href^="#contact"] {
  background: #a30000;
  border-color: #a30000;
  color: #fff;
}

.service-list {
  display: grid;
  list-style: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75em;
  margin: 0;
  padding: 0;
}

.service-list a {
  display: block;
  position: relative;
  line-height: 1.556;
  padding: 1.334em 0.8334em 1.334em 2.223em;
  background: #fff;
  font-size: 1.125em;
  text-decoration: none;
}

.service-list a:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1em;
  height: 1em;
  margin: auto;
  font: 1em/1 FontAwesome;
  content: "\f0da";
}

.service-toc h3 {
  display: block;
  margin: 0 0 3em;
  padding: 0;
  border: 0;
  font-size: 1rem;
  text-align: center;
}

.service {
  margin: 5rem auto;
}

.service-features h4,
.related-works h4 {
  display: flex;
  align-items: baseline;
  gap: 2em;
  margin: 0 0 2em;
  font-size: 0.75rem;
}

.service-features h4 .en,
.related-works h4 .en {
  font-weight: 400;
  font-size: 2em;
}

.service-features-wrap {
  display: grid;
  grid-template-columns: repeat(3, 29.84563%);
  justify-content: space-between;
  row-gap: 3rem;
}

.service-feature {
  margin: 0;
}

.service-feature__image {
  aspect-ratio: 3/2;
  margin-bottom: 0.75em;
}

.service-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-feature__title {
  margin: 0 0 1em;
  padding: 0 0 0 0.625em;
  border-left: 0.25em solid #a30000;
  font-size: 1rem;
}

.service-feature__description {
  line-height: 2.286;
  font-size: 0.875rem;
  text-align: justify;
}

.related-works .works-grid {
  margin-top: 0;
}

/** Contact */

.form-text {
  margin: 2.5em 0;
  text-align: center;
}

/* Works
--------------------------------*/

.works-area {
  margin-top: 0;
  margin-bottom: 0;
  background: #e1e6e6;
}

.works-archive-block {
  background: #e1e6e6;
}

.works-category-title {
  font-size: 1.125em;
  font-family: "FOT-筑紫明朝 Pr6 M", "Hiragino Mincho ProN", "Yu Mincho", serif;
  text-align: center;
}

.works-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 64px 0;
}

.works-grid:last-child {
  margin-bottom: 0;
}

.works-grid__item {
  flex: 0 0 22.641509434%;
  margin: 48px 0 0 3.1447%;
  background: #fff;
}

.works-grid__item:nth-child(-n+4) {
  margin-top: 0;
}

.works-grid__item:nth-child(4n+1) {
  margin-left: 0;
}

.works-grid__link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.works-grid__link:hover,
.works-grid__link:focus {
  box-shadow: 0 4px #a30000;
}

.works-grid__thumbnail {
  position: relative;
}

.works-grid__thumbnail:before {
  display: block;
  padding-top: 75%;
  content: "";
}

.works-grid__thumbnail > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: "object-fit: cover";
}

.works-grid__content {
  padding: 8px;
  font-size: 0.875em;
}

.works-grid__category {
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
}

.works-grid__title {
  min-height: 2.5em;
  line-height: 1.25;
}

.works,
.kchoice {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.works__header,
.kchoice__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 3px solid;
}

.works__category {
  margin-bottom: 8px;
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
  font-size: 0.875em;
}

.works__title,
.kchoice__title {
  line-height: 1.25;
  margin: 0;
  font-weight: 400;
  font-size: 28px;
}

.latest-works-area {
  margin-top: 80px;
}

.contactbox {
  margin-top: 80px;
}

/* K-choice
--------------------------------*/

.kchoice-heading[data-en] {
  font-family: "FOT-筑紫Aオールド明朝 Pr6 M", serif;
  font-size: 22px;
}

.kchoice-heading[data-en] .en {
  display: block;
  color: #a30000;
  font-family: Lato;
  font-size: 10px;
}

.works-category-title + .kchoice-grid {
  margin-top: 16px;
}

.kchoice-grid + .link {
  margin-top: 32px;
}

.kchoice-grid__item {
  margin-top: 24px;
}

.kchoice-grid__item:first-child {
  margin-top: 0;
}

.kchoice-grid__link {
  display: block;
  text-decoration: none;
}

.kchoice-grid__link:after {
  display: block;
  line-height: 1;
  margin-top: 1em;
  font-family: "FOT-筑紫ゴシック Pro B", sans-serif;
  font-size: 0.5em;
  text-align: right;
  text-decoration: underline;
  content: "> and more";
}

.kchoice-grid__link:hover .kchoice-grid__thumbnail img,
.kchoice-grid__link:focus .kchoice-grid__thumbnail img {
  opacity: 0.65;
}

.kchoice-grid__thumbnail {
  position: relative;
  margin-bottom: 8.89%;
  padding-top: 56.25%;
  background: #333;
}

.kchoice-grid__thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: "object-fit: cover";
}

.kchoice-grid__category {
  line-height: 1.25;
  margin-bottom: 1.2308em;
  color: #a30000;
  font-family: "FOT-筑紫ゴシック Pro B", sans-serif;
  font-size: 13px;
  text-align: center;
}

.kchoice-grid__title {
  line-height: 1.334;
  font-family: "FOT-筑紫Aオールド明朝 Pr6 M", serif;
}

.kchoice__category {
  margin-bottom: 8px;
  color: #a30000;
  font-family: "FOT-筑紫ゴシック Pro B", sans-serif;
  font-size: 13px;
}

.kchoice__category > a {
  text-decoration: none;
}

.kchoice__category > a:hover,
.kchoice__category > a:focus {
  text-decoration: underline;
}

.kchoice__title {
  font-family: "FOT-筑紫明朝 Pr6 M", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

/* Archive
--------------------------------*/

.post-grid {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  max-width: 890px;
  margin: 80px auto;
}

.post-grid--archive {
  max-width: 660px;
  margin-top: 12px;
  margin-bottom: 0;
}

.post-grid__item {
  width: 22.472%;
  margin-top: 32px;
  margin-left: 3.370666%;
}

.post-grid__item:nth-child(4n+1) {
  margin-left: 0;
}

.post-grid__item:nth-child(-n+4) {
  margin-top: 0;
}

.post-grid__item > a {
  display: block;
  position: relative;
  height: 100%;
  padding: 30px 10px 10px;
  border-radius: 6px;
  background: #e1e6e6;
  font-size: 14px;
  text-decoration: none;
}

.post-grid--archive .post-grid__item {
  width: 30.303%;
  margin-left: 4.5455%;
}

.post-grid--archive .post-grid__item:nth-child(4n+1) {
  margin-left: 4.5455%;
}

.post-grid--archive .post-grid__item:nth-child(3n+1) {
  margin-left: 0;
}

.post-grid--archive .post-grid__item:nth-child(4) {
  margin-top: 32px;
}

.post-grid__category {
  position: absolute;
  top: 0;
  left: 10px;
  padding: 0 15px;
  background: #7c734d;
  color: #fff;
  font-size: 12px;
}

.post-grid__thumbnail {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #999;
}

.post-grid__thumbnail > img[src$=".svgz"] {
  width: 100%;
}

.post-grid__date {
  font-weight: 700;
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
}

.post-grid__title {
  margin: 0;
}

.post-grid > .no-posts {
  width: 100%;
  text-align: center;
}

/* Post
--------------------------------*/

.post {
  margin: 0 auto 60px;
}

.post-thumbnail {
  margin-bottom: 20px;
  text-align: center;
}

.entry-header {
  margin-bottom: 30px;
}

.entry-title {
  line-height: 1.4;
  margin: 10px 0 0;
  font-weight: 400;
  font-size: 1.4375em;
}

.entry-title > a {
  text-decoration: none;
}

.entry-title > a:hover,
.entry-title > a:focus {
  text-decoration: underline;
}

.entry-meta {
  color: #525252;
  font-size: 0.875em;
}

.post-categories > a {
  display: inline-block;
  padding: 0 4px;
  background: #525252;
  color: #fff;
  font-size: 0.8571428571em;
  text-decoration: none;
}

.attachment .entry-content {
  text-align: center;
}

.entry-content strong {
  color: inherit;
}

.entry-content em {
  color: inherit;
  font-style: italic;
  font-weight: inherit;
}

.more-link {
  display: table;
  margin: 1em 0 0 auto;
}

/*** Wordpress Native Classes ***/

.alignleft,
.alignright,
.aligncenter {
  display: block;
  margin: 1em auto;
  text-align: center;
}

.alignnone {
  vertical-align: baseline;
}

.wpcf7 {
  max-width: 640px;
  margin: 4em auto 0;
}

.wpcf7 .link {
  margin: 1.5em 0 1.5em 10.875em;
}

.wpcf7 .link a {
  font-size: 0.8125em;
}

.field {
  display: grid;
  grid-template-columns: 9.375em 1fr;
  align-items: center;
  gap: 1.5em;
  margin-bottom: 1.875em;
}

.field:has(textarea) {
  align-items: start;
}

.field__label {
  display: block;
  font-size: 0.9375em;
}

.required,
.optional {
  display: inline-block;
  line-height: 1.5;
  vertical-align: text-top;
  padding: 0 0.667em;
  background: #a30000;
  color: #fff;
  font-size: 0.8em;
}

.optional {
  background: #3b61ff;
}

label[for],
.wpcf7-list-item > label {
  cursor: pointer;
}

input.wpcf7-not-valid,
textarea.wpcf7-not-valid {
  background: #fcc;
}

.acceptance {
  margin-left: 10.875em;
}

.acceptance > label {
  display: grid;
  grid-template-columns: auto 1fr;
  width: fit-content;
  margin: 0 auto;
  cursor: pointer;
}

.submit {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3em;
  margin-left: 10.875em;
}

.submit:before {
  width: 48px;
  content: "";
}

.wpcf7-spinner {
  margin-right: 0;
}

.wpcf7-submit {
  width: 26.57143em;
}

.wpcf7-checkbox,
.wpcf7-radio {
  display: block;
}

span.wpcf7-list-item {
  position: relative;
  left: -0.8em;
}

.wpcf7-form-control-wrap {
  width: 66%;
}

.wpcf7 [size="40"],
textarea {
  width: 100%;
}

.wpcf7 form .wpcf7-response-output {
  margin-right: 0;
  margin-left: 10.875em;
  text-align: center;
}

/* Page Navigation
--------------------------------*/

.navigation {
  margin: 60px auto 0;
  text-align: center;
}

.pagination {
  margin-right: -4px;
  margin-left: -4px;
}

.post-navigation a {
  font-family: "EB Garamond", serif;
  font-size: 1.4375em;
  text-decoration: none;
}

.nav-links {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.nav-links > a {
  text-decoration: none;
}

.nav-links > a:hover,
.nav-links > a:focus {
  text-decoration: underline;
}

.nav-next {
  -ms-flex-order: 0;
  -webkit-order: 0;
  order: 0;
  margin-right: auto;
}

.nav-next > a:before {
  margin-right: 5px;
  font-family: FontAwesome;
  content: "\f104";
}

.nav-previous {
  -ms-flex-order: 1;
  -webkit-order: 1;
  order: 1;
  margin-left: auto;
}

.nav-previous > a:after {
  margin-left: 5px;
  font-family: FontAwesome;
  content: "\f105";
}

.page-numbers {
  display: inline-block;
  width: 1em;
  line-height: 1;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  margin: 0 4px;
  padding: 6px;
}

.page-numbers:before {
  vertical-align: top;
  font-family: FontAwesome;
}

.page-numbers.current {
  background: #000;
  color: #fff;
}

.page-numbers.prev:before {
  content: "\f104";
}

.page-numbers.next:before {
  content: "\f105";
}

/* Social
--------------------------------*/

.share-buttons {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  list-style: none;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  text-align: center;
}

.share-buttons a:before {
  display: inline-block;
  min-width: 1em;
  font: 1em/1 FontAwesome, sans-serif;
  content: "\e911";
}

.share-buttons > li {
  -ms-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.share-buttons a {
  display: block;
  padding: 2px 8px;
  background: #ccc;
  color: #fff;
  text-decoration: none;
}

.share-buttons .facebook {
  background-color: #3b5998;
}

.share-buttons .twitter {
  background-color: #1da1f3;
}

.share-buttons .googleplus {
  background-color: #dd4b39;
}

.share-buttons .tumblr {
  background-color: #36465d;
}

.share-buttons .pocket {
  background-color: #ef4056;
}

.share-buttons .hatena {
  background-color: #00a5de;
}

.share-buttons .facebook:before {
  content: "\f09a";
}

.share-buttons .twitter:before {
  content: "\f099";
}

.share-buttons .googleplus:before {
  content: "\f0d5";
}

.share-buttons .tumblr:before {
  content: "\f173";
}

.share-buttons .pocket:before {
  content: "\f265";
}

.share-buttons .hatena:before {
  content: "B!";
  font-family: Verdana, sans-serif;
  font-weight: 700;
}

/* Extra
--------------------------------*/

.for-ie {
  padding: 10px 0;
  background: #a30000;
  color: #fff;
  font-size: 20px;
  text-align: center;
}

/* Media Queries
--------------------------------*/

@media screen and (min-width: 480px) {
  .kchoice-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .kchoice-grid__item {
    flex: 0 0 48%;
    margin-top: 4%;
  }

  .kchoice-grid__item:nth-child(-n+2) {
    margin-top: 0;
  }
}

@media screen and (min-width: 768px) {
  h2 {
    margin-bottom: 40px;
    font-size: 2.7444253859vw;
  }

  .toc-service a {
    line-height: 1.1666666667;
    padding: 1.1666666667em 2.2222222222em;
    font-size: 1.125em;
  }

  .service-content .btn {
    min-width: 20.6667em;
    line-height: 1.1667;
    padding: 1.1667em 2.778em;
    font-size: 1.125em;
  }

  .kchoice-heading[data-en] {
    font-size: 2.7444253859vw;
  }

  .kchoice-heading[data-en] .en {
    font-size: 0.375em;
  }

  .kchoice-grid {
    justify-content: flex-start;
  }

  .works-category-title + .kchoice-grid {
    margin-top: 2.74443%;
  }

  .kchoice-grid + .link {
    margin-top: 5.489%;
  }

  .kchoice-grid__link {
    margin-top: 2em;
  }

  .kchoice-grid__item {
    flex-basis: 30.875%;
    margin: 3.688% 0 0 3.688%;
  }

  .kchoice-grid__item:nth-child(3) {
    margin-top: 0;
  }

  .kchoice-grid__item:nth-child(3n+1) {
    margin-left: 0;
  }

  .kchoice-grid__content {
    font-size: 2.0583190395vw;
  }

  .kchoice-grid__category {
    font-size: 0.541667em;
  }

  .kchoice-grid__content {
    font-size: 24px;
  }

  .alignleft {
    float: left;
    margin: 0 1em 0 0;
  }

  .alignright {
    float: right;
    margin: 0 0 0 1em;
  }
}

@media screen and (min-width: 1166px) {
  a[href^="tel:"] {
    text-decoration: inherit;
  }

  h2 {
    font-size: 32px;
  }

  p.tagline--first > span:nth-child(-n+2) {
    display: inline;
  }

  .kchoice-heading[data-en] {
    font-size: 32px;
  }
}

@media screen and (max-width: 1165px) {
  html {
    font-size: 1.3722127vw;
  }

  body {
    min-width: 0;
  }

  td {
    padding-left: 16px;
  }

  .site-content,
  .site-footer-content,
  .site-header-content {
    padding-right: 3.125vw;
    padding-left: 3.125vw;
  }

  .tagline {
    font-size: 2.92vw;
  }

  .site-header-content {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "logo logo mail" "nav nav contact";
    row-gap: 1.25rem;
  }

  .global-nav {
    margin-left: 0;
  }

  .global-nav__item {
    margin-right: 16px;
  }

  .hero {
    height: 56.25vw;
  }

  .hero__text {
    font-size: 10vw;
  }

  .foot-contact {
    padding-right: 3.125vw;
    padding-left: 3.125vw;
  }

  .site-content--blog {
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }

  .site-content--blog > main {
    -ms-flex: 0 0 72.91667%;
    -webkit-flex: 0 0 72.91667%;
    flex: 0 0 72.91667%;
  }

  .pagetop {
    right: 10px;
    bottom: 10px;
    left: auto;
    margin: 0;
  }

  .pagetop.show:hover {
    opacity: 0.6;
  }

  .sidebar {
    -ms-flex: 0 0 25%;
    -webkit-flex: 0 0 25%;
    flex: 0 0 25%;
  }

  .our-business__item {
    width: 43.75vw;
  }

  .our-business__item--client {
    width: 100%;
  }

  .our-business__item--advertising:after,
  .our-business__item--outsourcing:after {
    width: 40%;
  }

  .our-business-link__item:first-child::before {
    left: 0;
  }

  .our-business-link__item::before {
    right: 0;
  }

  .our-business-link__item {
    height: 41.667vw;
    max-height: 400px;
  }

  .page-title {
    padding-right: 3.125vw;
  }

  .page-title .en {
    margin-right: -3.125vw;
  }

  .business-page-header {
    height: 67.1875vw;
  }

  .business-page-title {
    top: 10%;
  }

  .business-page-catch {
    top: auto;
    bottom: 10%;
    font-size: 3.6458333333vw;
  }

  .service-grid__item {
    padding: 96px 20px 20px;
  }

  .outsourcing-works__item {
    height: 61.458vw;
  }

  .toc {
    font-size: 1.3722127vw;
  }

  .requirements-part {
    padding: 30px 20px;
  }

  .recruit-requirements > tbody {
    -moz-column-gap: 20px;
    -webkit-column-gap: 20px;
    column-gap: 20px;
  }

  .works-grid__item {
    flex-basis: 32%;
    margin-left: 2%;
  }

  .works-grid__item:nth-child(4) {
    margin-top: 48px;
  }

  .works-grid__item:nth-child(4n+1) {
    margin-left: 2%;
  }

  .works-grid__item:nth-child(3n+1) {
    margin-left: 0;
  }

  .post-grid--archive .post-grid__item {
    width: 30.82%;
    margin-left: 3.77%;
  }

  .introduction-area,
  .our-business-link,
  .ad-service-area,
  .outdoor-ad-area,
  .outsourcing-works__item:before,
  .outsourcing-about-area,
  .company-profile-area,
  .map-area,
  .requirements-area,
  .privacy-policy-area,
  .service-part,
  .service-toc,
  .related-works,
  .works-area,
  .works-archive-block {
    margin-right: -3.125vw;
    margin-left: -3.125vw;
  }

  .introduction-area,
  .ad-service-area,
  .outdoor-ad-area,
  .outsourcing-about-area,
  .company-profile-area,
  .requirements-area,
  .privacy-policy-area,
  .service-part,
  .service-toc,
  .related-works,
  .works-area,
  .works-archive-block {
    margin-right: -3.125vw;
    margin-left: -3.125vw;
    padding-right: 3.125vw;
    padding-left: 3.125vw;
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: 16px;
  }

  section {
    margin: 3rem auto;
  }

  article section,
  section section {
    margin: 36px auto;
  }

  th,
  td {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .wpcf7-submit,
  .toc-service a,
  .btn {
    display: block;
    min-width: 0;
    padding: 1.143em;
  }

  .tagline {
    font-size: 18px;
  }

  .tagline .break {
    display: none;
  }

  .tagline > span:not(.break),
  .lede > p > span:not(.break) {
    display: inline;
  }

  .site-header-content {
    position: relative;
    grid-template-columns: 1fr auto auto auto;
    grid-template-areas: "logo mail contact nav";
    gap: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .global-nav {
    display: grid;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -100%;
    z-index: 99999;
    align-items: center;
    width: 100%;
    line-height: inherit;
    overflow: auto;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.9375rem;
    transition: 0.3s transform;
  }

  .global-nav__list {
    display: grid;
    text-align: center;
  }

  .global-nav__item {
    margin: 0;
  }

  .global-nav__item:nth-last-child(-n+2) {
    display: block;
  }

  .global-nav__link {
    padding: 8px;
  }

  .global-nav__link .en {
    display: inline;
  }

  .global-nav__link .en:before {
    content: " / ";
  }

  .no-js .global-nav {
    position: absolute;
    top: 100%;
    bottom: auto;
    left: 0;
  }

  .no-js .global-nav__list {
    display: block;
  }

  .no-js .global-nav__item {
    display: inline-block;
  }

  .global-nav-children {
    display: none;
    /*display: flex;
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em 2em;
    width: auto;
    visibility: visible;
    opacity: 1;
      margin: 0 0 1em;
    padding: 0 2em;
    background: transparent;
    transition: none;
    font-size: 0.8em;
    &__item {
    	border: 0;
    }
    &__link {
    	padding: 0 0 0 1em;
    }*/
  }

  .menu-button {
    display: block;
    grid-area: nav;
    position: relative;
    z-index: 100000;
    -ms-flex: 0 0 40px;
    -webkit-flex: 0 0 40px;
    flex: 0 0 40px;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
    width: 40px;
    height: 40px;
    line-height: 1;
    box-shadow: 0 0 0 1px currentColor inset;
    padding: 4px 0;
    background: transparent;
    color: inherit;
    font-family: "EB Garamond", serif;
    font-size: 10px;
    text-align: center;
    text-transform: uppercase;
  }

  .menu-button[data-open=true] {
    color: #fff;
  }

  .menu-button__caption {
    display: block;
    margin-top: 2px;
  }

  .head-contact > a:before {
    font-family: FontAwesome;
    content: "\f095";
  }

  .head-mail {
    margin: 0;
  }

  .head-mail > a {
    color: inherit;
  }

  .head-contact > a,
  .head-mail > a {
    display: block;
    width: 40px;
    height: 40px;
    overflow: hidden;
    box-shadow: 0 0 0 1px currentColor inset;
    padding: 0;
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    text-indent: 40px;
  }

  .head-contact > a:before,
  .head-mail > a:before {
    display: block;
    line-height: 40px;
    font-size: 28px;
    text-align: center;
    text-indent: 0;
  }

  .hero {
    height: 84vw;
  }

  .hero__text {
    width: auto;
  }

  .foot-contact {
    flex-direction: column;
    gap: 1em;
  }

  .map {
    height: 300px;
  }

  .foot-menu {
    gap: 0.5em;
    flex-direction: column;
    align-items: center;
    font-size: 0.75em;
  }

  .site-content--blog {
    display: block;
  }

  .sidebar {
    margin-top: 50px;
  }

  .widget {
    margin: 30px 0;
  }

  .side-list a {
    padding-right: 8px;
    padding-left: 8px;
  }

  p.tagline--first {
    margin: 50px 0;
  }

  p.tagline--first > span {
    display: block;
  }

  .introduction-area {
    padding-top: 48px;
  }

  .our-business {
    margin-bottom: 40px;
  }

  .our-business__item--client:before {
    margin-bottom: 0;
  }

  .our-business__item--advertising,
  .our-business__item--outsourcing {
    padding: 30px 0 0;
    background: transparent;
  }

  .our-business__item--advertising:after,
  .our-business__item--outsourcing:after {
    width: 28%;
    height: 67px;
  }

  .our-business__caption .en {
    font-size: 24px;
  }

  .our-business__list {
    display: none;
  }

  .our-business-link__item:before {
    border-width: 8px 8px 0;
  }

  .our-business-link__name {
    width: 102px;
    width: 32vw;
    height: 102px;
    height: 32vw;
    font-size: 10px;
  }

  .our-business-link__name .en {
    font-size: 16px;
  }

  .btn--more {
    min-width: 0;
  }

  .content-menu-button {
    display: block;
    width: 80%;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid;
    background: rgba(0, 0, 0, 0.1);
    font-family: "EB Garamond", serif;
    text-transform: uppercase;
    text-align: center;
  }

  .content-menu-button:before {
    vertical-align: text-top;
    margin-right: 5px;
    font-family: FontAwesome;
    content: "\f0c9";
  }

  .page-header {
    height: 11.25em;
  }

  .page-title .en {
    font-size: 3.077em;
  }

  .business-page-title {
    top: 5%;
    width: 33.75vw;
    height: 33.75vw;
    padding: 2.5vw;
    font-size: 3.125vw;
  }

  .business-page-title .en {
    font-size: 1.7em;
  }

  .works-archive-block,
  .works-area,
  .related-works,
  .service-toc,
  .service-part,
  .privacy-policy-area,
  .requirements-area,
  .company-profile-area,
  .outsourcing-about-area,
  .ad-service-area {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .service-grid {
    display: block;
    margin-bottom: 2rem;
  }

  .service-grid__item {
    width: auto;
    margin-top: 48px;
    padding: 30px 12px 12px;
  }

  .service-grid__item:before {
    top: -30px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 28px;
  }

  .outdoor-ad-area {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .banners {
    margin: 0;
  }

  .banners > li {
    -webkit-flex-basis: 32%;
    flex-basis: 32%;
    margin-top: 24px;
    margin-left: 2%;
  }

  .banners a:before {
    content: none;
  }

  .outsourcing-works {
    margin-top: 40px;
  }

  .outsourcing-works__item {
    height: auto;
    margin: 0 -3.125vw;
  }

  .outsourcing-works__item:before {
    height: 61.458vw;
  }

  .outsourcing-works__content {
    position: relative;
    bottom: 0;
    width: auto;
    margin-bottom: 30px;
    padding: 0 3.125vw;
  }

  .outsourcing-list {
    width: auto;
  }

  .company-profile {
    max-width: 480px;
  }

  .toc {
    font-size: 0.8125em;
  }

  .toc__list {
    flex-direction: column;
    gap: 16px;
  }

  .toc__link {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
  }

  .toc--bottom {
    display: block;
    margin-top: 40px;
  }

  .toc--bottom .toc__item {
    margin: 0;
    background: #fff;
  }

  .toc--bottom .toc__item[aria-selected=true] {
    display: none;
  }

  .toc2__item {
    flex-basis: calc(50% - 0.5em);
  }

  .toc2__link {
    font-size: min(16px, 3.4667vw);
  }

  .requirements-wrap {
    margin-top: 48px;
  }

  .requirements-part {
    padding: 12px 8px;
  }

  .requirements-part__heading:before {
    display: block;
    margin-right: 0;
  }

  .recruit-requirements {
    display: table;
  }

  .recruit-requirements > tbody {
    display: table-row-group;
  }

  .recruit-requirements th {
    padding-inline: 0;
  }

  .privacy-mark {
    margin: 50px auto;
  }

  .toc-service {
    flex-direction: column;
  }

  .toc-service > li {
    width: 100%;
  }

  .service-content,
  .service:nth-of-type(2n) .service-content,
  .service-part:nth-of-type(2n) .service-content {
    grid-template-areas: "title" "image" "description" "link";
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    container-type: normal;
  }

  .service-content h3 .en {
    font-size: 1.334em;
  }

  .service-content .image {
    margin-bottom: 1em;
  }

  .service-content .description,
  .service-content .link {
    font-size: 1em;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .service-list a {
    font-size: 0.75em;
  }

  .service-toc h3 {
    margin-bottom: 1rem;
  }

  .page-template-service-category .type-page > .tagline {
    display: none;
  }

  .service {
    margin: 3rem auto;
  }

  .service-features-wrap {
    grid-template-columns: 1fr;
  }

  .works__header,
  .kchoice__header {
    padding-bottom: 16px;
  }

  .works__category {
    margin-bottom: 4px;
    font-size: 0.8125em;
  }

  .works__title,
  .kchoice__title {
    font-size: 23px;
  }

  .latest-works-area {
    margin-top: 56px;
  }

  .contactbox {
    margin-top: 48px;
  }

  .post-grid {
    display: block;
    margin: 30px auto;
  }

  .post-grid__item {
    width: auto;
    margin: 12px 0 0;
  }

  .post-grid__item:nth-child(2),
  .post-grid__item:nth-child(3),
  .post-grid__item:nth-child(4) {
    margin-top: 12px;
  }

  .post-grid__item > a {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    overflow: hidden;
    padding: 0;
  }

  .post-grid--archive .post-grid__item {
    width: auto;
    margin-left: 0;
  }

  .post-grid--archive .post-grid__item:nth-child(4) {
    margin-top: 12px;
  }

  .post-grid--archive .post-grid__item:nth-child(4n+1) {
    margin-left: 0;
  }

  .post-grid__category {
    left: 0;
    min-width: 100px;
    padding: 0 2px;
    text-align: center;
  }

  .post-grid__thumbnail {
    -ms-flex: 0 0 100px;
    -webkit-flex: 0 0 100px;
    flex: 0 0 100px;
    max-width: 100px;
    margin: 0 8px 0 0;
    padding: 20px 0 0;
    border: 0;
  }

  .post-grid__thumbnail > img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: "object-fit: cover";
  }

  .post-grid__content {
    padding: 8px;
  }

  .post-date {
    display: block;
    margin-bottom: 5px;
    padding: 4px 0;
    border: solid #ccc;
    border-width: 1px 0;
  }

  .wpcf7 .link {
    margin-left: 0;
  }

  .field {
    display: block;
  }

  .field__label {
    margin-bottom: 0.25rem;
  }

  .acceptance {
    margin-left: 0;
  }

  .submit {
    margin-left: 0;
  }

  .wpcf7-submit {
    width: 100%;
    max-width: 26.57143em;
  }

  .wpcf7 form .wpcf7-response-output {
    margin-left: 0;
  }
}

@media screen and (max-width: 767px) and (max-width: 479px) {
  .company-profile {
    display: block;
    width: auto;
  }

  .company-profile > tbody,
  .company-profile tr,
  .company-profile th,
  .company-profile td {
    display: inherit;
    width: 100%;
  }

  .company-profile tr {
    margin: 1em 0 0;
  }

  .company-profile th {
    text-align: left;
  }

  .company-profile td {
    padding-left: 1em;
  }

  .privacy-mark-data {
    display: block;
    width: auto;
  }

  .privacy-mark-data > tbody,
  .privacy-mark-data tr,
  .privacy-mark-data th,
  .privacy-mark-data td {
    display: inherit;
    width: 100%;
  }

  .privacy-mark-data tr {
    margin-top: 1em;
  }
}

@media screen and (max-width: 479px) {
  .flexible-table {
    display: block;
    width: auto;
  }

  .flexible-table > tbody,
  .flexible-table tr,
  .flexible-table th,
  .flexible-table td {
    display: inherit;
    width: 100%;
  }

  .works-grid {
    justify-content: space-between;
    margin: 32px 0;
  }

  .works-grid__item {
    flex: 0 0 48%;
    margin: 16px 0 0;
  }

  .works-grid__item:nth-child(3),
  .works-grid__item:nth-child(4) {
    margin-top: 16px;
  }

  .works-grid__item:nth-child(4n+1) {
    margin-left: 0;
  }

  .works-grid__category {
    font-size: 0.8571428571em;
  }
}

@media print {
  body {
    min-width: 1230px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  figcaption {
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  blockquote,
  figure,
  table {
    page-break-inside: avoid;
  }
}