@charset "utf-8";

/*=====================================
layout.css
=====================================*/

/*-------------------------------------
 reset
-------------------------------------*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  max-width: 100%;
  line-height: 0;
  vertical-align: bottom;
}
iframe {
  vertical-align: bottom;
  border: 0;
}
table th,
table td {
  vertical-align: top;
}
input,
select,
textarea,
button {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体",
    sans-serif;
  -webkit-appearance: none;
  -moz-appearance: none;
}
select::-ms-expand {
  display: none;
}
*,
:after,
:before {
  box-sizing: border-box;
}

/*-------------------------------------
 setting
-------------------------------------*/
body {
  position: relative;
  color: #333;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体",
    sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-wrap: break-word;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
a {
  color: #333;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
strong {
  font-weight: bold;
}
em {
  font-style: normal;
}
.forPC {
  display: block;
}
.forSP {
  display: none;
}
img.forPC,
br.forPC,
span.forPC {
  display: inline-block;
}

/*-------------------------------------
 layout
-------------------------------------*/
#wrapper {
  position: relative;
  overflow: hidden;
}
.inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 10px;
}
.inner01 {
  max-width: 920px;
}
.inner02 {
  max-width: 960px;
}
.inner:after {
  clear: both;
  display: block;
  content: "";
}

/*-------------------------------------
 headerArea
-------------------------------------*/
.headerArea {
  height: 80px;
  background: #fff;
}
.headerArea .inner {
  display: flex;
  max-width: inherit;
}
.headerLogo {
  width: 222px;
  padding: 14px 0 0 0;
  flex-shrink: 0;
}
.headerLogo a {
  display: block;
}
.headerNav {
  width: 100%;
  margin-left: auto;
  padding: 15px 0 0 0;
}
.headerNav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.headerNav ul li {
  padding: 0 0 0 3vw;
}
.headerNav ul li.contact {
  width: 30%;
  max-width: 200px;
}
.headerNav ul li.contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: #5b3719;
}
.headerBtn {
  display: none;
}

