@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
* {
  box-sizing: border-box; }

html {
  scrollbar-gutter: stable; }

body, button, input, select, optgroup, textarea {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 18px; }
  @media (max-width: 600px) {
    body, button, input, select, optgroup, textarea {
      font-size: 14px; } }

a {
  color: #E50000;
  transition: all .3s ease;
  text-decoration: none; }
  a:focus {
    outline: thin dotted; }
  a:hover, a:active {
    outline: 0; }
  a img {
    transition: all .3s ease; }
    a img:hover {
      opacity: .5; }

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

p {
  margin: .5em auto 1em; }
  p:first-child {
    margin-top: 0; }

.is-provider-youtube .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; }

.is-provider-youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%; }

figure.wp-block-embed.aligncenter.is-type-video.is-provider-youtube.wp-block-embed-youtube {
  text-align: center; }

.inner {
  max-width: 1400px;
  padding: 1em;
  margin: auto; }

/* 入れ子側では解除 */
.is-layout-constrained .is-layout-constrained
> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none;
  margin-inline: 0 !important; }

.pc-on {
  display: block; }
  @media (max-width: 600px) {
    .pc-on {
      display: none; } }

.sp-on {
  display: none; }
  @media (max-width: 600px) {
    .sp-on {
      display: block; } }

.has-themes-maincolor-color {
  color: #E50000; }

.has-themes-maincolor-background-color {
  background-color: #E50000; }

.has-themes-subcolor-color {
  color: #FFEEEE; }

.has-themes-subcolor-background-color {
  background-color: #FFEEEE; }

.has-themes-back-color {
  color: #F5F5F5; }

.has-themes-back-background-color {
  background-color: #F5F5F5; }

.has-background {
  padding: 1em 1.25em; }

.breadcrumbs {
  font-size: 14px;
  padding: .25em .5em;
  background-color: #FFEEEE; }
  @media (max-width: 600px) {
    .breadcrumbs {
      font-size: 12px; } }

nav.navigation.pagination {
  text-align: center;
  margin: 5em auto 2em; }
  nav.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: .5em; }
    nav.navigation.pagination .nav-links a, nav.navigation.pagination .nav-links span {
      border: 1px solid;
      width: 40px;
      height: 40px;
      display: inline-flex;
      justify-content: center;
      align-items: center; }
      nav.navigation.pagination .nav-links a.next, nav.navigation.pagination .nav-links a.prev, nav.navigation.pagination .nav-links span.next, nav.navigation.pagination .nav-links span.prev {
        border: none;
        width: auto; }
      nav.navigation.pagination .nav-links a.next::after, nav.navigation.pagination .nav-links span.next::after {
        content: "";
        display: inline-block;
        width: 1em;
        height: 1em;
        background-color: currentColor;
        -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
        mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
        position: relative;
        top: 0.15em; }
      nav.navigation.pagination .nav-links a.prev::before, nav.navigation.pagination .nav-links span.prev::before {
        content: "";
        display: inline-block;
        width: 1em;
        height: 1em;
        background-color: currentColor;
        -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
        mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
        position: relative;
        top: 0.15em;
        transform: rotate(180deg); }

.tel-icon::before {
  content: '';
  background: url(/wp/wp-content/themes/souma/image/icon-tel.svg) center/contain no-repeat;
  width: 1.2em;
  height: 1.2em;
  display: inline-block;
  margin-right: .25em;
  position: relative;
  top: .15em; }

.contact-icon::before {
  content: '';
  background: url(/wp/wp-content/themes/souma/image/icon_mail.svg) center/contain no-repeat;
  width: 1.4em;
  height: 1em;
  display: inline-block;
  margin-right: .25em;
  position: relative;
  top: .15em; }

.freedial-icon::before {
  content: '';
  background: url(/wp/wp-content/themes/souma/image/icon_freedial.svg) center/contain no-repeat;
  width: 1.8em;
  height: 1em;
  display: inline-block;
  margin-right: .25em;
  position: relative;
  top: .15em; }

.contact-wp-icon a::before {
  content: '';
  background: url("/wp/wp-content/themes/souma/image/icon_mail_red.svg") center/cover no-repeat;
  width: 1.4em;
  height: 1em;
  display: inline-block;
  margin-right: .25em;
  position: relative;
  top: .15em; }

.freedial-wp-icon a::before {
  content: '';
  width: 1.8em;
  height: 1em;
  background: url("/wp/wp-content/themes/souma/image/icon_freedial.svg") center/cover no-repeat;
  display: inline-block;
  margin-right: .25em;
  position: relative;
  top: .15em; }

.wp-block-button .wp-block-button__link:hover {
  background-color: #000;
  color: #fff;
  border-color: #000; }

.tri-btn a {
  border: 1px solid #E50000;
  box-shadow: 0 3px 6px #ccc;
  background-color: #fff;
  display: block;
  text-align: center;
  padding: 1em 1.25em;
  color: #E50000; }
  .tri-btn a:after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
    position: relative;
    top: 0.15em;
    margin-left: 1em; }
  .tri-btn a:hover {
    background: #E50000;
    color: #fff; }

.wp-tri-btn .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E50000;
  border: 1px solid #E50000;
  background-color: #fff;
  box-shadow: 0 3px 6px #ccc; }
  .wp-tri-btn .wp-block-button__link:after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
    position: relative;
    top: 0.15em;
    margin-left: 1em; }

.tri-btn-red a {
  box-shadow: 0 3px 6px #ccc;
  background-color: #E50000;
  color: #fff;
  display: block;
  text-align: center;
  padding: 1em 1.25em; }
  .tri-btn-red a:after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
    position: relative;
    top: 0.15em;
    margin-left: 1em; }
  .tri-btn-red a:hover {
    background: #E50000;
    color: #fff; }

.border-btn a {
  background-color: #fff;
  border: 1px solid #E50000;
  padding: .5em 1em; }
  .border-btn a:hover {
    background-color: #000;
    border: 1px solid;
    color: #fff; }

.loader-bg {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease; }
  .loader-bg.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; }

.loader {
  text-align: center; }
  .loader img {
    width: 160px;
    max-width: 60vw;
    height: auto;
    animation: loader-scale 1.2s ease-in-out infinite alternate; }

@keyframes loader-scale {
  0% {
    transform: scale(1);
    opacity: 1; }
  100% {
    transform: scale(1.08);
    opacity: 0.8; } }
.is-no-scroll {
  overflow: hidden; }

body {
  --header-left: 0;
  --header-cols: 1fr 6fr;
  --site-branding: block; }

header#header {
  position: fixed;
  top: 0;
  left: var(--header-left, 0);
  right: 0;
  background: #fff;
  z-index: 999; }
  header#header .header-container {
    display: grid;
    grid-template-columns: var(--header-cols, 1fr 6fr);
    min-height: 120px;
    align-items: end; }
    @media (max-width: 600px) {
      header#header .header-container {
        min-height: auto; } }
    header#header .header-container .site-branding {
      display: var(--site-branding, block);
      height: 100%; }
      header#header .header-container .site-branding .site-logo {
        text-align: center;
        height: 120px; }
        @media (max-width: 600px) {
          header#header .header-container .site-branding .site-logo {
            height: auto; } }
        header#header .header-container .site-branding .site-logo img {
          height: 100%;
          margin: auto;
          display: block; }
          @media (max-width: 600px) {
            header#header .header-container .site-branding .site-logo img {
              height: auto;
              width: 100%; } }

