@charset "utf-8";

body {
  font-family: "Shippori Mincho", serif, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
  background-color: #FFFFF8;
}

/* 画像の大きさ・no repeat修正 */

h3,
p,
.global,
dt,
dd,
th,
ul,
li {
  font-family: Noto Sans JP;
  color: #0A0733;
}

/* フォント再確認する */

h2 {
  margin-bottom: 20px;
  font-family: "Shippori Mincho", 'Noto Serif JP', serif;
  font-size: 2.4rem;
  color: #0A0733;
  text-align: center;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  /* font-size: 2rem; */
  color: #0A0733;
}

p,
figcaption,
dl {
  font-size: 1.6rem;
  text-align: justify;
  letter-spacing: 0.3rem;
  line-height: 1.8;
}

iframe {
  width: auto;
}

.wrapper {
  width: 100%;
  margin: 0 auto;
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: self-start; */
  /* background-image: url(../images/ba-im.jpg); */
  background-color: #FFF6DF;
  background-attachment: fixed;
  background-size: cover;
  overflow: hidden;
}

.wrap {
  /* max-width: 530px; */
  margin: 0 auto;
  background-color: #fff;
}

/* メインタイトル */
header.set1 {
  /* width: 350px; */
  height: 161px;
  margin: 0 auto;
  position: fixed;
  /* top: 175px;
  left: 30px; */
  top: 67px;
  left: 111px;
  z-index: 9999;
}

header.set1 h1 {
  width: auto;
  max-width: 332px;
  margin: 0 auto;
  /* background-color: #fff; */
  /* padding: 30px 0px; */
  border-radius: 3px;
}

header.set1 h1 a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}

header.set1 h1 a p.logo {
  width: auto;
  max-width: 139px;
}

header.set1 h1 a .logo_text {
  writing-mode: vertical-rl;
  /* 右から左へ縦書き */
  text-orientation: upright;
  /* 文字を立てて表示（日本語対応） */
}

header.set1 h1 a .logo_text p {
  color: #1037AE;
  font-family: 'Shippori Mincho', serif;
}

header.set1 h1 a .logo_text p:nth-child(1) {
  font-size: 4.0rem;
  line-height: 30px;
  letter-spacing: 15px;
  font-weight: 100;
  text-align: center;
}

header.set1 h1 a .logo_text p:nth-child(2) {
  font-size: 6.0rem;
  font-weight: 100;
  line-height: 100px;
  letter-spacing: 25px;
  
}

header.set2 {
  display: none;
}

/* サブメニュー */
.sum_menu {
  /* width: calc( (100% - 30%) - 410px ); */
  /* margin: 0 auto; */
  /* padding: 0 21px; */
  /* position: fixed; */
  /* right: 30px; */
}

/* メイン内容 */
main {
  width: 40%;
  /* min-width: 401px; */
  max-width: 600px;
  margin: 0 auto;
  /* margin-top: 95px; */
}

/* スマホ画面のヘッダー */
.top {
  display: none;
}

/* ナビ */
nav.global_nav {
  /* width: 30%; */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  /* top: 175px; */
  top: 67px;
  right: 40px;
  z-index: 9999;
}

nav.global_nav ul {
  width: 310px;
  /* max-width: 306px; */
  margin: 0 auto;
  /* background-color: #fff; */
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 60px 10px;
  border-radius: 3px;
}

nav.global_nav ul li {}

nav.global_nav ul li a {
  line-height: 1;
  font-size: 1.8rem;
  color: #0E0A82;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
}

nav.global_nav ul li a:hover {
  color: #D0A900;
  text-decoration: underline;
}


/* ───────────── 新規追加(ナビを縦書きに設定変更) ───────────── */
nav.global_nav.vertical-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: unset;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  max-width: 1000px;
}

nav.global_nav.vertical-nav ul li {
  writing-mode: vertical-rl; /* 縦書き（右→左） */
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  /* height: 120px;  */
  display: flex;
  align-items: center;
  justify-content: start;

}

