*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  .sample {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background:#ccc;
  }

html{scroll-behavior: smooth;}

body{
    margin-right: auto;
    margin-left : auto;
    
    animation: fadeIn 4s ease 0s 1 normal;
    -webkit-animation: fadeIn 4s ease 0s 1 normal;

    animation: fadeIn 4s ease 0.3s 1 normal;
  }
  @keyframes fadeIn { /*animation-nameで設定した値を書く*/
      0% {opacity: 0} /*アニメーション開始時は不透明度0%*/
      100% {opacity: 1} /*アニメーション終了時は不透明度100%*/
}
body::before {
  content: "";
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-image: url(img/marunosaki2_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  ...
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

ul li{
  list-style-type:none;
  background-image:none;
  padding-left:0;
}

.maintitle{
  width: 80%;
  max-width: 540px;
}

.con_title{
  width: 80%;
  max-width: 350px;
  margin-bottom: 60px;
  margin-top: 80px;
}

.TOP{
  width: 100%;
  height: 100vh;
  font-size: 100px;
  display: flex;
  align-items: center; /* 縦方向中央揃え */
  justify-content: center; /* 横方向中央揃え */
  flex-direction: column;
}
.content{
  width: 90%;
  max-width: 800px;
  margin: auto;
  margin-top: 300px;
  margin-bottom: 300px;
}

#contact{
  background-color: #ddf1fc;
  padding: 50px;
  margin-bottom: 50px;
}

.SNS{
  width: 70%;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 800px;
}

.SNSwrap{
  display: flex;
  justify-content: center;
  margin: auto;
  margin-top: 15px;
}

.SNSicon{
  width: 100px;
  margin: 0 20px;
}

.mb30{
  margin-bottom: 30px;
}

.mb50{
  margin-bottom: 50px;
}

.mw800{
  max-width: 800px;
}

.mw730{
  max-width: 730px;
}

.mw400{
  max-width: 400px;
}

.contact_btn{
max-width: 400px;
margin: auto;
}

.hover-opacity {
  transition-property: opacity;
  transition-duration: 0.6s;
}
.hover-opacity:hover {
  opacity: 0.5; 
}

img{
  display: block;
  margin: auto;
}

.copyright{
  background-color: #3e3a39;
  color: #fff;
  font-size: 12px;
  padding: 8px;
  text-align: center;
}

/*ここから問い合わせフォーム*/
.contact-label{
  height: 28px;
  margin: 0;
}
@media screen and (max-width: 480px) {
  .contact-label{
    height: 23px;
  }
}

.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 150px;
  max-width: 720px;
}
@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  display: flex;
}

.Form-Item-Label-Required {
  width: 40px;
  display: inline-block;
  flex-direction:row;
  margin: 0px;
  margin-left: 20px;
  margin-right: 20px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label-Required{
    margin-left: 5px;
  }
}

.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Btn {
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #0066b5;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}
@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}

/*ここまで*/




/* media queries */
@media (max-width: 700px) {
  label.error {
    width: 90%;
  }
  input, textarea {
    width: 90%;
  }
  button {
    width:90%;
  }
  body {
  padding-top:10px;
  }  
}
.message {
    font-family:'Source Sans Pro',arial,sans-serif;
    font-size:1.1em;
    display:none;
    padding-top:10px;
    padding-bottom:10px;
    background-color:#2ABCA7;
    width: 80%;
    margin:auto;
    color: #FAFAFA;
    -webkit-border-radius:6px;
    -moz-border-radius:6px;
    border-radius:6px;
}



/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
    
    .SNSicon{
      margin: 0 0px;
    }
}

@media only screen and (min-width: 751px) {
.header{
  display: flex;
  justify-content: space-between;
  width: 95%;
  position: fixed;
  top: 20px;
  right: 0;
  left: 0;
  margin: 0 auto;
    /*デフォルトで非表示にする*/
    opacity: 0;
    visibility: hidden;
}

.active{
  opacity: 1;
  visibility: visible;
  animation: fadeIn 1s ease 0s 1 normal;
  -webkit-animation: fadeIn 1s ease 0s 1 normal;
}


.header ul{
  display: flex;
  justify-content: space-between;
}

.header li{
margin-left: 40px;
}

.header img{
  height: 23px;
}
}

