/*!
Theme Name: themebaseno2
Author:themebaseno2
Description: Description
Version: 1.0.0

*/

/* ================================
   Variables
   ================================ */
:root {
  --color-main: #1f3651;
  --color-accent-light:#8ed1fc;
  --color-accent: #0693e3;
  --color-accent-dark: #02517d;
  --color-base-blue: #ecf5ff;
  --color-base-bejyu: #f7f4e9;
  --color-base: #f1f1f1;
  --color-base-dark: #dcdcdc;
  --color-text-main: #000000;
  --color-text-light: #666666;
  --color-text-inverse: #ffffff;
  --wp--style--global--content-size: 1024px;
  --wp--style--global--wide-size: 1440px;
}

/* ================================
   Reset & Base
   ================================ */
html {
  line-height: 1.15;
  box-sizing: border-box;
}

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

body,
body.mce-content-body,
.mce-content-body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  font-family: "Noto Sans JP", "Roboto", sans-serif;
  font-weight: 500;
  color: var(--color-text-main);
  background: #fff;
}

/* Typography */
body,
button,
input,
select,
optgroup,
textarea {
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-text-main);
}

h1, h2, h3, h4, h5, h6 {
  margin-block-start: 0;
  margin-block-end: 0;
  clear: both;
}

body.home h2.wp-block-heading {
    line-height: 1.4;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

p {
  margin: 0;
  line-height: 1.8;
}

dfn, cite, em, i { font-style: italic; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
big { font-size: 125%; }

/* Lists */
ul, ol { margin: 0 0 1.5em 3em; }
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; }
dt { font-weight: 700; }
dd { margin: 0 1.5em 1.5em; }

/* Other Elements */
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code, kbd, samp, tt, var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 1em;
}

blockquote { margin: 0 1.5em; }
address { margin: 0 0 1.5em; }
abbr, acronym { border-bottom: 1px dotted #666; cursor: help; }
mark, ins { background: #fff9c0; text-decoration: none; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }

figure { margin: 0 !important; }
table { margin: 0 0 1.5em; width: 100%; }
embed, iframe, object { max-width: 100%; }

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

/* Forms */
button,
input,
select,
optgroup,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input { overflow: visible; }
button, select { text-transform: none; }

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0,0,0,0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type="button"]:active, input[type="button"]:focus,
input[type="reset"]:active, input[type="reset"]:focus,
input[type="submit"]:active, input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
input:focus, textarea:focus { color: #111; }
textarea { width: 100%; }
select { border: 1px solid #ccc; }

/* ================================
   Links
   ================================ */
a {
  color: var(--color-accent-dark);
}
a:visited { color: #800080; }
a:hover, a:focus, a:active { color: var(--color-main); }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

/* ================================
   Editor Styles (Gutenberg)
   ================================ */

.editor-styles-wrapper .wp-block:not([data-align="wide"]):not([data-align="full"]) {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
}

.editor-styles-wrapper .wp-block[data-align="wide"] {
  max-width: var(--wp--style--global--wide-size);
}

.editor-styles-wrapper .wp-block[data-align="full"] {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ================================
   Theme-specific: Buttons
   ================================ */

.wp-block-buttons .wp-block-button a {
  position: relative;
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 1rem;
  padding: 1.2em 5em;
  letter-spacing: 1px;
  font-weight: 500;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 0;
}

@media screen and (max-width: 400px) {
  .wp-block-buttons .wp-block-button a {
    padding: 1.2em 4em;
  }
}

/* defo hover */
.wp-block-buttons .wp-block-button a:hover {
  background-color: var(--color-accent-light);
  color: #000;
}

/* maruya */
a.wp-block-button__link.wp-element-button::after {
  content: "";
  width: 26px;
  height: 26px;
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  background: url(images/buttonMaruya.svg) center/contain no-repeat;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

/* =========================================
   Dark Button Variation
   ========================================= */
.wp-block-buttons.darkbutton .wp-block-button a {
  background-color: #000;
  color: var(--color-accent);
  font-weight: 600;
font-size:clamp(1.063rem, 1.017rem + 0.23vw, 1.188rem)!important;
}

.wp-block-buttons.darkbutton .wp-block-button a:hover {
  background-color: var(--color-accent);
  color: #fff;
}


/* Navigation */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul li {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: none !important;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
  margin-left: -2em;
}

.main-navigation ul li#menu-item-31:hover > ul,
.main-navigation ul li#menu-item-31.focus > ul {
  left: auto !important;
  right: -6em !important;
  margin-left: 0 !important;
}

@media screen and (min-width: 1600px) {
  .main-navigation ul li#menu-item-31:hover > ul,
  .main-navigation ul li#menu-item-31.focus > ul {
    right: -10em !important;
  }
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.headerOuter {
  position: sticky !important;
  top: 0;
  background-color: rgba(255, 255, 255, 0.92);
  z-index: 20;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

.site-title {
  margin: 0;
  max-width: 260px;
  width: 100%;
  flex: 0 0 100%;
}

@media screen and (max-width: 599.99px) {
  .site-title {
    max-width: 220px;
  }
}

.site-title a {
  display: block;
  height: 50px;
  width: auto;
  max-width: none;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  background: url(../themebaseno2/images/logo.svg) left center / contain no-repeat;
}

p.site-description {
  margin: 0;
  line-height: 1.3;
  display: flex;
  font-size: 14px;
}

@media screen and (min-width: 1024px) {
  #masthead {
    margin: 0 auto;
    display: flex;
  }

  .site-branding {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    column-gap: 1em;
    padding: 0.3em 1em;
    flex: 0 0 290px;
  }

  p.site-description {
    font-size: 0.94em;
    color: #333;
  }

  .main-navigation {
    display: flex;
    justify-content: flex-end;
    padding: 0.7em 0;
    position: relative;
  }

  .main-navigation ul {
    display: flex !important;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0 0.5em;
    align-items: center;
  }

  @media screen and (min-width: 1200px) {
    .main-navigation ul { gap: 2rem; }
  }

  .main-navigation ul ul {
    display: block !important;
    background-color: #fff;
    padding: 0.5em;
    box-sizing: border-box;
  }

  .main-navigation ul ul li a {
    width: 300px;
    padding: 0.4em 0.5em;
  }

  .main-navigation ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
    padding: 0.5em 0;
  }

  @media screen and (min-width: 1200px) {
    .main-navigation ul li a { font-size: 1.06em; }
  }

  .main-navigation li ul li a {
    background-color: transparent;
    transition: 0.3s;
  }

  .main-navigation li ul li a:hover {
    background-color: #f0f0f0;
  }

  .menu-toggle { display: none; }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

@media screen and (max-width: 1023.98px) {
  .menu-toggle {
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    width: 40px;
    height: 30px;
    text-indent: -9999px;
  }

  .menu-toggle::before,
  .menu-toggle::after,
  .menu-toggle span {
    content: "";
    background-color: #333;
    height: 3px;
    width: 100%;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
  }

  .menu-toggle span {
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-toggle::before { top: 5px; }
  .menu-toggle::after { bottom: 5px; }

  .main-navigation ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .main-navigation.toggled > .menu-menu-1-container > ul {
    display: flex;
    row-gap: 2em;
  }

  .main-navigation li {
    display: block;
    width: 100%;
  }

  .main-navigation li a {
    display: block;
    padding: 0.75em 1em;
    text-decoration: none;
    color: #333;
  }

  .main-navigation ul ul {
    position: static !important;
    top: auto !important;
    left: auto !important;
    float: none !important;
    box-shadow: none !important;
    background: none !important;
    margin: 0;
    padding: 0;
  }

  .main-navigation .sub-menu {
    display: none !important;
    margin-left: 0;
    padding-left: 1em;
  }

  .main-navigation li.focus > .sub-menu {
    display: block !important;
  }

  .main-navigation .sub-menu li a {
    padding: 0.5em 1em;
    transition: background-color 0.3s ease;
  }

  .main-navigation .sub-menu li a:hover {
    background-color: #f0f0f0;
  }

  .main-navigation li.focus > .sub-menu li {
    display: flex;
    justify-content: center;
  }
	
.menu-menu-1-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    overflow-y: auto;
    background-color: var(--color-base-blue);
    transition: right 0.3s ease;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .menu-menu-1-container.open { right: 0; }

  .menu-menu-1-container ul {
    list-style: none;
    padding: 2em;
    margin: 0;
    text-align: center;
  }

  .menu-menu-1-container ul li {
    margin: 1em 0;
  }
/*
  .menu-menu-1-container ul li.menu-item-has-children {
    border: 1px solid red;
  }
*/
  .menu-menu-1-container ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    display: block;
  }

nav#site-navigation ul.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav#site-navigation li.focus > ul.sub-menu {
    overflow: hidden;
  }	
	
}

@media screen and (max-width: 1023.98px) {
  .menu-toggle.open span { background-color: transparent; }
  .menu-toggle.open::before {
    transform: rotate(45deg);
    top: 50%;
  }
  .menu-toggle.open::after {
    transform: rotate(-45deg);
    top: 50%;
  }
}

/* Posts and pages */
.sticky { display: block; }
.post, .page { margin: 0; }
.updated:not(.published) { display: none; }
.page-content, .entry-content, .entry-summary { margin: 0; }
.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments */
.comment-content a { word-wrap: break-word; }
.bypostauthor { display: block; }

/* Widgets */
.widget { margin: 0 0 1.5em; }
.widget select { max-width: 100%; }

/* Media */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin: 0;
  padding: 0;
}

/* Logo */
.custom-logo-link { display: inline-block; }

/* Captions */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text { margin: 0.8075em 0; }
.wp-caption-text { text-align: center; }

/* Galleries */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}
.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }
.gallery-caption { display: block; }

/* Plugins: Jetpack infinite scroll */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer { display: none; }
.infinity-end.neverending .site-footer { display: block; }

/* Utilities: Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

#primary[tabindex="-1"]:focus { outline: 0; }

/* Alignments */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}
.wp-block-image img {
  width: 100%;
  height: auto;
}
/***************/

