/*!
Theme Name: silverbacks
Author: silverbacks
*/



/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

section{margin: 120px auto 0 auto;}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

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

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

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

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
/**
 * 追加
 */
*, ::before, ::after {
  box-sizing: border-box;
}

/*========================================================================== */

/*body {
    font-family: Roboto, "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 30px;
    color: rgb(0, 0, 0);
    text-size-adjust: 100%;
    letter-spacing: 0.075em;
    width: 100%;
    position: relative;
}*/

body{
	font-family: Noto Sans JP,ヒラギノ角ゴ ProN W3,Meiryo,sans-serif;
	font-size: 16px;
	color: #212836;
	line-height: 2;
	letter-spacing: .06em;
	font-style: normal;
}

a { text-decoration: none; }

.gray{
/*background:#eee;*/
padding:20px;
background-image: url(https://silverbacks-principal.com/wp-content/themes/silverbacks/img/gray-bg.jpg);
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* 余白が気になるとき */
}

@media (max-width: 768px) {
	body{font-size: 14px;}
}

/* header
--------------------------------------------- */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.mv {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  margin-bottom: 150px;
}
.mv::after {
content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
z-index: 10; 
  background: linear-gradient(to right, #212836 50%, #E8E8E8 50%);
}
.mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
	.mv{margin-bottom: 80px;
	}
}
.swiper,
.swiper-wrapper,
.swiper-slide {
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}





.main-navigation {
  position: fixed;
  top: 30px;
  left: 42px;
  right: 42px;
  z-index: 99999;
  background: #fff;
  padding: 0 19px 0 26px;
  height: 80px;
  display: flex;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-navigation.sticky {
  top: 0;
  opacity: 0.95;
  transform: none;
}

.trans{
background:#212836;
color:#fff;
padding:4px 16px;
font-family: "Nunito Sans", sans-serif;
font-size:16px;
font-weight: 800;
width:92px;

}
.trans a{
color:#999;
text-decoration: none;
}

.trans a:hover{color:#FFF;}

.navleft {
  display: flex;
  align-items: center;
  gap: 32px; 
}
.navleft img {
  max-width:180px;
}
.navleft h1{
margin:0;
}
@media screen and (max-width:768px) {
.main-navigation {
top:0;
left:0;
right:0;
border-radius:0;
width:100%;
padding:0;
height:56px;
}
.trans{
display:none;
}
.navleft img {
    padding-left: 10px;
    max-width: 150px;
}
}
/*menu --------- */

.menu-headermenu-container{
margin-left: auto;
}

#primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px; 
}

#primary-menu li a {
  text-decoration: none;
  color: #212836;
  font-size: 16px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 900;
  position: relative;
  transition: color 0.3s ease;
}

#primary-menu > li:last-child > a {
    background: #212836; 
    color: #fff;      
    padding: 12px 48px;
    transition: all 0.3s ease;
    border: 1px solid transparent; 
}

/* ホバー時 */
#primary-menu > li:last-child > a:hover {
    background: #fff;        
    color: #212836;          
    border: 1px solid #212836; 
    opacity: 1;
}

#primary-menu li > ul li:last-child a {
  background: none;
  color: #212836;
  padding: 0;
}

#primary-menu > li > a:hover {
    color: inherit;
}
#primary-menu li ul li a:hover {
    color: #D0D0D0;
}

#primary-menu > li:not(:last-child) > a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 35px;
  height: 35px;
  background: #E8E8E8;
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}


#primary-menu > li:not(:last-child) > a:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}


#primary-menu > li:not(:last-child).current-menu-item > a::after,
#primary-menu > li:not(:last-child).current-menu-ancestor > a::after,
#primary-menu > li:not(:last-child).current-page-ancestor > a::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


#primary-menu .sub-menu li > a::after {
  display: none !important;
}


#primary-menu .current-menu-item > a,
#primary-menu .current-page-ancestor > a {
  position: relative;
  z-index: 1;
}




#primary-menu > li:not(:last-child) > a:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

#primary-menu li ul li a:hover {
    color: #D0D0D0;
}

/*　ニュースの投稿に丸をつける*/
body.single #menu-item-170 > a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35px;
  height: 35px;
  background: #E8E8E8;
  border-radius: 50%;
  z-index: -1;
  opacity: 1; /* 常に表示 */
}

/* スマホは非表示 */
@media screen and (max-width:768px) {
  body.single #menu-item-170 > a::after {
    display: none;
  }
}


/* 下層メニュー */
#primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: -32px;
  
  z-index: 1000;
  padding: 10px;
 
}

/* 親要素に hover した時だけ表示 */
#primary-menu li.menu-item-has-children:hover > .sub-menu {
  display: block;
}
#primary-menu li.menu-item-has-children {
  position: relative;
}
#primary-menu li.menu-item-has-children > ul.sub-menu{
list-style:none;left: 0; }
#primary-menu li.menu-item-has-children > ul.sub-menu li{
  margin:4px 4px 4px -20px;
background: #fff;
padding:10px 0;
text-align: center;
}

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

#primary-menu .sub-menu {
  display: block;
  position: relative;
