﻿@charset "utf=8";

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
a,
option,
select,
button,
input {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}


/* ナビゲーション */
body {
  background-image: url(./img/mail_bg_1.png);
  background-repeat: no-repeat;
  background-size: cover;
}

#g-nav_area {
  width: 100%;
  height: 80px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}

.protech_logo-set {
  width: 265px;
  position: absolute;
  top: 10px;
  left: 5vw;
}

.protech_logo-set-mf {
  width: 265px;
  position: absolute;
  top: 10px;
  left: 5vw;
}

#g-nav_area nav {
  display: flex;
}

.g-nav_ul {
  display: flex;
  align-items: center;
}

.g-nav_ul li a {
  padding: 8px 48px;
  color: #2f5597;
}

.contact_box {
  height: 80px;
  font-size: 20px;
  padding: 24px 52px 32px 52px;
  background: linear-gradient(90deg, #e6332c 0%, #ee6664 50%, #f69229 100%);
}

.g-nav_ul li+li::before {
  content: "";
  display: block;
  height: 24px;
  border-left: 1px solid #2f5597;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

.contact_box a {
  color: #F9F3E8;
}

.g-nav_ul .nav-active {
  display: flex;
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: transparent;
  font-weight: 700;
  opacity: 1;
  transition: 0.6s;
  background-color: palevioletred;
}

/* ハンバーガー */
.c-hamburger {
  position: relative;
  width: inherit;
  height: inherit;
  margin: 0;
  border: 1px solid #005885;
  background: #005885;
  cursor: pointer;
  border-radius: 4px;
}


.c-hamburger span {
  display: block;
  position: relative;
  left: 50%;
  width: 30px;
  height: 2px;
  transform: translateX(-50%);
  background: #fff;
  transition: all 0.4s;
}


.c-hamburger span:nth-of-type(1) {
  top: -4px;
}

.c-hamburger span:nth-of-type(2) {
  top: 1px;
}


.c-hamburger span:nth-of-type(3) {
  top: 6px;
}

.c-hamburger.is-active span:nth-of-type(1) {
  top: 0;
  transform: translateX(-50%) rotate(225deg);
}

.c-hamburger.is-active span:nth-of-type(2) {
  opacity: 0;
}

.c-hamburger.is-active span:nth-of-type(3) {
  top: -4px;
  transform: translateX(-50%) rotate(-225deg);
}

/* 挨拶文 */

#contact_area {
  width: 50%;
  min-width: 720px;
  margin-top: 248px;
  margin-bottom: 48px;
  margin-left: auto;
  margin-right: auto;
}

#contact_area-mf {
  width: 50%;
  min-width: 720px;
  margin-top: 248px;
  margin-bottom: 48px;
  margin-left: auto;
  margin-right: auto;
}

.privacybox,
.copy,
.Form,
.Form-Item-Textarea,
.privacybox
{
width: 100%;
}

.copy h1 {
  font-size: 32px;
  margin-bottom: 32px;
}

.copy h3 {
  font-size: 18px;
  line-height: 2;
}



/* 入力フォーム */
.Form {
  margin-top: 48px;
  margin-left: auto;
  margin-right: auto;
}