.header-right-menu {
  position: fixed;
  bottom: 0;
  right: auto;
  margin: 0;
  width: 100%;
  z-index: 15;
}

.header-right-menu nav {
  background-color: transparent;
}

.header-right-menu .menu-2 {
  list-style: none;
  display: flex;
  gap: 0;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  height: 80px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

@media screen and (min-width: 1024px) {
  .header-right-menu .menu-2 {
    height: 60px;
    box-shadow: rgba(17, 17, 26, 0) 0px 0px 16px;
  }
}

.header-right-menu .menu-2 li {
  flex: 1;
}

.header-right-menu .menu-2 li a {
  text-decoration: none;
  color: #333;
  padding: 1em 1.5em;
  display: flex;
  background-color: var(--color-accent);
  min-height: 60px;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  position: relative;
}

.header-right-menu .menu-2 li a:hover {
  color: #000;
}

.header-right-menu .menu-2 li#menu-item-52 a {
  padding: 0.5em;
  height: 100%;
}

@media screen and (min-width: 1024px) {
  .header-right-menu {
    position: fixed;
    top: 0;
    right: 0;
    margin: 0;
    width: 100%;
	  max-width:400px;
    z-index: 20;
   max-height: 65px;
  }

  @media screen and (min-width: 1360px) {
    .header-right-menu {
      right: 3em;
    }
  }

  .header-right-menu .menu-2 {
    display: flex;
    column-gap: 1.2em;
    padding: 0;
    margin: 0;
  }

  .header-right-menu .menu-2 li a:hover {
    color: #000;
  }
}

@media screen and (max-width: 1023.98px) {
  .header-right-menu .menu-2 li a {
    padding: 1.8em 1.5em 0.2em 1.5em;
    height: 80px;
    width: 100%;
  }

  .header-right-menu .menu-2 li a::before {
    content: "";
    width: 25px;
    height: 25px;
    top: 0.8em;
    left: 50%;
    transform: translate(-50%, 0);
    background-image: url(../themebaseno2/images/iconMail.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    z-index: 100;
  }

  .header-right-menu .menu-2 li#menu-item-52 a {
    padding: 0;
    border-radius: 0;
    background-color: #fff;
    display: block;
    color: #000 !important;
    text-align: left;
    font-size: 26px;
    max-width: 100%;
    position: relative;
    line-height: 1;
    padding: 1.3em 0 1.1em 1em;
    text-align: center;
  }

  @media screen and (max-width: 782px) {
    .header-right-menu .menu-2 li#menu-item-52 a {
      display: flex;
      border-radius: 0;
      background-color: #fff;
      color: #000 !important;
      text-align: left;
      font-size: 21px;
      max-width: 100%;
      position: relative;
      line-height: 1;
      padding: 1.6em 0 0.7em;
      text-align: left;
      flex-direction: row-reverse;
      column-gap: 0.3em;
      align-items: center;
    }
  }

  .header-right-menu .menu-2 li#menu-item-52 a::before {
    position: absolute;
    content: "[受付時間]9時～17時";
    width: 100%;
    height: 1em;
    font-size: 15px;
    top: 0;
    padding-top: 1em;
    text-align: center;
  }
}

.header-right-menu .menu-2 li#menu-item-52 a {
  display: flex;
  border-radius: 0;
  background-color: #fff;
  color: #000 !important;
  text-align: left;
  font-size: 21px;
  max-width: 100%;
  position: relative;
  line-height: 1;
  padding: 1.6em 0 0.7em;
  text-align: left;
  flex-direction: row-reverse;
  column-gap: 0.3em;
  align-items: center;
}

.header-right-menu .menu-2 li:nth-child(2) a::before {
    background-image: url(../themebaseno2/images/ctahead1-phone-1.svg);
  }

@media screen and (min-width: 1024px) {
  .header-right-menu .menu-2 li a {
    padding: 1.6em 1.5em 0.6em 1.5em;
    background-color: var(--color-accent);
    width: auto;
    text-align: center;
    color: #fff !important;
    border-radius: 0 0 5px 5px;
    position: relative;
  }

 .header-right-menu .menu-2 li a::before {
    content: "";
    width: 22px;
    height: 22px;
    top: 0.3em;
    left: 50%;
    transform: translate(-50%, 0);
    background-image: url(../themebaseno2/images/iconMail.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    z-index: 100;
  }
	
  .header-right-menu .menu-2 li#menu-item-52 a {
    padding: 0;
    border-radius: 0 0 5px 5px;
    background-color: #fff;
    display: flex;
    color: #000 !important;
    text-align: left;
    font-size: 32px;
    max-width: 310px;
    position: relative;
    line-height: 1;
    padding-top: 1.1em;
    justify-content: start;
  }
  .header-right-menu .menu-2 li#menu-item-52 a::before {
    position: absolute;
    content: "[受付時間]9時～17時";
    width: 100%;
    height: 1em;
    font-size: 1.05rem;
    top: 0;
    padding-top: 0.6em;
  }
}

.header-right-menu {
    display: none;
}

@media screen and (max-width: 1023.98px) {
  header#masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
  }

  .site-branding {
    flex: 1;
    padding: 0 1em 1em 0;
    box-sizing: border-box;
  }

  nav#site-navigation {
    width: 70px;
    text-align: center;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav#site-navigation .menu-toggle {
    padding: 0.5em;
    z-index: 10;
  }

  nav#site-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
}

@media screen and (max-width: 1024px) {
  .site-branding {
    flex: 1;
    padding: 1em;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    column-gap: 1.2em;
  }
}

nav#site-navigation ul li {
  margin: 0;
}

nav#site-navigation ul li a {
  text-decoration: none;
  color: var(--color-text-main);
  display: block;
  padding: 0.5em;
}

nav#site-navigation ul li a:hover {
  color: #000;
}

footer{
	padding:1em;
}

footer.site-footer {
  width: 100%;
  background-color: #fff;
  color: #000;
  text-align: center;
  padding-top: 1.2em;
  padding-bottom: 0;
  z-index: 1;
  background-color: #fff;
}

footer p.site-description {
  text-align: left;
  color: #000;
  padding-left: 0.2em;
  margin-bottom: 1em;
  font-size: 0.92em;
}

footer .site-branding p{
	text-align: center;
	margin-left: 0;
	padding:0;
}

@media screen and (min-width: 1024px) {
footer .site-branding p{
	text-align: left;
	margin-left: 0!important;
	padding:0!important;
}	
}

footer .site-branding {
    align-items: left;
    column-gap: 1em;
    padding: 0!important;
  }

footer ul.menu {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 1em auto 0.5em auto!important;
    padding-left: 0;
}

.site-description:before {
	/*　キャッチフレーズにつく　*/
/*  font-family: "Material Icons";
  content: "local_hospital";
  font-size: 22px;
  margin-right: 5px;
  vertical-align: unset;
  color: var(--color-accent-dark);
  display: inline-block;
  opacity: 0;
  transition: opacity 0.1s ease-in;
  padding-bottom: 0;
  margin-top: -0.06em;
  line-height: 1;*/
}

body.loaded .site-description:before {
  opacity: 1;
}

.footer-navigation {
  margin-bottom: 2em;
}

footer .footerInner ul {
  display: flex;
	width:96%;
  max-width: 1600px;
  gap: 1em;
  list-style: none;
  padding:0;
  margin: 0 auto;
	flex-wrap:wrap;
	justify-content:center;
}

@media screen and (min-width: 782px) {
  footer .footerInner ul {
  display: flex;
    column-gap: 4em;
	  width:100%;
	  justify-content:flex-start;
  }
}

@media screen and (min-width: 1024px) {
  footer .footerInner ul {
    column-gap: 4em;
  }
}

@media screen and (min-width: 1200px) {
  footer .footerInner ul {
    column-gap: 5em;
  }
}

footer .footerInner ul li {
  display: inline-block;
  text-align: left;
}

footer .footerInner ul li a {
  color: #000;
  text-decoration: none;
  padding: 0.5em 0;
  transition: color 0.3s ease;
}

footer .footerInner ul li a:hover {
  color: var(--color-accent);
}