padding:0;
}
#primary-menu li.menu-item-has-children > ul.sub-menu li{
background: #212836;
color:#fff;
margin: 0;
padding: 0 0 10px 0;

}
#primary-menu li.menu-item-has-children > ul.sub-menu li:first-child{
padding: 10px 0;
}
#primary-menu li.menu-item-has-children > ul.sub-menu li:last-child{
padding: 0;
}
#primary-menu li > ul li:last-child a {
    background: none;
    color: #fff;
}
#primary-menu .current-menu-ancestor > a::after,
#primary-menu .current-menu-item > a::after,
#primary-menu .current-page-ancestor > a::after {
display: none;
}
}

.desc {
  position: absolute; 
  bottom: 5vh; 
  left: 0;
  right: 0;
  display: flex;
  flex-flow: column;
z-index:9999;

}

.desc div {
  margin-bottom: 30px;
}

.text01 {
  background: #fff;
  display: inline-block;
  padding: 32px 40px 30px 40px;
  color:#2F2F2F;
font-size:64px;
font-family: "Nunito Sans", sans-serif;
font-weight: 900;
line-height: 0.5;
}
.color01{
color:#9FA0A0;
}
.text02 {
  background: #fff;
  display: inline-block;
  padding: 24px 40px;
  color:#212836;
font-size:24px;
font-family: "Nunito Sans", sans-serif;
line-height: 0.5;
}


/* デフォルトは非表示 */
.submenu-toggle {
  display: none;
}


@media screen and (max-width:768px) {
.text01 {
font-size:56px;
padding: 10px 0 8px 0;
line-height: 1;
text-align: center;
/*width: 100%*/
}
.text02 {
line-height: 1.2;
font-size:12px;
text-align: center;
width: 100%;
padding: 8px 10px;
}
#primary-menu{
flex-direction: column;
}
#primary-menu li a{
color:#fff;
}
#primary-menu li:last-child a{
padding:0;
}
.menu-headermenu-container {
    margin-left: 0;
}

.submenu-toggle {
  background: none;
  border: none;
  font-size: 1.2em;
  margin-left: 8px;
  cursor: pointer;
color:#fff;
display: inline-block; 
}

#primary-menu .sub-menu {
    display: none;
  }

  /* 開いたときに表示する用に、JSで .open クラスが付く */
  .submenu-toggle.open + .sub-menu {
    display: block;
  }

}

/*hamburger
--------------------------------------------- */

.c-hamburger {
  position: relative;
  width: inherit;
  height: inherit;
  margin: 0;
  cursor: pointer;
  background-color: #fff;
border: none;
  outline: none;
  background: none; 
  box-shadow: none; 
 
}


.c-hamburger::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: black; /* 左上の四角（黒） */
  left: 50%;
  top: 50%;
  transform: translate(-9px, -9px); /* 四角全体を中央配置 */
  box-shadow:
    14px 0 0 #666,     /* 右上（灰） */
    0 14px 0 #666,     /* 左下（灰） */
    14px 14px 0 black; /* 右下（黒） */
  transition: box-shadow 0.4s;
}

.c-hamburger::before {

opacity: 0;
  content: "";
  position: absolute;
  width: 20px;
  height: 1px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(135deg);
  top: 50%;
  left: 50%;
  transition: opacity .4s;

}



.c-hamburger[aria-expanded="true"]::before {

opacity: 1;

}

.c-hamburger[aria-expanded="true"]::after {

  box-shadow: initial;
  content: "";
  position: absolute;
  width: 20px;
  height: 1px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  top: 50%;
  left: 50%;
}



.p-header__nav {
  display: flex;
  z-index: 10;
  position: absolute;
  top: 0;
  right: -100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: transparent;
  font-weight: 700;
  opacity: 0;
  transition: 0.6s;
}


@media screen and (min-width:768px) {
  .p-header__nav {
    position: static;
    height: 100%;
    opacity: initial;
    align-items: flex-end;
	
  }
}


.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  padding: 13px 20px;
}




.p-header__hamburger {
  z-index: 100;
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 50px;

}


@media screen and (min-width:768px) {
  .p-header__hamburger {
    display: none;
  }
}

@media screen and (max-width:768px) {
.p-header__nav[aria-expanded="true"] {
  position: fixed;
  /*top: 72px;*/
  right: 0;
  background: #2b2b2b;
  opacity: 1;
  transition: 0.6s;
}
}

.pc_none { display: none!important; }

/* スマホ時 */
@media screen and (max-width: 768px) {
  .sp_none { display: none!important; }
  .pc_none { display: block!important; }

  .sp-menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .sp-menu li {
    margin-bottom: 32px;
	font-size: 18px;
  }
  .sp-menu li:last-child {
    margin-bottom: 0;
  }
  .sp-menu a {
    color: #fff;
    text-decoration: none;
  }

  /* サブメニュー初期非表示／開閉時表示 */
  .sp-sub-menu {
    display: none;
    margin: 0;
    padding: 10px 0 0 10px;
    list-style: none;
  }
  .has-sub.open > .sp-sub-menu {
    display: block;
  }

  .sp-sub-menu li {
    margin-bottom: 10px;
  }
  .sp-sub-menu li:last-child {
    margin-bottom: 0;
  }

  /* トグルアイコン */
  .toggle-icon {
    margin-left: 10px;
    font-weight: bold;
    font-size: 18px;
  }
	.menu-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  
}
}

/* PCだけ表示 */
@media screen and (min-width: 769px) {
  .sp-menu-open,
  .sp-menu-modal {
    display: none!important;
  }

.p-header__nav[aria-expanded="true"] {
    position: fixed;
    /* top: 72px; */
    right: 0;
    background: #fff;
    opacity: 1;
    transition: 0.6s;
}
}

