@charset "UTF-8";

/* =====================
*
* root
*
===================== */
:root {
  --backgroud-color: #FEFFF6;

  --def-black: #000000;
  --def-dark-black: #303030;
  --def-black-rgb: 0,0,0;
  --def-gray-dark: #999;
  --def-gray-light: #ccc;
  --def-white: #ffffff;
  --def-white-rgb: 255,255,255;
  --def-gray-hightlight: #dedede;
  --def-gray-pale: #f5f5f5;
  --text-link-color: #1686D1;

  --sucess-color: #2a792c;
  --sucess-color-rgb: 76, 175, 80;
  --error-color: #F44336;
  --error-color-rgb: 244, 67, 54;
}

/* =====================
* common
*===================== */
/* アニメーション設定 */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section,
time, mark, audio, video {
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
}
html, body{
    width: 100%;
    height: 100%;
    font-size: 100%;
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--def-black);
    background-color: var(--backgroud-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
figure {
    border: none;
    margin: 0;
    padding: 0;
}
main {
    position: relative;
    z-index: 2;
}


/* =====================
*
* general
*
*===================== */
/*--- inner-padding ---*/
.inner-padding {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.width-inner-small .inner-padding {
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

/*--- cloud ---*/
.svg-left {
    width: 360px !important;
    z-index: 3;
}
.svg-ball {
    z-index: 0;
}

/*--- button ---*/
.btn-lv1 {
    padding: 10px 20px;
    background-color: var(--def-black);
    color: var(--def-white);
    text-decoration: none;
    border: 0px;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 3px 3px 3px rgba(var(--def-black-rgb), 0.2);
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}
.btn-lv1:hover,
.btn-lv2:hover {
    box-shadow: none;
    background-color: var(--def-gray-dark);
}
.btn-lv2 {
    padding: 8px 16px;
    background-color: var(--def-white);
    color: var(--def-black);
    font-size: 0.8em;
    text-decoration: none;
    border: 2px solid var(--def-black);
    border-radius: 5em;
    font-weight: bold;
    box-shadow: 3px 3px 3px rgba(var(--def-black-rgb), 0.2);
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}
.withIcon {
    display: flex;
    justify-self: center;
    align-items: center;
}
.withIcon .instagram-logo {
    width: 24px !important;
    margin-right: 10px;
}
/*--- col ---*/
[class^="col"] {
    display: flex;
    gap: 20px;
}
.col2 .col-item {
    flex: 1;
    width: 50%;
}
.col3 .col-item {
    flex: 1;
    width: 33%;
}
.col2.layout-7-3 {
    align-items: start;
}
.col2 .layout-70 {
    width: 70%;
    flex: initial;
}
.col2 .layout-30 {
    width: 30%;
}
@media (max-width: 768px) {
    [class^="col"] {
        display: block;
    }
    [class^="col"] > .col-item {
        width: 100%;
        margin-bottom: 2rem;
    }
    .col2 #topic-content.layout-70 {
        width: calc(100% - 2em);
    }
    .col2 .layout-30 {
        width: calc(100% - 2em);
    }
}
/*--- page_top ---*/
.page-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--def-dark-black);
    color: var(--def-white);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 3px 3px 3px rgba(var(--def-black-rgb), 0.2);
    z-index: 10;
}
.arrow-up {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
}

.arrow-up::before,
.arrow-up::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 18px;
  background-color: white;
  top: 14px;
}

.arrow-up::before {
  transform: rotate(45deg);
  left: 3px;
}

.arrow-up::after {
  transform: rotate(-45deg);
  right: 3px;
}

/* =====================
*
* layout
*
*===================== */
/* =====================
* header
*===================== */
#header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: var(--backgroud-color);
    box-shadow: 0 2px 4px rgba(var(--def-black-rgb), 0.1);
}
#header .header-logo-img {
    height: 60px;
    padding: 10px 0 10px 20px;
}
#header.hidden {
    display: none;
}
.header-area {
    position: relative;
    z-index: 1;
}
.underpage-header-logo {
    width: 100px;
    margin: 0.4em 0.8em;
}