footer .site-info {
  background-color: transparent;
  color: #000;
  font-size: 0.9em;
  text-align: left;
  padding: 1em;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex;
  justify-content: center;
  column-gap: 2em;
  width: 100%;
}

footer .site-info a {
  color: #000;
}

@media screen and (min-width: 1024px) {
  footer .site-info {
    max-width: 100%;
    margin-left: 2em;
    margin-right: 2em;
  }
}

.footer-menu .sub-menu {
  display: block;
  margin: 0;
  padding: 0.5em 0 0.5em 0.2em;
  list-style: none;
}

.footer-menu .sub-menu li {
  display: block;
  margin: 0.2em 0;
}

.footer-menu .sub-menu li a {
  padding: 0.1em 0.5em;
  display: block;
  text-align: left;
  font-size: 0.94em;
}

@media screen and (max-width: 1200px) {
  footer.site-footer {
    padding: 0;
  }
}

footer .footerInner {
  padding: 1em 0 1.2em 0;
	color:#000;
	margin-bottom:0;
	gap:0;
}

@media screen and (min-width: 782px) {
  footer .footerInner {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    column-gap: 2em;
    align-items: start;
    padding: 1em 1em 1em 1em;
    justify-content: center;
    margin-top: 0;
  }
}

@media screen and (min-width: 1024px) {
  footer .footerInner {
    padding: 1em 1em 1em 1em;
    margin-top: 0;
  }
}

footer .footerInner ul {
  margin: 1em 0 0.5em 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
}

footer .footerInner ul {
  margin: 1em auto 0.5em auto!important;
  padding: 0;
  list-style-type: none;
  text-align: left;
}

@media screen and (max-width: 781px) {
  footer .site-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: solid 1px var(--color-main-light);
    width: 96%;
    margin: 0 auto;
  }
}

@media screen and (min-width: 782px) {
  footer .site-branding {
    display: block;
    flex: 0 0 40%;
  }
}

footer .site-title a {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5em;
}

@media screen and (min-width: 782px) {
  footer .site-title a {
    max-width: 200px;
    margin-left: 0;
    margin-right: auto;
	  text-align:left;
  }
}

@media screen and (max-width: 600px) {
  footer .site-title a {
    max-width: 200px;
  }
}

.footerInnerBox {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 782px) {
.footerInnerBox {
    display: block;
    flex-direction: inherit;
}
}

.footerInnerBox p{
	line-height:1.4;
	margin-top:0.2em;
	margin-bottom:0.2em;
}
@media screen and (max-width: 1023.98px) {
  body:not(.home) .entry-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}


.contentInner {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (max-width: 599.98px) {
.contentInner {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
}
}
@media screen and (max-width: 1499.98px) {
.photoBoxOuter {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}
}

/* ===== Page / Entry Headers ===== */
header.page-header,
header.entry-header {
  z-index: 3;
  width: 100%;
}

/*header.page-header,*/
header.entry-header h1.entry-title,
header.entry-header h1.news-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.6em;
  padding: 1em 0;
  margin-top: 1.2em;
}

/*header.page-header::before,*/
header.entry-header h1.entry-title::before,
header.page-header h1.news-title::before{
content: "";
  position: absolute;
  top: 1.6em;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  color: var(--color-accent-light) !important;
  padding: 5px;
  font-size: clamp(1rem, 1.4vw, 1.1rem) !important;
  letter-spacing: 0;
  z-index: 5;
}

body.page header.entry-header h1.entry-title::before {
color: #000!important;
  font-size: calc(var(--wp--preset--font-size--en-xxl) * 0.94)!important;
  font-family: "Roboto Condensed", sans-serif !important;
  opacity: 1;
  top: 45%;
  left: 0;
	font-weight:500;
  transform: translate(0, -50%);
}

@media screen and (min-width: 782px) {
body.page header.entry-header h1.entry-title::before {
color: var(--color-accent-dark)!important;
  font-size: calc(var(--wp--preset--font-size--en-xxl) * 1.2)!important;
  top: 45%;
  left: 0;
	font-weight:500;
  transform: translate(0, -50%);
}	
}

body.page header.entry-header h1.entry-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0.5em;
  transform: translateX(0);
  width: 1.5em;
  height: 0.2em;
  background-image: url(images/eyecatch.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 6;
}
@media screen and (max-width: 1199.98px) {
body.page.privacy-policy header.entry-header h1.entry-title::after {
  top: -40%;
}	
}

body.page header.entry-header {
	position: relative;
	min-height:60vh;
	height: 60dvh;
	background-color: #f1f1f1;
	overflow: hidden;
}

@media screen and (min-width: 782px) {
body.page header.entry-header {
  position: relative;
min-height:auto;
  height: 650px;
  background-color: #f1f1f1;
  overflow: hidden;
}
}

body.page header.entry-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background-size: auto 100%!important;
  background-repeat: no-repeat!important;
  z-index: 1;
}

@media screen and (max-width: 1340px) {
  body.page header.entry-header {
    background-color: transparent;
  }

body.page header.entry-header::after {
    width: 100%!important;
    left: 0;
    right: 0;
    background-position: center center!important;
    background-size: cover;
  }
}

body.page-id-48 header.entry-header::after {
  background: url(images/business.jpg) no-repeat left center;
}
body.page-id-50 header.entry-header::after {
  background: url(images/company.jpg) no-repeat left center;
}
body.page-id-52 header.entry-header::after {
  background: url(images/recruit.jpg) no-repeat left center;
}
body.page-id-994 header.entry-header::after {
  background: url(images/works.jpg) no-repeat left center;
}
body.page-id-124 header.entry-header::after,
body.page-id-3 header.entry-header::after{
  background: url(images/contact.jpg) no-repeat left center;
}

body.privacy-policy.page main article header.entry-header h1.entry-title::before {
    font-size:var(--wp--preset--font-size--jp-xl);
    white-space: nowrap;
}
@media screen and (max-width: 1199.98px) {
body.privacy-policy.page main article header.entry-header h1.entry-title::before {
    white-space: wrap;
	line-height:1em;
	top:30%;
}
}
/* Default and per-page labels */
header.page-header h1.news-title::before { content: "News"; }
.page-id-50 header.entry-header h1.entry-title::before { content: "Aboutus"; }
.page-id-48 header.entry-header h1.entry-title::before { content: "Business"; }
.page-id-52 header.entry-header h1.entry-title::before { content: "Recruit"; }
.page-id-124 header.entry-header h1.entry-title::before { content: "Contact"; }
.page-id-994 header.entry-header h1.entry-title::before { content: "Works "; }
.page-id-3 header.entry-header h1.entry-title::before { content: "Privacy Policy "; }
.page-id-1212 header.entry-header h1.entry-title::before { content: "Thanks "; }

/* ===== H1 ===== */
/*
h1.entry-title {
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 2.6rem);
  color: #3a3937;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
*/
/* ===== H2 ===== */
h2.wp-block-heading {
  font-size: clamp(1.1rem, 0.7rem + 2vw, 2rem);
  margin-top: 0;
margin-bottom: inherit;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}

h2.wp-block-heading.withbar::before {
  content: "";
  position: absolute;
  bottom: -0.8em;
  left: 0;
  width: 1.5em;
  background: transparent;
  color: var(--color-accent-light) !important;
  padding: 5px;
  border-bottom: solid 4px var(--color-accent);
  z-index: 0;
}

@media screen and (min-width: 782px) {
  h2.wp-block-heading.withbar::before { bottom: -1em; }
}

h2.has-text-align-center.withbar.wp-block-heading::before {
  left: 50%;
  transform: translate(-50%, 0);
}

h2.mainCatch.wp-block-heading {
  font-size: clamp(1.2rem, 0.7rem + 2vw, 2.7rem);
}

@media screen and (min-width: 768px) and (max-width: 890px) {
  h2.wp-block-heading { font-size: 1.6em; }
}

