*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
*{
  /* border: red solid 1px; */
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:"M PLUS Rounded 1c", "Hiragino Sans", sans-serif;
  color: #0F4467;
  overflow-x: hidden;  
  padding: 0 1rem;
}
h1{
  font-size: xx-large;
}
.textline {
  display: inline-block;
  font-weight:bold;
  border-left: solid 10px #0F4467;
  padding: 0 0 0 10px;
}
h2{
  margin: 1em 0 0.5em 0 ;
}
.bgimg{
  background-image: url(../img/bgimg.gif);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}
.bgimg::before{
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  left: 0;
  z-index: 2;
}
/* ページトップに戻るボタン */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #0F4467;
  color: #fff;
  text-align: center;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0.7;
}

.scroll-top:hover {
  opacity: 1;
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .scroll-top {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }
}

@media (min-width: 768px) {
  .w-container{
    width: min(80%,1000px);
    margin: auto;
  }
}
ul {
  padding: 0;
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: #0F4467;
}

/* =============================================
ヘッダーのCSSはここから
============================================= */

.header-container {
  width: 100%;
  /* height: 200px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 1.5rem 1.5rem; */
  top: 0;
  left: 0;
}
div.logo {
  width: auto;
  height: 100px;
}
div.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
nav.nav ul.item {
  display: flex;
  align-items: center;
}
nav.nav ul.item li.list-menu {
  padding-left: 2rem;
}
nav.nav ul.item li.list-menu a {
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
a {
  font-weight: bold;
}
#menu-btn,.nav-hidden {
  display: none;
}

/* SPここから */
@media (max-width: 768px) {
  #menu-btn {
    display: block;
    width: 30px;
    height: 20px;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 999;
  }
  #menu-btn span,
  #menu-btn span::before,
  #menu-btn span::after {
    content: "";
    height: 2px;
    width: 100%;
    border-radius: 3px;
    background: #fff;
    position: absolute;
    transition: 0.2s;
  }
  #menu-btn span {
    top: 0;
  }
  #menu-btn span::before {
    top: 8px;
  }
  #menu-btn span::after {
    top: 16px;
  }
  #nav-input:checked~#menu-btn span {
    top: 8px;
    transform: rotate(45deg);
  }
  #nav-input:checked~#menu-btn span::before {
    opacity: 0;
  }
  #nav-input:checked~#menu-btn span::after {
    top: 0;
    transform: rotate(-90deg);
  }
  .header-container {
    padding: 1rem;
  }
  nav.nav {
    width: 230px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 11;
    opacity: 0;
    visibility: hidden;
    background: #3656a793;
    transition: 0.5s;
  }
  nav.nav ul.item {
    display: block;
    padding: 4rem 2rem;
  }
  nav.nav ul.item li.list-menu {
    padding-left: 0;
    padding-bottom: 1.5rem;
  }
  #nav-input:checked~nav.nav {
    opacity: 1;
    visibility: visible;
  }
}
/* =============================================
ヒーロー
============================================= */
.hero-container{
  display: flex;
  justify-content: center
}
.hero-container img{
  width: 200px;
  height: auto;
}

.balloon2-left {
  position: relative;
  display: flex;
  align-items: center;
  margin: 5em 0 5em 15px;
  padding: 14px 20px;
  min-width: 120px;
  max-width: 100%;
  color: #0F4467;
  font-size: 16px;
  background: #FFF;
  box-sizing: border-box;
  border-radius: 30px;
}
.balloon2-left:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -24px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-right: 12px solid #FFF;
}
.balloon2-left p {
  margin: 0;
  padding: 0;
}
/* =============================================
黒板アート
============================================= */

.art-container img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
@media (min-width: 768px) {
  .art-container img{
    margin: 0;
  }
}
/* =============================================
作品
============================================= */

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.image-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
/* =============================================
料金表
============================================= */
/* テーブル */
.table04 {
  max-width: 650px;
  margin: 0 auto;
}
.table04 th,
.table04 td {
  text-align: center;
  padding: 1rem 1.5rem;
  display: block;
}
.table04 tr {
  display: block;
  background-color: #f7f7f7;
  margin-bottom: 2rem;
  transition: 0.3s;
  border-radius: 20px;
}
.table04 tr:hover {
  box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.4);
}
.table04 th {
  font-size: 2rem;
  color: #fff;
  background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
  border-radius: 20px 20px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 画面サイズに応じて文字を縮小 */
@media screen and (max-width: 600px) {
  .table04 th {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 400px) {
  .table04 th {
    font-size: 1.2rem;
  }
}
.table04 .price {
  font-size: 2rem;
  font-weight: bold;
  padding-bottom: 2rem;
}
.table04 .table-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  object-fit: contain;
}
.table04 .table-img-kappa  {
  width: 168px;
  height: 217px;
  display: block;
  margin: 1rem auto;
  object-fit: contain;
}
.table04 .table-img-kikurage {
  width: auto;
  height: auto;
  display: block;
  margin: 1rem auto;
  object-fit: contain;
}
@media screen and (max-width: 768px) {}

/* =============================================
フッターのCSSはここから
============================================= */
footer.footer04 {
  padding: 2rem 1rem 1rem;
  /* background: #E1C082; */
}
.footer-container {
  display: flex;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto 3rem;
  gap: 50px;
}
.profile{
  width: 20vw;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.profile img{
  border-radius: 50%;
  width: 150px;
  height: auto;
}
.profile p{
  text-align: center;
}
.profile-name{
  font-size: 2rem;
}
nav.nav-footer {
  margin: 0;
}
nav.nav-footer ul.item-footer li.list-footer {
  padding-bottom: 1rem;
}
nav.nav-footer ul.item-footer li.list-footer a {
  font-weight: bold;
  color: #fff;
  font-size: 0.8rem;
}
.btn-container-footer {
  margin: auto 0;
}
.btn-container-footer a {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.5rem 2rem 0.5rem 1rem;
  border-radius: 8px;
  text-align: center;
  position: relative;
}
.btn-container-footer a::before {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1rem;
  margin: auto;
}
.contact-btn {
  color: #0F4467;
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}
.contact-btn::before {
  border-top: 2px solid #0F4467;
  border-right: 2px solid #0F4467;
  transform: rotate(45deg);
}
p.copyright {
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);

}
@media screen and (max-width: 768px) {
  footer.footer04 {
    padding: 2rem 1rem 1rem;
  }
  .footer-container {
    flex-wrap: wrap;
    max-width: 320px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
  }
  .profile{
    width: 80vw;
  }
  .profile p{
    font-size: small;
  }
  nav.nav-footer {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  nav.nav-footer ul.item-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav.nav-footer ul.item-footer li.list-footer {
    padding: 0.5rem;
  }
  nav.nav-footer ul.item-footer li.list-footer a {
    font-weight: bold;
    color: #fff;
    font-size: 0.8rem;
  }
  .btn-container-footer {
    margin:auto;
    display: flex;
    justify-content: center;
    flex-direction: column;

  }
  .contact-btn{
    width:50vw ;
  }
}