/* =====================
* footer
*===================== */
#footer {
    width: 100%;
    padding: 60px 0 40px;
    color: var(--def-white);
    background-color: var(--def-black);
}
.copyright {
    text-align: center;
    font-size: 0.8em;
}
.footer-nav {
    display: flex;
    margin: 0 auto;
    justify-content: center;
}
.footer-nav-item {
    list-style: none;
}
.footer-nav-item-inner {
    font-size: 0.8em;
    text-decoration: none;
    color: var(--def-white);
}


/* =====================
* welcom
*===================== */
.welcome {
    text-align: center;
    margin: 60px auto 0;
}
.logo-figure {
    width: 400px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .logo-figure {
        width: 100%;
    }
}
/* =====================
* instagram
*===================== */
#instagram {
    margin-top: 60px;
}
.insta-btn {
    margin:0 auto 2em;
    text-align: center;
}
/* =====================
* info
*===================== */
#info {
    margin: 60px 0 0;
}
.definition-item {
    position: relative;
    display: flex;
    margin: 10px 0;
}
.definition-item::before {
    content: "";
    border-left: 1px solid var(--def-black);
    position: absolute;
    left: 8em;
    width: 1px;
    height: 100%;  
}
.definition-term {
    width: 7em;
}
@media (max-width: 768px) {
    .definition-term {
        width: 5em;
    }
    .definition-item::before {
        left: 5em;
    }
}

/* =====================
* map-container
*===================== */
#page #logo-container {
    position: relative;
}
.map-container {
    width: 100%;
    height: 400px;
    margin: 40px 0 0;
}
.map-inner {
    width: 100%;
    height: 100%;
}