@media screen and (max-width: 499.98px) {
  h2.wp-block-heading.alignLeft {
    text-align: left;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== H3 ===== */
h3.wp-block-heading {
  font-size: clamp(1.1rem, 0.7rem + 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0;
  position: relative;
}

body.home h3.wp-block-heading::before {
  content: "";
  position: absolute;
  top: -2.4rem;
  left: 0;
  background: transparent;
  color: var(--color-accent-light) !important;
  padding: 5px;
  font-size: clamp(1rem, 1.4vw, 1.1rem) !important;
  letter-spacing: 0;
  z-index: 0;
}

/* ===== H4 ===== */
h4.wp-block-heading {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table
  > table
  tr
  td:first-child {
  background-color: #d3dde9;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table
  > table
  tr
  th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table
  > table
  tr
  td {

}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table
  > table
  tr
  td {
  font-size: 1.1em;
  padding: 0.8em 0.8em;
}

p.tellink,
.weblink a {
  position: relative;
  padding-top: 2em;
}

p.tellink::before {
  position: absolute;
  content: "";
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: contain;
  top: -1.2em;
  left: 50%;
  transform: translate(-50%, 0);
  background-image: url(images/ctahead1-phone-1.svg);
}

@media screen and (max-width: 767.98px) {
  p.tellink::before {
    top: -1.5em;
    left: 50%;
    width: 40px;
    height: 40px;
  }
}

.tellink a {
  font-size: clamp(1.5rem, 1.027rem + 2.36vw, 2.7rem) !important;
  line-height: 1;
  text-decoration: none;
}

.weblink {
  position: relative;
  background-color: #d14f71;
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s;
}

.weblink::before {
  position: absolute;
  content: "";
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: contain;
  top: -3.7em;
  left: 50%;
  transform: translate(-50%, 0);
  background-image: url(images/ctahead2-web-1.svg);
}

.linkinBox {
  margin-bottom: 0;
  gap: 0;
  padding: 0 1.5em;
}

.linkinBox > div {
  padding: 1em;
}

@media screen and (max-width: 786px) {
  .linkinBox {
    gap: 1em;
  }
}

@media screen and (max-width: 480.98px) {
  .linkinBox {
    row-gap: 1.2em;
    padding-top: 1.2em;
  }
}
@media screen and (max-width: 359.98px) {
  .linkinBox {
    row-gap: 1em;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
  }
}
.linkinBox > div:first-child {
  border: none;
  padding: 0 2em 1.6em 4em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 1023.98px) {
  .linkinBox > div:first-child {
    padding: 0 0em 2em 3em;
  }
}

@media screen and (max-width: 785.98px) {
  .linkinBox > div:first-child {
    padding: 0 1.5em 1.5em 1.5em;
  }
}

.linkinBox > div:last-child {
  padding: 0 2em 0 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media screen and (max-width: 599.98px) {
  .linkinBox > div:last-child {
    padding: 0;
  }
}

.linkinBox > div:last-child::before {
  position: absolute;
  content: "";
  width: 85%;
  height: 110%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

@media screen and (max-width: 599.98px) {
  .linkinBox > div:last-child::before {
    width: 85%;
    height: 115%;
  }
}

.formBox {
  padding: 2em 0 2em 0;
}

@media screen and (max-width: 1023.98px) {
  .formBox {
    padding: 2em 0 2em 0;
  }
}

@media screen and (max-width: 768.98px) {
  .formBox {
    padding: 0 0 1em 0;
  }
}

.tellink + p {
  font-size: 1em;
  margin-bottom: 0rem;
  margin-top: 0.5em;
}

.scaleUp {
  font-size: clamp(1.5rem, 0.764rem + 2.18vw, 2.4rem);
  line-height: 1.6;
  padding-bottom: 2.6rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  .scaleUp {
    padding-top: 1.2em;
  }
}

.br {
  display: none;
}

@media screen and (min-width: 1024px) {
  .br {
    display: block;
    height: 0;
  }
}

body.archive header.entry-header {
  position: relative;
  width: auto;
}

body.archive h2.categoryTitle,
body.single h2.categoryTitle {
  font-size: calc(clamp(1.1rem, 1.8vw, 1.5rem) * 0.92) !important;
}
/*
body.blog .main-inner,
body.archive .main-inner,
body.single .main-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4rem;
  padding: 0;
}
*/
body.archive h1.entry-title,
body.single h1.entry-title {
  font-size: clamp(1.188rem, 0.938rem + 1.25vw, 1.875rem) !important;
  padding: 2em;
}

body.archive .entry-content {
  padding-top: clamp(9.375rem, 7.102rem + 11.36vw, 15.625rem);
}

body.single .entry-content {
  padding-top: 1em;
  padding-bottom: 3em;
}

.archive main .entry-content figure,
.single main .entry-content figure {
  margin: 1em 0 !important;
}

.mainOuter {
    display: block;
	width:96%;
    margin-left: auto;
    margin-right: auto;
	padding-bottom:3em;
}

@media (min-width:1200px){
.mainOuter {
    display: flex;
    max-width: 1200px;
	justify-content:space-between;
	margin-top:2em;
}

.mainOuter main {
    flex: 0 0 70%;
}
}
@media (min-width:1200px){
.single .mainOuter {
    column-gap: 4.4em;
}
}

body.archive header.entry-header {
    position: relative;
    width: auto;
}

body.archive h2.categoryTitle,
body.single h2.categoryTitle{
  font-size: calc(clamp(1.1rem, 1.8vw, 1.5rem) * 0.92) !important;
}
/*
body.blog .main-inner,
body.archive .main-inner,
body.single .main-inner{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

body.blog .main-inner,
body.archive .main-inner,
body.single .main-inner{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4rem;
  padding: 0;
}
*/
body.archive h1.entry-title,
body.single h1.entry-title{
    font-size: clamp(1.188rem, 0.938rem + 1.25vw, 1.875rem)!important;
    padding: 2em;
}

body.archive .entry-content{
    padding-top: clamp(9.375rem, 7.102rem + 11.36vw, 15.625rem);
}

body.single .entry-content{
	padding-top:1em;
	padding-bottom: 3em;
}

.archive main .entry-content figure,
.single main .entry-content figure{
    margin: 1em 0!important;
}

body.archive .mainOuter .main-inner {
    padding-bottom: 2em;
}

/*
h1.newsTitle {
    font-weight: 700;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem) !important;
    color: #3a3937;
    letter-spacing: .05em;
    line-height: 1.2;
}

h2.newsSubTitle {
    text-align: center;
    padding: 1em 0;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translate(-50%,0);
    line-height: 1;
    padding: 0.4em 0.5em;
    margin-top: 2em;
    margin-bottom: 1.5em;
    border-bottom: dotted 2px cadetblue;
}
*/
aside h2.wp-block-heading {
  font-size: clamp(1.05rem, 0.904rem + 1.18vw, 1.1rem) !important;
  text-align: center;
  padding: 1em 0;
  display: block;
  position: relative;
  left: 0;
  line-height: 1;
  padding: 0.4em 0.8em;
  margin-top: 1.6em;
  background-color: var(--color-base-blue);
  border-left: solid 2px cadetblue;
  text-align: left;
  margin-bottom: 1em;
}

aside ul {
  margin-left: 0;
}

body.archive .wp-block-image img,
body.single .wp-block-image img {
  width: auto !important;
  max-width: none !important;
  height: auto;
}

body.single main,
body.single aside {
  max-width: 1200px;
  margin: 0 auto;
  width: 96%;
}

body.single header.entry-header {
  position: relative;
}

/* fade animation*/

/* fadeUp */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeUpTrigger {
  opacity: 0;
}

.fadeUpQuick {
  animation-name: fadeUpQuickAnime;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes fadeUpQuickAnime {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blurTrigger.blur {
  animation-name: blurAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.blurTrigger.blur0 {
  animation-name: blurAnime;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 0s;
}

@keyframes blurAnime {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: scale(1.03) translateY(20px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateY(0);
  }
}
/*****↑anime *******/

/* Cookie Consent Banner Styles */
.cookie-consent {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  width: 85%;
  max-width: 1300px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #111;
  background: #fff;
  border-radius: 3px 3px 0 0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px -2px 10px;
  padding: 27px 30px;
  box-sizing: border-box;
  visibility: hidden;
  z-index: 10000000;
}

.cookie-consent.is-show {
  visibility: visible;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 1em;
}

.policy-link a {
  color: dodgerblue;
  text-decoration: underline;
  transition: all 0.25s;
}

.policy-link a:hover {
  color: #ed7818;
}

.cookie-text svg {
  flex-shrink: 0;
}

.cookie-btn {
  display: flex;
  flex-shrink: 0;
}

.cookie-agree,
.cookie-reject {
  padding: 0.5em 1.5em;
  margin-left: 20px;
  transition: all 0.25s;
}

.cookie-agree {
  color: #fff;
  background: dodgerblue;
}

.cookie-reject {
  background: #fff;
  color: dodgerblue;
  border: 1px solid dodgerblue;
}

.cookie-agree:hover {
  color: #fff;
  background: #ed7818;
}

.cookie-reject:hover {
  background: #fff;
  color: #ed7818;
  border: 1px solid #ed7818;
}

.cookie-agree:hover,
.cookie-reject:hover {
  cursor: pointer;
}

.c-cookieBanner__close {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 23px;
  aspect-ratio: 1;
  border: none;
  background: transparent;
  cursor: pointer;
}

.c-cookieBanner__close svg path {
  transition: all 0.25s;
}

.c-cookieBanner__close:hover svg path {
  fill: #777 !important;
}

/* Hide banner instantly */
.cc-hide1 {
  display: none;
}

/* Fade out banner */
.cc-hide2 {
  animation: hide 0.25s linear 0s;
  animation-fill-mode: forwards;
}

@keyframes hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media screen and (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
  }
  .cookie-text {
    margin-bottom: 1em;
  }
  .cookie-text svg {
    display: none !important;
  }
}

/***↑cookie****/

footer.entry-footer {
  padding-bottom: 2em;
}

body.single h1.entry-title {
  justify-content: left;
  font-size: clamp(1.188rem, 0.938rem + 1.25vw, 1.875rem) !important;
  padding-left: 0;
  padding-right: 0;
  align-items: flex-start;
  text-align: left;
  border-top: solid 1px var(--color-accent-light);
  border-bottom: solid 1px var(--color-accent-light);
}

body.single-post .entry-content figure img {
  width: auto !important;
  max-width: 100% !important;
}

body.single-post .entry-content figure {
  width: 100%;
}

body.single-post .entry-content figure {
  width: 100%;
}

.entry-meta {
  text-align: left;
}

.title-over {
    display: flex;
    align-items: center;
    column-gap: 0.3em;
}

body.archive .mainOuter .main-inner article {
    display: flex;
    padding: 1.3em;
    border-bottom: solid 1px var(--color-accent);
}

body.archive .mainOuter .main-inner article h3 {
    margin-left: 2em;
}

body.archive .mainOuter .main-inner article h3 a{
	color:var(--color-main);
	text-decoration:none;
}

body.archive .mainOuter .main-inner article h3 a:hover{
	color:#3D8BFF;
}

aside section ul {
  line-height: 1.8em;
}

body.single-post h2.wp-block-heading {
  font-size: clamp(1.1rem, 0.7rem + 2vw, 1.7rem);
  margin-top: 1em;
  font-weight: 600;
  background-color: var(--color-base);
  padding: 0.5em 0.6em;
  line-height: 1.5;
margin-bottom:1em;
}

body.single-post h3.wp-block-heading {
  font-size: clamp(1.1rem, 0.7rem + 2vw, 1.4rem);
  margin-top: 1.4em;
  margin-bottom: 1.1em;
  padding-left: 0.6em;
  border-left: solid 3px var(--color-accent-light);
}

body.single-post ul.wp-block-list {
  margin-left: 1em;
  margin-top: 1.2em;
  line-height: 1.8em;
}

.post-navigation-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3em 0;
  flex-wrap: wrap;
  gap: 1em;
}

.post-navigation-custom .post-prev a,
.post-navigation-custom .post-next a {
  text-decoration: none;
  color: #800080;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1rem;
}

.post-navigation-custom i {
  font-size: 1.2em;
}

/* pankuzu */
.breadcrumbs {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1em;
  padding-bottom: 1em;
}

a.home::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f015";
  margin-right: 0.4em;
  display: inline-block;
}

.wp-block-search__button::before {
  font-family: "Font Awesome 5 Free";
  content: "\f002";
  font-weight: 900;
  display: inline-block;
}

.error-404 header::before {
  display: none;
}

.error-404 header {
  padding: 2em 0;
  margin-top: 2em;
}
.error-404 header h3 {
  color: #333;
}

.error-404 .page-content {
  max-width: 1024px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 3em 1em;
}

.error404 main {
  height: 60vh;
}

body.error404 main#primary {
  width: 94%;
  margin-left: auto;
  margin-right: auto;
  max-width: 768px;
  margin-top: 0;
  margin-bottom: 5em;
}

body.search main#primary {
  width: 94%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1024px;
  margin-top: 0;
  margin-bottom: 5em;
}

body.search main#primary article {
  padding-top: 0.5em;
  border-bottom: dotted 1px #ccc;
}
body.search main#primary h2.entry-title {
  position: relative;
  margin-bottom: 0.5em;
  font-size: 1.1em;
}

body.search main#primary h2.entry-title::before {
  position: absolute;
  content: "";
  width: 2em;
  height: 0.2em;
  bottom: -0.5em;
  left: 0;
  background-color: var(--sub-color);
}

.error404 .page-content p {
  text-align: center;
}

.search header.page-header::before {
  display: none;
}

.search header.page-header h1 {
  font-size: 1.8rem;
}

.search header.entry-header {
  position: relative;
  padding: 2em 1em;
}

.logged-in footer.entry-footer {
  display: none !important;
}

.veu_adminEdit_cta{
	display:none!important;
}

/***********/
/*
.strategyBox > div:not(.fsb-flexible-spacer) {
    background-color: #f6f6f6;
    background-image: url(images/image-works03.jpg);
    background-repeat:no-repeat;
    background-position:right bottom;
    border-radius:30px;
    position:relative;
    padding: 0 2em;
    background-blend-mode: luminosity;
}
.strategyBox > div::before{
    content: "";
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    pointer-events: none;
    background-image: url(images/back-kan.svg);
    background-size: 50vw;
    background-position: 100% 30%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0.4;
    border-radius:30px;
}

@media screen and (min-width: 782px) {
.strategyBox > div::before{
    background-size: 25vw;
}	
}

@media screen and (min-width: 1360px) {
.strategyBox > div::before{
    background-size: 20vw;
}	
}
*/
div.strategyScrollBox{
    height: 166px;
    z-index: 1;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    background-image: url(images/scrText1-1.svg);
    background-size: auto 100px;
    background-position: center center;
    background-repeat: repeat-x;
    background-attachment: scroll;
}

@media screen and (min-width: 782px) {
div.strategyScrollBox{
    background-size: auto 166px;
}
}

div.strategyScrollBox {
    animation: works-txt-slider 60s linear infinite;
    position: relative;
    top: 80px;
    left: 0;
    z-index: 1;
}

@keyframes works-txt-slider {
    from {
        background-position-x: 0px;
    }
    to {
        background-position-x: -3439px;
    }
}
/**************/

.mainImage {
    height: 100vh;
}

h2 .br{
display:none;
}

@media screen and (min-width: 782px) {
h2 .br{
	display:block;
	line-height: 0;
	}
}

h2 .br2{
display:none;
}

@media screen and (max-width: 781.98px) {
h2 .br2{
	display:block;
	line-height: 0;
	}
}

.linkText a {
    display: block;
    position: relative;
}

.linkText a::before{
    display:block;
    content:"";
    width:24px;
    height:24px;
    background-image:url(images/buttonMaruya-dark.svg);
    background-repeat:no-repeat;
}

p.linkText a {
    display: flex;
    column-gap: 0.5em;
    align-items: center;
/*    font-size: var(--wp--preset--font-size--medium);*/
    text-decoration:none;
}

p.linkText a::hover {
    background-color:#f1f1f1;
}

figure.wp-block-post-featured-image img {
    aspect-ratio: 600 / 400;
    width: 100%;
    height: auto;
    object-fit: unset!important;
}

/***************/

header.page-header {
  margin: 0 !important;
  padding: 0 !important;
}

header.page-header h1.news-title,
header.entry-header h1.entry-title {
	color:#fff;
	font-size: clamp(20px, 1.25rem + ((1vw - 3.2px) * 1.364), 32px)!important;
	letter-spacing:2px;
	font-weight: bold;
	padding: 68px 0;
	text-align: center;
	position:relative;
	margin:0;
	background: linear-gradient(        30deg,        #2DD9C0 0%,        #2DD9C0 10%,        #3D8BFF 55%,        #A7FFF6 75%,        #2DD9C0 100%    );
	margin-bottom: 1em;
}

body.page header.entry-header h1.entry-title {
	color:#000;
	background:none;
	display: inline-block;
	text-align: left;
	width: auto;
	margin-left: auto;
	margin-right: auto;
	padding: 7em 0 0 0.5em;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--jp-md-blue)!important;
	left:0;
	top:calc(50% - 40px);
	transform:translate(20%,-50%);
	z-index:5;
}

@media (min-width: 1024px){
body.page header.entry-header h1.entry-title {
	left:35%;
	top:50%;
	font-size: var(--wp--preset--font-size--jp-md-blue)!important;
	left: calc(var(--wp--preset--font-size--en-xxl) * 2);
	top: calc(var(--wp--preset--font-size--en-xxl) * 1.6);
	z-index:5;
	transform:translate(0,0);
}
}

/******hero*********/

@media (min-width: 600px) and (max-width: 1599px) {
.heroComBox {
    width: 90%!important;
    margin-left: auto;
    margin-right: auto;
}
}

.heroComBox .catchText p {
    line-height: 1.8em;margin-top: 1.5em;
}

.heroComBox h2 + p {
    line-height: 1.4;
}

br.spbr {
  display: none;
}

@media (min-width: 500px) and (max-width: 1599px) {
  br.spbr {
    display: inline;
  }
}


/****TOP***/

.newsTopBox{
    padding: 1em;
}

.newsBox ul {
    margin-left: 0;
}

@media (max-width: 600px) {
    .newsTopBox .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 0!important;
    }
}

@media (max-width: 600px) {
    .newsTopBox .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-direction: column!important;
    }
}
@media (max-width: 600px) {
.newsTopBox > div {
    display: block;
}
}
/*
@media (max-width: 1023.98px) {
.newsTopBox > div {
    display: block;
}
}*/

