@charset utf-8;

@font-face {
  font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', sans-serif, 'Sawarabi Mincho`,"Noto Sans JP",'Noto Sans JP', sans-serif,'Noto Serif JP', serif,'Roboto', sans-serif,'Roboto', sans-serif,'Noto Serif JP', serif,'Noto Sans JP', sans-serif;

}

* {
  -webkit-appearance: none;
  box-sizing: border-box;
}

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;
  list-style: none;
  vertical-align: baseline;
  font-family: 'Kosugi', sans-serif;
  line-height: 1.8;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

h2,h3,h4,h5 {
  color: #2b2b2b;
}

p {
  color: #595857;
}

a {
  outline: none;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Kosugi', sans-serif;
}

img {
  vertical-align: bottom;
}

.slider{
  display: none;
}
.slider.slick-initialized{
  display: block; /*slick-initializedが付与されたら表示*/
}

body {
  box-sizing: border-box;
  background-color: #fff;
  overflow-X: hidden;
}

header {
  position: relative;
  padding: 15px;
  background-color: #fff;
  width: 100%;
  z-index: 9;
  box-sizing: border-box;
}

.fixed {
  position: fixed;
  box-shadow: 2px 2px 5px #2b2b2b;
}

header .flex,
.menu ul {
  display: flex;
}

.menu {
  position: absolute;
  top: 50%;
  right: 1%;
  transform: translate(0%, -50%);
  width: 800px;
}

.logo {
  margin: auto 0;
  width: 180px;
  color: #727171;
}

.logo h1 {
  font-size: 12px;
}

.logo img {
  width: 100%;
}

.menu-container {
  position: relative;
  display: none;
}

.btn {
  width: 200px;
}

.btn a {
  position: relative;
  display: inline-block;
  padding: 2%;
  width: 138px;
  color: #276678;
  text-align: center;
  letter-spacing: 2px;
}

.btn a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 138px;
  height: 1px;
  background: #276678;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

.btn a:hover::after {
  transform: scale(1, 1);
}


.bread {
  padding: 5px 18px;
  background-color: darkgray
}

.bread ul li,
.bread ul li a {
  display: inline-block;
  font-size: 12px;
  color: #fff;
}

#keyvisual {
  position: relative;
  height: 250px;
  text-align: center;
  background-image: url(../img/kaitori-top2.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100%;
}

#keyvisual .txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

#keyvisual .txt h2 {
  position: relative;
  font-size: 42px;
  color: #fff;
}

#keyvisual .txt h2::before {
  position: absolute;
  content: "";
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 50%;
  height: 2px;
  background-color: #fff;
}

#content1 {
  padding: 5% 0 0;
}

#content1 h3 {
  position: relative;
  margin-bottom: 2%;
  font-size: 32px;
  text-align: center;
}

#content1 h3::before {
  position: absolute;
  content: "";
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 5px;
  background-color: #276678;
}

#content1 .box {
  position: relative;
  margin: 4% auto 0;
  width: 1280px;
  height: 55vh;
}

#content1 .box h4 {
  font-size: 24px;
  text-align: left;
}

#content1 .txt {
  position: absolute;
  content: "";
  bottom: 10%;
  right: 10%;
  padding: 2%;
  width: 500px;
  background-color: rgba(250,250,250,0.8)
}

  #content1 .crop {
    position: relative;
    margin: auto;
    width: 800px;
    height: 350px;
    overflow: hidden;
  }
  
  #content1 .crop img {
    position: static;
    top: -50px;
    width: 100%;
  }


#content2 .flex {
  display: flex;
  justify-content: space-around;
  margin: auto;
  width: 1000px;
}

#content2 .crop {
  border: 2px solid #ddd;
}

#content3 {
  margin: 10% 0;
}

#content3 .txt {
  text-align: center;
}

#content3 h3 {
 position: relative;
  margin-bottom: 2%;
  font-size: 32px;
  text-align: center;
}

#content3 h3::before {
  position: absolute;
  content: "";
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 5px;
  background-color: #276678;
}

#content3 .flex {
  display: flex;
  justify-content: space-around;
  margin: 2% auto;
  width: 1000px;
}

#content3 .crop {
  margin: 2% 0;
  width: 300px;
  height: auto;
  overflow: hidden;
  border: 2px solid #ddd;
}

#content3 .flex:nth-child(3) .box:nth-child(3) .crop {
  border: none;
}

#content3 .crop img {
  width: 100%;
}

#content3 .box p {
  font-size: 12px;
}



#content5 {
  margin: 5% 0;
}

#content5 h3 {
  position: relative;
  margin-bottom: 5%;
  font-size: 32px;
  text-align: center;
  color: #2b2b2b;
}

#content5 h3::before {
  position: absolute;
  content: "";
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 50px;
  height: 5px;
  background-color: #276678;
}

#content5 .flex {
  display: flex;
  justify-content: space-around;
  margin: 2% auto;
  width: 1280px;
}

#content5 .flex:nth-child(3) {
  margin: 5% auto;
}

#content5 .content-s {
  display: inline-flex;
  justify-content: space-around;
  padding: 1%;
  width: 400px;
  height: 200px;
  background-color: #f3f3f3;
  border-radius: 0 0 10px 10px;
}

#content5 .flex:nth-child(2) .box:nth-child(3) .content-s,
#content5 .flex:nth-child(2) .box:nth-child(3) a {
  background: none;
}

#content5 .txt {
  display: block;
  margin: auto;
  width: 220px;
}

#content5 .txt p {
  color: #595857;
}

#content5 h5 {
  padding: 2%;
  font-size: 18px;
  color: #fff;
  background-color: #9ea1a3;
}

#content5 .crop {
  margin: auto;
  width: 120px;
  height: 120px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

#content5 .crop img {
  width: 100%;
}

#content5 a {
  display: block;
  margin: 5% 0;
  width: 70%;
  padding: 5% 10%;
  color: #595857;
  border-radius: 8px;
  background-color: #ffd900;
  text-align: center;
  transition: 0.5s;
}

#content5 a:hover {
  color: #fff;
  background-color: #2b2b2b;
  transition: 0.5s;
}

footer {
  margin: 5% 0 0;
  padding: 10px;
  width: 100%;
  text-align: center;
  color: #fff;
  background-color: #2b2b2b;
}

#sp {
  display: none;
}

.scroll-prevent {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%;
}

/*********************************狭いブラウザとタブレット向け*********************************************/
/*********************************狭いブラウザとタブレット向け*********************************************/

@media (max-width: 1024px) and (min-width: 480px) {

  #pc,
  #pc .flex {
    display: none;
  }

  body {
    width: 100%;
  }

  #sp {
    display: block;
  }

  .sp-header {
    position: fixed;
    top: 0;
    background-color: #fff;
    width: 100%;
    z-index: 2;
  }


  #sp .sp-logo {
    display: inline-block;
    padding: 2%;
  }

  #sp .sp-logo h1 {
    font-size: 1vw;
  }

  #sp .sp-logo img {
    width: 30%;
  }

  #sp .line {
    position: fixed;
    top: 0;
    right: 0;
    display: inline-block;
    padding: 4.8%;
    z-index: 11;
    box-sizing: border-box;
  }

  #sp .line span {
    position: absolute;
    content: "";
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: block;
    margin: auto;
    width: 40px;
    height: 1px;
    background-color: #2b2b2b;
    transition: .5s;
  }

  #sp .line span::before,
  #sp .line span::after {
    position: absolute;
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background-color: #2b2b2b;
    transition: .5s;
  }

  #sp .line span::before {
    top: 10px;
  }

  #sp .line span::after {
    bottom: 10px;
  }

  #hum {
    display: none;
  }

  #hum:checked ~ .line span {
    background-color: rgba(255, 255, 255, 0);
    transition: .2s;
  }

  #hum:checked ~ .line span::before {
    top: 0px;
    transform: rotate(45deg);
    transition: .5s;
  }

  #hum:checked ~ .line span::after {
    top: 0px;
    transform: rotate(-45deg);
    transition: .5s;
  }

  .nav {
    position: fixed;
    top: 0;
    padding: 5%;
    width: 100%;
    height: 100vh;
    background-color: #f5f5f5;
    opacity: 0;
    transition: .5s;
    transform: translateX(100%);
    z-index: 5;
    overflow-y: hidden;
  }

  #hum:checked ~ .nav {
    display: block;
    width: 100%;
    opacity: 1;
    transition: .5s;
    z-index: 10;
    transform: translateX(0%);
  }

  .nav ul {
    position: absolute;
    bottom: 10%;
    right: 10%;
  }

  
  .nav li {
    margin: 5% 0;
    font-weight: 600;
    letter-spacing: 12px;
    color: #2b2b2b;
  }

  .nav li a {
    font-size: 4vw;
  }
  
  .nav-flex i {
    font-size: 4vw;
  }
  
  .bread {
    margin-top: 100px; 
  }

  #content1 h3 {
    position: relative;
    margin: 0 0 2%;
    font-size: 6vw;
    color: #2b2b2b;
    text-align: center;
}


  #content1 .box {
    margin: 5% auto 0;
    width: 100%;
    text-align: center;
  }
  
  #content1 .txt {
    position: absolute;
    content: "";
    bottom: 10%;
    right: 2%;
    padding: 2%;
    width: 65%;
    background-color: rgba(250,250,250,0.8);
    text-align: left;
}

  #content2 .box {
    display: block;
    margin: 8% auto 5%;
    padding: 2%;
    width: 95%;
    background-color: #eee;
    text-align: center;
}
  
  #content2 .flex {
    display: flex;
    justify-content: space-around;
    margin: auto;
    width: 95%;
}
  
  #content2 .crop {
    width: 32%;
    border: 2px solid #ddd;
}
  
  #content2 .crop img {
    width: 100%;
  }
  
  #content3 .flex {
    display: flex;
    justify-content: space-around;
    margin: 10% auto;
    width: 95%;
}
  
  #content3 .txt {
    margin: auto;
    width: 100%;
}
  
  #content3 h3 {
    position: relative;
    margin-bottom: 5%;
    font-size: 32px;
    text-align: center;
}
  
  #content3 .box {
    width: 50%;
  }
  
  #content3 .crop {
    margin: auto;
    width: 90%;
    box-sizing: border-box;
}
  
  #content3 .crop img {
    width: 100%;
  }
  
  #content3 .flex:nth-child(3) .box:nth-child(2) .crop {
    border: none;
  }
  
  #importantD {
    margin: 10% 0 15%;
    padding: 0 2%;
  }
  
    #importantD #sp {
    display: none;
  } 
  
  #importantD #pc {
    display: block;
  }
  

  #importantD h3 {
    margin: 0 0 2%;
    color: #880031;
    font-size: 4vw;
    font-weight: bold;
    text-align: center;
  }

  #importantD .content {
    display: block;
    margin: auto;
    width: 100%;
    padding: 2%;
    border: 4px solid #880031;
    border-radius: 10px;
    text-align: center;
  }
  
  
  #content5 .flex {
    width: 100%;
  }

  #content5 .flex .box {
    display: block;
    padding: 2%;
    width: 100%;
  }

  #content5 .content-s {
    display: inline-flex;
    justify-content: space-around;
    padding: 1%;
    width: 100%;
    height: 200px;
    background-color: #f3f3f3;
    border-radius: 0 0 10px 10px;
  }

  #content5 .txt p {
    padding: 2%;
    color: #595857;
  }

  #content5 .flex:nth-child(3) .box:nth-child(2) .content-s,
  #content5 .flex:nth-child(3) .box:nth-child(2) a {
    background: none;
  }
}


@media screen and (max-width: 480px) {

  #pc {
    display: none;
  }

  #sp {
    display: block;
  }

  p {
    font-size: 12px;
  }

  .bread {
    display: none;
  }

  .sp-header {
    position: fixed;
    top: 0;
    background-color: #fff;
    width: 100%;
    z-index: 2;
  }

  #sp .sp-logo {
    display: inline-block;
    padding: 2%;
  }

  #sp .sp-logo h1 {
    font-size: 2vw;
  }

  #sp .sp-logo img {
    width: 30%;
  }

  #sp .line {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0%, -50%);
    display: inline-block;
    padding: 5%;
    z-index: 11;
    box-sizing: border-box;
  }

  #sp .line span {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    margin: auto;
    width: 30px;
    height: 1px;
    background-color: #2b2b2b;
    transition: .5s;
  }

  #sp .line span::before,
  #sp .line span::after {
    position: absolute;
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background-color: #2b2b2b;
    transition: .5s;
  }

  #sp .line span::before {
    top: 8px;
  }

  #sp .line span::after {
    bottom: 8px;
  }

  #hum {
    display: none;
  }

  #hum:checked ~ .line span {
    background-color: rgba(255, 255, 255, 0);
    transition: .2s;
  }

  #hum:checked ~ .line span::before {
    top: 0px;
    transform: rotate(45deg);
    transition: .5s;
  }

  #hum:checked ~ .line span::after {
    top: 0px;
    transform: rotate(-45deg);
    transition: .5s;
  }

  .nav {
    position: fixed;
    top: 0;
    padding: 5%;
    width: 100%;
    height: 100vh;
    background-color: #f5f5f5;
    opacity: 0;
    transition: .5s;
    transform: translateX(100%);
    z-index: 5;
    overflow-Y: hidden;
  }

  #hum:checked ~ .nav {
    display: block;
    width: 100%;
    opacity: 1;
    transition: .5s;
    z-index: 10;
    transform: translateX(0%);
  }

  .nav ul {
    position: absolute;
    bottom: 20%;
    right: 10%;
    overflow-y: hidden;
  }

  .nav li {
    margin: 5% 0;
    font-weight: 600;
    letter-spacing: 12px;
  }

  .nav .nav-flex i {
    font-size: 5vw;
  }
  
  .nav .nav-flex a {
    color: inherit;
  }
  
  
  .nav .nav-flex {
    position: absolute;
    bottom: 17%;
    right: 56%;
  }

  

  #keyvisual {
    position: relative;
    margin-top: 18%;
    height: 20vh;
    text-align: center;
    background-image: url(../img/kaitori-top2.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100%;
  }

  #keyvisual .txt h2 {
    position: relative;
    font-size: 6vw;
  }

  #content1 {
    margin: auto;
    width: 95%;
  }
  
  #content1 .box {
    position: relative;
    margin: 4% auto 0;
    width: 100%;
    height: 50vh;
}

  #content1 h3 {
    position: relative;
    margin: 0 0 10%;
    font-size: 5vw;
    color: #2b2b2b;
    text-align: center;
    z-index: 1;
  }

  #content1 .crop {
    position: relative;
    width: 90%;
    height: 28vh;
    overflow: hidden;
  }
 
  #content1 .txt {
    position: absolute;
    content: "";
    bottom: 0%;
    right: 2%;
    padding: 2%;
    width: 60%;
    background-color: rgba(250,250,250,0.8);
}

  #content2 .flex {
    display: flex;
    margin: 5% auto;
    width: 95%;
}
  
  #content2 .crop {
    position: relative;
    margin: 0;
    width: 32%;
    height: 15vh;
    border: 2px solid #ddd;
    overflow: hidden;
}
  
  #content2 .crop img {
    position: absolute;
    content: "";
    left: -70%;
    width: 200%;
  }
  
  #content3 .flex {
    display: flex;
    justify-content: space-around;
    margin: 2% auto;
    width: 95%;
}

  #content5 h3 {
    position: relative;
    margin-bottom: 5%;
    font-size: 6vw;
    text-align: center;
    color: #2b2b2b;
  }

  #content5 .flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: auto;
    width: 100%;
  }

  #content5 .flex .box {
    display: block;
    padding: 2%;
    width: 50%;
  }

  #content5 h5 {
    display: block;
    padding: 2%;
    width: 100%;
    font-size: 18px;
    color: #fff;
    background-color: #9ea1a3;
    text-align: center;
  }

  #content5 .content-s {
    display: block;
    justify-content: space-around;
    padding: 2%;
    width: 100%;
    height: auto;
  }

  #content5 .txt {
    display: block;
    width: 100%;
  }

  #content5 .txt p {
    height: 80px;
  }

  #content5 a {
    width: 100%;
  }

  #content5 .flex:nth-child(3) .box:nth-child(2) .content-s,
  #content5 .flex:nth-child(3) .box:nth-child(2) a {
    background: none;
  }

  
  
  #importantD {
    margin: 20% 0 10%;
    padding: 0 2%;
  }

    #importantD #sp {
    display: block;
  } 
  
  #importantD #pc {
    display: none;
  }
  
  
  #importantD h3 {
    margin: 0 0 2%;
    color: #880031;
    font-size: 8vw;
    font-weight: bold;
    text-align: center;
  }

  #importantD .content {
    display: block;
    margin: auto;
    width: 95%;
    padding: 2%;
    border: 4px solid #880031;
    border-radius: 10px;
    text-align: center;
  }
}