/* =====================
* page each item
*===================== */
#page .svg-part {
    width: 450px;
    position: fixed;
    top: 0;
    right: 0;
}
#page .svg-part.svg-rightback.moved {
    transform: translate(calc(4vw - 0px), calc(-14vh + 0px)) !important;
}
#page .svg-part.svg-left.moved {
    top: inherit;
    right: inherit;
    left: 0;
    bottom: 0;
    width: 338px;
    transform: translate(calc(-1vw - 0px), calc(3vh + 0px)) !important;
}
#page .svg-part.svg-rightfront.moved {
    width: 212px;
    transform: translate(calc(-1vw - 0px), calc(18vh + 0px)) !important;
}
@media (max-width: 768px) {
    #page .svg-part {
        width: 273px;
    }
    #page .svg-part.svg-rightback.moved {
        transform: translate(calc(23vw - 0px), calc(-8vh + 0px)) !important;
    }
    #page .svg-part.svg-left.moved {
        width: 193px !important;
        transform: translate(calc(-1vw - 0px), calc(3vh + 0px)) !important;
    }
    #page .svg-part.svg-rightfront.moved {
        width: 127px;
        transform: translate(calc(9vw - 0px), calc(8vh + 0px)) !important;
    }
}
/* =====================
* single item
*===================== */
.underpage #logo-container.fade-in .svg-part.svg-rightback {
    transform: translate(calc(10vw - 0px), calc(-60vh + 0px)) !important;
    width: 468px;
    z-index: 1 !important;
}
.underpage #logo-container.fade-in .svg-part.svg-rightfront {
    transform: translate(calc(27vw - 0px), calc(-29vh + 0px))  !important;
    width: 212px;
    z-index: 1 !important;
}
.underpage #logo-container.fade-in .svg-part.svg-left {
    z-index: 1 !important;
}
.underpage #welcome-message,
.underpage #welcome-message #logo-container {
    height: 0;
}
.main-content {
    position: relative;
}
#main-section {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}
/* =====================
* bbpress-forums
*===================== */
#bbpress-forums fieldset.bbp-form {
    background-color: var(--def-white);
    border-radius: 8px;
}
#bbpress-forums fieldset.bbp-form input[type=password], 
#bbpress-forums fieldset.bbp-form input[type=text],
#bbpress-forums fieldset.bbp-form select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
}
.bbp-submit-wrapper {
    width: 100%;
}
.bbp-submit-wrapper button {
    background-color: var(--def-black);
    color: var(--def-white);
    border: 0;
    border-radius: 4px;
    padding: 10px 20px;
    box-shadow: 3px 3px 3px rgba(var(--def-black-rgb), 0.2);
    transition: all 0.3s ease-in-out;
    width: 100%;
    pointer-events: auto;
}
#bbpress-forums fieldset.bbp-form label[for="rememberme"] {
    width: auto;
}
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results
#bbpress-forums ul.bbp-topics,
#bbpress-forums div.even,
#bbpress-forums ul.even {
    background-color: inherit !important;
    border: none !important;
}
#bbpress-forums ul.bbp-threaded-replies {
    margin-left: 18px !important;
}
.bbp-replies-list > li{
    border-bottom: 1px solid var(--def-gray-hightlight);
}
/*--- newtopic ---*/
.newtopic-btn {
    position: fixed;
    bottom: -100px; /* 初期位置 */
    right: 1em;
}
.newtopic-btn.button-stat {
    bottom: 0;
}
.newtopic-btn .btn-lv1 {
    border-radius: 50%;
    border: 0;
    line-height: 0;
    height: 62px;
    width: 62px;
    padding: 0;
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--def-dark-black);
}
.newtopic-btn .btn-lv1 > img {
    width: 42px;
}
/* SUCESS MESSAGE */
.success-box {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(90% - 2em);
  padding: 12px 20px;
  background-color: rgba(var(--sucess-color-rgb), 0.4);
  border: 2px solid var(--sucess-color);
  font-weight: bold;
  color: var(--sucess-color);
  border-radius: 4px;
}
.success-box-text::before {
    content: url('../images/icon_check.svg');
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.8s;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
}
/* ERROR MESSAGE */
.error-box {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(90% - 2em);
  padding: 12px 20px;
  background-color: rgba(var(--error-color-rgb), 0.2);
  border: 2px solid var(--error-color);
  font-weight: bold;
  color: var(--error-color);
  border-radius: 4px;
  z-index: 9;
}
.error-box-text {
    display: flex;
    margin: 0;
}
.error-box-text::before {
    content: url('../images/icon_error.svg');
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
/*--- original error overwright ---*/
.bbp-template-notice.error {
  background-color: rgba(var(--error-color-rgb), 0.2);
  border: 2px solid var(--error-color);
  color: var(--error-color);
}
.bbp-template-notice.error > ul {
    padding: 0;
    margin: 1em;
}
.bbp-template-notice.error > ul > li {
    list-style: none;
    font-size: 0.8rem;
    line-height: 1.2;
}


/*--- dialog ---*/
.dialog-box {
  border: none;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
}
.dialog-box::backdrop {
  background: rgba(0, 0, 0, 0.6);
}
.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 9;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
@media (max-width: 768px) {
    .dialog-box {
        width: calc(90% - 2em);
        margin: auto;
    }
    .bbp-replies-list > li [class*="loop-item-"] {
        padding: 1em 0 !important;
    }
}
/*--- topic-content ---*/
.topic-content {
    width: 100%;
    padding: 1em;
    margin: 40px 0;
    background-color: rgba(var(--def-white-rgb), 0.9);
    border-radius: 8px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
/* bbp-topic-form */
.bbp-form {
    margin: 0;
    padding: 0;
    border: none;;
}
.bbp-form input {
    width: calc(100% - 2em);
    padding: 8px 12px;
    background-color: var(--def-gray-pale);
    border-radius: 4px;
    border: 0;
}
.bbp-form.name-box {
    border: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}
textarea#bbp_forum_content,
textarea#bbp_reply_content,
textarea#bbp_topic_content {
    width: 100% !important;
    background-color: var(--def-gray-pale);
    border-radius: 4px;
    border: 0;
}
/*--- latest-bbpress-topics ---*/
.latest-bbpress-topics {
    padding: 0;
}
.bbpress-topic-item {
    position: relative;
    list-style: none;
    padding: 16px 0;
    display: flex;
    gap: 16px;
    background-color: #fff;
    padding: 0.8em;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    /* border: 1px solid #000; */
    margin: 0.4em 0;
    border-radius: 0.4em;
}
.bbpress-topic-item.nobox {
    background-color: initial;
    box-shadow: none;
    padding: 0;
}
.bbpress-topic-item::before {
    position: absolute;
    bottom: -5px;
    right: 7px;
    z-index: -1;
    transform: rotate(5deg);
    width: 70%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}
.bbpress-topic-item-link {
    text-decoration: none;
    color: var(--def-black);
    display: flex;
    width: 100%;
}
.topic-author img{
    border-radius: 50%;
    margin-right: 0.4em;
}
.topic-head {
    font-size: 0.6em;
    text-decoration: none;
    color: var(--def-gray-dark);
    display: flex;
    gap: 8px;
}
.topic-author-title {
    font-size: 0.6em;
    font-weight: normal;
    font-style: italic;
    margin: 0 0 4px;
}
.topics-title {
    font-size: 0.8em;
    font-weight: bold;
    margin: 0 0 8px;
}
.topic-excerpt {
    font-size: 0.8em;
    margin: 0 0 8px;
}
.bbp-the-content-wrapper {
    margin:  0 auto 20px;
    text-align: center;
}
.bbp-anonymous-name input,
.bbp-topic-title input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 4px;
    border: 0;
}
/*--- topics-content-wapper ---*/
.topics-content-wapper .topic-content {
    margin-top: 0;
    flex: inherit;
}
.bbp-author-avatar > img {
    border-radius: 50%;
}
#bbpress-forums div.bbp-reply-author {
    float: inherit;
}
.bbp-reply-avatar {
    display: flex;
}
.bbp-reply-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bbp-reply-content p {
    margin: 0;
}
.bbp-reply-content .bbp-reply-post-date-wapper {
    margin-top: 0.2em;
}
#bbpress-forums div.bbp-reply-content {
    margin-left: 0 !important;
    width: 100% !important;
}
.bbp-topic-reply-link,
.bbp-reply-to-link {
    background-color: var(--def-black) !important;
    color: var(--def-white) !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    box-shadow: 3px 3px 3px rgba(var(--def-black-rgb), 0.2) !important;
    transition: all 0.3s ease-in-out !important;
    text-decoration: none !important;
    font-size: 0.8em !important;
    font-weight: bold !important;
}
.author-initial-icon {
  display: inline-block;
  min-width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: #4a90e2; /* 好きな色 */
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  margin-right: 0.4em;
}
@media (max-width: 768px) {
    .bbp-reply-author {
        width: calc(36px + 1em) !important;
        margin: 0 !important;
        padding: 0 !important;
        padding-left: 0 !important;
        border: 0 !important;
    }
    .bbp-author-avatar > img {
        max-width: 36px !important;
        position: inherit !important;
    }
    .bbp-author-name {
        display: none !important;
    }
    .bbp-reply-post-date-wapper {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between;
    }
    .bbp-reply-content p,
    .topic-excerpt {
        word-wrap: break-word;      /* 古いブラウザ向け */
        overflow-wrap: break-word;  /* 標準的な指定 */
        word-break: break-all;      /* 英単語やURLを強制的に分割 */
    }
}
/*--- new-post ---*/
.button.submit {
    background-color: var(--def-gray-light);
    box-shadow: none;
    pointer-events: none;
}
.button.submit.able {
    background-color: var(--def-black);
    color: var(--def-white);
    box-shadow: 3px 3px 3px rgba(var(--def-black-rgb), 0.2);
    pointer-events: auto;
}
/*--- bbp-reply-form ---*/
.reply-comment-box {
    max-height: 100px;
    overflow-y: hidden;
    position: relative; 
}
.reply-comment-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px; /* グラデーションの高さ */
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}
.reply-form-box {
    margin-top: 16px;
    border-top: 1px solid var(--def-gray-hightlight) !important;
    padding: 10px 0 0 !important;
}
.bbp-reply-form .bbp-form {
    border: 0 !important;
    padding: 0 !important;
}
.bbp-reply-form .bbp-form > legend {
    display: none !important;
}

/* =====================
*
* adjustment style
*
*===================== */
/*-- margin padding --*/
.mb00 {margin-bottom: 0px;}
.mb10 {margin-bottom: 10px;}
.mb20 {margin-bottom: 20px;}
.mb30 {margin-bottom: 30px;}
.mb40 {margin-bottom: 40px;}
.mb50 {margin-bottom: 50px;}
.mt00 {margin-top: 0px;}
.mt10 {margin-top: 10px;}
.mt20 {margin-top: 20px;}
.mt30 {margin-top: 30px;}
.mt40 {margin-top: 40px;}
.mt50 {margin-top: 50px;}
.pt00 {padding-top: 0px;}
.pt10 {padding-top: 10px;}  