@charset "utf-8";
/* ==========================================================================
   Base
   ========================================================================== */
.second-aniv h2 {
  font-size: min(6vw, 40px);
    margin-bottom: 20px;    
}
/* ==========================================================================
   Components
   ========================================================================== */
.second-aniv .inner {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}
.section-container {
  margin: 0 auto min(20vw, 100px);
}
.l-footer {
  margin-top: 0;
}
#moflin .note {
  padding-left: 1em;
  text-indent: -1em;
}
/* ==========================================================================
   layout
   ========================================================================== */
/*---lead---*/
#lead {
  background-color: #f3f3f3;
  text-align: center;
}
#lead .inner {
  margin: min(10vw, 100px) auto;
}
#lead .title {
  margin-bottom: 20px;
}
#lead .title p {
  font-size: min(4.3vw, 24px);
    font-weight: bold;
}
/*---bnr-commmune---*/
.bnr-commmune > .cmp-container > .aem-Grid {
  display: flex;
  border: solid 2px var(--moflin-light-gray-color);
  align-items: center;
}
.bnr-commmune {
  width: 90%;
  max-width: 1000px;
}
.bnr-commmune .image{
    overflow: hidden;
}
.bnr-commmune .image img{
  transition: .3s ease-out;
}
.bnr-commmune .image img:hover{
  transform: scale(1.05);
}
.bnr-commmune .text {
  display: flex;
  justify-content: center;
}
.bnr-commmune .text a {
  text-decoration: underline;
  font-weight: bold;
}
/*---event---*/
#event h2 {
  color: var(--moflin-theme-color);
}
.event-about {
  position: relative;
  margin-bottom: min(10vw, 100px);
}
.about-txt {
  position: absolute;
  top: 0;
  left: 10%;
}
#event .event-item {
  margin-bottom: 20px;
}
.grid-col.event-item > .cmp-container > .aem-Grid {
  display: flex;
}
.event-item-grp > .cmp-container > .aem-Grid > .container {
  border: solid 2px var(--moflin-light-gray-color);
  padding: 20px;
  margin-bottom: min(10vw, 50px);
}
.event-contents {
  margin-bottom: min(20vw, 100px);
}
.event-contents > .cmp-container > .aem-Grid::before, .event-contents > .cmp-container > .aem-Grid::after {
  display: none;
  content: none;
}
.event-contents > .cmp-container > .aem-Grid {
  display: flex;
  gap: 30px;
  flex-direction: row-reverse;
}
.event-about {
  position: relative;
  margin-bottom: min(10vw, 100px);
}
#event .container:has(> .event-contents-desc) {
  width: calc(100% - 300px);
}
#event .container:has(> .event-contents-img) {
  width: 300px;
}
#event .event-contents h3 {
  color: #ffffff;
  background-color: var(--moflin-theme-color);
  text-align: center;
  font-size: min(4.5vw, 30px);
  padding: 10px;
  margin-bottom: 20px;
}
.event-contents-lead {
  margin-bottom: min(10vw,50px);
}
.event-contents .title {
  display: flex;
  gap: 20px;
  font-weight: bold;
  align-items: center;
}
#event .btn-grp > .cmp-container > .aem-Grid::before, #event .btn-grp > .cmp-container > .aem-Grid::after {
  display: none;
  content: none;
}
#event .btn-grp > .cmp-container > .aem-Grid {
  display: flex;
  gap: 20px;
  width: fit-content;
}
#event .event-btn {
  color: var(--moflin-gray-color);
  background-color: #ffffff;
  width: 200px;
  font-size: min(3.5vw, 16px);
  transition: .3s ease-out;
  font-weight: 500;
  border: 2px solid var(--moflin-light-gray-color);
}
#event a.event-btn:hover {
  color: var(--moflin-theme-color);
  border-color: var(--moflin-theme-color);
}
#event .city-name {
  border-radius: 30px;
  font-weight: bold;
  color: var(--moflin-theme-color);
  border: solid 2px var(--moflin-theme-color);
  padding: 0 1em;
  margin-bottom: 0;
}
#event .details {
  margin: 20px 0;
}
#event .details-item {
  margin-bottom: 0;
  padding-left: 4em;
  text-indent: -4em;
}
.event-image .caption {
  font-size: min(3vw, 14px);
}
/*---novelty---*/
#novelty {
  border: solid 4px var(--moflin-theme-color);
  border-radius: 30px;
  padding: 40px;
}
#novelty .title {
  text-align: center;
  margin-bottom: 50px;
}
#novelty .novelty-contents > .cmp-container > .aem-Grid::before, #novelty .novelty-contents > .cmp-container > .aem-Grid::after {
  display: none;
  content: none;
}
#novelty .novelty-contents > .cmp-container > .aem-Grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr 1fr;
}
#novelty .novelty-items > .cmp-container > .aem-Grid::before, #novelty .novelty-items > .cmp-container > .aem-Grid::after {
  display: none;
  content: none;
}
#novelty .novelty-items > .cmp-container > .aem-Grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 200px 1fr;
}
#novelty .novelty-list {
  margin: 0;
  padding: 0;
}
.novelty-list li {
  font-size: min(4vw, 18px);
  background-color: #f9edd7;
  margin-bottom: 10px;
  padding: 5px 10px;
  text-align: center;
  border-radius: 30px;
}
#novelty .novelty-list li:before {
  content: none;
}
.novelty-note {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}
.event-note {
  width: 90%;
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
  border: solid 2px var(--moflin-light-gray-color);
  padding: 20px;
}