/* 1〜8番目は4列x2行 */
nav.global_nav.vertical-nav ul li:nth-child(-n+8) {
  width: 12.5%; /* 8列を2行に並べる（12.5% = 1/8） */
}

/* 9番目だけ中央配置の1列 */
nav.global_nav.vertical-nav ul li:nth-child(9) {
  width: 100%;
  justify-content: center;
  height: auto;
}

/*   1行目（1〜4番目）→ 2行目へ／2行目（5〜8番目）→ 1行目へ  */
nav.global_nav.vertical-nav ul li:nth-child(1) { order: 4; } /* ↓ 下段へ */
nav.global_nav.vertical-nav ul li:nth-child(2) { order: 3; }
nav.global_nav.vertical-nav ul li:nth-child(3) { order: 2; }
nav.global_nav.vertical-nav ul li:nth-child(4) { order: 1; }

nav.global_nav.vertical-nav ul li:nth-child(5) { order: 8; } /* ↑ 上段へ */
nav.global_nav.vertical-nav ul li:nth-child(6) { order: 7; }
nav.global_nav.vertical-nav ul li:nth-child(7) { order: 6; }
nav.global_nav.vertical-nav ul li:nth-child(8) { order: 5; }

nav.global_nav.vertical-nav ul li:nth-child(9) { order: 9; } /* SNSリンクは最下段中央 */

nav.global_nav.vertical-nav ul li:nth-child(9) {
  writing-mode: horizontal-tb; /* 横書きに戻す */
  text-orientation: initial;
  justify-content: center; /* 中央揃え */
  align-items: center;
  height: auto;
}
/* ──────────────────────────────────────────────── */

/* スマホ画面のヘッダー */
.top {
  width: 40%;
  /* min-width: 401px; */
  /* max-width: 401px; */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFF6DF;
  padding: 20px 5px 20px 5px;
  position: fixed;
  top: 0;
  display: none;
  z-index: 9999;
}

.top .sub_logo a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.top .sub_logo a .sub_logo_img {
  width: 60px;
}

.top .sub_logo a .sub_logo_text p {
  color: #1037AE;
  font-family: 'Shippori Mincho', serif;
}

.top .sub_logo a .sub_logo_text p:nth-child(1) {
  line-height: 1;
  font-size: 1.9rem;
}

.top .sub_logo a .sub_logo_text p:nth-child(2) {
  line-height: 1;
  font-size: 2.9rem;
}

.top ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-right: 70px;
}

.top ul li.sub_phone {
  width: 36px;
}

.top ul li.sub_mail {
  width: 36px;
}

/* 新しい供養のかたち 海洋散骨 */
.first-view {
  background-image: url(../images/top3.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* height: 387px; */
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.first-view h2 {
  /* margin-bottom: 114px; */
  margin-bottom: 328px;
  color: #fff;
}

/* 天国じゃなくて、みんな海で待ち合わせ */
section.catchphrase {
  padding: 50px 0 0 0;
  background-color: #FFF6DF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section.catchphrase h2 {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 20px;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 3px;
}

section.catchphrase p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 22px;
}

section.catchphrase p:nth-child(2) {
  margin-bottom: 55px;
}

/* 峨峨堂(ががどう)について */
section.company {
  margin: 0 auto;
  padding: 75px 10px 0 10px;
}

section.company p {
  /* margin-top: 10px; */
  text-align: justify;
  letter-spacing: 0.2rem;
}

section.company p:nth-child(3) {
  margin-top: 50px;
}

/* 海洋散骨について */
section.business {
  padding: 30px 10px 57px 10px;
  background-color: #FFF6DF;
}

section.business p.sunarime1 {
  margin-bottom: 50px;
}

section.business .business_content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* こだわり */
section.commit {
  padding: 0px 10px 0 10px;
}

section.commit p.sunarime2 {
  margin-bottom: 50px;
}

section.commit .commit_content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

section.commit .commit_content ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: self-start;
  gap: 20px;
}

