/*
Theme Name: SUNBOX建築岐阜										
*/

@charset "utf-8";

/* Reset CSS */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  background: transparent;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}
*:focus:not(:focus-visible),
*:focus-visible {
  outline: none;
}

/* 基本 CSS */
.sp {
  display: none;
}
.pc {
  display: block;
}
body {
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #222222;
  background-color: #f2f2f2;
  position: relative;
  font-feature-settings: 'palt';
}

.header-flex {
  padding-left: 10px;
}

.header-flex a {
  line-height: 0;
  transition: 0.5s;
}
.header-flex .wrap {
  display: flex;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  height: 100px;
  align-items: center;
}
.header-flex img {
  height: 100px;
  width: auto;
}
.header-bt {
  display: flex;
  justify-content: flex-end;
  height: 100%;
}

.h-bt-works {
  background-color: #fff;
  aspect-ratio: 1 / 1;
}
.h-bt-works:hover {
  background-color: #fffdd4;
}
.h-bt-apply {
  background-color: #e4352b;
  aspect-ratio: 1 / 1;
}
.h-bt-apply:hover {
  background-color: #e4352b;
}

nav {
  background: #ea712d;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 959px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  .header-flex {
    width: calc(100% - 50px);
    height: 56px;
    padding-left: 0px;
  }
  .header-flex img {
    height: 50px;
  }
  .header-bt {
  }

  header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    z-index: 18;
  }
  nav {
    height: 56px;
    aspect-ratio: 1 / 1;
  }
  nav nav {
    display: inline;
  }
  .header-bt > a img {
    height: unset;
  }
}

.menu__box {
  display: flex;
  flex-direction: row;
  list-style-type: none;
}

@media screen and (max-width: 959px) {
  .menu__box {
    flex-direction: column;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    margin: -600px 0 0 0;
    padding: 0.6em 0;
    text-align: center;
    background-color: #604c3f;
    box-shadow: 1px 0 6px rgba(0, 0, 0, 0.2);
    z-index: 20;
    transition-duration: 0.5s;
  }
}
.menu__item {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  color: #ffffff;
  font-weight: 400;
  text-decoration: none;
}
.menu__item span {
  border-left: 1px solid #fff;
  padding: 0 1.5vw;
}
@media screen and (max-width: 959px) {
  .menu__item {
    display: block;
    padding: 6px 0px;
    color: #ffffff;
    font-size: 15px;
    transition-duration: 0.5s;
  }
  .menu__item:hover {
    background-color: #4f5464;
  }

  .menu__item span {
    border-left: none;
    padding: 0;
  }
}
#menu__toggle {
  opacity: 0;
  display: none;
}
#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
  background: #e4352b;
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
  background: #e4352b;
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
  margin: 0;
  padding: 15px 0 30px 30px;
  text-align: left;
}
.menu__btn {
  transition-duration: 0.25s;

  display: flex;
  align-items: center;
  position: relative;
  bottom: 2px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 22;
}
.menu__btn span {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
}
.menu__btn span::before {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  content: '';
  top: -8px;
  transition-duration: 0.25s;
}
.menu__btn span::after {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  content: '';
  top: 8px;
  transition-duration: 0.25s;
}
@media screen and (min-width: 959px) {
  .menu__btn {
    display: none;
  }
}

a.anchor {
  display: block;
  padding-top: 70px;
  margin-top: -70px;
}

.pagination {
  margin: 10px 0 0;
  background: unset;
  aspect-ratio: initial;
}
.nav-links {
  display: flex;
}
.pagination .page-numbers {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 15px;
  color: #0f1419;
  background: #fff;
  border: 1px solid #e4352b;
}
.pagination .current {
  background: #e4352b;
  color: #fff;
}
.pagination .prev,
.pagination .next {
  background: transparent;
  box-shadow: none;
  color: #e4352b;
  border: none;
  padding: 0;
}
.pagination .prev:before {
  content: '<<';
  padding-right: 5px;
}
.pagination .next:after {
  content: '>>';
  padding-left: 5px;
}
.pagination .dots {
  background: transparent;
  box-shadow: none;
  border: none;
}