body.home,
body.front-page {
  --header-left: 366px;
  --header-cols: 1fr;
  --site-branding: none; }

body.is-scrolled {
  --header-left: 0;
  --header-cols: 1fr 6fr;
  --site-branding: block; }

@media (max-width: 1400px) {
  body {
    --header-cols: 1fr 3fr; }

  body.home, body.front-page {
    --header-left: 0;
    --site-branding: block;
    --header-cols: 1fr 3fr; } }
@media (max-width: 1400px) {
  .site-branding {
    grid-area: 1 / 1 / 2 / 2; }

  .nav-area {
    grid-area: 1 / 2 / 2 / 5; }

  #sp-menu {
    grid-area: 2 / 1 / 3 / 5; } }
.nav-area .menu-over-container {
  text-align: right;
  display: grid;
  grid-template-columns: 1fr 272px 310px;
  align-items: center; }
  .nav-area .menu-over-container p {
    margin: 0; }
  .nav-area .menu-over-container .menu-contact a {
    background: linear-gradient(#E50000 0%, #f00 100%);
    color: #fff;
    height: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    padding: .5em .75em;
    gap: .25em;
    overflow: hidden;
    position: relative;
    z-index: 1; }
    .nav-area .menu-over-container .menu-contact a::after {
      content: '';
      position: absolute;
      inset: 0;
      z-index: -1;
      background: #000;
      transform: translateY(100%);
      opacity: 0;
      transition: .3s ease; }
    .nav-area .menu-over-container .menu-contact a span.contact-icon {
      font-size: 1.2em;
      font-weight: 700;
      display: block; }
    .nav-area .menu-over-container .menu-contact a span.under {
      background: #FFEE00;
      width: 100%;
      padding: .15em 1em;
      color: #000;
      text-align: center;
      font-weight: 600;
      border-radius: 3em;
      box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4); }
      .nav-area .menu-over-container .menu-contact a span.under span.freeprice {
        background: #fff;
        padding: .1em .25em;
        color: #E50000;
        display: inline-block; }
    .nav-area .menu-over-container .menu-contact a:hover::after {
      transform: translateY(0);
      opacity: 1; }
  @media (max-width: 1400px) {
    .nav-area .menu-over-container .widget:nth-child(1) {
      font-size: 14px; } }
  @media screen and (max-width: 1000px) {
    .nav-area .menu-over-container {
      grid-template-columns: 1fr; }
      .nav-area .menu-over-container .widget:nth-child(1) {
        grid-area: 1 / 1 / 2 / 3; }
      .nav-area .menu-over-container .widget:nth-child(2) {
        grid-area: 2 / 1 / 3 / 2; }
      .nav-area .menu-over-container .widget:nth-child(3) {
        grid-area: 2 / 2 / 3 / 3; } }
  @media (max-width: 800px) {
    .nav-area .menu-over-container {
      font-size: 0.75em; }
      .nav-area .menu-over-container .widget:nth-child(1) {
        display: none; } }
  @media (max-width: 600px) {
    .nav-area .menu-over-container {
      font-size: 1em; }
      .nav-area .menu-over-container .widget:nth-child(3) {
        display: none; } }

.contactarea-phone a {
  color: #000;
  display: block;
  padding: .25em .5em;
  text-align: right; }
  .contactarea-phone a span.freedial-icon {
    font-size: 1.6em;
    font-weight: 700;
    display: block; }
  .contactarea-phone a span.openclose {
    border: 1px solid;
    font-size: 14px;
    padding: .1em .25em;
    margin-right: .25em; }

body.home #container {
  position: relative; }
  body.home #container .fv-left {
    display: flex;
    max-width: 366px;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    position: absolute;
    background: #fff;
    flex-flow: column;
    align-items: center;
    gap: 3vh; }
    body.home #container .fv-left .fv-text {
      padding: 1em;
      background: url(/wp/wp-content/themes/souma/image/fv.webp) center/contain no-repeat;
      position: relative;
      z-index: 0;
      height: 100%;
      width: 100%; }
    @media (max-width: 1400px) {
      body.home #container .fv-left {
        display: none; } }

.g-nav-grid02 {
  text-align: center; }

@media (max-width: 800px) {
  .wp-tri-btn {
    display: grid !important;
    gap: 1em;
    grid-template-columns: 1fr; } }

