@charset "UTF-8";

/*common 追加*/
body {
  background-color: #F7F1E8;
}

/*color*/
:root {
  --text: #002A48;
  --gold: #C9A063;
}

/**/
.logo {
  padding-top: 2rem;
  margin: 0 auto;
}
.logo img {
  max-width: 250px;
}

h1 {
  text-align: center;
  font-size: larger;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 4rem;
  letter-spacing: 1px;
  line-height: 1.6;
}
h1 span {
  font-size: .7em;
}
@media (min-width: 600px) {
  h1 {
    font-size: xx-large;
  }
}
main {
  max-width: 900px;
  width: 90%;
  text-align: center;
  margin: 0 auto;
  padding-top: 2rem;
}

p.sub-t {
  font-size: large;
  font-weight: bold;
  background-color: #002A48;
  color: #FFF;
  padding: .2em;
  letter-spacing: 2px;
  margin-bottom: 3rem;
  border-radius: 4px;
}
@media (min-width: 600px) {
  p.sub-t {
    font-size: larger;
  }
}

ol {
  counter-reset:number;
  list-style-type: none!important;
  padding: .5em 1em;
  background: #FFF;
  width: cal(100% - 4em);
  border-radius: 10px;
  margin: 2rem auto;
}
@media (min-width: 600px) {
  ol {
    width: 70%;
    padding: 1.5em 2em;
    border-radius: 20px;
  }
}
ol li {
  position: relative;
  padding: 1em 0 1em 2.8em;
  text-align: left;
  line-height: 1.2;
  border-bottom: 1px dotted #CCC;
}
ol li:last-child {
  border: none;
}
ol li:before{
  position: absolute;
  counter-increment: number;
  content: counter(number);
  display:inline-block;
  background: #F60EA5;
  color: white;
  font-weight:bold;
  border-radius: 50%;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 22px;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
ol li span {
  display: block;
  margin-top: .5em;
}
main img {
  width: 90%;
}
main .kix {
  margin-bottom: 2em;
}
main .kix img {
  max-width: 600px;
}

.triangle {
width: 0;
height: 0;
border-left: 30px solid transparent;
border-right: 30px solid transparent;
border-top: 30px solid #002A48;
margin: 5rem auto;
}

.img_mail {
  margin: 3rem auto;
}
.img_mail img {
  width: 100px;
}

footer {
  background-color: #FFF;
  padding: 2rem;
  margin-top: 8rem;
}
.logo_f {
  max-width: 400px;
  margin: 0 auto;
}
footer .copyright {
  opacity: .8;
  font-size: x-small;
  letter-spacing: .15em;
  margin-top: 3rem;
}

/*yoyakubt*/
.yoyakubt a {
  background: var(--gold);
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 5rem;
  max-width: 480px;
  padding: .8em 0;
  line-height: 1.4;
  text-decoration: none;
  color: #fff;
  font-size: large;
  letter-spacing: 1px;
  font-weight: 500;
  transition: 0.1s;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.2);
  text-shadow: 1px 2px 3px rgba(0,0,0,.5); 
}
@media (min-width: 600px) {
  .yoyakubt a {
    font-size: larger;
    padding: .8em 1.5em;
  }
}
.yoyakubt a:after {
content: "";
position: absolute;
top: 50%;
bottom: 0;
right: 2.5rem;
display: flex;
justify-content: center;
align-items: center;
transition: right 0.3s;
width: 12px;
height: 12px;
border-top: solid 2px currentColor;
border-right: solid 2px currentColor;
transform: translateY(-50%) rotate(45deg);
}
@media (min-width: 600px) {
  .yoyakubt a:after {
    right: 3rem;
  }
  .yoyakubt a:hover:after {
    right: 2rem;
  }
}
.yoyakubt a:hover {
transform: translateY(3px);
-webkit-transform: translateY(3px);
}
.yoyakubt span {  
  font-size: .7em;
}

/* howto_addfavorite */
#howto_addfavorite li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.6;
  gap: 10px;
  flex-direction: column;
}
#howto_addfavorite li .li_text {
  flex: 1;
}
#howto_addfavorite li .li_image {
  width: 170px;
}
@media (min-width: 600px) {
  #howto_addfavorite li {
    flex-direction: row;
  }
}

/* modal */
.modalOpen {  
  cursor: pointer;
}
.modal {
  display: none;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: fixed!important;
  z-index: 9999;
  background-color: rgba(0,0,0,0.8);
  background-color: rgba(255, 255, 255, 0.8);
  animation: appear 1s ease;
}
.modal.on {
  display: block;
}
@keyframes appear { 
  0%{opacity: 0;}
  100%{opacity: 1;}
}
.modal-box {
  /* background-color: #fff;
  border-radius: 10px;
  padding: 50px 10px 15px; */
  padding-right: 50px;
  z-index: 9999;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  div {
    margin-bottom: 10px;
  }
}
@media (min-width: 600px) {
  .modal-box {
    /* max-width: 440px;
    width: 90%;
    height: 60vh;
    padding: 60px 15px 20px; */
  }
}
.modal-box .image img {
  height: 80vh;
  width: auto;
}
.modalClose {
	position: absolute;
	top: 0px;
  right: 0px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background-color: #787878;
  border-radius: 9999px;
  background-size: 100%;
}