/* メールフォーム */
section.apply {
  max-width: 1100px;
  margin: 30px auto;
  background-color: #fff;
  border-radius: 14px;
  padding: 40px 30px 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.apply-title {
  font-size: 30px;
  text-align: center;
  color: #59463b;
}
.apply-hoso {
  padding: 30px 0 15px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
}
.apply-hoso b {
  font-size: 24px;
  font-weight: 600;
  color: #e4352b;
}
.Form {
  margin: 15px auto;
  max-width: 800px;
}
.Form .hoso {
  font-size: 15px;
  padding-top: 20px;
  font-weight: 400;
  letter-spacing: 0.01rem;
}
.apply-thx-come {
  text-align: center;
  font-size: 18px;
  line-height: 2;
  padding: 30px 0;
}

@media screen and (max-width: 480px) {
  section.apply {
    width: calc(100% - 30px);
    margin: 20px auto;
    padding: 20px 15px;
  }
  .apply-title {
    font-size: 17px;
  }
  .apply-hoso {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    text-align: justify;
  }
  .apply-hoso b {
    font-size: 15px;
    font-weight: 600;
    color: #e4352b;
  }
  .Form {
    width: 100%;
  }
  .Form .hoso p {
    display: flex;
    justify-content: flex-start;
  }
  .Form .hoso .red {
    font-size: 88%;
  }
  .apply-thx-come {
    text-align: justify;
    font-size: 88%;
    line-height: 2;
    padding: 20px 0;
  }
  .wpcf7-list-item {
    margin: 0 !important;
  }
}
.Form-Item {
  border-bottom: 1px dashed #ddd;
  padding: 24px 0;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 480px) {
  .Form-Item {
    padding: 0 0 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }
}

.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
    margin-bottom: 10px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
    margin-bottom: 10px;
  }
}
.Form-Item-Label-Required {
  border-radius: 4px;
  margin-right: 8px;
  padding-top: 3px;
  padding-bottom: 3px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #e4352b;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #fff;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Input {
    width: 100%;
    margin-left: 0;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #fff;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    width: 100%;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}

.Form-Item-select {
  border: 1px solid #ccc;
  height: 48px;
  width: 410px;
  padding: 0.4em 0.8em;
  margin-left: 40px;
  border-radius: 6px;
  color: #333;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-select {
    width: 100%;
    margin-left: 0;
    height: 40px;
    font-size: 15px;
  }
}

.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 300px;
  display: block;
  letter-spacing: 0.05em;
  background: #e4352b;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  border: none;
}

@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 80%;
    font-weight: 500;
  }
}

.hisu {
  font-size: 0.75rem;
  padding-left: 8px;
  color: #e4352b;
}

/* 子メニュー */
.menu_sub_box {
  display: none;
  position: absolute;
  z-index: 30;
  top: 40px;
  width: 100%;
  background-color: #604c3f;
  color: #fff;
  transition: 0.5s;
}

.menu__box .-child {
  position: relative;
  transition: 0.5s;
}
.menu__box .-child a {
}
.menu_sub_box a {
  display: block;
  padding: 8px 5px 8px 22px;
  width: 100%;
  transition: 0.5s;
}
.menu_sub_box a:hover {
  background-color: #e4352b;
  transition: 0.5s;
}

@media screen and (min-width: 960px) {
  .menu__box .-child:hover .menu_sub_box {
    display: block;
    transition: 0.5s;
  }
}
@media screen and (max-width: 959px) {
  .menu_sub_box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    top: unset;
    padding: 0 10px 10px 20px;
    background-color: inherit;
  }
  .menu_sub_box li {
    width: 50%;
    font-size: 14px;
    text-align: left;
  }
  .menu__box .menu_sub_item:before {
    content: '-';
    display: inline-block;
    padding-right: 5px;
    font-size: 18px;
  }
  .menu_sub_box a {
    display: block;
    padding: 4px 0;
    width: 100%;
    transition: 0.5s;
  }
}

