@charset "utf-8";

/* リセット */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style-type: none;
}

img {
  vertical-align: top;
  width: 100%;
}

/* ここからヘッダー */
.header_inner {
  width: 96%;
  max-width: 1200px;
  height: 110px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  width: 200px;
  height: 60px;
}

.menuBtn {
  display: none;
}

#g_nav {
  padding: 10px;
  font-family: "Shippori Antique B1", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#g_nav ul {
  display: flex;
  justify-content: flex-end;
}

#g_nav ul li {
  margin-left: 10px;
}

#g_nav ul li:first-child {
  margin-left: 0;
}

#g_nav ul li a {
  display: block;
  padding: 10px;
  color: #111827;
  text-decoration: none;
  text-align: center;
  border-bottom: 1px solid transparent;
  font-size: 18px;
  letter-spacing: 0.1em;
}

#g_nav ul li a:hover {
  color: #111827;
  opacity: 0.5;
}

#nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sns_link .fa-line {
  font-size: 2rem;
  color: #111827;
}

.sns_link .fa-instagram {
  font-size: 2rem;
  color: #111827;
}

/* ここまでヘッダー */

/* ここから印鑑について */
.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px;
}

.title h1 {
  font-family: "Shippori Antique B1", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
}

.shop_contents {
  width: 1080px;
  max-width: 80%;
  margin-top: 75px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.shop_item {
  flex-grow: 1;
  max-width: 768px;
}

.shop_title {
  margin: 0 auto;
}

.item_area {
  margin-top: 25px;
  display: flex;
}

.item_area img {
  width: 50%;
  max-width: 380px;
}

.abaut_item {
  margin-left: 30px;
}

.abaut_item .item_text {
  font-size: 14px;
  line-height: 26px;
}

.abaut_item .item_day {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}

.shop_title h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}

.shop_title::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000;
  margin-top: 20px;
}

.shop_menu {
  flex-shrink: 0;
  margin-right: 60px;
}

.shop_menu_inner {
  position: sticky;
  top: 30px;
  left: 0;
  right: 0;
}

.shop_menu_inner h2 {
  font-size: 22px;
  font-weight: bold;
}

.shop_menu_inner ul {
  list-style-type: disc;
  margin-top: 20px;
  margin-left: 20px;
}

.shop_menu_inner a {
  text-decoration: none;
  color: #000;
}

.shop_menu_inner li {
  font-size: 20px;
  margin-top: 15px;
}


/* ここまで印鑑について */

/* 印鑑の料金表はここから */

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 60px 40px;
}

table th,
table td {
  padding: 15px;
  border: 1px solid #6c5f45;
}

table tbody th,
table tbody td {
  vertical-align: center;
  text-align: center;
}

table thead tr th {
  background-color: #f5f7f8;
}

table tbody tr:nth-child(odd) {
  background-color: #fff;
}

table tbody tr:nth-child(even) {
  background-color: #f5f7f8;
}

table tr th:first-child {
  width: 70px;
}

caption {
  text-align: left;
  margin: 20px 0;
}

.font_sample {
  margin: 30px 0 20px 0;
}

/* 印鑑の料金表はここまで */

/* ここから印鑑説明 */
.hanko-item {
  display: grid;
  /* 左側（文章）を広く、右側（画像）を固定幅にする設定 */
  grid-template-columns: 1fr 250px; 
  gap: 30px;
  align-items: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

.hanko-title {
  font-size: 24px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.catchphrase {
  color: #d93333; /* あの「赤」に近い色 */
  font-size: 18px;
  margin-left: 15px;
}

.hanko-description {
  line-height: 1.8;
  font-size: 15px;
}

.hanko-image img {
  width: 100%;
  height: auto;
  border-radius: 4px; /* 少し角を丸くすると今っぽいです */
}

/* ここまで印鑑説明 */

/* ここまでメイン */

/* ここからフッター */
.footer {
  color: #fff;
  background-color: #000046;
  padding-top: 30px;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
}

#f_nav ul {
  display: flex;
  justify-content: space-around;
  padding-top: 50px;
  font-family: "Shippori Antique B1", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#f_nav ul li a {
  display: flex;
  justify-content: space-between;
  margin-left: 10px;
}

#f_nav ul li:first-child {
  margin-left: 0;
}

#f_nav ul li a {
  display: block;
  padding: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  border-bottom: 1px solid transparent;
}

#f_nav ul li a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer .site_menu {
  padding-top: 40px;
  margin-right: 0;
  margin-left: 0;
}

.footer .site_menu ul li {
  border-left: 3px solid #fff;
}

.footer .site_menu ul li:nth-child(2) {
  padding-left: 30px;
}

.footer .site_menu ul li:first-child {
  border: none;
}

