@charset "UTF-8";
/*
Theme Name : 堀岡康二建築設計事務所
Theme URI : https://horioka-archi.com
Author: SCARAMANGA INC.
Author URI: https://scaramanga.jp
Description:
Version: 1.0
*/
/*---base------------------------------------------------------------------*/
/* reset
========================================================================== */
body,
div,
pre,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
th,
td,
figure,
figcaption {
  margin: 0;
  padding: 0;
  font: inherit;
  vertical-align: baseline;
}

input,
textarea {
  margin: 0;
  font-size: 100%;
}

label {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 100%;
}

fieldset,
img {
  border: 0;
}

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

address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

q:after,
q:before {
  content: "";
}

a,
input {
  outline: none;
}

input,
textarea {
  border-radius: 0;
}

input[type=button],
input[type=submit] {
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
}

abbr,
acronym {
  border: 0;
}

* {
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  width: 100%;
  height: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  color: #595959;
  background-color: #FFFFFF;
  font-family: "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  line-height: 1.88;
  position: relative;
}
@media screen and (max-width: 767px) {
  body {
    font-size: 1.2rem;
    line-height: 1.79;
  }
}

a {
  color: #595959;
  text-decoration: none;
  transition-property: all;
  transition-duration: 0.5s;
}
a img {
  transition-property: all;
  transition-duration: 0.5s;
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}

/* all
---------------------------------------------------------------------------------------*/
.text-center {
  text-align: center;
}

.text_right {
  text-align: right;
}

.text_left {
  text-align: left;
}

@media screen and (max-width: 767px) {
  .pc_only {
    display: none !important;
  }
}

@media screen and (min-width: 768px) {
  .sp_only {
    display: none !important;
  }
}