.titleBox p {
    line-height: 1!important;
    position:relative;
    padding-top: 0.34em;
}

.titleBox p::before {
    line-height: 1;
    position:absolute;
    content:"";
    width:0.6em;
    height:0.1em;
    left:0.1em;
    top: 0;
    background-image:url(images/eyecatch.svg);
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}

.titleBox h2 {
    position: relative;
    padding-left:2.5em;
    margin-top: 1.3em;
    margin-bottom: 0!important;
    letter-spacing:0;
    font-weight:400;
}

@media (max-width: 782px){
.titleBox h2 {
    margin-bottom: 1.3em!important;
}	
}

.titleBox h2::before {
    position:absolute;
    content:"";
    width:2.4em;
    height:2.4em;
    left:0;
    top: 50%;
    transform: translate(0, -50%);
    background-image:url(images/iconBalb.svg);
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    opacity: 0.6;
}

@media (max-width: 782px){
.titleBoxOver {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
}
.companyTopBox img.wp-block-cover__image-background.size-full,
.businessTopBox img.wp-block-cover__image-background.size-full {
    width: 50%;
    height: 85%;
    max-width: 1024px;
    max-height: 870px;
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
}

.companyTopBox img.wp-block-cover__image-background.size-full{
	width:100%;
    left: -40%;
    right: auto;
	 top:auto;
}

@media (min-width: 1024px){
.companyTopBox img.wp-block-cover__image-background.size-full,
.businessTopBox img.wp-block-cover__image-background.size-full {
    width: 60%;
    height: 85%;
}
}
/*
@media (min-width: 1200px){
.companyTopBox img.wp-block-cover__image-background.size-full {
    width: 120%!important;
    height: 85%!important;
    left: -20%!important;
}
}
*/

@media (min-width: 1400px){
.companyTopBox img.wp-block-cover__image-background.size-full {
    width: 100%!important;
    height: 85%!important;
    left: -20%!important;
}
}

@media (min-width: 1500px){
.companyTopBox img.wp-block-cover__image-background.size-full {
    width: 100%!important;
    height: 85%!important;
    left: 0!important;
}
}

@media (min-width: 1024px){
.companyTopBox img.wp-block-cover__image-background.size-full{
    width: 100%;
    height: 85%;
    left: -30%;
}
}

@media (max-width: 768px){
.companyTopBox img.wp-block-cover__image-background.size-full,
.businessTopBox img.wp-block-cover__image-background.size-full {
    width: 100%;
    height: 25%;
    max-width: 1024px;
    max-height: 400px;
    left: auto;
    right: 0;
    top: 0;
    bottom:0;
}
}

.businessTopBox {
    position: relative;
	color:#000;
}

@media (max-width: 768px){
.businessTopBox {
	padding-top:11em;
	padding-bottom:0;
}
}

.businessTopBox::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(images/businessTopBoxWater.png);
    background-repeat: no-repeat;
    background-position: top left;
}

