@charset "UTF-8";

/* Colors */
:root {
  --accent: #A0BBC9;
  --accent2: #C9BB9B;
  --accent3: #1a3950;
  --bgc: #ffffff;
  --txt: #533422;
}


body {
  font-family: "Noto Serif JP", sans-serif;
  background-color: var(--bgc);
  color: var(--txt);
  font-size: 16px;
}

h1 {
  font-size: 18px;
  font-weight: bold;
}

h3 {
  font-size: 24px;
}

@media (min-width: 800px) {
  body {
    font-size: 16px;
  }
}

/* ヘッダー */
.header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

@media (min-width: 1280px) {
  .header {
    position: relative;
    background-color: #ffffff;
    height: 70px;
    display: flex;
    align-items: center;
    max-width: 1280px;
  }
}

.header img {
  height: 50px;
  margin: 5px;
}
.table-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  height: 70px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
.table-header img {
  height: 50px;
  margin: 5px;
}
.header-title {
  display: flex;
  align-items: center;
}
/* メニュー */
.menu-toggle {
  display: none;
}

.menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 30px;
  cursor: pointer;
  z-index: 1000000;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 5px;
  background-color: black;
  margin: 6px 0;
  transition: 0.4s;
}

.menu {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100vh;
  background-color: rgba(255,255,255,0.5);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.4s ease-in-out;
  padding-top: 60px;
}

.menu a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: black;
  font-size: 18px;
  border-bottom: 1px solid #ddd;
}

.menu a:hover {
  background-color: #f4f4f4;
}

#menu-toggle:checked ~ .menu {
  right: 0;
}

#menu-toggle:checked ~ .menu-btn span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked ~ .menu-btn span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .menu-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}  
  /* ヒーロー */
.hero-outer {
  display: flex;
  justify-content: space-evenly;
}