.works-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1em; }
  @media (max-width: 1400px) {
    .works-list {
      grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 800px) {
    .works-list {
      grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) {
    .works-list {
      grid-template-columns: 1fr; } }
  @media (max-width: 1400px) {
    .works-list .work-card:nth-child(n+4) {
      display: none; } }
  @media (max-width: 800px) {
    .works-list .work-card:nth-child(n+3) {
      display: none; } }

#g-nav .work-card .term {
  display: none; }
#g-nav .post-gnav-list .post-card .summary .cats {
  display: none; }

.footerbefore-area-container {
  background: #E50000;
  padding: 1em 0 0; }
  .footerbefore-area-container .inner {
    padding-bottom: 0; }
    .footerbefore-area-container .inner .wp-block-columns {
      margin-bottom: 0; }
      .footerbefore-area-container .inner .wp-block-columns .contact-text {
        font-size: 1.2em;
        color: #fff; }
        .footerbefore-area-container .inner .wp-block-columns .contact-text p.midashi {
          font-size: 2.4em;
          line-height: 1;
          margin: 0;
          font-weight: 700; }
          @media (max-width: 600px) {
            .footerbefore-area-container .inner .wp-block-columns .contact-text p.midashi {
              font-size: 1.5em; } }
          .footerbefore-area-container .inner .wp-block-columns .contact-text p.midashi span {
            display: inline-block;
            padding: .15em .25em;
            margin-right: .15em; }
            .footerbefore-area-container .inner .wp-block-columns .contact-text p.midashi span.kaoku, .footerbefore-area-container .inner .wp-block-columns .contact-text p.midashi span.mitsumori {
              background-color: #000;
              font-size: .9em; }
            .footerbefore-area-container .inner .wp-block-columns .contact-text p.midashi span.freeprice {
              color: #FFEE00;
              padding: .15em 0; }
          .footerbefore-area-container .inner .wp-block-columns .contact-text p.midashi + p {
            margin: .5em auto; }
        @media (max-width: 800px) {
          .footerbefore-area-container .inner .wp-block-columns .contact-text {
            text-align: center; } }
      .footerbefore-area-container .inner .wp-block-columns .contact-wp-icon {
        display: block; }
        .footerbefore-area-container .inner .wp-block-columns .contact-wp-icon a {
          background-color: #fff;
          color: #E50000;
          box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
          font-size: 1.2em;
          font-weight: 700;
          padding: .6em 3em; }
          @media (max-width: 600px) {
            .footerbefore-area-container .inner .wp-block-columns .contact-wp-icon a {
              padding: .6em 0; } }
      .footerbefore-area-container .inner .wp-block-columns .contactarea-phone {
        display: flex;
        align-items: center;
        margin: .25em; }
        .footerbefore-area-container .inner .wp-block-columns .contactarea-phone span.freedial-icon {
          font-weight: 700;
          font-size: 1.6em; }
        .footerbefore-area-container .inner .wp-block-columns .contactarea-phone span.openclose {
          font-size: 14px;
          border: 1px solid;
          padding: .15em .25em;
          display: inline-block;
          margin: 0 .5em;
          background-color: #fff;
          color: #000; }
        @media (max-width: 800px) {
          .footerbefore-area-container .inner .wp-block-columns .contactarea-phone {
            justify-content: center; } }
        @media (max-width: 600px) {
          .footerbefore-area-container .inner .wp-block-columns .contactarea-phone {
            display: block; } }
      .footerbefore-area-container .inner .wp-block-columns .contact-img {
        position: relative; }
        .footerbefore-area-container .inner .wp-block-columns .contact-img figure {
          position: absolute;
          bottom: 0; }
          @media (max-width: 800px) {
            .footerbefore-area-container .inner .wp-block-columns .contact-img figure {
              position: relative;
              bottom: auto; } }
          .footerbefore-area-container .inner .wp-block-columns .contact-img figure span.contact-figure-span {
            position: absolute;
            font-size: 1.2em;
            font-weight: 700;
            background: #FFEE00;
            padding: .75em 1.2em;
            left: -120px;
            top: -40px;
            border: 2px solid #000;
            border-radius: 10px;
            --bounce-amp: 20px;
            --bounce-time: 2.2s;
            animation: contact-bounce var(--bounce-time) ease-in-out infinite;
            will-change: transform;
            transform: translateZ(0); }
            .footerbefore-area-container .inner .wp-block-columns .contact-img figure span.contact-figure-span::before {
              content: "";
              position: absolute;
              top: 100%;
              right: 10px;
              border: 12px solid transparent;
              border-top: 17px solid #000; }
            .footerbefore-area-container .inner .wp-block-columns .contact-img figure span.contact-figure-span::after {
              content: "";
              position: absolute;
              top: 100%;
              right: 12px;
              border: 10px solid transparent;
              border-top: 14px solid #FFEE00; }
            @media (max-width: 1400px) {
              .footerbefore-area-container .inner .wp-block-columns .contact-img figure span.contact-figure-span {
                left: -20px;
                top: -100px; } }
            @media (max-width: 800px) {
              .footerbefore-area-container .inner .wp-block-columns .contact-img figure span.contact-figure-span {
                left: -40px;
                top: 0; } }
            @media (max-width: 600px) {
              .footerbefore-area-container .inner .wp-block-columns .contact-img figure span.contact-figure-span {
                left: 0;
                font-size: 12px; } }
      @media (max-width: 800px) {
        .footerbefore-area-container .inner .wp-block-columns {
          flex-wrap: wrap !important; }
          .footerbefore-area-container .inner .wp-block-columns > div {
            flex-basis: 100% !important; } }
      @media (max-width: 800px) {
        .footerbefore-area-container .inner .wp-block-columns .wp-block-buttons {
          justify-content: center;
          display: block; } }

@keyframes contact-bounce {
  0%,100% {
    transform: translateY(0); }
  50% {
    transform: translateY(calc(-1 * var(--bounce-amp))); } }
@media (prefers-reduced-motion: reduce) {
  .footerbefore-area-container .contact-img figure span.contact-figure-span {
    animation: none; } }
.footer-area-container {
  background: #FFEEEE;
  padding: 1em 0 2em; }
  .footer-area-container .nav-area {
    text-align: inherit;
    gap: 3em !important;
    margin-bottom: 2em; }
    @media (max-width: 800px) {
      .footer-area-container .nav-area {
        grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 600px) {
      .footer-area-container .nav-area {
        grid-template-columns: repeat(1, minmax(0, 1fr)); } }
    .footer-area-container .nav-area h2 {
      font-size: 20px;
      color: #E50000;
      border-bottom: 1px solid #E50000;
      margin-bottom: .4em; }
    .footer-area-container .nav-area ul {
      margin: 0;
      padding: 0;
      list-style: none; }
      .footer-area-container .nav-area ul li {
        margin: .25em auto; }
        .footer-area-container .nav-area ul li a {
          color: #000; }
          .footer-area-container .nav-area ul li a:hover {
            text-decoration: underline; }
  .footer-area-container .btn-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em; }
    @media (max-width: 600px) {
      .footer-area-container .btn-area {
        grid-template-columns: 1fr; } }
    .footer-area-container .btn-area > div {
      height: 100%; }
      .footer-area-container .btn-area > div a {
        display: block;
        padding: 1em 0;
        font-size: 1.2em;
        font-weight: 600;
        text-align: center;
        height: 100%;
        width: 100%; }
      .footer-area-container .btn-area > div.btn-freedial a {
        color: #000; }
        .footer-area-container .btn-area > div.btn-freedial a > span {
          display: block;
          font-size: 1.4em; }
          .footer-area-container .btn-area > div.btn-freedial a > span.under {
            font-size: 15px; }
        .footer-area-container .btn-area > div.btn-freedial a:hover {
          color: #fff; }
      .footer-area-container .btn-area > div.contact-btn a {
        display: flex;
        align-items: center;
        justify-content: center; }

.footer-under {
  background-color: #000;
  color: #fff;
  font-size: 12px;
  padding: 2em 0 4em;
  text-align: center; }
  .footer-under .footer-mainmenu {
    margin-bottom: 3em; }
    .footer-under .footer-mainmenu ul#footermenu {
      list-style: none;
      padding: 0;
      display: flex;
      flex-flow: row wrap;
      justify-content: center;
      align-items: center; }
      .footer-under .footer-mainmenu ul#footermenu li a {
        display: block;
        padding: .2em .6em;
        color: #fff; }
        .footer-under .footer-mainmenu ul#footermenu li a:hover {
          text-decoration: underline; }
  @media (max-width: 600px) {
    .footer-under {
      padding: 2em 0 6em; } }

.footer-fixed-container {
  position: fixed;
  bottom: 42px;
  right: 0;
  max-width: 320px;
  z-index: 999; }
  @media (max-width: 600px) {
    .footer-fixed-container {
      bottom: 80px; } }
  .footer-fixed-container .close {
    position: absolute;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 100%;
    cursor: pointer;
    border: 1px solid black;
    top: -10px;
    right: 0;
    z-index: 999; }
    .footer-fixed-container .close span {
      display: block;
      width: 2px;
      height: 24px;
      background: #000;
      position: absolute;
      left: 13px;
      top: 3px; }
      .footer-fixed-container .close span:nth-child(1) {
        transform: rotate(45deg); }
      .footer-fixed-container .close span:nth-child(2) {
        transform: rotate(-45deg); }
    .footer-fixed-container .close:hover {
      background: #E50000; }
  .footer-fixed-container .inner {
    padding: 5px; }

.pagetop {
  position: fixed;
  bottom: 10px;
  right: 5px;
  z-index: 999;
  background: white;
  padding: 0.25em 0.5em;
  border-radius: 3px;
  border: 1px solid #E50000;
  cursor: pointer;
  transition: 0.3s ease 0s; }
  .pagetop:hover {
    background-color: black; }
  @media (max-width: 600px) {
    .pagetop {
      bottom: 60px; } }

.foonter-sp-fixed {
  display: none; }
  @media (max-width: 600px) {
    .foonter-sp-fixed {
      display: block;
      position: fixed;
      z-index: 999;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      background: linear-gradient(#E50000 0%, red 100%);
      bottom: 0;
      width: 100%;
      text-align: center; }
      .foonter-sp-fixed a {
        display: block;
        color: #fff;
        padding: 1em;
        border-right: 1px solid; } }

.fv-slider {
  width: calc(100% - 366px);
  margin-left: auto;
  padding: 3em;
  height: calc(100vh - 120px);
  display: flex;
  align-items: center; }
  .fv-slider #metaslider-id-22 > div {
    box-shadow: 0 2px 10px #CCC; }
  @media (max-width: 1400px) {
    .fv-slider {
      width: 100%;
      height: auto; } }
  @media (max-width: 600px) {
    .fv-slider {
      padding: 1em; }
      .fv-slider .metaslider .flexslider {
        margin-bottom: 0 !important; } }

.big-thumb {
  background: url(/wp/wp-content/themes/souma/image/bigthumb.webp) center/cover no-repeat;
  padding: 2em 0;
  position: relative;
  z-index: 0; }
  .big-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(62, 19, 19, 0.7);
    z-index: -1; }
  .big-thumb h1.entry-title img {
    margin: auto; }

.post-card {
  position: relative;
  color: #000;
  margin-bottom: 2em;
  padding: .5em;
  border-bottom: 1px solid #E50000; }
  .post-card:hover {
    background-color: #FFEEEE; }
  .post-card .summary {
    display: flex;
    flex-wrap: wrap;
    gap: .6em 1em;
    align-items: center;
    font-size: 12px; }
    .post-card .summary .date {
      color: #000; }
    .post-card .summary .cats {
      color: #000; }
      .post-card .summary .cats .cat-link {
        position: relative;
        z-index: 2;
        color: #E50000;
        text-decoration: underline; }
        .post-card .summary .cats .cat-link:hover {
          opacity: .9; }
  .post-card .title {
    margin-top: .25rem;
    color: #000;
    line-height: 1.5;
    font-size: 1em;
    font-weight: 500; }
  .post-card .card-link {
    position: absolute;
    inset: 0;
    z-index: 1; }

.thumb-list {
  border-bottom: 1px solid #E50000;
  margin: 1em auto 2em;
  padding: 1em; }
  .thumb-list:hover {
    background-color: #FFEEEE; }
  .thumb-list .thumb-inner {
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 16px;
    align-items: start; }
  .thumb-list .thumbnail {
    width: 300px;
    height: 200px;
    background: no-repeat center / cover;
    border-radius: 8px;
    overflow: hidden; }
  .thumb-list .summary {
    color: #000; }
    .thumb-list .summary .day-cat {
      display: flex;
      flex-wrap: wrap;
      gap: .4em .8em;
      font-size: 12px; }
      .thumb-list .summary .day-cat .date {
        color: #000; }
      .thumb-list .summary .day-cat .cats {
        color: #E50000; }
        .thumb-list .summary .day-cat .cats .cat-link {
          position: relative;
          z-index: 2;
          text-decoration: underline; }
          .thumb-list .summary .day-cat .cats .cat-link:hover {
            opacity: .9; }
    .thumb-list .summary .title {
      margin-top: .5rem;
      line-height: 1.5;
      color: #E50000;
      font-size: 1.25em; }
    .thumb-list .summary .excerpt {
      margin-top: .5rem; }
      .thumb-list .summary .excerpt p {
        margin: 0; }
    .thumb-list .summary .more-btn {
      margin-top: .75rem;
      text-align: right; }
      .thumb-list .summary .more-btn span {
        background-color: #E50000;
        color: #fff;
        border-radius: 3px;
        font-size: 14px;
        padding: .4em 1em;
        display: inline-block; }
        .thumb-list .summary .more-btn span::after {
          content: "";
          display: inline-block;
          width: 1em;
          height: 1em;
          background-color: currentColor;
          -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
          position: relative;
          top: 0.15em;
          margin-left: 1em; }
    .thumb-list .summary .card-link {
      position: absolute;
      inset: 0;
      z-index: 1; }

@media (max-width: 640px) {
  .thumb-list .thumb-inner {
    grid-template-columns: 1fr; }

  .thumb-list .thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2; } }
.work-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em; }
  @media (max-width: 800px) {
    .work-container {
      grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) {
    .work-container {
      grid-template-columns: 1fr; } }

.work-card {
  position: relative;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  background-color: #fff; }
  .work-card .thumbnail {
    max-width: 100%;
    height: 170px;
    background: center/cover no-repeat;
    border-radius: 3px; }
  .work-card .day {
    margin-top: 8px;
    font-size: .9rem;
    color: #666; }
  .work-card .term {
    margin-top: 3px;
    display: flex;
    flex-wrap: wrap;
    gap: .25em .5em;
    font-size: 12px; }
    .work-card .term a {
      position: relative;
      z-index: 2;
      text-decoration: underline; }
  .work-card .title {
    margin-top: 8px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #E50000; }
  .work-card .card-link {
    position: absolute;
    inset: 0;
    z-index: 1; }

nav.navigation.post-navigation {
  margin-top: 5em;
  border-top: 1px solid #E50000; }
  nav.navigation.post-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr); }
    nav.navigation.post-navigation .nav-links > div {
      display: flex;
      align-items: center; }
    nav.navigation.post-navigation .nav-links .nav-previous a:before {
      content: "";
      display: inline-block;
      width: 1em;
      height: 1em;
      background-color: currentColor;
      -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
      position: relative;
      top: 0.15em;
      transform: rotate(180deg);
      margin-right: 1em; }
    nav.navigation.post-navigation .nav-links .nav-next {
      text-align: right;
      justify-content: end; }
      nav.navigation.post-navigation .nav-links .nav-next a:after {
        content: "";
        display: inline-block;
        width: 1em;
        height: 1em;
        background-color: currentColor;
        -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
        mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 48" fill="none" stroke="%23000" stroke-width="5" stroke-miterlimit="10"><polyline points="4.4 44.2 24.5 24 4.4 3.8"/></svg>') no-repeat center/contain;
        position: relative;
        top: 0.15em;
        margin-left: 1em; }

.entry-content .works-taxonomy-area {
  padding: 1em 2em;
  background: #FFEEEE;
  margin-bottom: 3em; }
  .entry-content .works-taxonomy-area h3 {
    margin: 0;
    font-size: 1em;
    color: #000; }
  .entry-content .works-taxonomy-area ul.term-btn {
    display: flex;
    margin: .25em auto 1em;
    padding: 0;
    list-style: none;
    gap: .6em;
    flex-flow: row wrap; }
  .entry-content .works-taxonomy-area ul.term-btn-area li a,
  .entry-content .works-taxonomy-area ul.term-btn-work_status li a,
  .entry-content .works-taxonomy-area ul.term-btn-work_type li a {
    display: inline-block;
    background-color: #E50000;
    color: #fff;
    padding: .15em .5em;
    border-radius: 3px;
    font-size: 14px; }
    .entry-content .works-taxonomy-area ul.term-btn-area li a:hover,
    .entry-content .works-taxonomy-area ul.term-btn-work_status li a:hover,
    .entry-content .works-taxonomy-area ul.term-btn-work_type li a:hover {
      background-color: #000; }
  .entry-content .works-taxonomy-area ul.term-btn-color li a {
    display: flex;
    flex-flow: column;
    align-items: center;
    color: #000; }
    .entry-content .works-taxonomy-area ul.term-btn-color li a span.color-circle {
      display: inline-block;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid #CCC; }
    .entry-content .works-taxonomy-area ul.term-btn-color li a span.color-name {
      font-size: 12px; }
      @media (max-width: 600px) {
        .entry-content .works-taxonomy-area ul.term-btn-color li a span.color-name {
          font-size: 12px; } }
    .entry-content .works-taxonomy-area ul.term-btn-color li a:hover {
      opacity: .7; }

.color-circle-twotone {
  position: relative;
  overflow: hidden; }
  .color-circle-twotone::before, .color-circle-twotone::after {
    content: '';
    background: #000;
    display: block;
    width: 100%;
    height: 50%;
    position: absolute; }
  .color-circle-twotone::before {
    left: 0;
    top: 0;
    background-color: beige; }
  .color-circle-twotone::after {
    left: 0;
    bottom: 0;
    background-color: brown; }

.color-circle-tile {
  position: relative;
  overflow: hidden; }
  .color-circle-tile::before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url(/wp/wp-content/themes/souma/image/tile.webp) center/cover no-repeat; }

.color-circle-yellow {
  background-color: yellow; }

.color-circle-orange {
  background-color: orange; }

.color-circle-green {
  background-color: green; }

.color-circle-gray {
  background-color: gray; }

.color-circle-purple {
  background-color: purple; }

.color-circle-pink {
  background-color: pink; }

.color-circle-brown {
  background-color: brown; }

.color-circle-black {
  background-color: black; }

.color-circle-blue {
  background-color: blue; }

.color-circle-beige {
  background-color: beige; }

.color-circle-white {
  background-color: #fff; }

.color-circle-red {
  background-color: red; }

h1.entry-title:not(.big-thumb-h1) {
  background-color: #E50000;
  max-width: 1400px;
  color: #fff;
  width: calc(100% - 1em);
  margin: 2em 0;
  padding: .2em 1.5em; }

.entry-content {
  max-width: 1400px;
  width: calc(100% - 1em);
  padding: 2em;
  margin: 0 auto 3em; }
  @media (max-width: 600px) {
    .entry-content {
      padding: 1em; } }

.single .entry-content h2, .single .entry-content h3, .single .entry-content h4, .single .entry-content h5, .single .entry-content h6,
.page:not(.home) .entry-content h2,
.page:not(.home) .entry-content h3,
.page:not(.home) .entry-content h4,
.page:not(.home) .entry-content h5,
.page:not(.home) .entry-content h6 {
  color: #E50000;
  margin: 2em auto 1em; }
  .single .entry-content h2:first-child, .single .entry-content h3:first-child, .single .entry-content h4:first-child, .single .entry-content h5:first-child, .single .entry-content h6:first-child,
  .page:not(.home) .entry-content h2:first-child,
  .page:not(.home) .entry-content h3:first-child,
  .page:not(.home) .entry-content h4:first-child,
  .page:not(.home) .entry-content h5:first-child,
  .page:not(.home) .entry-content h6:first-child {
    margin-top: 0; }
.single .entry-content h2,
.page:not(.home) .entry-content h2 {
  font-size: 1.8em;
  background-color: #E50000;
  color: white;
  padding: 0.25em 0.75em; }
.single .entry-content h3,
.page:not(.home) .entry-content h3 {
  font-size: 1.6em;
  border-bottom: 1px solid #E50000; }
.single .entry-content h4,
.page:not(.home) .entry-content h4 {
  font-size: 1.4em; }
.single .entry-content h5,
.page:not(.home) .entry-content h5 {
  font-size: 1.3em;
  border-left: 1.3em solid #E50000;
  padding-left: 0.5em; }
.single .entry-content h6,
.page:not(.home) .entry-content h6 {
  font-size: 1.2em; }

/***職人紹介***/
.staff-grid {
  gap: 1em; }
  .staff-grid h2 {
    line-height: 1em;
    padding-top: 0 !important; }
  @media (max-width: 600px) {
    .staff-grid {
      grid-template-columns: 1fr; } }

/***会社概要***/
.company-table01 table tbody tr td span {
  display: inline-block;
  max-width: 80px;
  width: 100%;
  padding: 2px 4px;
  text-align: center;
  color: white;
  border-radius: 3px; }

.map iframe {
  width: 100%; }

.grid-2 {
  gap: 1em; }
  @media (max-width: 600px) {
    .grid-2 {
      grid-template-columns: 1fr !important; } }

.grid-3 {
  gap: 1em; }
  @media (max-width: 600px) {
    .grid-3 {
      grid-template-columns: 1fr !important; } }

.grid-3-2 {
  gap: 1em; }
  @media (max-width: 600px) {
    .grid-3-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

@media (max-width: 600px) {
  .grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }

/***塗装関連***/
.painting-container > .wp-block-group {
  margin-bottom: 3em; }
  .painting-container > .wp-block-group h2 {
    background-color: inherit !important;
    color: black !important;
    font-size: 1.4em !important;
    padding-left: 0 !important; }
    .painting-container > .wp-block-group h2 span.date {
      background-color: #E50000;
      display: inline-block;
      color: white;
      font-size: 16px;
      margin-right: 15px;
      padding: 0.25em 0.5em;
      position: relative; }
      .painting-container > .wp-block-group h2 span.date:after {
        content: "";
        position: absolute;
        top: 50%;
        right: -15px;
        transform: translateY(-50%);
        border: 5px solid transparent;
        border-left: 10px solid #E50000; }

/*** Flow ***/
.flow-container {
  counter-reset: num; }
  .flow-container > .wp-block-group {
    margin: 3em auto;
    counter-increment: num;
    padding-left: 1.5em; }
    .flow-container > .wp-block-group h2 {
      background-color: inherit !important;
      color: black !important;
      font-size: 1.4em !important;
      padding-left: 0 !important;
      position: relative;
      padding-left: 40px; }
      .flow-container > .wp-block-group h2:before {
        content: counter(num);
        background-color: #E50000;
        color: white;
        width: 34px;
        height: 34px;
        border-radius: 100%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin-right: 10px;
        position: absolute;
        left: -40px; }

span.free-fukidashi {
  background-color: #FFEE00;
  color: #E50000;
  font-size: 16px;
  display: inline-block;
  position: relative;
  margin-left: 15px;
  padding: 0.25em 0.5em; }
  span.free-fukidashi:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right: 10px solid #FFEE00; }

/*** Contractor ***/
.contractor-container {
  counter-reset: constract; }
  .contractor-container > .wp-block-group {
    counter-increment: constract; }
    .contractor-container > .wp-block-group h2 {
      display: grid;
      font-size: 1.4em !important;
      position: relative;
      align-items: center;
      gap: .5em;
      grid-template-columns: 30px 1fr 150px;
      padding: 0 !important;
      margin-bottom: 0 !important; }
      @media (max-width: 600px) {
        .contractor-container > .wp-block-group h2 {
          grid-template-columns: 30px 1fr 75px;
          font-size: 1.1em !important; } }
      .contractor-container > .wp-block-group h2:before {
        content: counter(constract);
        background-color: black;
        text-align: center; }
      .contractor-container > .wp-block-group h2:after {
        content: '';
        background: url(/wp/wp-content/themes/souma/image/constract/constract001.svg) center/cover no-repeat;
        width: 150px;
        height: 115px;
        display: inline-block; }
        @media (max-width: 600px) {
          .contractor-container > .wp-block-group h2:after {
            width: 75px;
            height: 55px; } }
    .contractor-container > .wp-block-group:nth-child(2) h2:after {
      background: url(/wp/wp-content/themes/souma/image/constract/constract002.svg) center/cover no-repeat; }
    .contractor-container > .wp-block-group:nth-child(3) h2:after {
      background: url(/wp/wp-content/themes/souma/image/constract/constract003.svg) center/cover no-repeat; }
    .contractor-container > .wp-block-group:nth-child(4) h2:after {
      background: url(/wp/wp-content/themes/souma/image/constract/constract004.svg) center/cover no-repeat; }
    .contractor-container > .wp-block-group:nth-child(5) h2:after {
      background: url(/wp/wp-content/themes/souma/image/constract/constract005.svg) center/cover no-repeat; }
    .contractor-container > .wp-block-group:nth-child(6) h2:after {
      background: url(/wp/wp-content/themes/souma/image/constract/constract006.svg) center/cover no-repeat; }
  @media (max-width: 800px) {
    .contractor-container {
      grid-template-columns: 1fr !important; } }

ul.faq-term-list {
  padding: 0;
  list-style: none;
  margin: 0 auto 3em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em; }
  @media (max-width: 800px) {
    ul.faq-term-list {
      grid-template-columns: 1fr; } }

.faq-group {
  margin: 4em auto; }

article .content-box {
  display: none; }

.question .icon-close {
  position: relative;
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-left: .5em;
  vertical-align: middle; }

.question .icon-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 2px;
  background: currentColor;
  transform-origin: 50% 50%;
  transition: transform .2s ease, opacity .2s ease; }

.question .icon-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(0deg); }

.question .icon-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg); }

article.is-open .question .icon-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg); }

article.is-open .question .icon-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg); }

.faq-group h2.faq-group__title {
  color: #fff;
  font-size: 1.4em;
  margin-bottom: 1em;
  padding: .3em .6em;
  background-color: #E50000; }

article.faq-content {
  margin-bottom: 2em; }
  article.faq-content .question {
    font-size: 1.2em;
    border: 1px solid #E50000;
    padding: .4em .75em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFEEEE;
    color: #000;
    cursor: pointer;
    margin-bottom: 0; }
    article.faq-content .question span.icon, article.faq-content .question span.icon-close {
      color: #E50000; }
  article.faq-content .content-box {
    padding: .4em .75em;
    border: 1px solid #E50000;
    border-top: none; }
    article.faq-content .content-box .content-inner {
      display: grid;
      gap: 1em;
      margin-top: 1em;
      grid-template-columns: 30px 1fr; }
  article.faq-content span.icon {
    font-size: 20px;
    font-weight: 700;
    color: #E50000;
    text-align: center; }

span.req {
  font-size: 0.8em;
  color: red; }

.mailform {
  background-color: #FFEEEE;
  max-width: 600px;
  margin: auto;
  padding: 1.5em; }
  .mailform .row {
    margin-bottom: 2em; }
    .mailform .row .title {
      font-weight: 700; }
    .mailform .row input, .mailform .row textarea {
      width: 100%; }
    .mailform .row input[type="checkbox" i] {
      width: auto; }
  .mailform .send {
    text-align: center; }
    .mailform .send button.cf7-to-confirm {
      width: auto;
      padding: 0.4em 2em;
      margin: auto;
      background-color: #E50000;
      color: white;
      border: none;
      border-radius: 3px;
      cursor: pointer;
      margin-bottom: 1em; }
      .mailform .send button.cf7-to-confirm:hover {
        background-color: black; }

span.wpcf7-spinner {
  display: none; }

.confirm-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em; }
  .confirm-actions button {
    width: auto;
    padding: 0.4em 2em;
    background-color: #E50000;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 1em; }
    .confirm-actions button:hover {
      background-color: black; }

/* 入力ページでCF7の実送信ボタンは非表示（確認ページで送るため） */
input.cf7-real-submit {
  display: none; }

/* 確認ページでCF7の実フィールドと送信ボタンは隠す（レスポンスだけ見える） */
.cf7-submit-wrapper .wpcf7-form .wpcf7-form-control-wrap {
  display: none; }

.cf7-submit-wrapper .wpcf7-form input[type="submit"] {
  display: none; }

.l-contact-confirm .cf7-submit-wrapper {
  display: none !important; }

.front-entry_content > .wp-block-group {
  padding: 1em; }

.top-infoarea > .wp-block-columns {
  gap: 0 !important; }
  .top-infoarea > .wp-block-columns .info-link a {
    background-color: #E50000;
    color: white;
    padding: 0.1em 0.5em;
    display: inline-block;
    font-size: 14px;
    border-radius: 3px; }

.top_bg001 {
  background: url("/wp/wp-content/themes/souma/image/front/topbg.webp") center/cover no-repeat;
  padding: 2em;
  margin: 5em 0;
  min-height: 200px; }
  .top_bg001 > .wp-block-columns {
    margin-bottom: 0; }
  .top_bg001 h2 {
    position: relative; }
    .top_bg001 h2 img {
      position: relative;
      z-index: 99;
      left: 50%;
      transform: translate(-50%, 0); }
      @media (max-width: 800px) {
        .top_bg001 h2 img {
          position: relative;
          transform: translate(0, 0);
          left: 0; } }
  @media (max-width: 600px) {
    .top_bg001 {
      min-height: auto;
      margin: 0; } }

.top_bg001.top_bg_inner h2 {
  position: relative; }
  .top_bg001.top_bg_inner h2 img {
    position: relative;
    z-index: 99;
    left: 50%;
    transform: translate(-50%, 0); }

.top_bg002 {
  background: url("/wp/wp-content/themes/souma/image/front/topbg.webp") center/cover no-repeat;
  padding: 2em;
  margin: 5em 0;
  min-height: 200px; }
  .top_bg002 > .wp-block-columns {
    margin-bottom: 0; }
  .top_bg002 h2 {
    position: relative;
    text-align: center; }
    .top_bg002 h2 img {
      position: absolute;
      left: 50%;
      top: 0;
      z-index: 99;
      transform: translate(-50%, -15%); }
    @media (max-width: 800px) {
      .top_bg002 h2 {
        position: relative;
        transform: translate(0, 0); } }
  @media (max-width: 600px) {
    .top_bg002 {
      min-height: auto;
      margin: 0; } }

.data-area {
  border-radius: 5px;
  position: relative;
  border: 2px solid #E50000; }
  @media (max-width: 600px) {
    .data-area {
      max-width: 320px;
      margin: auto; } }
  .data-area:after {
    content: '';
    display: block;
    background: url("/wp/wp-content/themes/souma/image/front/inu.webp") center/cover no-repeat;
    width: 152px;
    height: 156px;
    position: absolute;
    right: 0;
    top: 0; }
    @media (max-width: 1400px) {
      .data-area:after {
        width: 70px;
        height: 74px;
        right: 0;
        top: auto;
        bottom: -3px; } }
    @media (max-width: 600px) {
      .data-area:after {
        right: -20px;
        bottom: -20px; } }

.top-works {
  margin: 3em auto; }
  .top-works .works-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em; }
    @media (max-width: 800px) {
      .top-works .works-list {
        grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) {
      .top-works .works-list {
        grid-template-columns: 1fr; } }

.contact-list-area {
  margin: 3em auto; }
  .contact-list-area .header {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: center;
    color: #E50000; }
    .contact-list-area .header:before {
      content: '';
      display: block;
      background: url("/wp/wp-content/themes/souma/image/front/chara.webp") center/cover no-repeat;
      width: 110px;
      height: 106px; }
    .contact-list-area .header .wp-block-group {
      margin: 0 !important;
      margin-left: 1em !important; }
      .contact-list-area .header .wp-block-group p {
        margin: 0; }
  .contact-list-area .scroll-area {
    height: 160px;
    background-color: #FFEEEE;
    overflow-y: scroll;
    padding: 1em 2em;
    border-radius: 3px;
    border: 2px solid #E50000; }
    .contact-list-area .scroll-area p {
      border-bottom: 1px solid #CCC; }

.reason5-container {
  counter-reset: reason; }
  .reason5-container > .wp-block-group {
    margin: 3em auto !important;
    counter-increment: reason;
    position: relative; }
    .reason5-container > .wp-block-group h3 {
      font-size: 1.4em;
      color: #E50000;
      margin-bottom: 0.5em; }
      .reason5-container > .wp-block-group h3:before {
        content: counter(reason);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-right: 0.5em;
        border-radius: 100%;
        background-color: #E50000;
        color: white; }
        @media (max-width: 600px) {
          .reason5-container > .wp-block-group h3:before {
            display: flex; } }
    .reason5-container > .wp-block-group:after {
      content: '';
      display: block;
      background: url("/wp/wp-content/themes/souma/image/front/reason01.svg") center/cover no-repeat;
      width: 110px;
      height: 106px;
      position: absolute;
      right: 0;
      top: -50px; }
      @media (max-width: 600px) {
        .reason5-container > .wp-block-group:after {
          display: none; } }
    .reason5-container > .wp-block-group:nth-child(2):after {
      background: url("/wp/wp-content/themes/souma/image/front/reason02.svg") center/cover no-repeat; }
    .reason5-container > .wp-block-group:nth-child(3):after {
      background: url("/wp/wp-content/themes/souma/image/front/reason03.svg") center/cover no-repeat; }
    .reason5-container > .wp-block-group:nth-child(4):after {
      background: url("/wp/wp-content/themes/souma/image/front/reason04.svg") center/cover no-repeat; }
    .reason5-container > .wp-block-group:nth-child(5):after {
      background: url("/wp/wp-content/themes/souma/image/front/reason05.svg") center/cover no-repeat; }

.reason4 > .wp-block-column {
  border: 1px solid #CCC;
  padding: 0.5em 1em; }

@media (max-width: 800px) {
  .logo-sp {
    max-width: 280px !important;
    margin: auto; } }

@media (max-width: 800px) {
  .top-company table tbody tr td {
    border: none !important; } }

.notfound h1 {
  font-size: 10em;
  line-height: 1;
  text-align: center;
  color: #E50000; }
  .notfound h1 + p {
    font-weight: 700;
    color: #E50000;
    text-align: center; }
.notfound .entry-content p {
  text-align: center; }
