@charset "utf-8";
/*
Theme Name: hp101a
Theme URI:
Description: hp101a
Version: 1.0
Author: TENSHOKU ICHIBA Inc.
Author URI: http://www.1049.cc
*/

/* font import */
@import url(//fonts.googleapis.com/css?family=PT+Sans+Caption:400,700);

/* --------------------------------------------------------------
 * Reset default browser 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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  outline: 0;
}
:focus {
  outline: 0;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section {
  display: block;
}

caption, th, td {
  font-weight: normal;
}

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

blockquote, q {
  quotes: "" "";
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  line-height: 1;
}

b, strong {
  font-weight: bold;
}

button {
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*------------------------------------------------------------
CommonStyle
------------------------------------------------------------*/

:root {
  --main-color: #F08806; /* メインカラー */
  --content-width: 980px; /* コンテンツ幅 */
}

body {
  display: flex;
  flex-direction: column;
  color: #333333;
  font-style: normal;
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.modal-on {
  overflow: hidden;
}

body,
body * {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-sizing: border-box;
}

body,
input,
textarea,
select {
  font-family: futura-pt, 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic,"Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
}

main {
  flex: 1 1 auto;
  margin-top: 50px;
}
@media print, screen and (min-width: 768px){
  main{
    margin-top: 100px;
  }
}

a,
a:hover {
  text-decoration: none;
}

a img {
  border: 0;
}

input,
textarea,
select {
  border: solid 1px #cccccc;
  background-color: transparent;
  font-size: 1.6rem;
  vertical-align: top;
}

input,
textarea {
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  height: 2.5em;
}

textarea,
input:not([type="checkbox"]):not([type="radio"]) {
  -webkit-appearance: none;
  appearance: none;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  vertical-align: baseline;
  cursor: pointer;
}

input[type="radio"] {
  margin: 0;
}

select,
label {
  cursor: pointer;
}

select {
  -webkit-appearance: auto;
  appearance: auto;
}

textarea {
  padding: 10px;
}

.pc-br {
  display: none;
}

.outer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.pc-only.modal-on {
  overflow: auto;
}

.js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

.scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

@media only screen and (min-width: 960px) {/* ---------- Laptop PC ---------- */

  a,
  a img {
    transition-property: color, opacity;
    transition-duration: .3s;
  }
  
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }
  
  a[href^="tel:"]:hover {
    opacity: 1;
  }
  
  a:hover img {
    opacity: .6;
  }
  
  .sp-br {
    display: none;
  }
  
  .pc-br {
    display: inline;
  }
}

@media only screen and (min-width: 1280px) {/* ---------- Desktop PC ---------- */
  input {
    width: auto;
  }
}

@media all and (-ms-high-contrast:none) {/* ---------- only IE ---------- */
}


/*------------------------------------------------------------
notFound
------------------------------------------------------------*/
.not-found-box {
  width: calc(100% - 24px);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 50px 0;
}

.not-found-text {
  margin-bottom: 25px;
}

.not-found-button {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  padding: 10px;
  background-color: var(--main-color);
  color: #ffffff;
  font-size: 1.3rem;
  text-align: center;
  transition-property: background-color, opacity;
  transition-duration: .3s;
  cursor: pointer;
}


@media only screen and (min-width: 960px) {/* ---------- Laptop PC ---------- */
  .not-found-box {
    padding: 100px 0;
  }
  
  .not-found-text {
    margin-bottom: 50px;
    text-align: center;
  }
  
  .not-found-button {
    max-width: 400px;
    padding: 15px;
    font-size: 1.6rem;
  }
  
  .not-found-button:hover {
    opacity: .5;
  }
}


/*------------------------------------------------------------
archive single 共通
------------------------------------------------------------*/


.main-banner{
  position: relative;
}

.main-banner .heading{
  max-width: 1506px;
}

.main-banner .ttl-ja{
  font-weight: 700;
  letter-spacing: .05em;
}

.main-banner .ttl-ja .en{
  display: inline-block;
  margin-right: 5px;
  padding: 2px 5px 4px;
  background: #DA2E68;
  color: #fff;
  line-height: 1;
}


@media print, screen and (min-width: 768px) {
  
  .main-banner .ttl-ja{
    padding: 26px 18px 25px 18px;
  }

  .main-banner .ttl-ja .en{
    margin-right: 17px;
    padding: 5px 20px;
  }
}

/*------------------------------------------------------------
archive
------------------------------------------------------------*/
#archive .news-wrapper{
  width: calc(100% - 75px);
  max-width: 1200px;
  margin: 7px auto 0;
}

#archive .news-item{
  position: relative;
  padding: 18px 40px 18px 0;
  border-bottom: solid .5px #B1B1B1;
}

#archive .news-item.js-clickitem:hover{
  opacity: 1!important;
}

#archive .news-item::before,
#archive .news-item::after{
  position: absolute;
  content: "";
  width: 25px;
  height: 25px;
  top: 50%;
  right: 3px;
  background-color: var(--main-color);
  border-radius: 50%;
  transform: translateY(-50%);
}

