@charset "UTF-8";


/* -------------------------
@Import
------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Meddon&family=Murecho:wght@100..900&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css");


/* -------------------------
Device
------------------------- */
@media screen and (min-width: 1181px) {
  html {
    font-size: 62.5%;
  }
}
@media screen and (max-width: 1180px) {
  html {
    font-size: 62.5%;
  }
}
@media screen and (max-width: 768px) {
  html {
    font-size: 62.5%;
  }
}
@media screen and (max-width: 539px) {
  html {
    font-size: 62.5%;
  }
}


/* -------------------------
Common
------------------------- */
:root {
  --background: #f3efeb;
  --primary: #ddc38a;
  --secondary: #a6b0bd;
  --tertiary: #ddc38a;
  --text: #18314e;
}
::selection{
  background: var(--tertiary);
 }
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  font-style: normal;
  font-weight: 400;
  font-family: "Murecho", sans-serif;
  font-optical-sizing: auto;
}
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  padding-bottom: 6rem;
  overflow-y: scroll;
  background-color: var(--background);
  color: var(--text);
}
body.body-fixed {
  overflow: hidden;
}
h1 {
  width: fit-content;
  color: var(--text);
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  font-family: "Meddon", sans-serif;
  letter-spacing: 0rem;
  transition: .2s;
}

h1:hover {
  color: var(--primary);
}
.fadeUp {
  opacity: 0;
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(80px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
} 


/* -------------------------
Header
------------------------- */
#link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#link a > * {
  display: block;
  text-align: center;
  transition: .2s;
}
#link a i {
  margin: 0 auto;
  border-radius: 0.2rem;
  background-color: var(--text);
  color: var(--background);
}
#link a i, #modal div.modal-open {
  border-width: .2rem;
}
#link i {
  background-color: var(--background);
  color: var(--text);
}
#link a:hover i {
  border: none;
  background-color: var(--primary);
  color: var(--text);
    outline: 1px solid var(--text);
}
#link .enable {
  background-color: var(--primary);
  color: var(--text);
  outline: none;
}


/* -------------------------
Top
------------------------- */
.visual {
  text-align: center;
}
.visual img {
  width: auto;
  max-width: 100%;
  height: auto;
  text-align: center;
  margin-bottom: 2rem;
    border-radius: 1.5rem;
}


/* -------------------------
Gallery
------------------------- */
#gallery p {
  text-align: center;
}
#modal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#modal::before, #modal::after {
  display: block;
  order: 1;
  content: "";
}
#modal::before, #modal::after {
  height: 0;
}
#modal div.modal-open {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
#modal div.modal-open > p {
  display: flex;
  flex: 1;
}
.tmb {
  position: relative;
  overflow: hidden;
  border-radius: 100%;
  cursor: pointer;
}
.tmb::before {
  display: block;
  content: "";
}
.tmb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  vertical-align: bottom;
  
  /*filter: grayscale(1);*/

  object-fit: cover;
}
.tmb img:hover {
  opacity: 0.6;
  transition: 0.25s;
  
}
#link a i, #modal div.modal-open, #about > div > h3 {
  border: none;
}


/* -------------------------
About
------------------------- */
.memo a {
  text-decoration: underline;
}
.button {
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  outline: none;
  cursor: pointer;

/*pointer-events: none;*/
  transition: .2s;
}
.button span {
  font-weight: 700;
  transition: .2s;
}
#accordion {
  gap: 2rem;
  padding-top: 3rem;
  text-align: left;
}
.accordion-btn summary:hover {
  transition: .2s;
}
.accordion-btn:not([open]) {
  margin-bottom: 7px;
}
.accordion-btn summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1rem 2em 1rem 2rem;
  border: 1px solid;
  border-radius: 3px;
  font-weight: 400;
  cursor: pointer;
}
.accordion-btn summary::-webkit-details-marker {
  display: none;
}
.accordion-btn summary::before, .accordion-btn summary::after {
  width: 2px;
  height: .9em;
  content: "";
}
.accordion-btn summary::before {
  position: absolute;
  right: 2em;

  rotate: 90deg;
}
.accordion-btn summary::after {
  transition: rotate .3s;
}
.accordion-btn[open] summary::after {
  rotate: 90deg;
}
ul {
  padding-top: 2rem;
}
li {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}
li:before {
  position: absolute;
  top: 1rem;
  left: 0;
          transform: rotate(45deg);
  width: 9px;
  height: 9px;
  content: "";

  -webkit-transform: rotate(45deg);
}
/*#accordion a {
  text-decoration: none;
}*/
#accordion a:hover {
  text-decoration: underline;
}
.button {
  background-color: var(--background);
  color: var(--text);
  border: 1px solid var(--text);
}
.button:hover {
  background-color: var(--background);
  color: var(--text);
}
.accordion-btn summary {
  background-color: var(--background);
  color: var(--text);
}
.accordion-btn summary:hover {
  background-color: var(--primary);
}
.accordion-btn summary::before, .accordion-btn summary::after {
  background-color: var(--text);
}
li:before {
  border-top: 3px solid var(--text);
  border-right: 3px solid var(--text);
}


/* -------------------------
(ΦωΦ)
------------------------- */
