@charset "UTF-8";
/*#######################################################
  共通設定
#######################################################*/
html {
  font-size: 62.5%;
}

body,
button,
input,
select {
  font-family: "Helvetica Neue",
 Arial,
 "Hiragino Kaku Gothic ProN",
 "Hiragino Sans",
 Meiryo,
 sans-serif;
}

h1 {
  font-size: 3.6rem;
  font-weight: bold;
}

h2 {
  font-size: 3.2rem;
  font-weight: bold;
}

h3 {
  font-size: 2.8rem;
  font-weight: bold;
}

h4 {
  font-size: 2.4rem;
  font-weight: bold;
}

h5 {
  font-size: 2rem;
  font-weight: bold;
}

h6 {
  font-size: 1.8rem;
  font-weight: bold;
}

p, li {
  font-size: 1.6rem;
  line-height: 1.8;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/*----------------------------------
  header
----------------------------------*/
.header__inner {
  padding: 30px 20px 30px;
}

.header__title {
  text-align: center;
  margin-bottom: 2rem;
}

.header__text {
  text-align: center;
}

/*----------------------------------
  footer
----------------------------------*/
.footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  color: #fff;
  background-color: #9e0101;
}

.footer__copy {
  font-size: 1.2em;
  padding: 15px;
}

.footer__scrollBtn {
  position: absolute;
  right: 8px;
  bottom: 50px;
}

.footer__topLink {
  height: 100%;
  position: relative;
  display: block;
  z-index: 2;
  padding-top: 31px;
}

/*----------------------------------
  mainBtn
----------------------------------*/
.mainBtn {
  display: block;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: #9e0101;
  border-radius: 15px;
}

/*----------------------------------
  scrollBtn
----------------------------------*/
.scrollBtn {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  background: silver;
  text-align: center;
}

.scrollBtn::before, .scrollBtn::after {
  content: '';
  height: 4px;
  width: 24px;
  position: absolute;
  background-color: #fff;
  top: 14px;
}

.scrollBtn::before {
  right: 5px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.scrollBtn::after {
  left: 5px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

/*----------------------------------
  改行
----------------------------------*/
.br__767_b {
  display: none;
}

@media (max-width: 767px) {
  .br__767_b {
    display: block;
  }
}

/*#######################################################
  
#######################################################*/
/*----------------------------------
  
----------------------------------*/
/*------  -------*/
/*#######################################################
  トップページ
#######################################################*/
/*----------------------------------
  portfolio
----------------------------------*/
.portfolio {
  background: url(../images/bg.jpg) no-repeat center center/cover;
}

.portfolio__inner {
  max-width: 1000px;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  padding: 60px 20px 50px;
  margin: 0 auto 70px;
}

.portfolio__container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr;
  gap: 50px 25px;
}

.portfolio__item {
  border: 1px solid #a7a7a7;
}

.portfolio__overlay {
  width: 100%;
  height: 0;
  position: absolute;
  visibility: hidden;
  bottom: 0;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: rgba(59, 53, 53, 0.8);
  line-height: 1.7;
  white-space: pre-line;
  overflow: hidden;
  padding-top: 35%;
}

.portfolio__link {
  position: relative;
  display: inline-block;
}

/*----------------------------------
  contact
----------------------------------*/
.contact__inner {
  max-width: 1000px;
  padding: 0 20px 70px;
  margin: 0 auto;
}

.contact__title {
  text-align: center;
  margin-bottom: 20px;
}

.contact__text {
  text-align: center;
  white-space: pre-line;
  margin-bottom: 40px;
}

/*----------------------------------
  form
----------------------------------*/
.form {
  width: 100%;
  margin: 0 auto;
}

.form__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 35px;
}

.form__row:not(:last-of-type) {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.form__label {
  min-width: 112px;
  font-size: 1.6rem;
  text-align: right;
  margin-right: 14px;
  position: relative;
}

.form__label_nameError::after {
  width: 150px;
  content: "お名前を入力してください";
  position: absolute;
  font-size: 1.2rem;
  font-weight: bold;
  color: #9e0101;
  left: 20rem;
  bottom: -3rem;
}

.form__label_emailError::after {
  width: 236px;
  content: "正しいメールアドレスを入力してください";
  position: absolute;
  font-size: 1.2rem;
  font-weight: bold;
  color: #9e0101;
  left: 20rem;
  bottom: -3rem;
}

.form__label_message {
  margin-top: 12px;
}

.form__label_messageError::after {
  width: 200px;
  content: "問い合わせ内容を入力してください";
  position: absolute;
  font-size: 1.2rem;
  font-weight: bold;
  color: #9e0101;
  left: 20rem;
  bottom: -2rem;
}

.form__required {
  min-width: 55px;
  height: 20px;
  font-size: 1.2rem;
  text-align: center;
  color: #fff;
  background-color: #9e0101;
  border-radius: 10px;
  padding-top: 4px;
  margin-right: 20px;
}

.form__required_message {
  margin-top: 10px;
}

.form__input {
  width: 100%;
  font-size: 1.6rem;
  border: 1px solid #000;
  padding-left: 20px;
  padding-right: 20px;
}

.form__input:focus {
  border: 2px solid #9e0101;
}

.form__input_name, .form__input_email {
  max-width: 500px;
  height: 40px;
}

.form__input_message {
  padding-top: 10px;
}

.form__sendBtn {
  padding: 15px 30px;
  margin: 0 auto;
}

.form__sendBtn:disabled {
  opacity: 0.5;
}

.form__endMessage {
  display: none;
  text-align: center;
  white-space: pre-line;
}

.form__falseMessage {
  display: none;
  text-align: center;
  white-space: pre-line;
}

/*#######################################################
  トップページ
  レスポンシブ対応
#######################################################*/
/*----------------------------------
  幅767px以下
----------------------------------*/
@media (max-width: 767px) {
  /*------ portfolio -------*/
  .portfolio__container {
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
  }
  /*------ form -------*/
  .form__row {
    display: block;
  }
  .form__label {
    min-width: inherit;
    height: 28px;
    display: inline-block;
    text-align: left;
    vertical-align: -2px;
  }
  .form__label_name::after {
    left: 2rem;
    bottom: -6rem;
  }
  .form__label_email::after {
    left: 2rem;
    bottom: -6rem;
  }
  .form__label_message::after {
    left: 2rem;
    bottom: -21rem;
  }
  .form__required {
    display: inline-block;
  }
  .form__input {
    display: block;
  }
}

/*----------------------------------
  幅600px以下
----------------------------------*/
@media (max-width: 600px) {
  /*------ portfolio -------*/
  .portfolio__container {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    row-gap: 50px;
  }
}

/*#######################################################
  詳細ページ
#######################################################*/
/*----------------------------------
  detail
----------------------------------*/
.detail__inner {
  max-width: 100rem;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  padding: 0 20px 50px;
  margin: 0 auto;
}

.detail__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 50px;
}