#archive .news-item::after{
  width: 14px;
  height: 14px;
  right: 8px;
  background: url(../../uploads/arrow.png) no-repeat center center / contain;
}

#archive .news-date{
  color: var(--main-color);
  font-size: 12px;
  font-weight: 700;
}

#archive .news-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.8;
}

.pagenav {
  widows: calc(100% + 50px);
  margin: 28px -25px 0;
}

.pagenav, .pagenav a {
  color: #ffffff;
}

.result-count {
  align-items: center;
  width: 40%;
  padding: 5px 0;
  line-height: 1.4;
}

.result-count-text {
  vertical-align: middle;
}

.wp-pagenavi {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
}

.wp-pagenavi .page, .wp-pagenavi .current, .wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink, .wp-pagenavi .extend {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0 8px;
  padding-bottom: 1px;
  background-color: #fff;
  border: solid 0.5px #B1B1B1;
  border-radius: 50%;
  color: #B1B1B1;
  cursor: pointer;
  transition: all .3s;
}

.wp-pagenavi .current {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
  cursor: auto;
}

.wp-pagenavi .extend {
  cursor: auto;
}

.wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink {
  position: relative;
  width: 16px;
  height: 16px;
  z-index: 0;
}

.wp-pagenavi .previouspostslink::before, .wp-pagenavi .nextpostslink::before {
  position: absolute;
  content: "";
  width: 8px;
  height: 16px;
  right: 3px;
  top: calc(50% - 8px);
  background: url("../../uploads/arrow_nav.png")no-repeat center center / contain;
  transition: all .3s;
  z-index: 1;
}

.wp-pagenavi .previouspostslink::after, .wp-pagenavi .nextpostslink::after{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #B1B1B1;
  border-radius: 50%;
  z-index: -1;
}

.wp-pagenavi .previouspostslink::before {
  transform: rotate(180deg);
  right: auto;
  left: 3px;
}

.not-post {
  text-align: center;
}

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

  #archive .news-wrapper{
    margin: 100px auto 80px;
  }
  
  #archive .news-item{
    display: flex;
    align-items: center;
    border-width: 1px;
    padding: 25px 70px 25px 0;
  }
  
  #archive .news-item:first-of-type{
    border-top: solid 1px #B1B1B1;
  }
  
  #archive .news-item.js-clickitem:hover{
    opacity: .7!important;
  }

  #archive .news-item::before{
    width: 40px;
    height: 40px;
    right: 0;
  }

  #archive .news-item::after{
    width: 22px;
    height: 17px;
    right: 8px;
  }

  #archive .news-date{
    flex: 0 1 140px;
    margin-right: 15px;
    font-size: 22px;
    font-weight: 700;
  }

  #archive .news-title {
    font-size: 22px;
    line-height: 1.6;
    -webkit-line-clamp: 1;
  }

  .pagenav {
    margin-top: 60px;
  }

  .wp-pagenavi {
    font-size: 16px;
  }

  .wp-pagenavi .page, .wp-pagenavi .current, .wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink, .wp-pagenavi .extend {
    width: 39px;
    height: 39px;
    margin: 0 10px;
    font-size: 23px;
  }
  
  .wp-pagenavi .previouspostslink::before, .wp-pagenavi .nextpostslink::before {
    width: 16px;
    height: 16px;
    right: 7px;
    top: calc(50% - 8px);
  }
  
  .wp-pagenavi .previouspostslink::after, .wp-pagenavi .nextpostslink::after{
    background-color: #B1B1B1;
    transition: all .3s;
  }
  
  .wp-pagenavi .previouspostslink::before {
    transform: rotate(180deg);
    right: auto;
    left: 7px;
  }
  .wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink{
    width: 31px;
    height: 31px;
  }

}


/*------------------------------------------------------------
newSingle
------------------------------------------------------------*/

#single .single-wrapper{
  width: calc(100% - 50px);
  max-width: 1200px;
  margin: 25px auto 10px;
  background-color: #fff;
  border-radius: 15px;
}

#single .single-head {
  padding: 0 13px 20px;
  border-bottom: .5px solid #B1B1B1;
}

#single .single-head .date{
  color: var(--main-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

#single .single-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

#single .single-body {
  padding: 25px 12.5px 20px;
  border-bottom: .5px solid #B1B1B1;
  overflow: hidden;
}

.single-body p {
  margin-bottom: 1em;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .03em;
  clear: both;
}

.single-body .fancybox, .single-body img {
  margin: 0 10px 10px 0;
}

.single-body img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.single-body .fancybox {
  display: inline-block;
}

.single-body .fancybox img {
  margin: 0;
}

.single-body ul, .single-body ol {
  margin-top: 1em;
  margin-bottom: 1em;
}

.single-body ul li + li, .single-body ol li + li {
  margin-top: 10px;
}

.single-body ul li {
  list-style-type: disc;
}

.single-body ol li {
  list-style-type: decimal;
}