/* animate
---------------------------------------------------------------------------------------*/
.fade_in {
  opacity: 0;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated_bounce {
  -webkit-animation-duration: 0.95s;
  animation-duration: 0.95s;
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/*!------------------------------------*
fadeIn
\*!------------------------------------*/
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

/* _header
---------------------------------------------------------------------------------------*/
.header {
  width: 100%;
  margin-bottom: 5%;
}
.header .header_inr {
  position: relative;
  margin: 7% 0 5%;
}
@media screen and (max-width: 767px) {
  .header .header_inr {
    margin-bottom: 7%;
  }
}
.header .header_inr .header_logo {
  width: 220px;
  margin: 0 auto 4%;
}
@media screen and (max-width: 767px) {
  .header .header_inr .header_logo {
    width: 50%;
    max-width: 220px;
    margin-bottom: 6%;
  }
}
.header .header_inr .header_logo a {
  display: block;
}
.header .header_inr .header_logo a:hover {
  opacity: 0.6;
}
.header .header_inr .sns_area {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0 20px;
}
.header .header_inr .sns_area li a {
  display: block;
  width: 20px;
}
.header .header_inr .sns_area li a:hover svg {
  opacity: 0.6;
}
.header .header_inr .sns_area li a img {
  vertical-align: middle;
}
.header .header_inr .sns_area li a svg {
  fill: #595959;
}
.header .header_inr .nav_area .header_nav {
  display: flex;
  justify-content: space-around;
}
@media screen and (max-width: 767px) {
  .header .header_inr .nav_area .header_nav {
    flex-wrap: wrap;
  }
}
.header .header_inr .nav_area .header_nav li {
  border-right: 1px solid #595959;
  width: 100%;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .header .header_inr .nav_area .header_nav li {
    width: 50%;
    margin-bottom: 3px;
  }
  .header .header_inr .nav_area .header_nav li:nth-last-child(even) {
    border-left: 1px solid #595959;
  }
}
.header .header_inr .nav_area .header_nav li.current-menu-item a {
  background: #f9f9f9;
}
@media screen and (min-width: 768px) {
  .header .header_inr .nav_area .header_nav li:last-child {
    border: none;
  }
}
.header .header_inr .nav_area .header_nav li a {
  padding: 5px 10px;
  text-align: center;
  font-size: 90%;
  display: block;
}
.header .header_inr .nav_area .header_nav li a:hover {
  background: #f9f9f9;
}

/* _page
---------------------------------------------------------------------------------------*/
/*---base------------------------------------------------------------------*/
.container {
  max-width: 1080px;
  margin: auto;
  padding: 0 5%;
}
@media screen and (max-width: 767px) {
  .container {
    padding: 0 6%;
  }
}

.container_md {
  max-width: 1080px;
  margin: auto;
}
.container_sm {
  max-width: 780px;
  margin: auto;
}
.top_sectiom {
  margin-top: 60px;
}
.top_sectiom .top_news_list li {
  margin-bottom: 10px;
}
.top_sectiom .top_news_list li a {
  display: flex;
  font-size: 90%;
}
@media screen and (max-width: 767px) {
  .top_sectiom .top_news_list li a {
    display: block;
  }
}
.top_sectiom .top_news_list li p {
  margin-right: 20px;
}
.top_sectiom .top_news_list li h3 {
  flex: 1;
}

.news_list .news_list_block {
  background: #f9f9f9;
  padding: 5%;
  margin-bottom: 5%;
}
.news_list .news_list_block .news_meta {
  border-left: 3px solid #595959;
  padding-left: 15px;
}
.news_list .news_list_block .news_meta .news_date {
  font-size: 90%;
}
.news_list .news_list_block .news_meta .news_title {
  font-size: 110%;
  margin-bottom: 1.5em;
}
.news_list .news_list_block .post_content p {
  margin-bottom: 1em;
  line-height: 1.78;
}

/* pagination
---------------------------------------------------------------------------------------*/
.pagination {
  clear: both;
  text-align: center;
  margin: 65px 0 0;
  padding-bottom: 65px;
}
@media screen and (max-width: 767px) {
  .pagination {
    margin: 35px 0 0;
    padding-bottom: 35px;
  }
}
.pagination .screen-reader-text {
  display: none;
}
.pagination .page-numbers {
  color: #595959;
  width: 35px;
  height: 35px;
  display: inline-block;
  text-align: center;
  line-height: 35px;
  font-size: 90%;
}
.pagination .page-numbers:hover {
  opacity: 0.6;
}
.pagination .current {
  background: #f9f9f9;
  width: 35px;
  height: 35px;
  display: inline-block;
  text-align: center;
  line-height: 35px;
}

.page_section {
  margin-bottom: 8%;
  padding-bottom: 8%;
  border-bottom: 1px solid #f0f0f0;
}
.page_section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.page_section .page_title {
  font-size: 105%;
  font-weight: bold;
  margin-bottom: 0.7em;
}

.profile_section {
  margin-bottom: 8%;
}
.profile_section:last-child {
  margin-bottom: 0;
}
.profile_section .office_name h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 120%;
  margin-bottom: 0.5em;
}
.profile_section .address_area {
  margin-top: 1em;
  font-size: 90%;
}
.profile_section .address_area span {
  width: 30px;
  display: inline-block;
}
.profile_section .profile_section_row {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .profile_section .profile_section_row {
    display: block;
  }
}
@media screen and (max-width: 767px) {
  .profile_section .profile_section_row .img {
    margin-bottom: 5%;
  }
}
.profile_section .profile_section_row .inr {
  flex: 1;
}
.profile_section .profile_section_row .inr .president-name {
  font-family: serif;
  font-size: 130%;
  letter-spacing: 7px;
  margin-bottom: 10px;
}
.profile_section .profile_section_row .inr .president-name small {
  font-size: 60%;
  color: #666;
  letter-spacing: 1px;
  display: block;
}
.profile_section .profile_section_row .inr ul li {
  font-size: 90%;
}
.profile_section .profile_section_row .inr ul li span {
  width: 40px;
  display: inline-block;
}

.publications_list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 55px 8%;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .publications_list {
    gap: 45px 8%;
  }
}
.publications_list .publications_list_block {
  text-align: center;
  width: 19%;
}
@media screen and (max-width: 1023px) {
  .publications_list .publications_list_block {
    width: 46%;
  }
}
@media screen and (max-width: 767px) {
  .publications_list .publications_list_block {
    width: 100%;
  }
}
.publications_list .publications_list_block .img {
  margin-bottom: 1em;
}