@media (max-width: 768px){
.businessTopBox::before {
	top:12em;
}	
}

.businessTopBox::after{
    position: absolute;
    content:"";
    width:60%;
    height:60%;
    background-image:url(images/backKikagaku.jpg);
    background-repeat:no-repeat;
	background-size:cover;
    right:0;
    bottom: 0;
	margin-right:calc((100vw - 100%) / -2);
	z-index:-1;
}

.businessTopBox h3{
	display:inline-block;
	background-color:#fff;
}

@media screen and (min-width: 600px) {
.businessTopBox h3{
    max-width: 580px;
    width: 37%;
}
}

.miniTtl{
     display:inline-block;
     background-color:#fff;
     line-height:1.2;
}

.businessTopBox .backlcol{
	background-color:#fff;
	display: inline-block;
	line-height: 1.4;
	padding: 0 0.1em 0.12em;
	margin-top: 0.2em;
}

.businessTopBox .titleBox p{
text-shadow: 2px 2px 3px rgba(255,255,255,0.8);
}

.wp-container-core-group-is-layout-4b854a5c > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    line-height: 1.3;
}

.wp-block-columns.columnInner.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex {
    justify-content: space-between;
}

@media screen and (min-width: 782px) {
.wp-block-columns.columnInner > .wp-block-column:last-child {
  display: flex;
  justify-content: flex-end;
  margin-right: calc((100vw - 100%) / -2);
}
}

.wp-block-columns.columnInner > .wp-block-column:last-child figure {
  margin: 0;
}

.wp-block-columns.columnInner > .wp-block-column:last-child img {
  max-width: none;
  height: auto;
  display: block;
}

.recruitTopBox span.wp-block-cover__background.has-background-dim {
    background: linear-gradient(
        30deg,
        #2DD9C0 0%,
        #2DD9C0 10%,
        #3D8BFF 55%,
        #A7FFF6 75%,
        #2DD9C0 100%
    );
    opacity: 1;
}

.companyTopBoxRight {
    background-color: #fff;
    padding-left: 2em;
    padding-right: 2em;
}

.companyTopBox {
    position: relative;
    padding-bottom:5em;
    padding-top: 0em;
    margin-top: 0em;
}

@media screen and (max-width: 768.98px) {
.companyTopBox {
    position: relative;
    padding-bottom:2em;
    padding-top: 0em;
    margin-top: 0em;
}
}

@media screen and (min-width: 1200px) {
.companyTopBox {
    padding-bottom:6em;
}
}

@media screen and (min-width: 1440px) {
.companyTopBox {
    padding-bottom:7em;
    /* padding-top: 0; */
    /* padding-left: 0; */
    /* padding-right: 0; */
}
}

.companyTopBox .companyTopBoxInner {
  margin-right: 0 !important;
  margin-left: auto;
  max-width: none;
  width: fit-content;
  display: flex;
  flex-direction: column;
  background-color: rgba(255,255,255,1);
  color: #000;
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  padding: 1em 2em;
}

@media screen and (min-width: 1024px) {
.companyTopBox .companyTopBoxInner {
width:70%;
  padding: 5em 3em;
}
}

@media screen and (min-width: 1440px) {
.companyTopBox .companyTopBoxInner {
width:52%;
}
}

@media screen and (max-width: 768px) {
.companyTopBox .companyTopBoxInner {
  width: 100%;
  display: block;
  margin-top: 130px;
}
}

@media screen and (max-width: 600px) {
.companyTopBox .companyTopBoxInner {
  width: 100%;
  display: block;
  margin-top: 150px;
  padding-left: 1em!important;
  padding-right: 1em!important;
}
}

.companyTopBox > img.wp-block-cover__image-background {
  width: 100%; 
  height: auto;
  max-width: 1120px;
  max-height: 870px;
  object-fit: cover;
top:auto;
}

@media screen and (max-width: 1023.98px) {
.companyTopBox > img.wp-block-cover__image-background {
  max-height: 570px;
}
}
	
/* searchform */
.wp-block-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 280px;
  margin: 1em auto;
  border: 1px solid #ccc;
  border-radius: 25px;
  overflow: hidden;
  background: #fff;
}

/* input */
.wp-block-search__input {
  flex: 1;
  border: none;
  padding: 0.6em 1em!important;
  font-size: 1em;
  outline: none;
  border: none!important;
}

/* sousin button */
.wp-block-search__button {
  background: none;
  border: none;
  padding: 0.6em 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
color:transparent;
	font-size:0;
	line-height:0;
	position:relative;
	margin-left:0;
}

/* button icon */
.wp-block-search__button::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  color: #555;
	line-height:1;
	padding:0.8em;
}

/* hover */
.wp-block-search__button:hover::before {
  color: #0d2b55;
}

/* label hihyouji */
.wp-block-search__label {
  display: none;
}

h2.newsSubTitle {
    text-align: center;
    display: inline-block;
    border-bottom: solid 2px;
    transform: translate(-50%,0);
    position: relative;
    left: 50%;
    margin-bottom: 1em;
}

.contactTopBox {
    min-height: auto;
    padding-top: 2em!important;
    padding-bottom: 0!important;
}
/*
@media screen and (max-width: 781.98px) {
.contactTopBox {
    position: relative;
    width: calc(100% + 4%);
    max-width: none;
    margin-left: calc(50% - 50vw + 1%);
    margin-right: calc(50% - 50vw + 1%);
    overflow: hidden;
}
}*/
.contactTopBox .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex > div {
    background-color: #000;
    padding: 1.8em;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
}
/*
.contactTopBoxInner {
    column-gap: 4em;
}
*/
.contactTopBoxInner > div{
    padding:2em;
}

.titleBoxPage h2.wp-block-heading {
    position: relative;
    padding-bottom:0.6em;
	padding-top:0.3em;
}

.titleBoxPage h2.wp-block-heading::before{
    position: absolute;
    content:"";
    width:1em;
    height: 0.7em;
    bottom: -0.1em;
    left:0.5em;
    background-image:url(images/barNaname.svg);
    background-position:center center;
    background-size:contain;
    background-repeat:no-repeat;
}

p.has-jp-md-blue-font-size {
    color: var(--color-accent);
}

h3.wp-block-heading.has-jp-lg-font-size {
    margin-bottom: 1em;
}

.wp-block-group.titleBoxPage.hasCenter.is-layout-constrained.wp-block-group-is-layout-constrained{
	position:relative;
}

.titleBoxPage.hasCenter h2.wp-block-heading::before{
    position: absolute;
    content:"";
    width:1em;
    height: 0.7em;
    bottom: -0.1em;
    left:50%;
	transform:translate(-50%,0);
    background-image:url(images/barNaname.svg);
    background-position:center center;
    background-size:contain;
    background-repeat:no-repeat;
}