.detail__title::before {
  margin-right: 20px;
}

.detail__title::after {
  margin-left: 20px;
}

.detail__title::before, .detail__title::after {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  height: 2px;
  content: "";
  background-color: silver;
  position: relative;
  top: 18px;
}

.detail__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 40px;
}

.detail__subtitle {
  border-left: 4px solid #9e0101;
  padding-left: 10px;
  margin-bottom: 8px;
}

.detail__comp {
  font-weight: bold;
}

.detail__compLink {
  font-weight: normal;
  text-decoration: underline;
  color: #F5A623;
  color: #550DAB;
  color: #1b95e0;
}

.detail__langList {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  font-weight: bold;
  margin-bottom: 30px;
}

.detail__item:not(:first-of-type)::before {
  content: "／";
}

.detail__description {
  width: 50%;
  text-align: justify;
}

.detail__text {
  white-space: pre-line;
  margin-bottom: 30px;
}

.detail__underline {
  font-weight: bold;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(70%, transparent), color-stop(70%, pink));
  background: -webkit-linear-gradient(transparent 70%, pink 70%);
  background: -o-linear-gradient(transparent 70%, pink 70%);
  background: linear-gradient(transparent 70%, pink 70%);
}

.detail__siteBtn {
  margin: 0 auto 30px;
}

.detail__siteLink {
  display: block;
  padding: 15px 30px;
}

.detail__img {
  width: 46%;
  border: 1px solid #a7a7a7;
}

.detail__homeBtn {
  margin: 0 auto;
}

.detail__homeLink {
  display: block;
  padding: 15px 30px;
}

/*#######################################################
  詳細ページ
  レスポンシブ対応
#######################################################*/
/*----------------------------------
  幅767px以下
----------------------------------*/
@media (max-width: 767px) {
  /*------ detail -------*/
  .detail__contents {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .detail__description {
    width: 100%;
  }
  .detail__img {
    width: 100%;
  }
  .detail__btn {
    margin-bottom: 45px;
  }
}

/*----------------------------------
  幅400px以下
----------------------------------*/
@media (max-width: 400px) {
  /*------ detail -------*/
  .detail__title {
    font-size: 2.4rem;
  }
  .detail__title::before, .detail__title::after {
    top: 13.5px;
  }
  .detail__subtitle {
    font-size: 2rem;
  }
  .detail__langList {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    list-style-type: disc;
    padding-left: 20px;
  }
  .detail__item:not(:first-of-type)::before {
    content: "";
  }
}

/*#######################################################
  css_browser_selector
  css_browser_selector.jsを読み込んでから使用
#######################################################*/
/*----------------------------------
  PCのみ（hoverエフェクト）
----------------------------------*/
.win,
.mac {
  /*------ portfolio -------*/
  /*------ footer -------*/
  /*------ detail -------*/
}

.win .portfolio__overlay,
.mac .portfolio__overlay {
  -webkit-transition: 0.6s all ease;
  -o-transition: 0.6s all ease;
  transition: 0.6s all ease;
}

.win .overlayHover,
.mac .overlayHover {
  visibility: visible;
  height: 100%;
  background-color: rgba(59, 53, 53, 0.8);
  color: #fff;
}

.win .footer__scrollBtn,
.mac .footer__scrollBtn {
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.win .footer__scrollBtn:hover,
.mac .footer__scrollBtn:hover {
  opacity: .7;
}

.win .detail__compLink,
.mac .detail__compLink {
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.win .detail__compLink:hover,
.mac .detail__compLink:hover {
  opacity: .6;
}

.win .mainBtn,
.mac .mainBtn {
  -webkit-transition: 0.8s all ease;
  -o-transition: 0.8s all ease;
  transition: 0.8s all ease;
}

.win .mainBtn:hover,
.mac .mainBtn:hover {
  background-color: #fff;
  color: #9e0101;
  border: 1px solid #9e0101;
}

.win .mainBtn:disabled:hover,
.mac .mainBtn:disabled:hover {
  background-color: #9e0101;
  color: #fff;
  border: none;
  cursor: not-allowed;
}
/*# sourceMappingURL=style.css.map */