/*-------------------------------------
 mainArea
-------------------------------------*/
.mainArea {
  padding: 100px 0 60px 0;
}
.section {
  padding: 0 0 50px 0;
}
.section:after {
  clear: both;
  content: "";
  display: block;
}
.section h2 {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
.section h3 {
  margin: 0 0 20px 0;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}
.section p {
  line-height: 1.9;
}

/*-------------------------------------
 topicpathArea
-------------------------------------*/
.topicpathArea ul {
  margin: 0 0 35px 0;
  letter-spacing: -0.5em;
}
.topicpathArea ul li {
  display: inline-block;
  letter-spacing: normal;
  vertical-align: top;
}
.topicpathArea ul li + li:before {
  content: "/";
  display: inline-block;
  padding: 0 10px;
}
.topicpathArea ul li a {
  color: #007fd8;
}

/*-------------------------------------
 footerArea
-------------------------------------*/
.footerArea {
  color: #fff;
  font-weight: bold;
  background: #2b3346;
}
.footerArea .inner {
  padding-top: 40px;
  padding-bottom: 30px;
}
.fooerGroup {
  display: flex;
}
.footerLogo {
  width: 246px;
  flex-shrink: 0;
}
.footerNav {
  margin-left: auto;
}
.footerNav ul {
  display: flex;
}
.footerNav ul li {
  padding: 0 0 0 30px;
}
.footerNav a {
  color: #fff;
}
.footerCopyright {
  padding: 80px 0 0 0;
  font-size: 13px;
  text-align: center;
}

/*-------------------------------------------------------------------
 Media Queries
-------------------------------------------------------------------*/

/* SP layout
-------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .forPC {
    display: none !important;
  }
  .forSP {
    display: block;
  }
  img.forSP,
  br.forSP,
  span.forSP {
    display: inline-block;
  }

  body {
  }
  html.hidden,
  body.hidden {
    height: 100vh;
    overflow: hidden;
  }

  /*-------------------------------------
 layout
-------------------------------------*/
  #wrapper {
  }
  .inner {
    width: auto;
    padding: 0 20px;
  }

  /*-------------------------------------
 headerArea
-------------------------------------*/
  .headerArea {
    height: 65px;
  }
  .headerArea .inner {
    position: static;
    display: block;
  }
  .headerLogo {
    position: relative;
    z-index: 20;
    width: 170px;
    padding: 13px 0 0 0;
  }
  .headerLogo img {
    width: 170px;
  }
  body.hidden .headerLogo a {
    background: url(../images/header_logo02.png) no-repeat 0 0 / 100% auto;
  }
  body.hidden .headerLogo img {
    opacity: 0;
  }

  .headerBtn {
    position: absolute;
    top: 0;
    right: 5px;
    z-index: 20;
    display: block;
    width: 60px;
    height: 65px;
  }
  .headerBtn span {
    position: absolute;
    left: 15px;
    display: block;
    width: 30px;
    height: 2px;
    background: #5b3719;
    transition: all 0.4s;
    box-sizing: border-box;
  }
  .headerBtn span:nth-of-type(1) {
    top: 22px;
  }
  .headerBtn span:nth-of-type(2) {
    top: 32px;
  }
  .headerBtn span:nth-of-type(3) {
    top: 42px;
  }
  .headerBtn span:nth-of-type(2)::after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #5b3719;
    transition: all 0.4s;
  }
  .headerBtn.open span:nth-of-type(2),
  .headerBtn.open span:nth-of-type(2)::after {
    background: #fff;
  }
  .headerBtn.open span:nth-of-type(1) {
    transform: translateY(20px) scale(0);
  }
  .headerBtn.open span:nth-of-type(2) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .headerBtn.open span:nth-of-type(2)::after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  .headerBtn.open span:nth-of-type(3) {
    transform: translateY(-20px) scale(0);
  }

  .headerNav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    padding: 100px 0 0 0;
    background: #5b3719;
    overflow-x: hidden;
    overflow-y: auto;
    transition: all 0.4s;
    visibility: hidden;
    opacity: 0;
  }
  .headerNav.active {
    visibility: visible;
    opacity: 1;
    z-index: 10;
  }
  .headerNav ul {
    display: block;
    padding: 0 20px;
  }
  .headerNav ul li {
    margin: 0 0 29px 0;
    padding: 0;
  }
  .headerNav ul li a {
    display: block;
    color: #fff;
    padding: 0 20px;
  }
  .headerNav ul li.contact {
    width: auto;
    max-width: inherit;
  }
  .headerNav ul li.contact a {
    text-align: left;
    border: 1px solid #fff;
    background: transparent;
  }

  /*-------------------------------------
 mainArea
-------------------------------------*/
  .mainArea {
    padding: 50px 0 30px 0;
  }
  .section h2 {
    margin: 0 0 20px 0;
    font-size: 18px;
  }
  .section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
  }

  /*-------------------------------------
 footerArea
-------------------------------------*/
  .footerArea .inner {
    padding-top: 40px;
    padding-bottom: 12px;
  }
  .fooerGroup {
    display: block;
  }
  .footerLogo {
    width: 190px;
  }

  .footerNav ul {
    display: block;
    padding: 40px 0 0 0;
  }
  .footerNav ul li {
    padding: 0 0 10px 0;
  }

  .footerCopyright {
    padding: 20px 0 0 0;
    font-size: 10px;
  }
}

/* PC layout
-------------------------------------------------------------------*/
@media screen and (min-width: 769px) {
  a img,
  .hover,
  .btn a,
  .headerNav ul li.contact a {
    text-decoration: none;
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    backface-visibility: hidden;
  }
  a:hover img,
  .hover:hover,
  .btn a:hover,
  .headerNav ul li.contact a:hover {
    opacity: 0.7;
  }
}