/*scroll
--------------------------------------------- */
.scroll-box {
  position: absolute;
  bottom: -50px;
  right: 0;
  width: 84px;
  height: 297px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  z-index: 10;
}

.line {
  width: 2px;
  height: 146px;
  background-color: black;
  transform-origin: top;
  animation: stretchDown 1.5s ease-in-out infinite;
  margin-bottom: 16px;
}

.scroll-text {
  font-size: 16px;
  color:#212836;
font-weight:800;
  letter-spacing: 1px;
font-family: "Nunito Sans", sans-serif;
writing-mode: vertical-rl;
}

/* 線が上から下へ伸びて消えるアニメーション */
@keyframes stretchDown {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    opacity: 0;
  }
}


/* what we are
--------------------------------------------- */

.bggray {
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 400px,
    #eee 400px,
    #eee calc(100% - 600px),
    transparent calc(100% - 600px),
    transparent 100%
  );
}
.inner{
margin-inline: clamp(20px, 10vw, 320px);
max-width: 1100px;
margin: 0 auto;
padding:0 20px;
}
.toph2{
font-size:56px;
font-family: "Nunito Sans", sans-serif;
color:#212836;
margin:96px 0 40px 0;
font-weight: 900;
line-height:1;
}
.toph3{
font-size:20px;
font-weight:normal;
}
.txt16{
font-size:16px;
}
.txt20{
font-size:20px;
}
ul.aboutmenu{
list-style:none;
display:flex;
justify-content: space-between;
margin:0;
padding:50px 0 10px 0;
}
ul.aboutmenu li{
width: calc((1080px - 40px * 2) / 3);
}

ul.aboutmenu li a:hover {
  filter: brightness(0.8);
transition: all 0.3s ease;
}

ul.aboutmenu li h4{
font-family: "Nunito Sans", sans-serif;
font-size:30px;
margin:24px 0 8px 0;
line-height: 1;
font-weight: 800;
}
ul.aboutmenu li p{
margin:0;
line-height: 1.4;
font-size: 0.9rem;
}
ul.aboutmenu li div{
position: relative;
width: 100%;

}
ul.aboutmenu li div::after {
content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 2px;
  background-color: black;
  right: 0;
}
ul.aboutmenu li a h4,ul.aboutmenu li a p{
color:#212836;
}

