@charset "utf-8";
/* =====================
common
===================== */

/* ↓変数、色・width(コンテンツ幅、余白を%で登録)・指定 */
:root {
  --primary-gray: #DDDED7;
  --primary-white: #ffffff;
  --primary-pink: #C98895;
}

html {
  font-size: 62.5%;
}

body {
  background-color: var(--primary-white);
  color: #2B2B2B;
  font-size: 1.6rem;
  font-family: "Noto Serif JP", serif;
  line-height: 1.6;  /* 修正: 値を適切に指定 */
  /* overflow-x: hidden;   */
  /* overflow入れてみるけど、別途要因も確認する */
}

.container {
overflow: hidden;
}

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

h1, h2 {
font-size: 2.4rem;
display: flex;
justify-content: center;
}

/* ==============================
section header-wrapper
============================== */

/* sp header */
@media screen and (max-width: 768px)  {
  .nav__companyname {
    color: #5B5B5B;
  } 
  .nav__companyname {
    font-family: "Bodoni Moda";
    font-size: 2.4rem;
    color: #5b5b5b;
    padding: 7px 5.3% 0;
    justify-content: flex-start;
  }

  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: -1000px;
    bottom: 0;
    width: 100%;
    background: url(../images/sp_nav_back.jpg);
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 100;
  }
  
  .icon {
    width: 24px;
    height: 24px;
  }
  
  .abouticon {
    padding: 0;
  }
  
  .icon-container {
    display: flex;
    justify-content: left; /* 中央揃え */
    padding-left: 12px;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .submenu {
    font-size: 1.4rem;
    line-height: 0;
  }
  
  /* pinkline */
   .menuline {
    position: relative;
    padding-left: 12px;
  }
   .menuline1 {
    position: relative;
    padding-left: 12px;
  }
  
  .menuline::before {
    content:'' ;
    position: absolute;
    left: 0;
    top: 50%;
    bottom: 0;
    transform: translateY(-50%);
    width: 20px; 
    height: 1px; 
    background-color:var(--primary-pink) 
  }
  .menuline1::after {
    content:'' ;
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 0;
    transform: translateY(-50%);
    width: 20px; 
    height: 1px; 
    background-color:var(--primary-pink) 
  }
  
  .open nav {
    left: 0;
  }
  nav .inner {
    padding: 21px;
    background: #ffffff91;
    border-radius: 60px 0px;
    margin-top: -60px;
  }
  
  nav .inner ul li a {
    display: block;
    color: #5b5B5B;
    font-size: 1.6;
    padding: 1em;
    transition-duration: 0.2s;
  }

  nav .inner ul li a:hover {
    background: #e4e4e4;
  }

  /* sp トップページでロゴを非表示 */
  .navArea .fv__companyname {
    /* display: none; */
  }
  
  /* クラス名は変えておくこと */
  .nav__companyname {
    /* display: none; */
  }
    /* クラス名は変えておくこと */
  section.navArea div.nav__header p.nav__companyname {
    /* display: none; */
  }
  

  /*============
  .toggle_btn
  =============*/
  .toggle_btn {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    transition: all .5s;
    cursor: pointer;
    z-index: 101;
  }
  .toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #5b5b5b;
    border-radius: 4px;
    transition: all .5s;
  }
  .toggle_btn span:nth-child(1) {
    top: 4px;
  }
  .toggle_btn span:nth-child(2) {
    top: 14px;
  }
  .toggle_btn span:nth-child(3) {
    bottom: 4px;
  }
  .open .toggle_btn span {
    background-color: #5b5b5b;
  }
  .open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
  }
  .open .toggle_btn span:nth-child(2) {
    opacity: 0;
  }
  .open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
  }
  }
  /* sp header nav 終わり */
  
  /* pc header レスポンシブ */
  @media screen and (min-width: 769px) {
    .nav__companyname {
      color: #5B5B5B;
    } 
    
    .header-wrapper {
      padding: 0 5.3% 0;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000; /* 他の要素より前面に表示 */
    }
    .toggle_btn {
        display: none;
    }
  
   .menuline:first-child {
    display: none;
   }
  
  .navArea {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 1%;
  }
  
    /* ナビゲーション全体を横並び */
  .menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px; /* メニュー間の余白 */
    align-items: center;
  }
  
  /* 各メニューアイテム */
  .menuline a {
    text-decoration: none;
    color: #5B5B5B;
    padding: 10px 15px;
    display: block;
  }
  
  /* アイコンの横並び */
  .icon-container {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-left: 13px;
  }
  
  /* アイコン画像 */
  .icon {
    width: 24px;
    height: 24px;
  }