/* ハンバーガーメニュー */

@media only screen and (max-width: 750px) {
  a {
    font-family: sans-serif;
    text-decoration: none;
    }
  .hamburger {
      display: block;
      height: 60px;
      margin-left: auto;
      position: fixed;
      right: 5px;
      top: 10px;
      z-index: 10;
      width: 60px;
      border: none;
      background-color: transparent;
  }
  .hamburger.-active .hamburger__line {
      background-color: transparent;
  }
  .hamburger.-active .hamburger__line::before {
      top: 0;
      transform: rotate(45deg);
  }
  .hamburger.-active .hamburger__line::after {
      top: 0;
      transform: rotate(-45deg);
  }
  .hamburger.-active .hamburger__text::before {
    content: '閉じる';
  }
  .hamburger__line {
      display: block;
      height: 2px;
      position: absolute;
      top: 23px;
      left: 50%;
      transform: translateX(-50%);
      width: 24px;
      background-color: #3e3a39;
      transition: 0.4s;
  }
  .hamburger__line:before,
  .hamburger__line:after {
      content: "";
      display: block;
      height: 100%;
      position: absolute;
      width: 100%;
      background-color: #3e3a39;
      transition: inherit;
  }
  .hamburger__line:before {
      top: -6px;
  }
  .hamburger__line:after {
      top: 6px;
  }
  .hamburger__text {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
  }
  .hamburger__text::before {
      content: "メニュー";
      text-align: center;
      color: #3e3a39;
      font-size: 10px;
      font-weight: 900;
  }
  .header {
    width: 300px;
  }
  .header__nav-area {
      position: fixed;
      top: 0;
      right: -100%;
      z-index: 9;
      height: 100vh;
      width: 80%;
      visibility: hidden;
      padding-top: 60px;
      background-color: #fff;
      transition: 0.4s;
  }
  .header__nav-area.-active {
      right: 0;
    visibility: visible;
  }
  .global-navigation {
      padding-top: 40px;
      padding-right: 25px;
      padding-bottom: 120px;
      padding-left: 25px;
  }
  .global-navigation__list > li {
      padding-bottom: 20px;
      border-bottom: 2px solid #e7e9ee;
  }
  .global-navigation__list > li + li {
    margin-top: 20px;
  }
  .global-navigation__link {
    display: flex;
      align-items: center;
      justify-content: space-between;
      color: #172e59;
      font-weight: 900;
      transition: color 0.4s;
      font-size: 0.875rem;
  }
  .global-navigation__link.-accordion {
      position: relative;
      background: none;
      border: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      width: 100%;
      padding: 0;
  }
  .global-navigation__link.-accordion::after {
      content: '';
      display: block;
      height: 12px;
      position: absolute;
      top: 50%;
      right: 5px;
      width: 2px;
      background-color: #ed3242;
      transform: translateY(-50%);
      transition: transform 0.4s;
  }
  .global-navigation__link.-accordion::before {
      content: '';
      display: block;
      height: 2px;
      position: absolute;
      top: 50%;
      right: 0;
      width: 12px;
      background-color: #ed3242;
      transform: translateY(-50%);
      
  }
  .global-navigation__link.-active::after {
    transform: translateY(-50%) rotate(-90deg);
  }
  .accordion {
      height: 0;
      overflow: hidden;
      visibility: hidden;
      transition: 0.4s;
  }
  .accordion.-active {
      height: auto;
      padding-top: 30px;
      visibility: visible;
  }
  .accordion__list li {
      font-size: 0.75rem;
  }
  .accordion__list li + li {
       margin-top: 21px;
  }
  .accordion__link {
      color: #172e59;
  }

  .header img{
    height: 28px;
    margin: auto;
  }

  .menutitle{
    margin: 0;
    position: fixed;
    top: 25px;
    left: 10px;

  }
}