/*アニメーション */
.fade-in-reveal {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: 
    clip-path 1.5s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-reveal.show {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.fade-in-reveal:nth-child(1) { transition-delay: 0.2s; }
.fade-in-reveal:nth-child(2) { transition-delay: 0.5s; }
.fade-in-reveal:nth-child(3) { transition-delay: 0.8s; }
.desc.fade-in-reveal.mv-text {
  transition-duration: 4s;
  transition-delay: 0.2s;
}
/* buttom--- */
.linkbtn{
display: flex;
  justify-content: flex-end;
/*margin-bottom:140px;*/
margin-top:56px;
}
.linkbtn a{
  position: relative;
  display: inline-block;
  padding: 16px 120px;
  background-color: #212836;
  color: #fff;
  text-decoration: none;
  margin-left: auto;       /* 右寄せ（flex 親が必要） */
  margin-right: 0;
  font-size: 16px;
font-family: "Nunito Sans", sans-serif;
	font-weight: 800;
  border:1px solid #212836;
}

.linkbtn a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0; /* 右端 */
  transform: translateY(-50%);
  width: 32px;
  height: 1px;
  background-color: #fff;
}
.linkbtn a:hover {
  background-color: #fff;
  color: #212836;
  border:1px solid #212836;
}

.linkbtn a:hover::before {
  background-color: #212836;
}


@media screen and (max-width:768px) {
.txt16{
font-size:14px;
}
	
.toph2{
font-size:40px;
margin:64px 0 24px 0;
padding:0;
}
.toph3{
font-size:16px;
padding:0;
font-weight: 600;
}

ul.aboutmenu{
flex-flow: column;
align-items: center;
background: linear-gradient(to bottom, transparent 0px, transparent 140px, #eee 140px, #eee 100%);
}
ul.aboutmenu li{
width: 70%;
margin-bottom: 32px;
}

.txt20 {
font-size: 16px;
padding:0 20px;
}
.linkbtn{
margin:48px 0 0 0;
justify-content: center;
}
.linkbtn a{
  padding: 16px 0;
  margin-left: 0;
 text-align:center;
width:100%;
}
}
/* our group
--------------------------------------------- */
.carousel {
  overflow: hidden;
  width: 100%;
  height: auto;
  margin: auto;
}

.carousel-track {
  display: flex;
  animation: slide 30s linear infinite;
}

.carousel-track img {
  width: 100%;
  flex: 0 0 100%;
  object-fit: cover;
}

/* アニメーションで左にスライド */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
@media screen and (max-width:768px) {

.carousel {
padding: 0 0 ;

  }

  .carousel-track {
  
    width: 320%;
	height: 320px;
  }

  }

/* recruit
--------------------------------------------- */

.sec_recruit{
background: linear-gradient(to bottom, transparent 0px, transparent 140px, #eee 140px, #eee 100%);
padding-bottom:122px;
}
.top_recruitimg{
max-width:1620px;
margin:0 auto;
}
/* news
--------------------------------------------- */

.newslist{
list-style:none;
margin:0;
padding:0;
font-size:18px;
font-family: "Nunito Sans", sans-serif;
font-weight: 600;
padding: 10px 20px;
}
.newslist li{
display: flex;
align-items: self-start;
margin-bottom:42px;
}
.newslist div:first-child{
display: flex;
  align-items: center;
  gap: 16px; /* 間隔調整 */
  flex-wrap: wrap;
width:320px;
}
.newslist div:first-child .dateline {
  flex: 1;
  height: 1px;
  background-color: #212836;
  max-width:48px;
}
.newslist div:first-child .categories {
  background-color: #212836;
  color: #fff;
  padding: 4px 32px 6px 32px;
  white-space: nowrap;
font-family: "Nunito Sans", sans-serif;
	line-height: 1;
}
.newslist div:last-child {
flex: 1;
font-family: Noto Sans JP,ヒラギノ角ゴ ProN W3,Meiryo,sans-serif;
font-weight: 500;
}
.newslist div:last-child a{
color:#212836;
text-decoration:none;
line-height:1.4;
font-size:16px;
}
.newslist div:last-child a:hover{
color:#666;
}

.wp-block-image :where(figcaption) {
font-size: var(--wp--preset--font-size--small) !important;
color: #9f9f9f;
}


/* more buttom--- */
.morebtn{
display: flex;
  justify-content: flex-end;
}
.morebtn a{
  position: relative;
  display: inline-block;
  padding: 16px 120px;
  background-color: #212836;
  color: #fff;
  text-decoration: none;
  margin:50px auto 0 auto;
  font-size: 16px;
font-family: "Nunito Sans", sans-serif;
  border:1px solid #212836;
	font-weight: 800;
}

.morebtn a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0; /* 右端 */
  transform: translateY(-50%);
  width: 38px;
  height: 1px;
  background-color: #fff;
}
.morebtn a:hover {
  background-color: #fff;
  color: #212836;
  border:1px solid #212836;
}

.morebtn a:hover::before {
  background-color: #212836;
}


@media screen and (max-width:768px) {
.sec_recruit{
padding:40px 0 80px 0;
}
	
.top_recruitimg img{
height: 320px;
object-fit: cover;
}
	
.newslist{
padding:0 20px;
}
.newslist li{
flex-flow: column;
}

.newslist div:last-child {
margin-top:20px;
font-size:16px;
}
.newslist div:first-child .categories {
 font-size:16px;
}
.newslist div:first-child{
width:100%;
}

.morebtn{
padding:20px;
margin-bottom:0;
}
.morebtn a{
  padding: 16px 0;
  width:100%;
  margin:0 auto;
  font-size: 16px;
  text-align: center;
}
.morebtn a::before {
	width: 24px;
}


}
/* guide
--------------------------------------------- */
.guide{
max-width:800px;
margin:0 auto;
padding:64px 0;
display:flex;
gap: 64px;
}
.guide a{
border:2px solid #212836;
color:#212836;
padding:20px;
width: 100%;
    text-align: center;
}
.guide a:hover{
background:#212836;
color:#fff;
}

@media screen and (max-width:768px) {
.guide{
flex-flow: column;
align-items: center;
gap:8px;
}
.guide a{
margin-bottom:20px;
font-size: 14px;
}
}

/* footer
--------------------------------------------- */

.scroll-top {
  position: absolute;
  bottom: -50px;
  right: 0;
  width: 84px;
  height: 297px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  z-index: 10;
}

a.scroll-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 84px;
  height: 300px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  z-index: 10;
  text-decoration: none;
}


.scroll-top .line {
  width: 2px;
  height: 146px;
  background-color: black;
  transform-origin: bottom;
  animation: stretchDown 1.5s ease-in-out infinite;
  margin-bottom: 16px;
}

.scroll-top .scroll-text {
  font-size: 16px;
  color:#212836;
font-weight:bold;
  letter-spacing: 1px;
font-family: "Nunito Sans", sans-serif;
font-weight: 800;
writing-mode: vertical-rl;
}

/* 線が上から下へ伸びて消えるアニメーション */
@keyframes stretchDown {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    opacity: 0;
  }
}

footer{
position:relative;
/*margin-top: 150px;*/
}
#footer-menu{
display:flex;
flex-wrap: wrap;
max-width: 1080px;
margin: 0 auto;
padding:0;
}
#footer-menu li{
margin:0 24px 20px 0;
list-style: none;
}

.footer-navigation{
background:#212836;
margin:0 0 40px 0;
padding: 40px 16px 56px 16px;
}
.footer-navigation ul a{
color:#fff;
font-family: "Nunito Sans", sans-serif;
font-weight: 900;
}
#footer-menu li:last-child{
width:100%;
}


.logo{
text-align:center;
padding-bottom:15px;
max-width: 1080px;
margin: 0 auto;
}
.logo img{
margin-bottom:20px;
}
.logo p{
font-size:12px;
}
.copy{
text-align:center;
font-size:12px;
}
@media screen and (max-width:768px) {

#footer-menu li{
	margin: 0 16px 16px 0;
	}
	
.spnone{
display:none !important;
}
.logo{
padding:20px;
display: flex;
flex-flow: column;
align-items: center;
}
.logo p{
font-size:10px;
}
}



/* 下層 共有mv
--------------------------------------------- */
.pt60{padding-top:60px;}
.pb30{padding-bottom:30px;}
.pb60{padding-bottom:60px;}


.fb{font-weight:bold !important;}