/* プライバシーポリシー */
.privacy {
  max-width: 1100px;
  margin: 0 auto;
  text-align: justify;
}
.privacy p {
  line-height: 2;
  padding: 0 1rem;
}
.privacy h2 {
  margin: 3rem 0 15px 0;
  padding: 0.5rem 0 0.5rem 1rem;
  font-size: 1.5rem;
  border-left: 5px solid #e4352b;
}
.privacy ol {
  margin: 20px 0 0 50px;
}
.privacy ol li {
  position: relative;
  list-style: outside decimal;
  padding: 0.5rem 0;
}
.privacy ol li:first-child {
  padding-top: 0;
}
.privacy ol li::marker {
  font-size: 130%;
  font-weight: 700;
  color: #604c3f;
}
.privacy .tR {
  text-align: right;
  padding-top: 1rem;
  font-size: 90%;
}

@media screen and (max-width: 480px) {
  .privacy p {
    line-height: 1.6;
    padding: 0 0.5rem;
  }
  .privacy h2 {
    margin: 1.5rem 0 10px 0;
    padding: 0.3rem 0 0.3rem 0.5rem;
    font-size: 1.2rem;
  }
  .privacy ol {
    margin: 20px 0 0 40px;
  }
  .privacy ol li ol {
    margin: 20px 0 0 25px;
  }
}

.upper-roman > li {
  list-style-type: upper-roman !important;
}
.lower-roman > li {
  list-style-type: lower-roman !important;
}

.mail {
  text-align: left;
}
.mail a {
  color: #e4352b;
  letter-spacing: 0.1rem;
}
.mail a:hover {
  border-bottom: 1px solid #e4352b;
}

.single-post-waku > p > a {
  padding: 0 3px;
  border-bottom: 2px dotted #b11e23;
  transition: 0.5s;
  display: inline-block;
}
.single-post-waku > p > a:hover {
  color: #e4352b;
  border-bottom: 2px dotted;
}

/*　reCAPTCHA　*/
.grecaptcha-badge {
  visibility: hidden;
}
.reC {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
}
@media screen and (max-width: 480px) {
  .reC {
    font-size: min(3vw, 0.8rem);
  }
}
.caption {
  text-align: center;
  padding-top: 5vw;
}
.caption a {
  color: #37b446;
  transition: 0.3s;
}
.caption a:hover {
  border-bottom: 2px dotted #37b446;
}

/* 個人情報取り扱い（フォーム） */
.privacy-policy-container {
  padding: 24px 0;
  /* border-top: 1px dashed #ddd; */
}
.privacy-policy-title {
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  margin-bottom: 15px;
}
.privacy-policy-text {
  max-width: 800px;
  height: 150px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 1em;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 auto;
}
.privacy-policy-text strong {
  font-weight: bold;
  display: block;
  margin-top: 1em;
}
.privacy-policy-text strong:first-child {
  margin-top: 0;
}
.acceptance-wrap {
  text-align: center;
  padding: 10px 0 20px;
}
.acceptance-wrap .wpcf7-list-item-label {
  font-size: 15px;
  font-weight: 500;
}
@media screen and (max-width: 480px) {
  .privacy-policy-title {
    font-size: 16px;
  }
  .privacy-policy-text {
    font-size: 12px;
  }
  .acceptance-wrap .wpcf7-list-item-label {
    font-size: 13px;
  }
}

@media screen and (min-width: 960px) and (max-width: 1082px) {
  /* 画面幅が960px以上、1082px以下の時だけ適用されるスタイル */
  .menu__item {
    font-size: 13px;
  }
}
