@charset "UTF-8";

.wrapper-top-slide {
  position: relative;
  width: 100vw;
}
.page-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
}
#slider {
  display: grid;
  width: 100vw;
  height: 70vh;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
    url('../img/news-top.jpg');
  background-size: cover;
  background-position: center;
}

.news-area{
  width: 95vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8% 4%;
}
.eye-catching{
  width: 300px;
  height: 225px;
  background-image: url('../img/image01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 2rem;
}
.news-area h3{
  padding: 0.5rem 0 1.5rem 0;
}
.news-con{
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  column-gap: 3%;
  justify-content: center;
  color: #000;
}
.news-con .text-area{
  padding-bottom: 1rem;
  width: 300px;
  font-size: 0.9rem;
}
.news-con div a{
  color: #fff;
  /* padding-top: 1rem; */
}
.news-con div p:nth-of-type(2) {
  margin-bottom: 1rem;
}


.slide-logo{
  margin-top: 85px;
}

#top-lower-page {
  display: grid;
  width: 100vw;
  height: 70vh;
  align-items: center;
  justify-content: center;
  background-image: url('../img/news-top.jpg'); 
  background-size: cover;
  background-position: center;
}

.page-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
}
h1{
  margin-top: 85px;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.1rem;
  font-size: 2.2rem;
}
#top-lower-page h2{
  color: #fff;
  margin-top: 85px;
}

.faq{
  margin: 3rem auto;
  width: 75%;
  max-width: 1000px;
}
h2{
  font-size: 1.3rem;
  text-align: center;
  color: #333333;
}
details {
  margin: 0 auto 1rem;
  max-width: 720px;
  color: #333333;
}
summary {
  display: flex; /*質問文とプラスアイコンを横並びとデフォルトの三角矢印をリセット*/
  justify-content: space-between; /*左右両端に配置*/
  align-items: center; /*上下中央配置*/
  padding: 10px 30px; 
  font-size: 0.9rem;
  background-color: #d6d6d6;
  border-radius: 10px;
  cursor: pointer; /*カーソルをのせたときにpointer表示に指定*/
}
summary::-webkit-details-marker { /*Webkit系ブラウザの三角矢印をリセット*/
  display: none;
}
summary:hover,
details[open] summary { /*質問文のhover時と展開後の表示指定*/
  background-color: #bbb;
}
summary::after { /*プラスアイコンを擬似要素で指定*/
  content: '+';
  margin-left: 30px;
  color: #808080;
  font-size: 21px;
  transition: transform .5s; /*展開時のアニメーション指定*/
}
details[open] summary::after { /*プラスアイコンの展開後の指定*/
  transform: rotate(45deg);
}
.answer {
  padding: 20px;
  line-height: 1.6;
}
details[open] .answer {
  animation: fadein .5s ease; /*展開後のアニメーション指定*/
}

@keyframes fadein { /*不透明度を0→1でフェードイン表示*/
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.Form {
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
.Form-Item {
  border-top: 0.5px solid #808080;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 0.9rem;
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 1px;
  padding-bottom: 1px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #bd8953;
  color: #fff;
  font-size: 0.8rem;
}
.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: 0.9rem;
}
.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: 768px){

  #top-lower-page {
    height: 100vh;
  }
  .slide-logo{
    margin-top: 0;
  }
}
@media screen and (max-width: 600px) {
  .Form {
    margin-top: 40px;
  }
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
  }
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 0.9rem;
  }
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 0.9rem;
}
.Form-Item-Textarea {
  margin-top: 18px;
  margin-left: 0;
  height: 200px;
  flex: inherit;
  font-size: 0.9rem;
}
}

.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #bd8953;
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  font-family: "Sawarabi Mincho";
}
@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 0.9rem;
  }
}


/* スマートフォン向けのスタイル */
@media (max-width: 600px) {
  details {
    width: 95%;  /* 画面の95%の幅を持つようにする */
  }
  summary {
    font-size: 0.9rem;  /* フォントサイズをデフォルトのサイズに戻す */
    padding: 8px 15px;  /* パディングを調整 */
  }
  .answer {
    padding: 15px;  /* パディングを調整 */
  }
}

#contact{
  padding: 5% 4%;
}

.label-text{
  color: #333333;
}

.Form-Item-Label-Optional {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 1px;
  padding-bottom: 1px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: transparent;
  color: transparent;
  font-size: 0.8rem;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label-Optional {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 0.9rem;
  }
}

.con-form {
  border: 1pt solid #b3b3b3;
  background: #fff;
  font-size: 0.9rem;
  width: 75%; 
  max-width: 1000px;
  margin: 3rem auto;
}

body{
  background-image: url('../img/news-back.jpg'); 
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 480px) {
  .news-con {
    grid-template-columns: 1fr;
  }
  .eye-catching{
    width: 100%;
  }
  .faq , .con-form{
    width: 100%;
    border: none;
  }
}