body.single header.entry-header h1.entry-title {
    background: rgba(255,255,255,0)!important;
    color: #000;
}

/* business */

.imageBox {
    position:relative;
	overflow:hidden;
    width: 100%;
}

@media screen and (min-width: 1024px) {
.imageBox {
	padding-left:8%;
}
}

.imageBox.mizu > div:nth-child(2),
.imageBox.syoubou > div:nth-child(2){
    flex-direction: row-reverse;
}

@media screen and (min-width: 1024px) {
.imageBox.mizu,.imageBox.syoubou{
    padding-right:8%;
	padding-left:0;
}
}

.imageBoxInner figure.wp-block-image.size-full {
    max-width: 1360px!important;
}

.imageBoxInner div,.imageBoxInner p {
    margin-left: 0!important;
	margin-right:0!important;
	max-width:100%;
}

.imageBoxInner div{
    max-width: 92%;
    width:96%;
    border-radius:70px 70px 70px 0;
    padding: 3em 3em;
    box-shadow: 0 4px 10px rgba(204, 204, 204, 0.6);
    background-color: rgba(255,255,255,0.94);
    position: relative;
    top: 1em;
    left: 1.5em;
}

@media screen and (min-width: 1024px) {
.imageBoxInner div{
    max-width: 80%;
}	
}
@media screen and (min-width: 1340px) {
.imageBoxInner div{
    max-width: 70%;
}	
}
.imageBoxInner p:first-child {
    font-size: var(--wp--preset--font-size--jp-body);
    line-height: 1.4;
    background-color:var(--color-accent);
    color:#fff;
    display:inline-block;
    padding: 0.6em 1em;
    margin-bottom:0.8em;
}

.imageBoxInner p:nth-child(2) {
    font-size: var(--wp--preset--font-size--jp-md-white)!important;
    line-height: 1.4;
}

.imageBox h2 {
    font-size: var(--wp--preset--font-size--jp-xl);
	text-align:center;
}

@media screen and (min-width: 782px) {
.imageBox h2 {
	text-align:left;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: var(--wp--preset--font-size--jp-xl);
}
}

@media screen and (min-width: 1024px) {
.imageBox h2 {
	height:inherit;
    font-size: var(--wp--preset--font-size--jp-xl);
}
}

.imageBoxInner figcaption {
    color: #fff;
    background-color: rgba(0,0,0,0.8);
    padding: 1em;
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    mix-blend-mode: luminosity;
font-size:calc(var(--wp--preset--font-size--jp-body-bold) * 1.06);
}
@media screen and (min-width: 1024px) {
.fukidasi {
    position: relative!important;
    left: 9em!important;
}
}
/* eiji scroll */
.scrollEijiWrap {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 0;
  overflow: hidden;
}

@media screen and (min-width: 1024px) {
.scrollEijiWrap {
  top: 50%;
  }
}

@media screen and (min-width: 1024px) {
.imageBox.mizu .scrollEijiWrap,
.imageBox.syoubou .scrollEijiWrap{
    left:auto!important;
	right:0!important;
}
}

.scrollEiji {
  font-size: 20vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.serviceBox {
    padding: 1em;
}

.serviceBox h2.wp-block-heading {
    line-height: 1;
    position: relative;
	display:inline-block;
}
.serviceBox h2.wp-block-heading::after {
	content: "";
	position: absolute;
	top: 0;
	left: auto;
	right: -40%;
	transform: rotate(120deg) translate(50%,0);
	width: 1.1em;
	height: 0.13em;
	background-image: url(
	images/eyecatch.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	z-index: 1;
}

.serviceIconBox ul {
  list-style: none;
  display: flex;
  justify-content: center;
column-gap:6.5%;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.serviceIconBox ul li {
  background: var(--color-accent-light);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
justify-content: flex-start;
  padding-top: 1.1em;
	margin-bottom:1em;
  text-align: center;
  font-weight: bold;
  position: relative;
}
.serviceIconBox ul li::after {
  content: "";
  display: block;
  width: 50%;
  aspect-ratio: 1 / 1;
  background: url("images/iSekkei.svg") no-repeat center center;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -33%);
  opacity: 0.8;
  pointer-events: none;
}

@media (max-width: 400px) {
  .serviceIconBox ul li {
    width: 90px;
    height: 90px;
    padding-top: 1vw;
  }
  .serviceIconBox ul li::after {
    width: 40%;
  }
}

@media (min-width: 1600px) {
  .serviceIconBox ul li {
    width: 145px!important;
    height:145px!important;
  }
}

.serviceIconBox ul li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -45px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("images/migiya.svg") no-repeat center center;
  background-size: contain;
opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 782px) {
  .serviceIconBox ul li:not(:last-child)::before {
   display:none;
  }
}

.serviceIconBox ul li:nth-child(1)::after { background-image: url("images/iSekkei.svg");width:60%; }
.serviceIconBox ul li:nth-child(2)::after { background-image: url("images/iKeikaku.svg"); }
.serviceIconBox ul li:nth-child(3)::after { background-image: url("images/iTyousa.svg");width:58%;top:44%; }
.serviceIconBox ul li:nth-child(4)::after { background-image: url("images/iKouji.svg"); }
.serviceIconBox ul li:nth-child(5)::after { background-image: url("images/iKakunin.svg"); }

.asahiTitle {
    column-gap: 1em;
	align-items:center;
}

@media (max-width: 782px) {
.asahiTitle {
	flex-direction:column;
	justify-content:center;
	align-items:center;
}	
}

@media (max-width: 782px) {
.asahiTitleOuter > div:nth-child(2) {
    flex-basis: 96%!important;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1em;
}

.asahiTitleOuter > div:nth-child(1) {
    border-bottom:solid 1px #ccc;
    padding:0 0.5em 0.3em 0.5em;
}
}

.photoBoxOuter {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}

li.works h3{
    border-bottom:solid 1px #ccc;
    padding-bottom:0.2em;
	font-weight:400;
    font-size: var(--wp--preset--font-size--jp-body-bold);
}

li.works{
    margin-bottom:0.5em;
}

@media screen and (min-width: 1024px) {
li.works h3{
    border-bottom:none;
    padding-bottom:0.4em;
    width:80%;
}
    
li.works {
    display: flex;
    border-bottom: solid 1px #ccc;
    justify-content: space-between;
}
}
@media screen and (min-width: 1024px) {
li.works p{
    border-left:solid 1px #ccc;
    width: 15%;
    text-align: center;
}
}

.koumokumei{
	display:none!important;
}

@media screen and (min-width: 1024px) {
.koumokumei{
	display:flex!important;
    column-gap:0!important;
    border: solid 1px #ccc;
    margin-bottom:1em;
    background-color: #f1f1f1;
}
.koumokumei p:nth-child(1),
.koumokumei p:nth-child(2){
    width: 85%;
    text-align:center;
    padding:0.2em 0;
    text-align:center;
    padding:0.2em 0;
    text-align:center;
}

.koumokumei p:nth-child(2) {
    width: 15%;
    border-left:solid 1px #ccc;
}
}

.roopBox ul {
    margin-left: 0;
}

div#worksOuter {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 1024px) {
div#worksOuter {
	width:100%;
}
}

.recruitPageBox{
	padding-top:16em;
	padding-bottom:0;
}

@media screen and (min-width: 782px) {
.recruitPageBox{
	padding-top:0!important;
	padding-bottom:4em;
}
}

.recruitInner1 > div {
	column-gap:0;
	row-gap:1.2em;
}
@media screen and (min-width: 782px) and (max-width: 1199.98px) {
.recruitInner1 {
    width: 90%;
}
}
@media screen and (min-width: 782px) and (max-width: 1199.98px) {
.recruitInner2,.recruitInner3 {
    width: 60%;
}
}

@media screen and (min-width: 782px) and (max-width: 1439.98px) {
  .recruitInner1,
  .recruitInner2,
  .recruitInner3 {
    position: relative;
    padding: 0.3em;
    border-radius: 0.5em;
  }

  .recruitInner1 {
    width: 90%;
  }

  .recruitInner2,
  .recruitInner3 {
    width: 60%;
  }
/*
  .recruitInner1::before,
  .recruitInner2::before,
  .recruitInner3::before {
    content: "";
    position: absolute;
    top: -0.2em;
    right: -0.2em;
    bottom: -0.2em;
    left: -0.2em;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0.5em;
    z-index: 0;
  }
*/
  .recruitInner1 > *,
  .recruitInner2 > *,
  .recruitInner3 > * {
    position: relative;
    z-index: 1;
  }
}

.recruitInner1 > div > p {
    line-height: 1.4;
}

.recruitPageBox img.wp-block-cover__image-background {
    width: 50%;
    height: 85%;
    max-width: 1024px;
    max-height: none;
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    border-radius: 0 0 0 8em;
}