.page-main{
padding: 120px 0;
background-image: url(https://silverbacks-principal.com/wp-content/themes/silverbacks/img/gray-bg.jpg);
}

.mv2 {
  width: 100vw;
  height: 70vh;
  overflow: hidden;
  position: relative;
  background: #000;
}
.mv2::after {
content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
z-index: 10; 
  background: linear-gradient(to right, #212836 50%, #E8E8E8 50%);
}
.mv2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
/*opacity: 80%;*/
}


.cont_inner{
margin:0 auto 80px auto;
max-width:1100px;
padding: 0 20px;
}
.cont_inner h2{
/*font-size:24px;*/
font-size:18px;
line-height: 1.8;
font-weight: 500;
}
.desc2 {
bottom: 8vh;
left: 6vw;
right: 0;
position: absolute;
display: flex;
flex-flow: column;
z-index: 9999;
}
.desc2 h1{
    margin:0;
}
.desc2 div{
    margin-bottom:30px;
}
.desc2 div span{
   font-size: 30px;
    padding: 16px 24px;
    background: #fff;
    display: inline-block;
    color: #A2A2A2;
    font-family: "Nunito Sans", sans-serif;
	line-height: 1;
	font-weight: 800;
}

.desc2 h1 span{
background: #fff;
display: inline-block;
padding: 16px 24px;
line-height: 1;
color: #2F2F2F;
font-family: "Nunito Sans", sans-serif;
font-size:48px;
font-weight: 900;
}

.desc2 p{
margin:0;
}
.desc2 p span{
background: #fff;
display: inline-block;
padding: 30px 18px;
color: #2F2F2F;
font-family: "Jost", sans-serif;
font-size:71px;
font-weight: bold;
}
@media (max-width: 768px) {
.page-main{
    padding: 60px 10px;
  }

section {
  margin: 40px auto 0 auto;
	}
.cont_inner{
	margin:  0 auto;
}
.desc2 {
    bottom: 6vh;
    left: 0;
    right: 0;
    padding: 20px;
}

.desc2 div span{
font-size: 24px;
padding: 12px;
}
.desc2 h1 span{
font-size:36px;
}

.desc2 p span{
font-size:48px;
}
.desc2 div{
    margin-bottom:16px;
}
.cont_inner h2{
font-size:16px;
line-height: 1.8;
}
	
.pt60{padding-top:60px;}
.pb30{padding-bottom:30px;}
.pb60{padding-bottom:40px;}
}



h2.leftline {
  position: relative;
  display: inline-block;
font-size: 40px;
    font-family: "Nunito Sans", sans-serif;
    color: #212836;
   margin: 0 0 54px 0; 
    line-height: 1.5;
	font-weight: 900;
 
}

h2.leftline::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 0;
  width: 24px;
  height: 3px;
  background-color: #212836;
}
.leftline2 {
  position: relative;
  display: inline-block;
font-size: 40px;
    font-family: "Nunito Sans", sans-serif;
    color: #fff;
   margin: 0 0 54px 0; 
    line-height: 1.5;
	font-weight: 900;
 
}

h2.leftline2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 3px;
  background-color: #fff;
}

@media screen and (max-width: 768px) {
   h2.leftline,h2.leftline2{
        font-size: 32px;
	   margin-bottom: 32px;
    }
}
/* 下層 company 共通
--------------------------------------------- */
.andmore{
margin:0 auto;
max-width:750px;
}

/* 下層 message
--------------------------------------------- */
.message-cnt h2
{font-size: 24px;
font-weight: 600;
}

.message-box {
  position: relative;
  background-color: #fffefec9;
  padding: 56px;
 /* max-width: 1080px;*/
 /*background-image: url(https://silverbacks-principal.com/wp-content/themes/silverbacks/img/white-bg.jpg)*/
}

/*.message-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 100%;
  background: linear-gradient(to right, #212836 50%, #eee 50%);
}

.message-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 24px;
  width: 100%;
  background: linear-gradient(to right, #eee 50%, #212836 50%);
}*/

.message-box .history_inner{
 display: flex;
  flex-wrap: wrap;
max-width: 1080px;
    margin: 0 auto;
}
.message-box .history_inner .img{
display:flex;
justify-content: center;
}
.message-box .history_inner .img img{
max-width:400px;
}
.message-box .history_inner .img, 
.message-box .history_inner .text {
 flex: 0 0 50%;
  max-width: 50%;
  box-sizing: border-box;
  padding: 16px;
}

@media (max-width: 768px) {
.message-box {
    flex-direction: column;
    align-items: flex-start;
	padding: 0 10px 20px 10px;
  }
	
.message-cnt h2
{font-size: 20px;
}
	
.message-img
{height: 300px;
object-fit: cover;
}

.message-box .history_inner .img, 
.message-box .history_inner .text  {
    flex: 0 0 100%;
    max-width: 100%;
  }

.message-box .history_inner .img{
		padding: 10px 0 0 0;
	}

.message-box .history_inner .img img{
max-width:100%;
}
	
}

/* 下層 business
--------------------------------------------- */
.business-wrap {
  max-width: 1000px;
  margin: 50px auto;
}

.business-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.business-list li {
  width: 32%;
  box-sizing: border-box;
}

.business-list li p{
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  margin: 4px auto;
}

.business_box{
  display: block; /* aタグが block化  */
  border: 2px solid #212836;
  background-color: #fff;
  color: #212836;
  text-align: center;
  position: relative;
  padding: 20px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  text-decoration: none; /* 下線消す */
}

