@charset "UTF-8";

/* クリアフィックス（回り込み解除） */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  border: none;
  padding: 0;
}
:target::before {
  content:"";
  display: block;
  height: 60px;
  margin-top: -60px;
  visibility: hidden;
}


/* フォントサイズは10pxが基準になる */
html {
  font-size: 62.5%;
  font-family: "ten-mincho", serif;
  font-family: 'Lobster', sans-serif;
  font-family: 'Noto Serif JP', serif;
  background-color: #e9f7e8;
}


/*
GENERAL STYLING
================================================ */
html,
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {

  line-height: 170%;
  word-break: break-all;
}

body {
  width: 100%;
  margin: 0 auto;
  font-size: 1.6rem;
  letter-spacing: .065em;
}

a,
p,
li {
  color: #6e5a5a;
  text-decoration: none;
}

a {
  transition: .3s ease;
}

a:hover {
  opacity: 0.7;
  color: #ff00ff;
  
}

/*
================================================ */

h1 {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #f7c8da;
  margin: 15px 0 0 10px;
  padding-bottom: 0;
}

h2 {
  font-size: 18px;
  font-weight: bold;
  color: #f7c8da;
  background-color: #009933;
}

h3 {
  font-size: 18px;
  font-weight: bold;
  color: #6e5a5a;
}

h4 {
  font-size: 14px;
  color: #f7c8da;
}


/*
header
================================================ */


.header {
  background-color: #009933;
}
.header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  padding: 10px;
  width: 100%;
  height: 60px;
  z-index: 10;
}
.header_logo {
  width: 60px;
}
.header_logo img{
  margin: 5px 0 0 0;
  width: 100%;
}


/*
header-button
================================================ */
.header-button {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border: none;
  width: 60px;
  height: 60px;
  background-color: transparent;
  color: #f7c8da;
}
.header-button span {
  display: block;
  position: relative;
  top: 0;
  margin: 0 auto;
  width: 24px;
  height: 3px;
  background-color: #f7c8da;
  transition: .3s ease;
}
.header-button span::before,
.header-button span::after {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  transition: all .3s;
  background-color: inherit;
}
.header-button span::before {
  top: -9px;
}
.header-button span::after {
  top: 9px;
}
body.open .header-button {
  z-index: 30;
}
body.open .header-button span {
  width: 30px;
  background-color: transparent;
}
body.open .header-button span::before,
body.open .header-button span::after {
  top: 0;
  background-color: #6e5a5a;
}
body.open .header-button span::before {
  transform: rotate(45deg);
}
body.open .header-button span::after {
  transform: rotate(-45deg);
}
/* header-nav */
.header-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  position: fixed;
  right: 0;
  top: 0;
  margin: 0;
  padding-top: 50px;
  width: 50%;
  height: 100%;
  background-color: rgba(229, 229, 229, .9);
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  transform: translateX(100%);
  transition: .3s ease;
}
.header-nav-item:nth-child(n+2) {
  margin-top: 2em;
}
body.open .header-nav {
  transform: translateX(0);
}
.header-nav a {
  text-decoration: none;
}






/*
main
================================================ */
.slideshow_pc,
.pc_map {
  display: none;
}
main {
  margin-top: 60px;
}
.top_photo {
  margin: 0;
}
.slideshow_sp {
  overflow: hidden;
  position: relative;
  min-width: 300px;
  height: 468px;
}
.slideshow_sp img {
  display: none;
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translatex(-50%);    
}
.h2_box {
  background-color: #009933;
  padding-left: 20px;
}
.opening_text {
  padding: 20px;
}

/*
桜の種類
================================================ */
.kinda_box {
  padding: 0 0 20px 0;
  display: flex;
  flex-wrap: wrap;
}

.item {
  width: 50%;
  padding: 20px;

}
.kinda img {
  width: 100%; 
}

/*
出雲の桜地図
================================================ */
.googlemap {
  display: block;
  margin: 0 auto;
  max-width: auto;  
}

.sp_map {
  display: block;
  text-align: center;
}

.link {
  display: flex;
  flex-direction: column;
  margin: 20px;
}