.works_list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 55px 3%;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .works_list {
    gap: 45px 8%;
  }
}
.works_list .works_list_block {
  text-align: center;
  width: 22.75%;
}
@media screen and (max-width: 1023px) {
  .works_list .works_list_block {
    width: 48.5%;
  }
}
@media screen and (max-width: 767px) {
  .works_list .works_list_block {
    width: 100%;
  }
}
.works_list .works_list_block a {
  display: block;
}
.works_list .works_list_block a:hover .img img {
  transform: scale(1.05);
}
.works_list .works_list_block a:hover .inr {
  opacity: 0.5;
}
.works_list .works_list_block a .img {
  margin-bottom: 1em;
  overflow: hidden;
}
.works_list .works_list_block a .inr {
  transition-property: all;
  transition-duration: 0.5s;
}
.works_list .works_list_block a .inr h1 {
  font-size: 90%;
}
.works_list .works_list_block a .inr p {
  font-size: 80%;
}

.works_detail .works_detail_block {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
@media screen and (max-width: 1023px) {
  .works_detail .works_detail_block {
    display: block;
  }
}
.works_detail .works_detail_block .img {
  flex: 1.5;
}
@media screen and (max-width: 1023px) {
  .works_detail .works_detail_block .img {
    margin-bottom: 2em;
  }
}
.works_detail .works_detail_block .inr {
  flex: 1;
  padding-left: 5%;
}
@media screen and (max-width: 1023px) {
  .works_detail .works_detail_block .inr {
    padding-left: 0;
  }
}
.works_detail .works_detail_block .inr .house_name {
  font-size: 105%;
}
.works_detail .works_detail_block .inr .house_name_en {
  font-size: 85%;
}
.works_detail .works_detail_block .inr .txt {
  margin-top: 2em;
  font-size: 90%;
}
.works_detail .thum_list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 30px 30px;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .works_detail .thum_list {
    gap: 30px 0;
  }
}
.works_detail .thum_list .thum_block {
  width: calc((100% - 60px) / 3);
}
@media screen and (max-width: 1023px) {
  .works_detail .thum_list .thum_block {
    width: calc((100% - 30px) / 2);
  }
}
@media screen and (max-width: 767px) {
  .works_detail .thum_list .thum_block {
    text-align: center;
    width: 100%;
  }
}

.post_nav {
  margin-top: 55px;
  display: flex;
  justify-content: space-between;
  font-size: 90%;
}

.tab-list {
  display: flex;
  justify-content: space-around;
}
@media screen and (max-width: 767px) {
  .tab-list {
    flex-wrap: wrap;
  }
}

.tab-item {
  width: 100%;
  text-align: center;
  padding: 10px;
}
@media screen and (max-width: 767px) {
  .tab-item {
    width: 100%;
    margin-bottom: 3px;
    border-right: none;
  }
  .tab-item:last-child {
    border-bottom: none;
  }
}
.tab-item:hover {
  cursor: pointer;
}
.tab-item.active {
  background: #f9f9f9;
}
@media screen and (min-width: 768px) {
  .tab-item:last-child {
    border: none;
  }
}

.tab-panel {
  display: none;
  margin: 5% 0;
}
.tab-panel.active {
  display: block;
}
.tab-panel h2 {
  font-size: 110%;
  font-weight: bold;
}