.business_box .bline {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background-color: #212836;
  transition: background-color 0.3s ease;
}

.business_box:hover {
  background-color: #212836;
  color: #fff;
}

.business_box:hover .bline {
  background-color: #fff;
}
.business_inner{
margin-top: 100px;
}
.business_inner h4{
scroll-margin-top: 100px;
font-size: 24px;
margin:56px 0 32px 0;
display:flex;
}
.business_inner h4 span{
font-size: 18px;
  background: black;
  padding: 6px 16px 4px 16px;
  color: #FFF;
  margin-right: 16px;
  font-family: "Nunito Sans", sans-serif;
}
.business_inner h5{
font-size:20px;
line-height:1.5;
margin:0;
font-weight: 400;
}

@media screen and (max-width: 768px) {
	
.business_inner img{
height: 240px;
object-fit: cover;		
}
   
.business-list {
    flex-flow: column;
}
.business-list li {
    width: 100%;
	margin-bottom: 16px;

}
.business_box {
    padding: 16px;
    font-size: 18px;
}
.business_inner h4 {
    font-size: 24px;
 flex-direction: column;
margin: 32px auto 16px auto;
}

.business_inner h4 span {
font-size: 18px;
  display: inline-block;
  width: fit-content;
 padding: 2px 10px;
margin-bottom: 8px;
}
.business_inner h5 {
    font-size: 18px;

}
}


/* 下層 profile
--------------------------------------------- */

/* 会社概要--------------- */
.profile-list {
  width: 100%;
  display: grid;
  grid-template-columns: 30% 70%;
  border-top: 1px solid #D5D4D4;
}

.profile-list dt,
.profile-list dd {
  padding: 24px 0;
  border-bottom: 1px solid #D5D4D4;
}

.profile-list dt {
  padding-left:40px;
}

.profile-list dd {
  margin: 0;
}

.map-wrap {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-top:30px;
}

.map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%);
}
/*沿革--------------- */
.profile_history{
background:#606060;
color:#fff;
}
.profile_history .history_inner{
margin:0 auto 80px auto;
max-width:1100px;
padding:80px 20px 80px 20px;
}

.profile_history .history_inner .timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile_history .history_inner .timeline li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 30px;
}

.profile_history .history_inner .timeline li::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 16px;
  bottom: -40px;
  width: 2px;
  background-color: #fff;
}

.profile_history .history_inner .timeline li:last-child::after {
  display: none;
}

.profile_history .history_inner .timeline .w-circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  left: 10px;
  top: 1em;
  transform: translateY(-50%);
  z-index: 2;
}

.profile_history .history_inner .timeline div {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;

}

.image-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.image-flex li {
  flex: 0 0 calc(33.333% - 18px); 
  margin: 0;
  padding: 0;
}

.image-flex img {
  width: 100%;
  height: auto;
  display: block;
}


@media (max-width: 768px) {
.profile-list  {
    grid-template-columns: 100%;
  }
.profile-list dt {
  padding-left:0;
border-bottom:none;
padding: 12px 0 0 0;
font-weight:bold;
}
.profile-list dd {
  margin: 0;
padding: 0 0 12px 0;
}
.image-flex li {
    flex: 0 0 calc(50% - 12.5px); /* 2列に切り替え */
  }
.profile_history .history_inner .timeline {
	line-height: 1.8;
	}
}
/* 下層 news
--------------------------------------------- */
.news_inner{
margin:40px auto 20px auto;
max-width:1100px;
padding: 56px 64px;
background-color: #FFF;
}

.news_inner .date{
font-family: "Nunito Sans", sans-serif;
margin: 0;
font-weight: 600;
	
}
.news_inner h1{
font-weight:normal;
font-size:24px;
margin: 20px 0 50px 0;
line-height: 1.6;
}

.news_inner h2.wp-block-heading{
font-weight:normal;
font-size:20px;
line-height: 1.6;
font-weight: 500;
margin-bottom: 24px;
}
.news_inner h3.wp-block-heading{
font-weight:normal;
font-size:20px;
border-bottom: 1px solid #e1e1e1;
    padding-bottom: 10px;
    margin-bottom: 20px;
line-height: 1.6;
}
.news_inner p{
margin:0 0 42px 0;
}


@media (max-width: 768px) {
.news_inner{
margin: 20 auto;
width: 100%;
padding: 20px;
}
.news_inner h1{
font-size:22px;
}
.news_inner h2.wp-block-heading{
font-size:18px;
}
.news_inner h3.wp-block-heading{
font-size:18px;
}
.news_inner p{
font-size: 14px;
margin:0 0 24px 0;
}

}
/* 下層 M&A guidelines
--------------------------------------------- */

.guide-underline {
    text-decoration: underline;
}
.guide-note {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
	margin:32px 0;
}

.guide-h3{
	font-weight: normal;
    margin: 30px 0 20px 0;
}


.guide-ol{
margin: 0 0 42px 0;
}
.guide-ol li{
margin: 0 0 20px 0;
}
.guide-ol li{
margin: 0 0 20px 0;
}
.guide-ol li:last-child{
margin: 0;
}
.guide-ol li ul.disc {
    list-style: disc;
    margin:0 0 0 20px;
	padding:0;
}
.guide-ol li ul.disc li{
    margin:0;
}

.guide-ol li ul.num {
    padding-left: 1em;
    text-indent: -1em;
	list-style: none;
}
.guide-ol li ul.num li {
    margin: 0;
}