.link_01,
.link_02 {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.link_02 {
  width: 55%;
  margin: 0 auto;
}

.list {
  display: flex;
  flex-direction: column;
  text-align: center;
}


.list p {
  writing-mode: vertical-rl;
  margin: 0 auto;
}

.list img {
  width: 40%;
}
/*
桜の名所からのリンク
================================================
*/
.link_return {
  display: block;
  text-align: center;
  margin: 0px auto 20px;
  width: 200px;
}
h5 {
  font-size: 18px;
  font-weight: bold;
  color: #009245;
  padding: 5px;
  background-color: #f7c8da;
  
}
/*
参考文献
================================================ */
.book {
  list-style: none;
  padding: 20px 0 20px 20px;
}

/*
footer
================================================ */
.footer {
  height: 120px;  
}
.container {
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: #009933;
  
}
.easttech {
  padding-right: 20px;
  padding-top: 10px;
}

.design_logo {
  
  padding-left: 0px;
  margin-top: 10px;
}
.design_logo img {
  width: 40px;  
}
.copyright {
  display: block;
}
.copyright p {
  font-size: 14px;
  text-align: center;  
}
/*

================================================ */
.totop {
  /* display: flex;
  justify-content: space-between; */
  position: fixed;
  /*追従記述*/
  z-index: 99999;
  /*他の要素の下に隠れないように全面配置*/
  bottom: 0;
  right: 0;
  width: 200px;
  /*デフォルト非表示*/
  opacity: 0;
  transition: opacity 0.5s;
  /*透明*/
}

.totop.show {
  opacity: 1;
}
.totop { 
  text-align: right;
  padding: 0 10px 0 0;
}

.totop img {
  width: 50%;
}
/*
================================================ */
@media screen and (min-width: 768px) {
  :target::before {
    content:"";
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
  }

  body {
    font-size: 18px;    
  }
  
  

  main,
  footer {
    max-width: 1280px;
    margin: 0 auto;
  }
 
  .header {
    /*position: static;*/
    left: 0; 
    height: 100px;
    flex-direction: row;
    justify-content: space-between;
    padding: 30px;
  }
  h1 {
    font-size: 3rem;
  }
  .header_logo {
    width: 100px;
  }
  .header_logo img {
    width: 100%;
  }

  .header-button {
    display: none;
  }

  .header-nav {
    position: static;
    flex-direction: row;
    width: auto;
    height: auto;
    background-color: transparent;
    transform: none;
    margin-top: 20px;
    padding-top: 0;
  }
  .header-nav a {
    font-size: 18px;
    color: #f7c8da;
  }

  .header-nav-item:nth-child(n+2) {
    margin-top: 0;
    margin-left: 1.5em;
  }

  /*
main
================================================ */
  main {
    margin-top: 100px;
  }
  .slideshow_sp,
  .sp_map {
    display: none;
  }

  .slideshow_pc {
    display: block;
  }
  .slideshow_pc {
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    min-width: 960px;
    height: 780px;
    margin: 0 auto;
  }
  .slideshow_pc img {
    display: none;
    width: 1200px;
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    
  }
  .h2_box {
    margin: 0 20px;
  }
  .opening_text {
    display: flex;
  }
  .text01,
  .text02 {
    width: 50%;
    padding: 20px;
  }

  /*
桜の種類
================================================ */
  .item {
  width: 33%;
  padding: 20px;

  }

  /*

================================================ */





  /*
出雲の桜地図
================================================ */
.link {
  flex-direction: row;
}
.link img {
  width: 100%;
}
.link p {
  font-size: 20px;
  padding-left: 0;
}
.link_01 {
  width: 100%;
}
.link_02 {
  width: 55%;  
}

.pc_map {
  display: block;
  text-align: center;
}


  /*
footer
================================================ */
  
  .easttech {
    padding-right: 20px;   
  }

  .design_logo {
    padding-left: 0px;   
  }
  .design_logo img {
    width: 50px;  
  }
  
  .copyright p {
    font-size: 16px;  
  }
  


  .totop {
    right: 20px;
    margin-bottom: 10px;
    
  }
  .totop img {
    width: 100%;
    
  }
} 
@media screen and (max-width: 1000px) {
  .header_text h1 {
    font-size: 18px;
    margin-top: 20px;
  }
  .header-nav a {
    font-size: 16px;
  } 
}

@media screen and (min-width: 1280px) {
  /*
  .header {
    left: calc((100vw - 1295px) / 2 - 0px);
  }
  */
/*
  .header-container {
    width: 1280px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  */
  .totop {
    right: calc((100vw - 1280px) / 2 + 20px);
  }
  
  

}