/*---about-moflin---*/
#about-moflin {
  background-color: var(--moflin-bg-color);
  padding: min(20vw, 100px) 0;
}
#about-moflin .title {
  position: relative;
  padding-left: 80px;
  margin-bottom: 20px;
}
#about-moflin .title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 50px;
  aspect-ratio: .8;
  display: inline-block;
  background-image: url(/content/dam/casio/global/moflin/contents/2nd-aniv/img/icon-beginner-mark.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
#about-moflin .lead p {
  text-align: left;
  margin-bottom: 30px;
  font-size: min(4vw, 18px);
}
#about-moflin .inner > .cmp-container > .aem-Grid::before, #about-moflin .inner > .cmp-container > .aem-Grid::after {
  display: none;
  content: none;
}
#about-moflin .inner > .cmp-container > .aem-Grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr 400px;
}
/*---share---*/
#share-sns {
  background-color: #dd9b8b;
  color: #ffffff;
  padding-top: 20px;
}
#share-sns .inner > .cmp-container > .aem-Grid::before, #share-sns .inner > .cmp-container > .aem-Grid::after {
  display: none;
  content: none;
}
#share-sns .inner > .cmp-container > .aem-Grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 400px 1fr;
}
#share-sns .title {
  margin-bottom: 20px;
}
#share-sns .lead p {
  text-align: left;
  margin-bottom: 20px;
  font-size: min(4vw, 18px);
}
.share-sns-img{
        max-height: 600px;
    overflow: hidden;
}
.share-sns-txt {
  padding: 50px 0;
}
.share-sns-txt .desc > .cmp-container > .aem-Grid {
  display: flex;
  align-items: center;
  gap: 40px;
}
.share-sns-txt .desc > .cmp-container > .aem-Grid::before, .share-sns-txt .desc > .cmp-container > .aem-Grid::after {
  display: none;
  content: none;
}
.share-sns-txt .desc > .cmp-container > .aem-Grid .image {
  width: 50px;
}
.share-sns-txt .desc .text p {
  font-size: min(3.8vw, 14px);
}
#share-sns .container:has(> .icon-sns) {
  width: fit-content;
}
.icon-sns > .cmp-container > .aem-Grid {
  display: flex;
  align-items: center;
  gap: 20px;
}
.icon-sns > .cmp-container > .aem-Grid::before, .icon-sns > .cmp-container > .aem-Grid::after {
  display: none;
  content: none;
}
.icon-sns img {
  transition: .3s ease-out;
}
.icon-sns img:hover {
  transform: scale(1.05);
}
#share-sns .cp-date {
    text-align: center;
    margin-top: 20px;
}
#share-sns .cp-date p{
    font-size: min(3.5vw, 18px);
}

/*---message---*/
#message {
  background-color: #fdf6ec;
  text-align: center;
}
#message .inner {
  margin: 100px auto;
}
#message h2 {
  color: #dd9b8b;
}
.message-image {
  width: 50%;
  margin: 50px auto;
}
.message-txt {
  margin-bottom: min(10vw, 50px);
}
.switch-container.media-link {
  display: none !important;
}
@media (max-width: 767px) {
  .about-txt {
    position: static;
  }
  .bnr-commmune > .cmp-container > .aem-Grid {
    display: flex;
    flex-direction: column-reverse;
  }
  /*---event---*/
  #event .container:has(> .event-contents-desc) {
    width: 100%;
  }
  .event-contents > .cmp-container > .aem-Grid {
    display: flex;
    gap: 0px;
    flex-direction: column;
    align-items: center;
  }
  .grid-col.event-item > .cmp-container > .aem-Grid {
    display: flex;
    flex-direction: column;
  }
  .event-contents .title {
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  .event-schedule {
    min-height: auto;
    margin-bottom: 30px;
  }
  #event .btn-grp > .cmp-container > .aem-Grid {
    flex-direction: column;
  }    
  #event .btn-grp > .cmp-container > .aem-Grid {
    flex-direction: column;
      width: auto;
  }
  .event-contents-img {
    width: 70%;
    margin-inline: auto;
  }
  #event .details {
    width: fit-content;
    margin-inline: auto;
  }
  .event-contents .button {
    text-align: center;
  }
  .event-image .caption {
    text-align: center;
  }
  #novelty .novelty-contents > .cmp-container > .aem-Grid {
    display: grid;
    gap: 60px;
    grid-template-columns: 1fr;
  }
  #novelty .novelty-items > .cmp-container > .aem-Grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
  }
  /*---about-moflin---*/
  #about-moflin .inner > .cmp-container > .aem-Grid {
    display: grid;
    gap: 60px;
    grid-template-columns: 1fr;
  }
  #about-moflin .about-moflin-btn {
    text-align: center;
  }
  /*---share---*/
  #share-sns .inner > .cmp-container > .aem-Grid {
    display: flex;
    gap: 20px;
    flex-direction: column-reverse;
  }
  .share-sns-txt {
    padding: 50px 0 0 0;
  }
  .icon-sns > .cmp-container > .aem-Grid {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .share-sns-txt .desc > .cmp-container > .aem-Grid .image {
    width: 30px;
  }
  .share-sns-txt .desc > .cmp-container > .aem-Grid {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }
  /*---message---*/
  .message-image {
    width: 80%;
    margin: 50px auto;
  }
}