.guide-mb20 {
    margin: 0 0 20px 18px;
}
.f-right {
    text-align: right;
}


@media (max-width: 768px) {
.guide-ol{
		font-size: 0.9rem;
margin: 0 0 24px 0;
	}
.guide-h3{font-size: 16px;}
}

/* 下層 group top
--------------------------------------------- */
.mt100{margin-top:100px !important;}
.mt80{margin-top:80px}
.mt0{margin-top: 0;}
.mb0{margin-bottom: 0 !important;}
.mb42{margin-bottom:42px !important;}
ul.group_list {
padding:0;
}
ul.group_list li{
display:flex;
gap: 40px;
margin-bottom:80px;
}
ul.group_list li div{
width:50%;
position: relative;
}
ul.group_list li div h2{
margin:0 0 16px 0;
border-bottom: 1px solid #D5D4D4;
padding-bottom: 10px;
font-size: 20px;
}
ul.group_list li div h2 span{
font-size:16px;
}
ul.group_list li div:first-child > div:last-child{
flex-direction: row;
justify-content: end;
}
ul.group_list li div:last-child{
display:flex;
flex-direction: column;
}
ul.group_list li div:last-child p:first-of-type{
margin:0;
}
ul.group_list li div p:last-child{
text-align:right;
margin: auto auto 0 auto;
}
ul.group_list li div .swiper{
width:100%;
padding-bottom: 20px;
max-width: 510px;
}
ul.group_list li div .swiper-wrapper{
width:100%;
}
ul.group_list li div .swiper-pagination {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 10;
padding-right:10px;
}

ul.group_list li div .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #212836 !important;  
  transform: scale(1.3); 
}


ul.group_list li div .swiper-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background-color: #ccc;
  margin: 0 6px;
  opacity: 1;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 768px) {
	ul.group_list li div .swiper{
		max-width: 100%;
	}
	.smb0{margin-bottom: 0!important;}
}



/* more buttom2--- */

.morebtn2 a{
  position: relative;
  display: inline-block;
  padding: 8px 80px;
  background-color: #212836;
  color: #fff;
  text-decoration: none;
  margin:0 auto;
  font-size: 16px;
  font-weight:bold;
  border:1px solid #212836;
min-width:320px;
text-align:center;
}

.morebtn2 a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0; /* 右端 */
  transform: translateY(-50%);
  width: 38px;
  height: 1px;
  background-color: #fff;
}
.morebtn2 a:hover {
  background-color: #fff;
  color: #212836;
  border:1px solid #212836;
}

.morebtn2 a:hover::before {
  background-color: #212836;
}
@media (max-width: 768px) {
.mt100{margin-top:40px;}
.mb42{margin-bottom:24px;}
ul.group_list li{
flex-direction: column;
gap: 0;

}
ul.group_list li div{
width:100%;
}
ul.group_list li div h2{
margin:20px 0 20px 0;
font-size:20px;
}
ul.group_list li div p:last-child{
text-align:center;
margin: 20px 0 0 0;
}
.morebtn2 a{
  padding: 10px 0;
  width:100%;
  margin:0 auto;
  text-align: center;
}
	.morebtn2 a::before{width: 24px;}
}
/* 下層 group のさらに下層
--------------------------------------------- */
/*パンクズ----- */
.breadcrumb {
  text-align: right;
 padding:20px;
font-size: 12px;
font-family: "Nunito Sans", sans-serif;
position: relative;
  left: 0;
  bottom: -120px;
}

.breadcrumb ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
color:#9FA0A0;
justify-content: flex-start;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: ">";
  margin: 0 0.5em;
  color: #888;
}
.breadcrumb li a{
  color:#9FA0A0;
}

ul.group-footer{
display: flex;
  flex-wrap: wrap;
  gap: 1em;
  list-style: none;
padding:0;
margin:160px 0 0 0;
}
ul.group-footer li{
width: calc(25% - 1em);
  text-align: center; 

}
ul.group-footer li a{
width: 100%;
position: relative;
  display: flex;
justify-content: center;
    align-items: center;
height:100%;
  padding: 10px 38px;
  text-decoration: none;
  margin:0 auto;
  font-size: 16px;
  font-weight:bold;
  border:1px solid #212836;
text-align:center;
color:#212836;
}
ul.group-footer li a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0; /* 右端 */
  transform: translateY(-50%);
  width: 38px;
  height: 1px;
  background-color: #212836;
}
ul.group-footer li a:hover {
  background-color: #212836;
  color: #fff;
  
}

ul.group-footer li a:hover::before {
  background-color: #fff;
}
@media (max-width: 768px) {
ul.group-footer{
margin:50px 0 0 0;
}

ul.group-footer li{
width: calc(50% - 0.5em);
}
ul.group-footer li a{
  padding: 10px 25px;
}
ul.group-footer li a::before {
  width: 20px;
}

}
/* 下層 contactform
--------------------------------------------- */

.wpcf7-form input[type="submit"] {
    -webkit-appearance: none;
    position: relative;
    display: inline-block;
    padding: 16px 60px;
    background-color: #212836;
    color: #fff;
    text-decoration: none;
    margin: 0 auto;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Arial Black', Gadget, sans-serif;
    border: 1px solid #212836;
    min-width: 360px;
    text-align: center;
}
.wpcf7-form .forminner{
max-width:800px;
margin:0 auto;
}
.wpcf7-form .forminner dt{
font-weight:normal;
}
.wpcf7-form .forminner dt p{
margin-bottom:4px;
padding: 0 4px;
}
.wpcf7-form .forminner dd{
margin:0 0 32px 0;
}
.wpcf7-form .forminner dd p{
margin:0;
}
.wpcf7-form .forminner dd .txt01 {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    /*border-radius: 3px;*/
    background: #fff;
    border: 1px solid #E1E1E1;
}
.wpcf7-form .formtable dd textarea {
  resize: vertical;
}



