@charset "utf-8";

html,
body {
  background-color: var(--bg-color);
  margin: 0px;
  padding: 0px;
  font-size: 62.5%;
  /*overflow-x: hidden;*/
}

a {
  text-decoration: none;
}

.flex,
.flex_t,
.flex_m {
  display: flex;
}

.dt_none {
  display: none !important;
  width: 0%;
}

.mb_none {
  display: block !important;
}

header {
  background-color: var(--orange-color);
  display: flex;
  font-size: 1.2rem;
  padding: 5px;
  justify-content: space-between;
  align-items: center;
}

header .login {
  width: 50px;
  font-size: 1.2rem;
  border: 1px solid #000;
  margin: 0 5px;
  padding: 12px 2px;
  text-align: center;
  background: linear-gradient(#fddfe5, #fecedd);
}

header .login a {
  color: black;
}

header .tel {
  width: 200px;
  border: 1px solid #000;
  margin: 0 5px;
  padding: 10px 2px;
  font-size: 1.6rem;
  text-align: center;
}

header .tel:nth-child(1) {
  background: linear-gradient(#fcfdf8, #c5d979);
}

header .tel:nth-child(2) {
  background: linear-gradient(#eef9f8, #53ced0);
}

header a {
  color: black;
}

nav {
  width: 90%;
  max-width: 1000px;
  margin: 10px auto;
  font-size: 1.25rem;
}

nav ul {
  display: flex;
  justify-content: center;
}

nav a {
  width: 12.5vw;
  max-width: 125px;
}

nav li {
  height: 10px;
  text-align: center;
  border-left: 1px dotted var(--brown-color);
  padding: 70px 0 10px 0;
  background-repeat: no-repeat;
  background-position: center 10px;
  font-weight: bold;
  font-size: 1.3rem;
}

nav li.kamon {
  background-image: url("../images/kamon.png");
}

nav li.house {
  background-image: url("../images/house.png");
}

nav li.smile {
  background-image: url("../images/smile.png");
}

nav li.pen {
  background-image: url("../images/pen.png");
}

nav li.note {
  background-image: url("../images/note.png");
}

nav li.pc {
  background-image: url("../images/pc.png");
}

nav li.ha {
  background-image: url("../images/ha.png");
}

nav li.car {
  background-image: url("../images/car.png");
}

nav li.info {
  background-image: url("../images/info.png");
}

nav li.line {
  border-right: 1px dotted var(--brown-color);
}
nav li.ct{
   background-image: url("../images/icon_phone.png");
}

nav a {
  color: var(--brown-color);
}

.top_logo {
  width: 90px;
}

.main {
  width: 100%;
  height: 0;
  padding-top: 30%;
  background-image: url('../images/main.jpg');
  /*background-size: contain;*/
}

.main h1 {
  position: relative;
  top: -40vh;
  left: 5%;
  color: white;
  text-shadow: black 1px 0 10px;
  width: 50%;
  min-width: 500px;
  z-index: 3;
}

.main h1 p:first-child {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.main h1 p:last-child {
  font-size: 4rem;
}

.main_s video {
  width: 100%;
}

footer {
  background-color: var(--brown-color);
  padding: 10px;
  color: white;
}

footer .name {
  font-size: 2.5rem;
}

footer p.tel {
  border: 1px solid white;
  font-size: 1.2rem;
  padding: 5px;
  text-align: center;
  margin: 5px;
}

footer .link {
  justify-content: space-around;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

footer .link ul {
  font-size: 1.2rem;
  list-style-type: none;
}

footer .link li {
  margin-bottom: 8px;
}

footer .link li::before {
  content: ">";
  margin-right: 10px;
}

footer .link li a {
  color: white;
}

footer .kakehashi {
  text-align: center;
}

footer .kakehashi a {
  border: 1px solid #fff;
  padding: 5px;
  display: inline-block;
  margin: 10px auto;
  color: #fff;
  font-size: 1.4rem;
}

footer .kakehashi a:hover {
  background-color: var(--bg-color);
  color: var(--brown-color);
}

.footer_img {
  width: 25%;
  height: 25%;
}

.breadcrumb {
  padding: 5px;
  background-color: var(--gray-color);
}

.breadcrumb ul {
  display: flex;
  font-size: 1.2rem;
}

.breadcrumb ul li {
  list-style-type: none;
  margin-right: 5px;
}

.breadcrumb ul li:after {
  content: '>';
  margin-left: 5px;
}

.breadcrumb ul li:last-child:after {
  content: '';
}

div.contents {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 0 2px var(--gray-color) inset;
  font-size: 1.5rem;
  padding: 10px 10px 50px;
  line-height: 1.8;
}

div.contents .main_contents {
  width: 80%;
  margin: 0 15px;
  padding: 0 15px;
}

div.contents .side {
  width: 20%;
  max-width: 220px;
}

div.contents .main_contents_w {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

frame_contents {
  width: 100%;
  overflow: hidden;
}

div.contents h1 {
  margin: 50px 30px 50px;
  font-weight: normal;
  color: var(--brown-color);
  background-image: url("../images/news_line.jpg");
  background-position: bottom left;
  background-repeat: repeat-x;
  padding-bottom: 12px;
  font-size: 2rem;
  text-align: center;
}

div.contents h2 {
  margin: 10px 0;
  font-weight: normal;
  color: var(--brown-color);
  font-size: 1.8rem;
  border-left: solid 6px var(--orange-color);
  padding: 0.5em;
}

div.contents h3 {
  margin: 10px;
  font-weight: normal;
  color: var(--brown-color);
  font-size: 1.5rem;
  border-left: solid 6px var(--green-color);
  padding: 0.2em 0.5em;
}

div.side ul {
  margin-left: 20px;
  padding: 0;
}

div.side ul li {
  list-style-type: none;
  font-size: 1.5rem;
  margin: 20px 0;
  border-left: solid 6px var(--brown-color);
  background: var(--bg-color);
  margin-bottom: 3px;
  line-height: 1.5;
  padding: 0.5em;
  list-style-type: none;
}

div.side ul a {
  color: black;
}

div.side ul a:hover>li {
  background: var(--orange-color);
}

div.kazariwaku {
  padding: 1em;
  margin: 0 2em 15px;
  color: black;
  border-top: solid 5px var(--orange-color);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

div.kazariwaku2 {
  padding: 1em;
  margin: 2em;
  color: bkack;
  background: var(--bg-color);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

div.kazariwaku2 ol,
div.kazariwaku2 li {
  margin-left: 1em;
}

div.kazariwaku2 ul li {
  line-height: 180%;
  margin-bottom: 15px;
  list-style-type: circle;
}

div.kazariwaku2 li:last-child {
  margin-bottom: 0;
}

/* button */
#page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--green-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  padding-top: 8px;
  box-sizing: border-box;
}

.copy {
  padding: 5px;
  font-size: 1rem;
  text-align: right;
}

/* button_color */
#page-top i {
  color: var(--right--gray);
}

/* button_hover*/
#page-top i:hover {
  cursor: pointer;
}

/* ハンバーガーメニュー */
.hamburger-menu {
  /* display: flex; */
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 10;
  position: fixed;
  top: 0;
  right: 0;
  display: none;
  background-color: var(--brown-color);
  padding: 5px;
}

.hamburger-menu__line {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #FFF;
  position: relative;
  transition: all 0.5s;
}

.hamburger-menu__line::before,
.hamburger-menu__line::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #FFF;
  position: absolute;
  transition: all 0.5s;
}

.hamburger-menu__line::before {
  transform: translateY(-12px);
}

.hamburger-menu__line::after {
  transform: translateY(12px);
}

.hamburger-menu.open .hamburger-menu__line {
  background-color: transparent;
}

.hamburger-menu.open .hamburger-menu__line::before {
  transform: rotate(45deg);
}

.hamburger-menu.open .hamburger-menu__line::after {
  transform: rotate(-45deg);
}

.nav-sp a {
  padding: 5px 0;
}

.nav-sp.open {
  right: 0;
}

/*お知らせ用*/
#newsList {
  padding: 20px 20px 0;
}

#newsList li {
  list-style-type: none;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

#newsList .catName {
  font-size: 1.2rem;
  padding: 2px;
  color: white;
  background-color: var(--brown-color);
  margin-right: 20px;
}

.newMark {
  font-size: 1.1rem;
  padding: 2px;
  color: white;
  background-color: red;
  margin-left: 10px;
}

/*よやくのところ*/
div.bikou div {
  width: 30%;
  font-size: 1.2rem;
}

/*tablet*/
@media screen and (max-width: 768px) {

  .flex,
  .flex_m {
    display: block;
  }

  .main h1 {
    position: relative;
    top: -15vh;
  }

  .top_contents {
    width: 100%;
  }

  .top_contents a>div {
    width: 94%;
    text-align: center;
    margin: 10px auto;
  }

  footer .link ul {
    display: flex;
    justify-content: space-between;
  }

  footer .link li {
    width: 30%;
  }
}

/*mobile*/
@media screen and (max-width:650px) {

  /* ナビゲーション */
  .nav-sp {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    padding: 10px 10px 0;
    background-color: var(--orange-color);
    text-align: left;
    transition: right 0.5s;
    z-index: 5;
  }

  .flex_t {
    display: block;
  }

  .flex_m {
    display: flex;
  }

  header {
    display: block;
    text-align: center;
  }

  header .login {
    position: fixed;
    top: 0;
    left: 0;
  }

  .hamburger-menu {
    display: flex;
  }

  nav ul {
    display: block;
  }

  nav ul .line {
    border-right: none;
  }

  nav li {
    padding-top: calc(40px + 1.5rem);
    font-size: 1.5rem;
    background-position: center;
    background-size: 30px;
    display: block;
    border-left: none;
  }

  .m_none {
    display: none;
  }

  .main h1 {
    max-width: 100%;
    min-width: 90%;
  }

  .information {
    box-sizing: border-box;
  }

  div.contents .side {
    width: 100%;
    max-width: 100%;
  }

  div.side ul {
    margin-left: 0;
  }

  div.side ul li {
    margin: 0;
    border-bottom: 1px solid var(--brown-color)
  }

  div.contents .main_contents {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  div.kazariwaku,
  div.kazariwaku2 {
    margin: 10px 0;
  }

  .gaiyou_table th,
  .gaiyou_table td {
    display: block;
    width: 100%;
  }

  .up_ymd,
  .catName {
    display: block;
    margin: 10px 0;
  }

  .dt_none {
    display: block !important;
    width: 100%;
    margin: auto;
  }

  div.contents h1 {
    margin-bottom: 15px;
  }

  .main {
    background-size: contain;
  }

  div.bikou div {
    width: 100%;
  }

  .mb_none {
    display: none !important;
    width: 0%;
  }
}

/*print*/
@media print {
  .sub_area {
    display: none;
  }

  .main_area {
    width: 100% !important;
  }

  .news iframe {
    height: 500px !important;
  }

  div.contents .side {
    width: 100%;
  }

  div.wrap3 {
    margin-top: 500px;
  }
}