.Form-Item {
  padding-top: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.Form-Item-Label {
  width: 100%;
  letter-spacing: 0.05em;
  font-weight: bold;
  padding: 8px;
}

.Form-Item-Label.isMsg {
  margin-bottom: auto;
}

.Form-Item-Label-Required {
  display: inline-block;
  text-align: center;
  color: #e6332c;
  font-size: 14px;
}

.Form-Item-Input {
  height: 48px;
  flex: 1;
  width: 100%;
  background: #fff;
  font-size: 14px;
  padding: 14px;
  border: none
}

.Form-Item-Textarea {
  padding: 16px;
  height: 8rem;
  flex: 1;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  border: none;
  display: inline-block;
}

.Form-Btn {
  margin-top: 48px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 72px 12px 86px;
  display: block;
  letter-spacing: 1em;
  text-align: center;
  background: #2f5597;
  color: #F9F3E8;
  font-size: 18px;
  border: none;
}

/* プルダウン */
.selectbox-5 {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.selectbox-5::after {
  position: absolute;
  right: 15px;
  width: 10px;
  height: 7px;
  background-color: #535353;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
  pointer-events: none;
}

.selectbox-5 select {
  appearance: none;
  min-width: 230px;
  height: 2.8em;
  padding: .4em calc(.8em + 30px) .4em .8em;
  border: none;
  background-color: #fff;
  color: #333333;
  font-size: 1em;
  cursor: pointer;
}

/* 個人情報 */
.privacybox {
  height: 150px;
  overflow-y: scroll;
  background-color: #fff;
  padding: 16px;
  margin-bottom: 32px;
}

/* フッター */
footer {
  width: 90%;
  margin: 0 auto;
}

.footer_area {
  margin: 100px auto 42px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  border-bottom: 1px solid #2f5597;
  padding-bottom: 42px;
}

.footer_img {
  width: 200px;
}

.footer_text {
  margin-left: 36px;
}

.footer_ul {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer_ul li a {
  padding: 8px 48px;
  color: #2f5597;
  font-size: small;
}

.footer_ul li+li::before {
  content: "";
  display: block;
  height: 24px;
  border-left: 1px solid #2f5597;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

.copyright©2024 {
  text-align: center;
  color: #2f5597;
  margin-top: 24px;
  margin-bottom: 100px;
  font-size: small;
}

@media (max-width: 1228px) {
  .g-nav_ul li a {
    padding: 8px 3vw;
  }

  .footer_ul li a {
    padding: 8px 3vw;
  }

  .contact_box {
    font-size: 16px;
    padding: 29px 8px;
    background: linear-gradient(90deg, #e6332c 0%, #ee6664 50%, #f69229 100%);
  }

  nav img {
    width: 265px;
    position: absolute;
    top: 10px;
    left: 5vw;
  }
}

/* フッターを立て並びにする */
@media (max-width: 900px) {
  .footer_ul li a {
    padding: 8px 8px;
  }

  .footer_ul {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    text-align: center;
  }

  .footer_text {
    margin-left: 36px;
    margin-top: 16px;
  }

  .footer_area {
    margin: 100px auto 42px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 95%;
    border-bottom: 1px solid #2f5597;
    padding-bottom: 42px;
  }

  .footer_ul li+li::before {
    content: "";
    display: none;
    height: 24px;
    border-left: 1px solid #2f5597;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
  }
}

/* ハンバーガー用メディクリ設定 */
/*スクリーンサイズが780px以上の場合に適用  */
@media screen and (min-width:781px) {
  .p-header__hamburger,
  .protech_mark {
    display: none;
  }
}

/* スクリーンサイズが780px以下の場合に適用 */
@media screen and (max-width: 780px) {

  body {
    min-width: auto;
  }

  .contact_box {
    font-size: 16px;
    padding: 13px 16px 16px 16px;
    background: linear-gradient(90deg, #e6332c 0%, #ee6664 50%, #f69229 100%);
    position: absolute;
    top: 16px;
    right: 72px;
    height: 48px;
    border-radius: 4px;
  }

 .protech_logo-set{
    width: 200px;
    position: absolute;
    top: 15px;
    left: 3vw;
  }

  .protech_logo-set-mf{
    width: 200px;
    position: absolute;
    top: 15px;
    left: 3vw;
  }

  .protech_mark {
    display: none;
  }

  #g-nav_area {
    width: 100%;
    position: fixed;
    overflow: hidden;
  }

  .p-header__hamburger {
    z-index: 100;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .g-nav_ul {
    display: none;
    /* 初期状態ではナビゲーションメニューを非表示に */
  }

  .nav-active {
    text-align: center;
    width: 100%;
    background-color: #fff;
    display: block;
    z-index: 99;
    display: flex;
    height: 80px;
    align-items: center;
    justify-content: center;
    /* .nav-active クラスが追加された場合、ナビゲーションメニューを表示 */
  }

  #g-nav_area {
    display: block;
  }

  .nav-ul li+li::before {
    display: none;
  }

  #contact_area {
    width: 80%;
    min-width: 400px;
  }

  .copy,
  .Form,
  .Form-Item-Input,
  .Form-Item-Textarea,
  .privacybox {
    width: 100%;
    min-width: 400px;
  }

  footer {
    width: 80%;
    min-width: 400px;
  }
}



/* SP  */
/* スクリーンサイズが420px以下の場合に適用 */
@media screen and (max-width: 420px) {

  #g-nav_area {
    width: 100%;
    position: fixed;
    overflow: hidden;
  }

  .protech_logo-set{
    display: none;
  }
  
  .protech_mark {
    display: block;
    width: 48px;
    position: absolute;
    top: 16px;
    left: 16px;
  }

  .nav-active {
    justify-content: flex-start;
    display: flex;
}

.p-header__hamburger {
  z-index: 100;
  position: absolute;
  top: 16px;
  right: 8px;
  width: 48px;
  height: 48px;
}

  .g-nav_ul li a {
    padding: 8px 3vw;
    font-size: 12px;
}

.remove:nth-child(1){
  margin-left: 5px;
}

  #contact_area{
    margin-top: 64px;
    margin-bottom: 32px;
    width: 80%;
    min-width: 280px;
  }

  #contact_area-mf{
    margin-top: 90px;
    margin-bottom: 32px;
    width: 80%;
    min-width: 280px;
  }

  .copy,
  .Form,
  .Form-Item-Input,
  .Form-Item-Textarea,
  .privacybox 
    {
    width: 100%;
    min-width: 280px;
  }
  
  footer{
    width: 80%;
    min-width: 280px;
  }
}


@media screen and (max-width: 320px) {
  .g-nav_ul li a {
    padding: 8px 2vw;
    font-size: 12px;
}

.remove:nth-child(1){
  margin-left: 2vw;
}
.contact_box {
  font-size: 16px;
  padding: 13px 16px 16px 16px;
  background: linear-gradient(90deg, #e6332c 0%, #ee6664 50%, #f69229 100%);
  position: absolute;
  top: 16px;
  right: 64px;
  height: 48px;
  border-radius: 4px;
}

.protech_mark {
  display: block;
  width: 48px;
  position: absolute;
  top: 16px;
  left: 8px;
}

.p-header__hamburger {
  z-index: 100;
  position: absolute;
  top: 16px;
  right: 8px;
  width: 48px;
  height: 48px;
}


}