@charset "utf-8";

/* -- reset -------------------------- */

html {
    width: 100%;
    height: 100%;
    font-size: 3vw;
    /* scroll-behavior: smooth; */
}

body {
    width: 100%;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0;
    font-family: "メイリオ", sans-serif;
    overflow-y: scroll;
}

header,
footer,
div {
    box-sizing: border-box;
}

label:hover {
    cursor: pointer;
    font-weight: bold;
}

input[type="button"],
input[type="submit"],
input[type="checkbox"] {
    cursor: pointer;
}

th {
    white-space: nowrap;
}

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


/* -- design ----------------- */


header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 3rem;
    padding: 0.3rem;
    /* padding: 0; */
    /* margin: 0; */
    text-align: center;
    /* vertical-align: middle; */
    /* border-bottom: 0.1rem solid #000; */
    background-color: #3cb371;
    color: white;
    z-index: 3;
}

/* header h1 {
    font-size: 1.4em;
} */
header div {
    display: inline-block;
    height: 100%;
    font-size: 1.6rem;
}
header #prev_field {
    float: left;
}
header #next_field {
    float: right;
}
header #current_field {
    font-size: 2rem;
}
header a {
    text-decoration: none;
    color: white;
}

body {
    /* ヘッダーの高さだけ余白をとる。これ以上凝った指定は不要 */
    margin-top: 4rem;
}


footer {
    width: 100%;
    height: 1rem;
    padding: 0.2rem;
    font-size: 0.8em;
    text-align: center;
    border-top: 0.1rem solid #000;
    margin-top: 10rem;
    /* ページの一番下まで来たときにトップへ戻るボタンがコンテンツに被らないようなマージンを指定している */
}

#contents {
    width: 96%;
    margin: auto;
}

#field_id {
    font-size: 2rem;
    width: 100%;
    text-align: center;
}

.vege-name {
    /* margin-left: 1rem; */
    font-size: 1.6rem;
}

.vege-table th,td {
    text-align: left;
    vertical-align: top;
}

.field-map-wrapper {
    text-align: center;
}
.field-map {
    border: 0.1rem solid #000;
    border-collapse: collapse;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.field-map td {
    width: 2rem;
    height: 2rem;
    border: 0.1rem solid #000;
    text-align: center;
    vertical-align: middle;
}


.name-btn {
    display: block;
    font-size: 2rem;
    text-align: center;
    padding: 0.3em 1em;
    margin: 1rem;
    text-decoration: none;
    color: #3cb371;
    border: solid 2px #3cb371;
    border-radius: 3px;
    transition: .4s;
  }

.name-btn:hover {
    background: #3cb371;
    color: white;
}

.top-btn {
    display:  block;
    color: #fff;
    text-decoration:  none;
    background-color: #3cb371;
    border-radius: 50%;
    position:  relative;
    height: 6rem;
    width: 6rem;
    margin: auto;
    opacity: 0.6;
}

.top-btn::before {
    content:  '';
    width: 2rem;
    height: 2rem;
    display:  block;
    border-top: solid 0.6rem;
    border-right: solid 0.6rem;
    transform: rotate(-45deg);
    position:  absolute;
    /* top: 10px; */
    top: 20%;
    bottom:  0;
    left:  0;
    right:  0;
    margin:  auto;
}

.top-btn:hover {
    background: #3cb371;
    color: white;
}

#page-top {
    width: 100%;
    position: fixed;
    bottom: 0.2rem;
    right: 0.2rem;
}

.swiper-wrapper {
    text-align: center;
}

.slide-comment {
    margin-bottom: 2rem;
}


/* -- swiper.js override ---------------------- */

.swiper-pagination-bullet {
	width: 1rem; /* 幅 */
    height: 1rem; /* 高さ */
}