/* よくあるご質問
---------------------------------------------------------------------------------------*/
.faq_list .ac_active {
  color: #999;
}
.faq_list .ac_active:after {
  content: "";
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 2px #595959;
  border-right: solid 2px #595959;
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -5px;
  transition-property: all;
  transition-duration: 0.5s;
}
@media screen and (max-width: 767px) {
  .faq_list .ac_active:after {
    right: 0;
  }
}
.faq_list .faq_block {
  margin: 0 auto 35px;
}
@media screen and (max-width: 767px) {
  .faq_list .faq_block {
    margin-bottom: 25px;
  }
}
.faq_list dt {
  position: relative;
  cursor: pointer;
  display: block;
  border-bottom: 1px solid #f0f0f0;
  padding: 20px 50px 20px 0;
  position: relative;
  transition-property: all;
  transition-duration: 0.5s;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .faq_list dt {
    padding: 12px 20px 12px 0;
    font-size: 1.4rem;
  }
}
.faq_list dt:after {
  content: "";
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 1px #595959;
  border-right: solid 1px #595959;
  transform: rotate(135deg);
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -8px;
  transition-property: all;
  transition-duration: 0.5s;
}
@media screen and (max-width: 767px) {
  .faq_list dt:after {
    right: 0;
  }
}
.faq_list dt .number {
  width: 20px;
  line-height: 1;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .faq_list dt .number {
    width: 25px;
  }
}
.faq_list dt .inr {
  width: calc(100% - 30px);
  padding-left: 10px;
  line-height: 1.7;
}
@media screen and (max-width: 767px) {
  .faq_list dt .inr {
    padding-left: 10px;
    width: calc(100% - 30px);
  }
}
.faq_list dt:hover {
  color: #999;
}
.faq_list dd {
  margin: 25px 0;
}
@media screen and (max-width: 767px) {
  .faq_list dd {
    padding: 12px 0;
    margin-top: 12px;
  }
}
.faq_list dd .inr {
  display: flex;
  flex-wrap: wrap;
  font-family: "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
.faq_list dd .inr .number {
  width: 20px;
  color: #d1d1c7;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .faq_list dd .inr .number {
    width: 30px;
    text-align: center;
  }
}
.faq_list dd .inr .dd_inr {
  width: calc(100% - 30px);
  padding-left: 10px;
}
.faq_list dd .inr .dd_inr a {
  text-decoration: underline;
  color: #595959;
}
@media screen and (max-width: 767px) {
  .faq_list dd .inr .dd_inr {
    padding-left: 10px;
    width: calc(100% - 30px);
  }
}
.faq_list .acMenu dd {
  display: none;
}

/*お問い合わせフォーム*/
.reed_area {
  max-width: 780px;
  text-align: center;
  margin: 60px auto;
}
@media screen and (max-width: 767px) {
  .reed_area {
    margin: 35px auto;
    text-align: left;
  }
}
.reed_area p {
  margin-bottom: 1em;
}

.hiss {
  max-width: 780px;
  margin: 0 auto 10px;
  padding-left: 10px;
}

.sure {
  font-weight: normal;
  padding: 0 5px 0 0;
  color: #f00;
}

.contactform-area {
  max-width: 780px;
  margin: 0 auto;
}

.contactform-area dl {
  clear: both;
  overflow: hidden;
  margin-bottom: 15px;
  padding: 10px 10px 20px;
  border-bottom: 1px dotted #ccc;
  text-align: left;
}

.contactform-area dt {
  font-weight: normal;
  float: left;
  width: 30%;
  text-align: left;
  margin-bottom: 5px;
}

.contactform-area dd {
  float: left;
  width: 65%;
  margin-bottom: 5px;
}
.contactform-area dd input,
.contactform-area dd textarea {
  border: 1px solid #f0f0f0;
  padding: 5px;
  border-radius: 5px;
}

.wpcf7-submit {
  font-size: 12px;
  padding: 5px 30px;
  margin-top: 30px;
  border: 1px solid #999;
  background: #fff;
}

.wpcf7-submit:hover {
  background: #fafafa !important;
}

#cboxClose {
  top: 5%;
  right: 5%;
}

#cboxNext {
  right: 5%;
}

#cboxPrevious {
  left: 5%;
}

#cboxContent {
  margin-top: 0;
}

/* _footer
---------------------------------------------------------------------------------------*/
.footer {
  text-align: center;
  margin-top: 60px;
  padding-bottom: 30px;
}
.footer .page-top {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
}
.footer .page-top img {
  width: 40px;
}
.footer .sns_area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 20px;
  margin-bottom: 30px;
}
.footer .sns_area li a {
  display: block;
  width: 20px;
}
.footer .sns_area li a:hover svg {
  opacity: 0.6;
}
.footer .sns_area li a img {
  vertical-align: middle;
}
.footer .sns_area li a svg {
  fill: #595959;
}
.footer .f-logo {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 110%;
}
@media screen and (max-width: 767px) {
  .footer .f-address {
    font-size: 90%;
  }
}
.footer .copy {
  font-size: 90%;
}
@media screen and (max-width: 767px) {
  .footer .copy {
    font-size: 80%;
  }
}