/* マウスオーバーでサブメニュー表示 */
  /* サブメニューの親要素を基準に配置 */
  .menuline1 {
    position: relative; /* サブメニューの絶対配置の基準 */
  }
  
  /* サブメニューを初期状態で非表示 */
  .submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fdfdfd;
    box-shadow: 0px 4px 11px rgba(0, 0, 0, 0.1);
    padding: 37px 60px 37px 42px;
    list-style: none;
    width: 370px;
    height: 200px;
    z-index: 10;
    border-radius: 15px;
  }

  .submenu::after {
    content: "Menu";
    color: #F4F4F4;
    font-family: "Dancing Script";
    font-size: 12rem;
    position: absolute;
    top: -21%;
    left: 33%;
    right: 0;
    bottom: 0;
    filter: opacity(0.9);
    z-index: -1;
  }
  
  .submenu li a {
    display: block;
    padding: 10px;
    color: #2B2B2B;
    text-decoration: none;
    white-space: nowrap;
  }
  
  /* サブメニューをホバーで表示 */
  .menuline1:hover .submenu {
    display: block;
  }

  .submenu {
    display: block; /* `none` ではなく `block` にしておく */
    opacity: 0; /* 初期状態で透明 */
    visibility: hidden; /* 画面リーダーにも非表示 */
    transform: translateY(10px); /* 少し下にずらす */
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}

.menuline1:hover .submenu {
    opacity: 1; /* 透明度を100%に */
    visibility: visible; /* 表示 */
    transform: translateY(0); /* 元の位置に戻す */
}

.nav__companyname {
  font-size: 1.6rem;
}
  /* マウスオーバーでサブメニュー表示　おわり */
  }



/* ==============================
section contact
============================== */

.contact {
  font-size: 1.8rem;
  padding-top: 51px;
}

/* btn */
.btn__contact1 {
  margin: 36px auto;
  height: 40px;
  border-top-left-radius: 40px; 
  border-bottom-right-radius: 40px; 
  background-color: #E6D5BA;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn__contact1:hover {
  opacity: 0.5;
}
.btn__contact2:hover {
  opacity: 0.5;
}

.btn_txt__contact {
  color: #2b2b2b;
  padding-left: 13px;
}

.btn__contact2 {
  margin: 33px auto 65px;
  height: 40px;
  border-top-left-radius: 40px; 
  border-bottom-right-radius: 40px; 
  background-color: #DCE7BB;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* pc contact レスポンシブ */
@media screen and (min-width: 769px) {
  .contact {
    font-size: 2.4rem;
    padding-top: 110px;
  }

  .btn__contact1 {
    height: 50px;
    margin-right: 14px;
  }
  
  .btn:hover {
    opacity: 0.5;
  }
  
  .btn__contact2 {
    height: 50px;
    margin-left: 14px;
  }

  .btn_line {
    display: flex;
    align-items: unset;
    justify-content: center;
  }
}
/* pc contact レスポンシブ おわり*/


/* ==============================
section footer
============================== */
footer {
  background-color: rgba(221, 222, 215, 0.50);
  padding: 20px;
}

.brand {
  color: #5B5B5B;
  font-family: "Bodoni Moda";
  padding-top: 15px;
}

.footer-menu{
  padding-top: 30px;
  color: #5B5B5B;
}
.copyright{
  padding-top: 41px;
  color: #5B5B5B;
  font-size: 1.2rem;
  padding-bottom: 46px;
  text-align: center;
}

.footer-icon {
  width: 13%;
  height: 13%;
  padding-right: 16px;
}

.footer-innermenu {
  font-size: 1.3rem;
  line-height: 20px;
  margin-top: 10px;
}
 
/* footer レスポンシブ*/
@media screen and (min-width: 769px) {
footer {
  background-color: rgba(221, 222, 215, 0.50);
  padding: 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.footer-section {
  flex: 1;
  text-align: left;
}

.copyright {
  margin-top: 0;
  text-align: right;
  margin-right: 7.9%;
}
.brand {
  padding-top: 29px;
}
}