@media (min-width: 1024px){
.recruitPageBox img.wp-block-cover__image-background {
    width: 50%;
    height: 100%;
  animation-name: blurAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
}

@media (max-width: 768px){
.recruitPageBox img.wp-block-cover__image-background {
    width: 100%;
    height: 25%;
    max-width: 1024px;
    max-height: 400px;
    left: auto;
    right: 0;
    top: 0;
    bottom:0;
}
}

.titleBoxPage.beforeP h2.wp-block-heading::before{
    position: absolute;
    content:"";
    display:none;
}

.titleBoxPage.beforeP p::before,.titleBoxPage.beforeP h3::before{
    position: absolute;
    content:"";
    width:1em;
    height: 1.1em;
    bottom: auto;
    top: 0;
    left: 0;
    background-image:url(images/barNaname.svg);
    transform: translate(0 , 0.4em);
    background-position: center center;
    background-size:contain;
    background-repeat:no-repeat;
}

.titleBoxPage.beforeP p,.titleBoxPage.beforeP h3{
	padding-left:1.2em;
}

.titleBoxPage.beforeP h3 {
    line-height: 1.8;
}

.asahiTitle.titleBox.beforeP p::before{
	display:none;
}
.asahiTitle.titleBox.beforeP p{
	color:#F14663;
	padding-top:0;
}

.asahiTitle.titleBox.beforeP h2{
	padding-left:2em;
	margin-top: 0;
	margin-bottom:0;
	line-height: 1.4;
}

.asahiTitle.titleBox.beforeP h2::before{
    background-image:url(images/iOnsen.svg);
    background-size: contain;
    width: 1.6em;
    opacity: 0.8;
}
.recruitBoxInner > div > div > figure {
    max-width: 220px;
}

.backGray,.backBlue{
	position:relative;
	padding-top: 12em;
	padding-bottom:7em;
	top: -10em;
	z-index:-1;
}

@media (max-width: 1024px){
.backGray,.backBlue{
	position:relative;
	padding-top: 8em;
	top: -2em;
}	
}
.backBlue::before,
.backGray::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  width: 110%;
  height: 90%;
  background-color: #f1f1f1;
  transform: skewY(-3deg);
  transform-origin: top left;
}

.backBlue::before{
  background-color:aliceblue;
}

@media (max-width: 1024px){
.backGray::before,
.backBlue::before{
  top: 4%;
}	
}


.backGrayOver .backGray,.backGrayOver .backBlue{
	position:relative;
	padding-top: 2em!important;
	padding-bottom:0;
	top: -1em!important;
	z-index:-1;
}

@media (max-width: 1024px){
.backGrayOver .backGray,.backGrayOver .backBlue{
	position:relative;
	padding-top: 2em!important;
	top: -2em;
	max-width:96%;
	margin-left:auto;
	margin-right:auto;
}	
}

.backGrayOver .backGray::before,.backGrayOver .backBlue::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  width: 110%;
  height: 90%;
  background-color: #f1f1f1;
  transform: skewY(-3deg);
  transform-origin: top left;
}

.backGrayOver .backBlue::before{
  background-color:aliceblue;
}

@media (max-width: 1024px){
.backGrayOver .backBlue::before,
.backGrayOver .backGray::before {
/*  top: 6%;*/
	display:none;
}	
}
.backGray > div,
.backBlue > div{
    margin-top: -4em;
}

.backGrayOver .backGray > div,
.backGrayOver .backBlue > div{
    margin-top: 0;
}

/* for otheBox */

.backGrayOver .backGray,
.backGrayOver .backBlue{
	overflow-x:hidden;
	top: 0;
}

.backGrayOver .backGray::before,
.backGrayOver .backBlue::before{
	z-index:-1;
	top:20%;
	height:60%;
}

ul.ulCheck {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius:1em;
}

ul.ulCheck li {
  position: relative;
  padding-left: 1.8em;
  line-height: 1.6;
margin-bottom:0.6em;
}

ul.ulCheck li mark{
	font-weight:600;
}

ul.ulCheck li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 1em;
  height: 1em;
  background: url("images/iCheck.svg") no-repeat center center;
  background-size: contain;
}

.recruitBoxInner3 > div {
    justify-content: space-between;
    column-gap: 4%;
}
.recruitBoxInner3 > div > div {
    border-color: var(--color-accent-light)!important;
    background-color:#fff;
    border: solid;
    padding:1.4em;
	box-shadow:6px 6px #ddd;
}

@media (min-width: 1024px){
.recruitBoxInner4 {
    margin-top: -8em;
}
}

body.privacy-policy .entry-content h2 {
    margin-top: 1em;
    margin-bottom: 1em;
}

body.privacy-policy .entry-content > div > div {
    max-width: 96%;
    margin-left: auto;
    margin-right: auto;
}

/* */

.cf7-form input[type="email"],
.cf7-form input[type="text"],
.cf7-form input[type="tel"],
.cf7-form input[type="text"][id="postal-code"],
.cf7-form textarea,
.cf7-form select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
	font-size:100%;
	color:#000;
}

@media (min-width: 600px) {
    .cf7-form input[type="text"],
    .cf7-form select {
        width: 70%;
        max-width: 700px;
    }   
}

@media (min-width: 600px) {
    .cf7-form input[type="tel"],
    .cf7-form input[type="text"][id="postal-code"] {
        width: 50%;
        max-width: 300px;
    }   
}

.cf7-form{
    max-width:850px;
    margin-left:auto;
    margin-right:auto;
}

span.required-label {
    background-color:var(--wp--preset--color--vivid-red);
    padding:1px 5px;
    color:#fff;
    font-size:0.8em;
    letter-spacing:2px;
    border-radius:3px;
    border:none;
	position:relative;
	top:-2px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 30%;
    padding: 1.5rem 2.5rem;
    border-radius: 10px;
    font-size: 1em;
    letter-spacing: 5px;
    transform: translate(-50%,0);
    position: relative;
    left: 50%;
    min-width:10em;
    margin-bottom:1em;
    margin-top: 1.2em;
    cursor:pointer;
}

.box-over h3.title-strong.movetext.jamaru {
    font-size: var(--wp--preset--font-size--medium);
    font-weight:600;
}

.box-over{
	margin-top:2rem;
}

.box-over .box-inner{
	border:solid 1px #ccc;
	padding:1em;
	overflow-y:auto;
	border-radius:10px;
	height:25vw;
}

@media (min-width: 600px) {
.box-over .box-inner{
	height:20vw;
}
}

@media (min-width: 1024px) {
.box-over .box-inner{
	height:12vw;
}
}

.cf7-form div {
    margin-bottom: 1em;
}

body.page-id-124 h3.title-strong.movetext.jamaru {
    margin-bottom: 1em;
}

div#wpcf7cpcnf table p {
    text-align:left;    
}

div#wpcf7cpcnf table th {
    display:inline-block;
    width:100%;
}

div#wpcf7cpcnf table {
  width: 100%;
  border-collapse: collapse;
}
div#wpcf7cpcnf table th,
div#wpcf7cpcnf table td {
  padding: .6em .8em;
  vertical-align: top;
}

@media screen and (max-width: 781.98px) {
  div#wpcf7cpcnf table tr {
    display: block;
    border-bottom: 1px solid #eee; 
margin-bottom: .6em;
  }
 div#wpcf7cpcnf table th,
 div#wpcf7cpcnf table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-top: none;
  }
  div#wpcf7cpcnf table th {
    background: #f7f7f7;
    margin-bottom: .25em;
    border-top: 1px solid #ddd;
  }
  div#wpcf7cpcnf table td:last-child {
    border-bottom: 1px solid #ddd;
  }
}
/* kakunin gamen */
.wpcf7.js table tr {
border-top: 1px solid #eee; 	
border-bottom: 1px solid #eee; 
margin-bottom: .6em;
  }

.wpcf7.js table th,
.wpcf7.js table td {
    box-sizing: border-box;
	border-bottom:none;
  }
.wpcf7.js table th {
    background: #f7f7f7;
    min-width: 250px;
  }

/**/
.wpcf7 form .wpcf7-response-output {
	margin: 1em 1em 3em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0,0,0,0.8);
  line-height: 1;
  padding: 0.6em 1em 0.7em;
}

.pdtop0 h2 {
    padding-top: 0!important;
}

@media screen and (min-width: 782px) {
.photoBoxOver {
    z-index: 1;
}

.photoBoxRecruit41 {
    z-index: 0;
    display: flex;
    justify-content: center;
}

.recruitBoxInner3 > div > div:nth-child(2) {
    position: relative;
    top: 5em;
}
}

.noDisp{
	display:none!important;
}

.mapmap {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-columns.postList {
    margin-top: 1em;
    margin-bottom: 0!important;
}

.gradient-text {
  background: linear-gradient(0deg, var(--color-accent-light), var(--wp--preset--color--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 1023.98px) {
.telFaxBox {
    display: block!important;
}
}

.wp-block-buttons .wp-block-button a {
  position: relative;
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 1rem;
  padding: 1.2em 2.8em 1.2em 2em;
  letter-spacing: 1px;
  font-weight: 500;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 0;
}