.single-body .not-post {
  padding-bottom: 60px;
}

.post-pagenav-wrapper {
  margin-top: 10px;
}

.post-pagenav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.post-pagenav .pagenav-button {
  width: 100%;
}

.post-pagenav .pagenav-button a {
  display: block;
  position: relative;
  width: 100%;
  padding: 10px 4px 10px 38px;
  font-size: 13px;
  font-weight: 500;
  transition: opacity .3s;
  text-decoration: none;
}

.post-pagenav .pagenav-button a:hover {
  opacity: 1;
  text-decoration: none;
}

.post-pagenav .pagenav-button a::before {
  position: absolute;
  content: "";
  width: 25px;
  height: 25px;
  background-color: #B1B1B1;
  border-radius: 50%;
  top: calc(50% - 12px);
  left: 5px;
  z-index: 0;
  transition: all .3s;
}

.post-pagenav .pagenav-button a::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  background: url("../../uploads/arrow_nav.png")no-repeat center center / contain;
  top: calc(50% - 6px);
  left: 11px;
  transform: rotate(180deg);
  z-index: 1;
}

.post-pagenav .post-prev a::before {
  left: auto;
  right: 5px;
}

.post-pagenav .post-prev a::after {
  left: auto;
  right: 11px;
  transform: none;
}

.post-pagenav .post-prev, .post-pagenav .post-next {
  width: calc(((100% - 6px) / 2) - .01px);
}

.post-pagenav .post-prev {
  order: 2;
  margin-left: auto;
}

.post-pagenav .post-prev a {
  padding: 10px 38px 10px 4px;
  text-align: right;
}

.post-pagenav .post-next {
  order: 1;
  margin-right: auto;
}

.post-pagenav .post-home{
  order: 3;
}

.post-pagenav-wrapper .post-home a {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 4px 32px;
  border: solid 1.5px #D02537;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  
}

.post-pagenav-wrapper .post-home a::before,
.post-pagenav-wrapper .post-home a::after{
  content: none;
}


@media only screen and (min-width: 768px) { /* ---------- Tablet ---------- */
  #single .single-wrapper{
    margin: 60px auto 90px;
  }
  
  #single .single-head {
    padding: 0px 78px 40px;
  }

  #single .single-head .date{
    font-size: 22px;
  }

  #single .single-title {
    margin-bottom: 6px;
    font-size: 22px;
    line-height: 1.6;
  }

  #single .single-body {
    padding: 50px 78px 54px;
  }

  .single-body p {
    margin-bottom: 2em;
    font-size: 18px;
    letter-spacing: .03em;
    font-weight: 700;
  }

  .single-body img {
    display: inline-block;
  }

  .single-body .alignleft, .single-body .alignright {
    margin-bottom: 1em;
  }

  .single-body .alignleft + br, .single-body .alignright + br, .single-body .aligncenter + br {
    display: none;
  }

  .single-body .fancybox, .single-body .alignleft img, .single-body .alignright img {
    margin-bottom: 0;
  }

  .single-body .fancybox img {
    opacity: 1;
    transition: opacity .3s;
  }

  .single-body .fancybox:hover img {
    opacity: .6;
  }

  .single-body .alignleft {
    float: left;
    margin-right: 1em;
  }

  .single-body .alignright {
    float: right;
    margin-left: 1em;
  }

  .single-body .aligncenter {
    display: block;
    margin: 0 auto 10px;
  }

  .post-pagenav-wrapper {
    margin-top: 56px;
  }
  
  .post-pagenav {
    position: relative;
    max-width: 1200px;
    min-height: 50px;
    margin: 0 auto;
    flex-wrap: nowrap;
  }
  .post-pagenav .pagenav-button a {
    padding: 10px 26px 10px 52px;
    font-size: 24px;
  }
  
  .post-pagenav .post-prev a {
    padding: 10px 52px 10px 26px;
  }
  
  .post-pagenav .pagenav-button a::before{
    width: 32px;
    height: 32px;
    top: calc(50% - 16px);
  }
  
  .post-pagenav .pagenav-button a::after{
    width: 14px;
    height: 14px;
    top: calc(50% - 7px);
    left: 14px;
  }
  
  .post-pagenav .post-prev a::after{
    left: auto;
    right: 13px;
  }
  
  .post-pagenav .post-next a::after {
    right: 40px;
  }
  
  .post-pagenav .post-prev, .post-pagenav .post-next {
    width: calc(((100% - 250px) / 3) - .01px);
  }

  .post-pagenav-wrapper .post-home {
    position: absolute;
    width: 100%;
    margin: 0;
    top: 0;
    left: 0;
  }

  .post-pagenav-wrapper .post-home a {
    padding: 10px 69px;
    border-radius: 4px;
    border-width: 3px;
    font-size: 24px;
    transition: all .3s;
  }

  .post-pagenav .pagenav-button a:hover,
  .post-pagenav-wrapper .post-home a:hover {
    opacity: .5;
  }

}