.wpcf7submit {
    text-align: center;
    margin: 54px 0 0 24px;
}
@media (max-width: 768px) {
  .wpcf7-form input[type="submit"] {
min-width:100%;
}
.wpcf7submit {
    text-align: center;
    margin: 36px 0;
}
}


/* 下層 M&A commission
--------------------------------------------- */

table.ryoukin{
width:100%;
min-width: 600px;
}
table.ryoukin tr, table.ryoukin th, table.ryoukin td{
padding:20px;
border-bottom:1px solid #212836;
}
@media (max-width: 768px) {
.flow-x{
overflow-x: auto;
}
}
/* 下層 recruit
--------------------------------------------- */
.bg_white{
background-image: none !important;
  background-color: #fff !important;
}


.recruit_anchor {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 auto 80px auto;
  max-width:800px;
}

.recruit_anchor li {
  width: 40%;
  box-sizing: border-box;
}

.recruit_anchor_box{
  display: block; /* aタグが block化  */
  border: 2px solid #2F2F2F;
  background-color: #2F2F2F;
  color: #fff;
  text-align: center;
  position: relative;
  padding: 10px 20px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  text-decoration: none; /* 下線消す */
}

.recruit_anchor_box .bline {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.recruit_anchor_box:hover {
  background-color: #fff;
  color: #2F2F2F;
}

.recruit_anchor_box:hover .bline {
  background-color: #2F2F2F;
}

/* recruit news------- */
.recruit_news_inner{
padding: 54px;
margin:80px auto;
background:#fff;
}

.recruit_newslist{
list-style:none;
margin:0;
padding:0;
font-size:16px;
font-family: "Nunito Sans", sans-serif;
padding: 10px 20px;
}
.recruit_newslist li{
display: flex;
align-items: center;
margin-bottom:20px;
border-bottom:1px solid #9FA0A0;
padding-bottom:20px;
}
.recruit_newslist div:first-child{
background-color: #212836;
    color: #fff;
    padding: 0 30px;
margin-right:64px;
}


.recruit_newslist div:last-child {
flex: 1;
}
.recruit_newslist div:last-child a{
color:#212836;
text-decoration:none;
line-height:1.4;
font-size:16px;
}
.recruit_newslist div:last-child a:hover{
color:#666;
}
.recruit_top_mid h2,
.new_gra_recruite h2{
	font-size: 32px;
	font-weight: 800;
scroll-margin-top: 100px;
}

.new_gra_inner{
display:flex;
gap: 42px;
margin: 40px auto 80px auto;
}
.new_gra_inner .outer-box{
/*border:1px solid #CCC;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);*/
padding:54px;
background:#fff;
}
.new_gra_inner .outer-box h3{
margin:0 auto 16px auto;
font-size:24px;
}
.new_gra_inner .outer-box h3 span{
color:#B2B2B2;
display:block;
font-size:20px;
font-family: "Nunito Sans", sans-serif;
}
.new_gra_inner .outer-box ul{
margin:0;
padding-left:30px;
}
.new_gra_inner .outer-box .morebtn{
width:100%;
}
.new_gra_inner .outer-box .morebtn a{
width:100%;
padding:16px;
margin: 30px auto 0 auto;
display: flex;
justify-content: center;
}

.recruit_top_mid ul{
list-style:none;
margin:0;
padding:0;
}
.recruit_top_mid ul li{
background:#fff;
margin-bottom:10px;
padding:8px 16px;
}
.mid-more{
min-width:483.6px;
text-align: center;
}
@media (max-width: 768px) {
.new_gra_inner {
  flex-flow: column;
}
.recruit_anchor{
margin: 0 auto 60px auto;
}
.recruit_anchor li {
    width: 45%;
}
.recruit_news_inner {
    padding: 40px 20px;
    margin: 50px auto 30px 0;

}
.recruit_news_inner .morebtn{
margin-bottom:0;
}

.recruit_newslist{
padding:0;}
.recruit_newslist li {
    flex-flow: column;
align-items: flex-start;
padding-bottom: 10px;
    }
.recruit_newslist div:first-child {
   margin-bottom:10px;
    margin-right: 0;
}
.sp_mt0{
margin-top:0;
}
.sp_mb0{
margin-bottom:0;
}
.new_gra_inner .outer-box{
padding:20px;
}
.new_gra_inner .outer-box h3 {
	font-size: 20px;
	}
	
.new_gra_inner .outer-box .morebtn{
margin-bottom: 0;
padding:0 10px;
}
.new_gra_inner .outer-box .morebtn a {
    margin: 20px auto 0 auto;
	padding: 16px 40px;
}
.mid-more{
min-width:100%;
}
}
/* 下層 recruit mid-career
--------------------------------------------- */
.detail {
  display: grid;
  grid-template-columns: 200px 1fr;
background:#fff;
padding:50px 80px 80px 80px;
}

.detail dt,
.detail dd {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .detail {
    display: block;
padding:15px;
  }
.detail dt
{
  border-bottom: none;

}
}