section.commit .commit_content ul li {
  font-size: 1.6rem;
  font-weight: 400;

}


/* 散骨の流れ */
section.flow {
  padding: 75px 10px 0 10px;
  background-color: #FFF6DF;
}

section.flow ol {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 40px 0px;
  background-color: #fff;
}

section.flow ol li section {
  display: flex;
  justify-content: center;
  align-items: start;
  /* flex-direction: row-reverse; */
  gap: 30px;
}

section.flow ol li section h3 {
  width: 35%;
}

section.flow ol li section dl {
  width: 50%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 30px;
}

section.flow ol li section dl dt {
  font-size: 2.0rem;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
}

section.flow ol li section dl dd {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
}

section.flow ol li::after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  margin: 40px auto;
  background-image: url("../images/next.png");
  background-size: contain;
  background-repeat: no-repeat;
}

section.flow ol li:last-child::after {
  content: none;
}

/* 料金について */
section.price {
  padding: 0px 10px 0 10px;
  background-color: #E4F3FC;
}

section.price .price_text p {
  margin: 0 auto;
  margin-bottom: 20px;
  text-align: left;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 22px;
}

section.price .price_content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

section.price .price_content dl {
  width: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

section.price .price_content dl li {}

section.price section {}

section.price section h3 {
  font-size: 2.0rem;
  font-weight: 400;
  line-height: 22px;
  margin-top: 30px;
}

section.price section h3::before {
  content: "・";
  font-size: 2.0rem;
  font-weight: 400;
  line-height: 22px;
}

section.price section p {
  letter-spacing: 0;
}

section.price section p:nth-child(2),
section.price section p:nth-child(3) {
  margin-bottom: 20px;
}


section.price section dl {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  margin: 0 auto;
}

section.price section dt {
  width: auto;
  letter-spacing: 0;
}

section.price section dd {
  width: auto;
  letter-spacing: 0;
}

section.price section dd::before {
  content: ":";
  padding-left: 5px;
  padding-right: 5px;
}



/* 料金について */
section.document {
  padding: 75px 10px 0 10px;
  background-color: #E4F3FC;
}

section.document ul {
  width: fit-content;
  list-style: disc;
  margin: 0 auto;
  padding: 0 0 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
  letter-spacing: -0.1rem;
}

section.document ul li {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 22px;
}

/* よくあるご質問 */
section.question {
  padding: 75px 10px 60px 10px;
}

section.question dl {}

section.question dl dt {
  margin-bottom: 15px;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 22px;
}

section.question dl dd {
  margin-bottom: 40PX;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 22px;
}

/* お知らせ */
section.info {
  padding: 75px 0 40px 0px;
  background-color: #FFF6DF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section.info dl {
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #fff;
}

section.info dl div {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: left;
}

section.info dl div dt {
  width: 25%;
}

section.info dl div dd {
  width: 75%;
}

/* お問い合わせ */
section.contact {
  padding: 0px 10px 40px 10px;
  /* background-color: #FFF6DF; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section.contact ul {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

section.contact ul li {
  padding: 20px 30px;
  background-color: #1037AE;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

section.contact ul li:hover {
  background-color: #D0A900;
}

section.contact p {
  letter-spacing: 0rem;
}

section.contact p:nth-child(5) {
  width: 100%;
  text-align: left;
}


/* アクセス */
section.access {
  margin: 0 auto;
  padding: 40px 10px 40px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

section.access .access_map {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

section.access .access_map ul {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: self-start;
}

section.access .access_map ul li dl {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
}

section.access .access_map ul li dl dt,
section.access .access_map ul li dl dd {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.1px;
}

section.access .access_map ul li dl dt::after {
  content: ":";
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 22px;
  padding: 0 5px;
}

section.access .access_map ul li:nth-child(1) {
  margin-bottom: 30px;
}

section.access .access_map ul li:nth-child(1) dl {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
}

section.access .access_map ul li:nth-child(1) dl dd {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  /* 線の太さ */
  text-underline-offset: 3px;
  /* 線の位置調整 */
  text-decoration-color: #0A0733;
  /* 線の色 */
}

section.access .access_map ul li:nth-child(1) dl dd {
  color: #0A0733;
}

section.access .access_map p {
  width: 50%;
}

section.access .address_text {
  width: 100%;
  text-align: left;
}

section.access .address_text address {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 22px;
}

/* 利用規約 */
section.terms {
  margin: 0 auto;
  padding: 40px 10px 40px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 100px;
}

section.terms p {
  width: 100%;
  text-align: left;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 22px;
}

section.terms ul li {
  margin-bottom: 30px;
}

section.terms ul li dl dt {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 22px;
  padding-bottom: 3px;
}

section.terms ul li dl dd {
  padding-left: 5px;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
}

section.terms ul li:nth-child(2) dl dd {
  display: flex;
  justify-content: flex-start;
  align-items: self-start;
}

section.terms ul li:nth-child(2) dl dd::before {
  display: inline-block;
  content: "・";
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 22px;
}


/* プライバシーポリシー */
section.privacy {
  margin: 0 auto;
  padding: 40px 10px 40px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 100px;
}

section.privacy h2.flower_title span:nth-child(2) {
  letter-spacing: 0;
  font-size: 2.3rem;
}

section.privacy p {
  margin-bottom: 20px;
}

section.privacy section ol {
  list-style: decimal;
  list-style-position: inside;
}

section.privacy section ol li {
  font-size: 1.6rem;
  margin-bottom: 10px;
}


/* footer */
footer {
  margin: 0 auto;
  padding: 40px 10px 20px 10px;
  background-color: #1037AE;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer section h2 a {
  color: #fff;
}

footer section nav.local {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;

}

footer section nav.local ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: self-start;
  gap: 30px;

}

footer section nav.local ul li a {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 22px;
  transition: background-color 0.3s ease;
}

footer section nav.local ul li a:hover {
  color: #D0A900;
}

footer section ul.sns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 30px auto;
}

footer section ul.sns li:nth-child(1) a {
  font-size: 2.0rem;
  color: #fff;
}

footer section ul.sns li:nth-child(2) {
  width: 35px;
}

footer small {
  width: 100%;
  margin: 0 auto;
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
}



/* 共有設定 */
h2.flower_title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 20px;
}

h2.flower_title span:nth-child(1) {
  width: 50px;
}

h2.flower_title span:nth-child(2) {
  font-size: 2.4rem;
  font-weight: 600;
}


p.dolphin1 {
  margin: 0 auto;
  margin-right: 0;
  width: 175px;
  /* max-width: 250px; */
  margin-bottom: 30px;
}

p.dolphin2 {
  margin: 0 auto;
  margin-left: 0;
  width: 157px;
  /* max-width: 250px; */
  margin-bottom: 40px;
}

p.dolphin3 {
  margin: 0 auto;
  margin-right: 0;
  /* padding-top: 100px; */
  width: 100px;
  max-width: 250px;
}

p.dolphin4 {
  margin: 0 auto;
  margin-right: 0;
  width: 175px;
  /* max-width: 250px; */
  margin-bottom: 25px;
}

p.dolphin5 {
  margin: 0 auto;
  margin-left: 0;
  width: 150px;
  /* max-width: 250px; */
}


p.btn_03 a {
  margin-top: 75px;
  text-align: center;
}

.box {
  opacity: 0;
  /* 初期は非表示 */
  transform: translateY(40px);
  /* 下方向にずらしておく */
  transition: all 0.6s ease;
  /* スムーズに動く */
  background: #fff;
  /* padding: 20px; */
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.box.active {
  opacity: 1;
  /* 表示されたら完全表示 */
  transform: translateY(0);
  /* 元の位置に戻す */
}

.fixed_btn {
  width: 310px;
  height: 66px;
  position: fixed;
  bottom: 20px;
  right: 40px;
  z-index: 9999;
  background-color: #D0A900;
  padding: 10px 20px;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fixed_btn p a {
  color: #fff;
  text-decoration: none;
  font-size: 2.0rem;
}

@media screen and (max-width:1180px) {

  main {
    margin: 0;
    width: calc(100% - 320px);
    max-width: none;
  }

  header.set1 {
    display: none;
  }

  header.set2 {
    display: block;
    height: 161px;
    margin: 0 auto;
    position: fixed;
    top: 0px;
    right: 0;
    z-index: 9999;
  }

  header.set2 h1 {
    width: 310px;
    /* max-width: 306px; */
    margin: 0 auto;
    background-color: #fff;
    padding: 30px 10px;
    /* border-radius: 3px; */
  }

  header.set2 h1 a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  header.set2 h1 a p.logo {
    width: 100px;
  }

  header.set2 h1 a .logo_text p {
    color: #1037AE;
    font-family: 'Shippori Mincho', serif;
  }

  header.set2 h1 a .logo_text p:nth-child(1) {
    font-size: 3.0rem;
    line-height: 30px;
  }

  header.set2 h1 a .logo_text p:nth-child(2) {
    font-size: 4.0rem;
    line-height: 70px;
  }

  .sum_menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 20px;
    top: 10px;
  }

  nav.global_nav ul {
    padding: 30px;
    border-radius: 0;
  }

  nav.global_nav {
    top: 160px;
    right: 0;
  }

  .fixed_btn {
    right: 0;
  }

  section.flow ol li section h3 {
    width: 20%;
    margin-bottom: 0;
  }

}

@media screen and (max-width:780px) {
  .sum_menu {
    display: none;
  }

  main {
    width: 100%;
  }

  .top {
    width: 100%;
    display: inline-flex;
  }

  header.set2 {
    display: none;
  }

  nav.global_nav ul {
    gap: 15px;
  }

  .fixed_btn {
    bottom: -20px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
  }

  .first-view {
    margin-top: 100px;
  }

  /*========= ナビゲーションのためのCSS ===============*/

  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: #999;
    /*動き*/
    transition: all 0.6s;
    overflow-y: auto;
    /* 縦スクロールを有効にする */
    -webkit-overflow-scrolling: touch;
    /* iOSでスムーズスクロール */
  }

  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    right: 0;
  }

  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: inherit;
    z-index: 10000;
    margin-top: 100px;
  }

  /*リストのレイアウト設定*/

  #g-nav li {
    list-style: none;
    text-align: center;
  }

  #g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }

  /*========= ボタンのためのCSS ===============*/
  .open_btn {
    display: block;
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 25px;
    right: 9px;
    cursor: pointer;
    width: 70px;
    height: 70px;
  }

  /*×に変化*/
  .open_btn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #000;
    width: 50%;
  }

  .open_btn span:nth-of-type(1) {
    top: 15px;
  }

  .open_btn span:nth-of-type(2) {
    top: 25px;
  }

  .open_btn span:nth-of-type(3) {
    top: 35px;
  }

  .open_btn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

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

  .open_btn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}

@media screen and (max-width:401px) {
  /* 
  header {
    display: none;
  }

  main {
    margin-top: 95px;
  }

  nav.global_nav {
    display: none;
  }

  スマホ画面のヘッダー
  .top {
    width: 40%;
    min-width: 401px;
    max-width: 401px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFF6DF;
    padding: 50px 5px 5px 5px;
    position: fixed;
    top: 0;
  }

  .top .sub_logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .top .sub_logo a .sub_logo_img {
    width: 40px;
  }

  .top .sub_logo a .sub_logo_text p {
    color: #1037AE;
    font-family: 'Shippori Mincho', serif;
  }

  .top .sub_logo a .sub_logo_text p:nth-child(1) {
    line-height: 1;
    font-size: 1.6rem;
  }

  .top .sub_logo a .sub_logo_text p:nth-child(2) {
    line-height: 1;
    font-size: 2.4rem;
  }

  .top ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .top ul li.sub_phone {
    width: 36px;
  }

  .top ul li.sub_mail {
    width: 36px;
  } */
}