.footer_info {
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer_info {
  padding-top: 50px;
}

.footer_tel {
  font-size: 40px;
  font-weight: bold;
}

.footer_info p {
  margin-left: 20px;
  margin-right: 20px;
}

.nonpc {
  display: none;
}

.copyright {
  font-size: 16px;
  font-weight: bold;
  padding-top: 50px;
}

.footer_logo {
  width: 200px;
  height: 60px;
  padding-bottom: 50px;
}

.footer_info .fa-line {
  font-size: 3rem;
  color: #ffff;
}

.footer_info .fa-instagram {
  font-size: 3rem;
  color: #ffff;
}

/* ここまでフッター */


/* ここからスムーススクロール */
#totop {
  display: flexbox;
  justify-self: center;
  align-items: center;
  background-color: #ffffd9;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-align: center;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 上に戻るボタン */
#totop {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 1;

  /* はじめは非表示 */
  opacity: 0;
  transform: translateY(100px);
}

/* 上に上がる動き */
#totop.UpMove {
  animation: UpAnime 0.5s forwards;
}


@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 下に下がる動き（上と動作が逆） */
#totop.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(100px);
  }
}

.fa-arrow-up {
  font-size: 1.5rem;
  color: #000046;
}

.sns_link .fa-line:hover {
  opacity: 0.7;
}

.sns_link .fa-instagram:hover {
  opacity: 0.7;
}

.footer_sns .fa-line:hover {
  opacity: 0.7;
}

.footer_sns .fa-instagram:hover {
  opacity: 0.7;
}

/* ここからレスポンシブ用 */

@media (max-width:768px) {

  /* ここからヘッダー */

  .logo {
    width: 125px;
    height: 36px;
  }

  .header_inner {
    max-width: 220px;
    height: 50px;
    margin: 0 0 0 20px;
  }

  .title_nopc {
    display: inline;
  }

  .sns_link {
    display: none;
  }

  .menuBtn {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    cursor: pointer;
    background: #f5f7f8;
    width: 45px;
    height: 45px;
    border-radius: 4px;
  }

  .menuBtn span {
    display: block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #111827;
    width: 45%;
  }

  .menuBtn span:nth-last-of-type(1) {
    top: 14px;
  }

  .menuBtn span:nth-last-of-type(2) {
    top: 22px;
  }

  .menuBtn span:nth-last-of-type(3) {
    top: 31px;
  }

  .menuBtn.active span:nth-last-of-type(1) {
    top: 14px;
    left: 13px;
    transform: translateY(6px) rotate(-45deg);
    width: 45%;
  }

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

  .menuBtn.active span:nth-last-of-type(3) {
    top: 26px;
    left: 13px;
    transform: translateY(-6px) rotate(45deg);
    width: 45%;
  }

  #g_nav.panelactive {
    position: fixed;
    z-index: 999;
    width: calc(100% - 20px);
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #g_nav.panelactive #g_nav_list {
    position: fixed;
    z-index: 999;
    width: calc(100% - 60px);
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #1a1f2bf2;
    opacity: 0.95;
  }

  #g_nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 20px);

    flex-direction: column;
  }

  #g_nav ul li {
    margin-left: 0;
    width: 100%;
    margin-bottom: 10px;
  }

  #g_nav ul li a {
    line-height: 2;
    color: #fff;
  }


  #g_nav ul li:last-child {
    margin-bottom: 0;
  }

  /* クリックしたらナビが右から左に出現 */
  #g_nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    transition: all .6s;
    font-size: 36px;
  }

  #g_nav.panelactive {
    right: 0;
  }
/* ここまでヘッダー */


/* ここからメイン */
.shop_contents {
  display: block;
  max-width: 100%;
  margin-top: 60px;
}

.shop_menu {
  background-color: #f5f7f8;
  padding-top: 50px;
  padding: 50px 0;
  margin-top: 60px;
  margin-right: 0;
  padding-left: 15px;
}

.shop_item {
  max-width: 540px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.item_area {
  display: block;
  padding: 10px;
}

.item_area img {
  width: 100%;
  max-width: 100%;
}

.abaut_item {
  margin-top: 20px;
  margin-left: 0;
}

.font_sample img {
  width: 500px;
}

.title h1 {
  font-size: 21px;
  padding-top: 20px;
}

/* ここまでメイン */

  /* ここからフッター */
  #f_nav ul {
    display: block;
    justify-content: space-around;
    padding-top: 50px;
  }

  .footer_info {
    display: flex;
    flex-direction: column;
  }

  .footer_logo {
    width: 150px;
    height: 30px;
    padding-bottom: 50px;
  }

  .nonpc {
    display: inline;
  }

  .footer_time {
    font-size: 17px;
    padding-top: 17px;
  }


  .footer_tel {
    font-size: 30px;
    padding-top: 50px;
  }

  .footer_fax {
    font-size: 16px;
    padding-top: 15px;
  }

  .copyright {
    margin-top: 50px;
    padding-top: 15px;
  }

  .footer_sns {
    padding-top: 50px;
  }

  #totop {
    display: flexbox;
    justify-self: center;
    align-items: center;
    background-color: #ffffd9;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: #1a1f2b;
    text-align: center;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
  }

  .fa-arrow-up {
    font-size: 1rem;
  }

  .item_list {
    margin-top: 45px;
    row-gap: 40px;
    margin-bottom: 40px;
  }



  .table_wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 700px;
    padding: 10px;
  }

  /* スマホで見るときは縦に並べる設定 */
.hanko-item {
    grid-template-columns: 1fr;
  }

}