.hero-container {
  position: relative;
  z-index: -10;
  background-color: #1a3950;
  background-image: url(../img/hero.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  height: 563px;
  min-width: 395px;
  max-width: 1280px;
}

@media (min-width: 1280px) {
  .hero-container {
    position: relative;
    background-color: #1a3950;
    background-image: url(../img/hero2.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    height: 960px;
    min-width: 1280px;
  }
}

.hero-container p:first-of-type {
  font-size: 28px;
  margin-top: 17px;
  margin-left: 16px;
  line-height: 2;
}

@media (min-width: 1280px) {
  .hero-container p:first-of-type {
    font-size: 48px;
    margin-top: 42px;
    margin-left: 61px;
    line-height: 2;
  }
}


.hero-container p:nth-of-type(2) {
  font-size: 20px;
  color: #fffdfd;
  margin-top: 243px;
  margin-left: 16px;
  line-height: 2.2;
}

@media (min-width: 1280px) {
  .hero-container p:nth-of-type(2) {
    font-size: 36px;
    color: #fffdfd;
    margin-top: 440px;
    margin-left: 684px;
    line-height: 2.2;
  }
}


.hero-button {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

@media (min-width:1280px) {
  .hero-button {
    position: absolute;
    right: 0px;
    top: 58px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* message */
.message-container {
  display: flex;
  justify-content: center;
  background-color: (var(--accent));
}

@media (min-width:1280px) {
  .message-inner {
    position: relative;
    background-color: var(--accent);
    width: 1280px;
    height: 900px;
  }
}

.message {
  background-color: var(--bgc);
  color: var(--accent3);
  min-width: 390px;
}

@media (min-width: 1280px) {
  .message {
    position: absolute;
    top: -100px;
    left: 0px;
    background-color: var(--bgc);
    color: var(--accent3);
    width: 730px;
    height: 1000px;
  }
}

.message-logo {
  display: none;
}

@media (min-width: 1280px) {
  .message-logo {
    display: inline;
    position: absolute;
    top: -70px;
    right: 180px;

    z-index: 0;
  }
}

.message-img {
  display: none;
}

@media (min-width: 1280px) {
  .message-img {
    display: inline;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 700px;
    z-index: 0;
  }
}

.message h2 {
  font-size: 18px;
  text-decoration: 1px overline underline solid #1a3950;
  margin-top: 39px;
  margin-left: 26px;
  margin-bottom: 46px;
}


.message p {
  margin-top: 33px;
  margin-left: 28px;
  line-height: 2;
}

.message p:first-of-type {
  font-size: 26px;
  margin-left: 18px;
  line-height: 1.3
}

.message p:nth-of-type(2) {
  margin-top: 56px;
}
/* 対応エリア */
.pc-area-container {
  display: none;
}
.area-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.area {
  background-color: var(--accent);
  min-width: 390px;
  height: 450px;
  position: relative;
  z-index: -2;
}
.area h2 { 
  font-size: 18px;
  text-decoration: 1px overline underline solid #1a3950;
  margin-top: 39px;
  margin-left: 26px;
  margin-bottom: 46px;
}
.area p{
  position: absolute;
  top:54px;
  right:5px;
  color: var(--bgc);
  font-size: 16px;
  letter-spacing: 0.1rem;
}
.area-bg {
  position: absolute;
  top:0px;
  right:  0px;
}
.area-city{
  position: absolute;
  top:160px;
  right: 10px;
}
.area-castle {
  position: absolute;
  top: 75 px;
  left: 30px;
}
.area-logo {
  position: absolute;
  bottom: 35px;
  right: 45px;
}
.area-logo img {
  width: 45px;
}
/* PC用対応エリア */
@media (min-width: 1280px) {
  .area-container {
    display: none;
  }
  .pc-area-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .pc-area {
    background-color: var(--accent);
    min-width: 1280px;
    height: 990px;
    position: relative;
  }
  .pc-area h2 { 
    font-size: 18px;
    text-decoration: 1px overline underline solid #1a3950;
    margin-top: 39px;
    margin-left: 26px;
    margin-bottom: 46px;
  }
  .pc-area p{
    position: absolute;
    top:130px;
    right:70px;
    color: var(--bgc);
    font-size: 32px;
    letter-spacing: 0.5rem;
  }
  .pc-area-bg {
    position: absolute;
    top:0px;
    right:  0px;
  }
  .pc-area-city{
    position: absolute;
bottom: 84px;
    left: 268px;
  }
  .pc-area-castle {
    position: absolute;
    top: 160 px;
    left: 137px;
  }
  .pc-area-logo {
    position: absolute;
    bottom: 84px;
    right: 456px;
  }
  .pc-area-logo img {
    width: 100px;
  }
}
/* アクセス */
.access-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.access {
  position: static;
  background-color: var(--bgc);
  color: var(--accent3);
}

.access h2 {
  font-size: 18px;
  text-decoration: 1px overline underline solid #1a3950;
  margin-top: 39px;
  margin-left: 26px;
  margin-bottom: 46px;
}

.access-inner {
  display: flex;
}

.access-inner p {
  margin-left: 28px;
}

.access-inner p:first-of-type {
  margin-top: 30px;
}

.access-inner p:nth-of-type(2) {
  margin-top: 5px;
  font-weight: bold;
}

.access-inner p:nth-of-type(3) {
  margin-top: 22px;
}

.access-inner p:last-of-type {
  margin-top: 17px;
  font-size: 14px;
}
/* PC用アクセス */
@media (min-width: 1280px) {
  .access-container {
    display: none;
  }
}
.pc-access h2 {
  font-size: 18px;
  text-decoration: 1px overline underline solid #1a3950;
  margin-top: 39px;
  margin-left: 26px;
  margin-bottom: 46px;
}

/* コンタクト */
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1280px) {
  .contact-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
}
.pc-access-container{
  display: none;
}
@media (min-width: 1280px) {
  .pc-access-container{
    margin-top: 36px;
    margin-bottom: 51px;
    display: flex;
    justify-content: center;
  }
  .pc-access-cotainer img{
    width: 425px;
    height: 453px;
  }
  .pc-access {
    display: flex;
    flex-direction: column;
  }
  .pc-annai {
    font-size: 30px;
    padding-top: 15 0px;
  }
  .pc-access-inner {
    display: flex;
    flex-direction: column;
    margin-left: 58px;
    margin-right: 58px;
    justify-content: space-between;
  }
}
.contact {
  background-color: var(--accent3);
  color: var(--bgc);
  padding-top: 66px;
  padding-bottom: 36px;
  min-width: 390px;
  max-width: 800px;
}

@media (min-width: 1280px) {
  .contact {
    width: 640px;
    height: 434px;
  }
}

.contact h3 {
  text-align: center;
}

.contact p {
  text-align: center;
}

.contact p:first-of-type {
  margin-top: 32px;
  margin-bottom: 42px;
}

.contact p:nth-of-type(2) {
  margin-top: 42px;
}

.contact-icon {
  display: flex;
  justify-content: space-around;

}

.footertitle {
  background-color: var(--accent2);
  color: var(--bgc);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 390px;
  max-width: 800px;
}

@media (min-width: 1280px) {
  .footertitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 640px;
    height: 434px;
  }
}

.footertitle p {
  margin-top: 20px;
  font-size: 32px;
  font-weight: bold;
}

.footertitle img {
  margin: 30px;
  width: 50px;
}

/* フッター */
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

@media (min-width: 1280px) {
  .footer-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 10px;
  }
}