@charset "utf-8";

/* ------------------------------
   Base style
------------------------------ */
body{
    font-family: 'Noto Sans JP', "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif; 
    font-size: 16px;
    font-weight: normal;
    line-height: 1.9;
    color:#333;
    background-color: #f7f3e8;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.section {
    padding: 1rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .section {
        padding: 1rem 1rem;
    }
}

footer {
    margin-top: auto;
}

/* ------------------------------
   Titles
------------------------------ */
h1 {
    text-align: center;
}

.section_title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: #355e3b;
    border-bottom: 1px solid #355e3b;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.section_subtitle {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ------------------------------
   Tables
------------------------------ */
.item-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.item-table th,
.item-table td {
  border: 1px solid #ccc;
  padding: 10px;
}

.item-table th {
  background: #f5f5f5;
  text-align: left;
}

/* ------------------------------
   GoogleMaps
------------------------------ */
.iframeWrapper {
    position: relative;
}

.iframeWrapper::before {
    content: "";
    display: block;
    padding-top: calc(450 / 800 * 100%);
}

.iframeWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* ------------------------------
   Back to Top Button
   footerの最初に追加
------------------------------ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #355e3b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.back-to-top svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: #355e3b;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #355e3b;
}

.back-to-top:hover svg {
    fill: #ffffff;
}