/* /*__AT_BLOCK_PLACEHOLDER_0__*/

html {
  height: 100%;
  background-color: var(--main-bg-color);
}

body {
  padding-top: 8px;
  padding-left: 16px;
  padding-right: 16px;
  font-family: 'Noto Sans CJK JP', sans-serif;
  font-weight: 400;
  color: var(--body-textcolor);
}

a {
  text-decoration: none;
  color: #c75f88;
}

ul {
  float: left;
}

h1 {
  font-family: 'Noto Sans CJK JP', sans-serif;
  font-weight: 300;
  font-size: 2.5em;
  overflow: auto;
  padding: 20px 0 20px 110px;
  color: var(--title-textcolor);
}

h2 {
  font-family: 'Noto Sans CJK JP', sans-serif;
  font-weight: 300;
}

h3 {
  font-family: 'Noto Sans CJK JP', sans-serif;
  font-weight: 300;
}

h4 {
  font-family: 'Noto Sans CJK JP', sans-serif;
  font-weight: 300;
}

h5 {
  font-family: 'Noto Sans CJK JP', sans-serif;
  font-weight: 300;
}

h6 {
  font-family: 'Noto Sans CJK JP', sans-serif;
  font-weight: 300;
}

.container-login-registration-dashboard h1 {
  font-size: 2.5em;
  overflow: auto;
  padding: 20px 0 20px 40px;
  color: var(--title-textcolor);
}

#page-container {
  position: relative;
}

.success-message {
  color: var(--success-textcolor);
  font-weight: bold;
}

.error-message {
  color: var(--error-textcolor);
  font-weight: bold;
}

.login-form tr {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.login-form td {
  min-width: 150px;
}

.login-form input {
  width: 300px;
}

.container-login-registration-dashboard {
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: var(--length-width-main-input);
  margin-left: auto;
  margin-right: auto;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  padding-bottom: 1rem;
}

.cart {
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: 650px;
  margin-left: auto;
  margin-right: auto;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  padding-bottom: 1rem;
}

.cart h1 {
  font-size: 2.5em;
  overflow: auto;
  padding: 0px 0 0px 40px;
  color: var(--title-textcolor);
}

.cart-order-img img {
  margin-top: 1.5rem;
  width: 360px;
}

.cart-order-info select {
  margin-left: 2rem;
}

.cart-order-info .price > p {
  margin-bottom: 0px;
}

.cart-order-info .qty {
  margin-top: 12px;
}

.cart-order-info .price-all > p {
  margin-bottom: 0px;
}

.cart-order-info .btn-modify {
  background: #94b2c9;
}

.cart-order-info .btn-delete {
  background: #e7afaf;
}

.cart-order-checkout-btn .cost-all {
  padding-top: 1rem;
  font-size: 1.5rem;
}

.dashboard .cart-order-checkout-btn a {
  display: block;
  width: 360px;
  text-align: center;
  text-decoration: none;
  margin-left: auto;
  margin-right: auto;
}

.dashboard .cart-order-checkout-btn a h2 {
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-weight: 550;
  color: #ffffff;
  background-color: var(--button-checkout);
  border-radius: 15px;
}

.dashboard .cart-order-checkout-btn a h2:hover {
  text-decoration: none;
  background-color: var(--button-checkout-hover);
}

.checkout {
  display: flex;
  flex-flow: column;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  padding-bottom: 1rem;
}

.checkout h1 {
    font-size: 2.5em;
    overflow: auto;
    color: var(--title-textcolor);
    margin-left: 27%;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}


.checkout .dashboard {

    width: fit-content;
    margin-left: auto;
    margin-right: auto;

}





.paypal-container {
  width: 43%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

.paypal-container h1 {
  padding: 0px 0px 0px 0px;
}



.form-field small {
    color: coral;
    display: block;
    margin-top: 16px;
    margin-bottom: 16px;

}



.checkout-address .form-field input {
  width: 400px;
}






#content .story-detail {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
  padding-left: 150px;
  padding-right: 150px;
  padding-top: 10px;
  padding-bottom: 100px;
  width: var(--length-width-main-input);
}

#content .story-manage p {
  margin-top: 3rem;
}

#content .story-detail form input {
  display: block;
  text-align: center;
}

#content h3 {
  color: #e18d5a;
  text-align: center;
  font-family: 'Noto Sans CJK JP', sans-serif;
  letter-spacing: 0.1rem;
  margin: 50px 30px;
}

.section-title,
.about-contents h3 {
  color: #e18d5a;
  text-align: center;
  font-family: 'Noto Sans CJK JP', sans-serif;
  letter-spacing: 0.1rem;
  font-size: 2.25rem;
  font-weight: 600;
  margin: 50px 30px 20px 30px;
}

#hamburger-menu {
  float: right;
}

.registeration {
  font-family: 'Noto Sans CJK JP', sans-serif;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  padding-right: 35px;
  margin-left: 50px;
}

.dashboard {
  font-family: 'Noto Sans CJK JP', sans-serif;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
}

.dashboard button {
  border-radius: 5px;
  background: var(--button-maincolor);
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  padding: 10px 20px;
  margin: 20px 0;
  width: 200px;
  font-weight: 600;
}

.dashboard button:hover {
  cursor: pointer;
  background: var(--button-maincolor-hover);
}

.registeration form {
  display: flex;
  flex-direction: column;
}

.dashboard form {
  display: flex;
  flex-direction: column;
}

.registeration form input {
  width: 300px;
}

.dashboard form p {
  margin: 0;
}

.dashboard form input {
  width: 400px;
}

.registeration .registeration_btn {
  width: 220px;
}

.dashboard a {
  margin-top: 16px;
  margin-bottom: 16px;
}

.login {
  margin-left: 50px;
}

.about {
  margin-bottom: 25px;
  width: 100%;
  border-bottom: 1px solid #333;
  
}

#content {
  margin-bottom: 25px;
  width: 100%;
}

.story {
  display: flex;
  flex-wrap: wrap;
  font-family: 'Noto Sans CJK JP', sans-serif;
  margin-left: auto;
  margin-right: auto;
  padding-left: 100px;
  padding-right: 100px;
  justify-content: center;
}

.story-edit {
  display: flex;
  flex-wrap: wrap;
  font-family: 'Noto Sans CJK JP', sans-serif;
  margin-left: auto;
  margin-right: auto;
  padding-left: 100px;
  padding-right: 100px;
  justify-content: center;
}

.story .logged_out_p {
  text-align: center;
}

.story-container {
  max-width: 320px;
  min-height: 440px;
  background-color: #352b24;
  margin-top: 20px;
  margin-bottom: 100px;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 10px;
}

.story-container div {
  padding-left: 20px;
  padding-right: 20px;
}

.story-container a {
  color: #6f6f6f;
  font-size: small;
  font-weight: 600;
}

.story-container .product-price {
  text-align: right;
  padding-right: 32px;
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 0px;
}

.story-container div > h3 a {
  font-size: 1em;
  color: #3ea6a5;
}

.story-edit form label {
  margin-top: 1rem;
  margin-left: 0.5rem;
}

.story-edit div form + button {
  border-radius: 5px;
  background: var(--button-maincolor);
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  padding: 10px 20px;
  width: 200px;
  font-weight: 600;
  margin-top: 100px;
  margin-left: 0;
}

.story-edit-form-div {
  display: block;
  padding-bottom: 25px;
}

.story-edit-form-div form {
  display: block;
}

.story-posts-all {
  padding: 80px;
  margin-bottom: 50px;
}

.story-posts-all h2 {
  padding-top: 50px;
}

.story-posts-all iframe {
  width: 500px;
  max-width: 100%;
  max-height: 100%;
}

.story-detail {
  display: block;
  margin-left: 80px;
}

.story-detail h1 {
  font-size: 2.5em;
  overflow: auto;
  padding: 20px 0 20px 40px;
  color: var(--title-textcolor);
}

.story-detail-category {
  margin-left: 80px;
  font-size: 0.8em;
}

.story-detail-desc {
  margin-left: 80px;
  max-width: 80%;
  word-wrap: break-word;
  white-space: normal;
  margin-bottom: 50px;
}

.story-detail form {
  padding-top: 15px;
}

.story-detail h2 {
  margin-left: 50px;
}

.story-detail h5 {
  margin-left: 50px;
}

.story-detail select {
  margin-left: 50px;
}

.story-detail button {
  margin-left: 80px;
  min-width: 300px;
}

.story-detail .button {
  margin-left: 50px;
}

.story-detail-img-container {
  display: block;
  width: 800px;
}

.story-detail-img-container:first-child img {
  width: 100%;
}

.story-detail-img-container img:not(:first-child) {
  display: inline-block;
  width: 264px;
}

.story-detail .product-price {
  padding-left: 32px;
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 50px;
}

.story-studying {
  min-width: 400px;
  display: inline-block;
  margin-left: 50px;
  padding: 25px;
}

.story-misc {
  font-size: 0.75rem;
}

.story-misc span {
  font-weight: 600;
  color: #a8c20a;
}

.story-misc p {
  font-weight: 600;
  color: #e080b1;
}

.story-container > a img {
  max-height: 240px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.story-manage {
  display: block;
  padding: 35px;
  padding-left: 100px;
  width: 500px;
  margin-left: 40px;
}

.story-delete {
  width: 500px;
  font-weight: 800;
  color: var(--error-textcolor);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.story-delete form input[type=submit] {
  width: 500px;
}

#header {
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

.main-nav-wrap {
  position: relative;
  z-index: 3000;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(2px);
}

.main-nav > ul > li {
  position: relative;
  display: inline-block;
}

.main-nav > ul > li > a {
  position: relative;
  z-index: 3100;
  padding-bottom: 12px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 4000;
  min-width: 220px;
  background: #1f1c1d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  display: none;
  will-change: transform, opacity;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
  pointer-events: auto;
  display: block;
}

.main-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-direction: column;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  display: inline-block;
  border-radius: 8px;
  line-height: 1.2;
}

.main-nav > ul > li > a:hover {
  background: rgba(255,255,255,0.08);
}

.dropdown ul {
  list-style: none;
  margin: 0;
  padding: 4px;
}

.dropdown li a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.dropdown li a:hover {
  background: rgba(255,255,255,0.08);
}

.main-nav > ul > li:hover .dropdown {
  display: block;
}

.main-nav > ul > li:focus-within .dropdown {
  display: block;
}

#header .logo-container {
  text-align: center;
  margin-top: 6px;
  margin-bottom: 12px;
  height: auto;
  min-height: 81px;
}

#header .logo {
  text-decoration: none;
  font-family: 'Noto Sans CJK JP', sans-serif;
  font-weight: 100;
  font-size: 3.2rem;
  color: var(--kitsune-color);
}

#header .logo-small {
  color: #566e75;
  font-size: 12px;
}

.logo-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.logo-container-layout {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.logo-container-layout > .logo {
  padding-top: 20px;
}

.logo-container-layout p {
  margin-top: -0.25rem;
  letter-spacing: 0.25rem;
  padding-left: 0.5rem;
  margin-left: auto;
  margin-right: auto;
}

.logo-container h3 {
  font-weight: 800;
  margin-right: 20px;
  color: #b4aa81;
}

.logo-container h5 {
  font-weight: 800;
  margin-right: 20px;
  color: #4ca4c6;
}

.contents {
  background: var(--main-bg-color);
  color: #db9a9a;
  display: grid;
  place-items: center;
  list-style: none;
  font-family: 'Noto Sans CJK JP', sans-serif;
}

.contents nav {
  place-items: center;
}

.contents nav img:hover {
  border-radius: 20px;
  background-color: #dd99bb;
}

.contents ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin-left: auto;
  margin-right: auto;
}

.contents ul li {
  max-width: 150px;
  font-size: 11pt;
  font-weight: 700;
  margin: 6px 80px 6px 0;
  padding: 0 20px 0 0;
  overflow: hidden;
}

.contents ul li > a {
  color: #6f6f6f;
}

.contents ul li span {
  justify-items: right;
  color: #e69b9b;
}

.contents ul li.selected {
  font-weight: 700;
}

.contents ul li:hover {
  text-decoration: none;
}

.contents ul li.placeholder {
  border: 1px dashed #ccc;
  padding: 0;
  margin: 10px 0;
}

.story-edit a {
  color: #dc2135;
  font-weight: 800;
  margin-top: 0px;
  margin-bottom: 20px;
}

.story-edit a:hover {
  text-decoration: underline;
}

.story-edit a + a {
  color: #dc2135;
  font-weight: 800;
  margin-top: 0px;
  margin-bottom: 20px;
  margin-left: 2rem;
}

.story-edit a + a:hover {
  text-decoration: underline;
}

ul.content-types {
  margin: 0;
  padding: 0;
}

ul.content-types li {
  list-style: none;
  float: left;
  margin-bottom: 20px;
  background: #efefef;
  padding: 8px 14px;
  margin: 5px;
}

.hidden {
  display: none;
}

.errorlist {
  color: #ae2c2c;
  margin: 0;
}

label {
  float: left;
  clear: both;
  margin: 8px 0 8px 0;
  margin-right: 10px;
}

input {
  border: 1px solid #ccc;
  border-bottom: 3px solid #ccc;
  padding: 5px 12px;
  font-size: 16px;
  font-family: 'Noto Sans CJK JP', sans-serif;
  width: 80px;
  clear: both;
}

select {
  border: 1px solid #ccc;
  border-bottom: 3px solid #ccc;
  padding: 5px 12px;
  font-size: 16px;
  font-family: 'Noto Sans CJK JP', sans-serif;
  width: 240px;
  clear: both;
  margin-right: 1.4rem;
}

textarea {
  border: 1px solid #ccc;
  border-bottom: 3px solid #ccc;
  padding: 5px 12px;
  font-size: 16px;
  font-family: 'Noto Sans CJK JP', sans-serif;
  width: 80px;
  clear: both;
  height: 80px;
}

input[type=submit] {
  border-radius: 5px;
  background: var(--button-maincolor);
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  padding: 10px 20px;
  margin: 20px 0;
  width: 180px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

a.button {
  border-radius: 5px;
  background: var(--button-maincolor);
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  padding: 10px 20px;
  margin: 20px 0;
  width: 180px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

button {
  border-radius: 5px;
  background: var(--button-maincolor);
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  padding: 10px 20px;
  margin: 20px 0;
  width: 180px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

input[type=submit]:hover {
  background: var(--button-maincolor-hover);
  text-decoration: none;
}

a.button:hover {
  background: var(--button-maincolor-hover);
  text-decoration: none;
}

button:hover {
  background: var(--button-maincolor-hover);
  text-decoration: none;
}

input[readonly] {
  border: 0;
  outline: 0;
  background-color: #f0f0f0;
  color: #6f6f6f;
}

.btn-add-to-cart {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#id_password2 {
  margin-bottom: 3rem;
}

a.secondary-button {
  border: 3px solid #aa6889;
  padding: 10px 20px;
  margin: 10px 0;
}

ul#product-stories {
  list-style: none;
  overflow: auto;
}

ul#product-stories textarea {
  width: 600px;
  height: 120px;
}

ul#product-stories li {
  padding: 20px;
  overflow: auto;
  cursor: move;
  user-select: none;
}

ul#product-stories li:nth-child(even) {
  background: #efefef;
}

ul#product-stories li:hover {
  background: #ccc;
}

.create-content {
  height: 7vh;
}

.story-edit h2 {
  padding-left: 80px;
  padding-right: 80px;
  width: 100%;
}

.story-edit h3 {
  margin-top: 2rem;
  width: 100%;
}

#story-contents div {
  padding: 10px 20px;
  border: 1px solid #ccc;
  margin-bottom: 5px;
}

#story-contents div.placeholder {
  border: 1px dashed #ccc;
}

#story-contents form {
  margin: 0;
  padding: 0;
  text-decoration: underline;
}

#story-edit-form input[type=checkbox] {
  width: 30px;
  float: left;
  margin: 0;
  padding: 0;
  margin-bottom: 3rem;
}

#story-contents a {
  color: #dc2135;
}

a:hover {
  text-decoration: underline;
}

#story-contents a + a {
  color: #ff0000;
  background: none;
  margin: 0;
  padding: 0;
  text-transform: none;
  font-weight: 800;
  border: none;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  margin-left: 2rem;
  font-size: 1rem;
}

a + a:hover {
  text-decoration: underline;
}

#story-contents div:hover {
  cursor: move;
}

#story-contents div p {
  margin-bottom: 1rem;
  overflow: auto;
}

.product-info {
  border: 1px solid #ccc;
  padding: 20px;
  margin-bottom: 20px;
  overflow: auto;
}

.product-info-title {
  font-size: 1.5rem;
  text-align: left;
}

.product-info a:hover {
  text-decoration: underline;
}

.product-info .product-info-delete {
  color: #ff0000;
}

.story-edit form p select {
  width: 475px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.story_edit_btn {
  width: 500px;
  display: block;
  overflow: auto;
  margin-left: auto;
  margin-right: auto;
}

.story-edit form input {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: var(--length-width-main-input);
}

.story-edit form input[type=submit] {
  width: var(--length-width-main-input);
  display: block;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.story-edit form textarea {
  display: block;
  width: var(--length-width-main-input);
  min-height: 250px;
  margin-left: auto;
  margin-right: auto;
}

.story-edit-form-container {
  height: 100vh;
  overflow: auto;
  flex: 1;
}

.story-edit-form-container form p select {
  margin-left: unset;
  margin-right: unset;
}

.story-edit-form-container form p input {
  margin-left: unset;
  margin-right: unset;
}

.story-edit-form-container form p textarea {
  margin-left: unset;
  margin-right: unset;
}

.story-edit-form-container form .module_edit_btn input[type=submit] {
  margin-left: unset;
  margin-right: unset;
}

#header a {
  font-size: medium;
  color: var(--tab-textcolor);
  font-weight: 600;
  text-decoration: none;
}

#header a:hover {
  color: var(--tab-textcolor-hover);
}

#header .menu {
  display: flex;
  list-style: none;
  float: right;
  margin: 0;
  padding: 0;
}

#header .menu li {
  margin-right: 10px;
  padding-left: 18px;
  padding-right: 18px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: medium;
  color: var(--tab-textcolor);
  border-bottom-left-radius: 10px 10px;
  border-bottom-right-radius: 10px 10px;
}

#header .menu form {
  margin-top: unset;
  padding-top: 5px;
}

#header .menu button {
  width: unset;
  margin: unset;
  padding: unset;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: 0;
  margin-right: 0;
  background-color: unset;
  font-size: medium;
  color: var(--tab-textcolor);
  font-weight: 600;
  border: none;
  letter-spacing: 0.12rem;
  text-transform: unset;
}

#header .menu button:hover {
  cursor: pointer;
  color: var(--tab-textcolor-hover);
}

.helptext {
  color: #ccc;
  padding-left: 20px;
}

#chat {
  top: 64px;
  bottom: 0;
  position: fixed;
  width: 100%;
  overflow-y: scroll;
  padding-bottom: 150px;
}

#chat .message {
  background: #efefef;
  padding: 10px 20px;
  border-radius: 4px;
  width: auto;
  display: inline;
  float: left;
  margin: 10px 10px 0;
  min-width: 440px;
  clear: both;
}

#chat .message.me {
  display: inline;
  float: right;
  background: #DCEDE0;
  color: #56A668;
}

#chat .date {
  color: #aaa;
  font-style: italic;
  font-size: 12px;
}

#chat-input {
  position: absolute;
  bottom: 0;
  background: #efefef;
  width: 100%;
  padding-top: 20px;
}

#chat-input input {
  width: 96%;
  position: left;
  float: left;
  display: inline;
  margin-left: 2%;
  margin-right: 2%;
  padding-left: 0;
  padding-right: 0;
}

#hamburger-input {
  display: none;
}

#product-menu-checkbox {
  display: none;
}

.story-posts-all img {
  max-width: 100%;
  max-height: 100%;
}

.product_list_title {
  display: none;
}

.track-order-items {
  display: inline-block;
}

.track-order-items ul {
  min-width: 300px;
  list-style: none;
  border-left: 1.5mm solid #aaaaaa;
  padding-left: 1rem;
}

.dashboard .form-pdf-generate input {
  width: 300px;
}

.modal-open {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 50px;
  font-weight: bold;
  color: #fff;
  background: #000;
  margin: auto;
  cursor: pointer;
  transform: translate(-50%,-50%);
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
}

.modal-container:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.modal-container.active {
  opacity: 1;
  visibility: visible;
}

.modal-body {
  position: relative;
  display: inline-block;
  horizontal-align: middle;
  max-width: 300px;
  width: 90%;
}

.modal-close {
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.25rem;
  background-color: var(--button-maincolor);
  padding: 12px;
  width: 80px;
  border-radius: 15px;
  margin-left: auto;
  margin-right: auto;
}

.modal-close:hover {
  background-color: var(--button-maincolor-hover);
}

.modal-content {
  background: var(--modal-background);
  text-align: center;
  padding: 30px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.25rem;
}

.modal-container-wait {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
}

.modal-container-wait:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.modal-container-wait.active {
  opacity: 1;
  visibility: visible;
}

.modal-body-wait {
  position: relative;
  display: inline-block;
  horizontal-align: middle;
  max-width: 300px;
  width: 90%;
}

.modal-close-wait {
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.25rem;
  background-color: #d1769d;
  padding: 12px;
  width: 80px;
  border-radius: 15px;
  margin-left: auto;
  margin-right: auto;
}

.modal-content-wait {
  background: #fff;
  text-align: center;
  padding: 30px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.25rem;
}

.sold-out {
  margin-top: 50px;
  text-align: center;
  font-size: small;
  color: #ac4f4f;
}

.noti-remain {
  margin-top: 15px;
  text-align: center;
  font-size: small;
  color: #497cad;
}

.noti-remain-detail {
  margin-top: 25px;
  text-align: left;
  font-size: small;
  color: #497cad;
}

.about-contents {
  max-width: 960px;
  margin: auto auto;
  padding: 0 16px;
}

.about-row {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.about-row-1 {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 80px;
}

.about-row-2 {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 80px;
}

.about-row-3 {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 80px;
}

.about-card {
  border-radius: 4px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.about-card--image {
  background: #222;
  margin-top: 5px;
}

.about-card--text {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 5px;
  width: 95%;
  height: 100%;
  flex-direction: column;
  margin-bottom: 50px;
}

.about-card--text .title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #e18d5a;
}

.hero-row {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
  width: 860px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.hero-row-1 {
  grid-template-columns: 300px 300px;
}

.hero-row-2 {
  grid-template-columns: 300px 300px;
}

.hero-row-3 {
  grid-template-columns: 300px 300px;
}

.hero-card {
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.hero-card--image {
  background: #222;
  margin-top: 5px;
}

.hero-card--text {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 5px;
  width: 95%;
  height: 100%;
  flex-direction: column;
  margin-bottom: 50px;
}

.hero-card--text .title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 100;
  color: #e18d5a;
}

.download-here {
  text-align: center;
  width: 100%;
}

.download-here h1 {
  text-align: center;
  padding: unset;
  cursor: pointer;
}

.download-here h1:hover {
  color: var(--button-checkout);
  cursor: pointer;
}

.sprite-hero-container {
  margin-top: 10px;
  margin-bottom: 40px;
  margin-left: 100px;
}

.sprite-hero {
  margin-right: 10px;
}

.sprite-purchase-container {
  text-align: center;
}

.loading {
  color: #666;
  text-align: center;
  padding: 12px;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--main-bg-color);
  border-radius: 8px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, var(--main-bg-color), transparent);
  animation: shimmer 1.2s infinite;
}

#list {
  background-color: transparent;
}

.lazy-slot {
  background-color: transparent;
  position: relative;
}

.sk-card.skeleton {
  background: var(--main-bg-color);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  min-height: 200px;
}

.sk-title {
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--kitsune-color), var(--main-bg-color), var(--main-bg-color));
  animation: sk 1.1s infinite linear;
  margin: 10px 0;
  width: 40%;
}

.sk-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--kitsune-color), var(--main-bg-color), var(--main-bg-color));
  animation: sk 1.1s infinite linear;
  margin: 10px 0;
}

.lazy-content {
  will-change: opacity;
}

.purchase-noti {
  text-align: center;
}

.confirm-modal {
  background: #49352c;
}

#do-capture {
  background: #f56c5e;
}

#do-capture :hover {
  background: #f18d83;
}

.download-form div input {
  width: 350px;
}

.download-form-btn {
  width: 350px;
}

#download_panel_before p strong {
  color: #f7f790;
}

#download_panel .download-form-h3 {
  text-align: unset;
  margin: unset;
}

.download-form-noti {
  padding-left: 23px;
}

.download-form-noti strong {
  color: #f7f790;
}

.hero-image img {
  width: 80%;
  display: block;
  text-align: center;
  text-decoration: none;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 80px;
  cursor: zoom-in;
  box-shadow: 6px 6px 12px -6px rgba(0, 0, 0, 0.25),   
                20px 20px 40px -10px rgba(0, 0, 0, 0.30);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  padding: 24px;
  cursor: zoom-out;
  overflow: hidden;
}

.modal-overlay.is-open {
  display: flex;
  animation: modalFade .15s ease-out;
}

.modal-image {
  max-width: min(96vw, 1600px);
  max-height: 90vh;
  width: auto;
  height: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  border-radius: 10px;
  cursor: zoom-out;
  user-select: none;
  touch-action: none;
  will-change: transform;
  transform-origin: center center;
}

.footer-detail-desc {
  margin-left: 80px;
  max-width: 80%;
  word-wrap: break-word;
  white-space: normal;
  margin-bottom: 50px;
}

#content .footer-detail-desc h3 {
  margin: 50px 0px;
  text-align: left;
}

.site-footer {
  background: #2d2724;
  color: #c98a5e;
  margin-top: 48px;
  padding: 28px 16px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-left: auto;
  margin-right: auto;
}

.site-footer a {
  color: #c98a5e;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  width: 100%;
  max-width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  align-items: start;
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  letter-spacing: .08rem;
  color: #f0e3db;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer .footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  column-gap: 28px;
  row-gap: 8px;
}

.footer-buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 10px auto 20px auto;
  max-width: 900px;
  padding: 0 16px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 30px;
  background: rgba(225, 141, 90, 0.08);
  border: 1px solid rgba(225, 141, 90, 0.4);
  color: #e18d5a;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.footer-btn:hover {
  background: rgba(225, 141, 90, 0.25);
  border-color: #ff9d63;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(225, 141, 90, 0.4);
}

.footer-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-btn i {
  font-size: 1rem;
  color: #e18d5a;
  transition: color 0.25s ease;
}

.footer-btn:hover i {
  color: #ffffff;
}

.footer-bottom {
  width: 100%;
  max-width: min(1200px, 92vw);
  margin: 18px auto 0;
  border-top: 1px dashed rgba(255,255,255,.15);
}

.footer-bottom p {
  margin: 12px 0 0 0;
  text-align: center;
  color: #cbbfb7;
  font-weight: 300;
}

.footer-detail-desc ol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  list-style: decimal;
}

.footer-detail-desc ol > li {
  display: list-item;
  float: none;
  width: auto;
}

.footer-detail-desc .ja {
  opacity: .95;
}

.footer-detail-desc .ja-heading {
  opacity: .95;
  margin-top: 2rem;
  margin-left: 0px;
}

.footer-detail-desc ul {
  margin-left: 1.2rem;
  float: unset;
}

.footer-detail-desc li {
  margin: .25rem 0;
}



.main-nav form {
  display: inline;               /* <a>と同じインライン配置 */
  margin: 0;
  padding: 0;
}

.main-nav form .linklike {
  all: unset;                    /* 既定の<button>スタイルをリセット */
  display: inline-block;
  padding: 8px 10px;             /* .main-nav a と同じ余白 */
  border-radius: 8px;
  line-height: 1.2;
  cursor: pointer;
  color: inherit;                /* リンクと同じ文字色 */
}

.main-nav form .linklike:hover,
.main-nav form .linklike:focus-visible {
  background: rgba(255,255,255,0.08); /* .main-nav > ul > li > a:hover と同じ */
  outline: none;
}

.main-nav form .linklike:active {
  transform: translateY(0.5px);
}


/* ===== Registration form: align labels & inputs; make address wider ===== */

/* テーブルそのものを安定配置 */
.container-login-registration-dashboard .table-plain {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 7px;     /* 行間に余白 */
  table-layout: fixed;         /* 入力幅のブレを防止 */
}

/* ラベル側（<th>）の幅と整列を固定 */
.container-login-registration-dashboard .table-plain th {
  width: 200px;                /* ラベル列の固定幅 */
  padding: 6px 12px;
  text-align: left;
  vertical-align: middle;      /* 縦ズレ防止 */
  white-space: nowrap;
  font-size: small;
}

/* 入力側（<td>）は残りをフル活用 */
.container-login-registration-dashboard .table-plain td {
    padding: 6px 12px;
    vertical-align: middle;      /* 縦ズレ防止 */
    color: cornsilk;
}

/* デフォルトの入力は控えめな横幅（デスクトップ時） */
.container-login-registration-dashboard .table-plain input,
.container-login-registration-dashboard .table-plain select {
  width: 420px;
  max-width: 100%;
  box-sizing: border-box;
}

/* テキストエリアは基本フル幅 */
.container-login-registration-dashboard .table-plain textarea {
  width: 100%;
  max-width: 100%;
  min-height: 96px;
  box-sizing: border-box;
}

/* 住所は特別に“テーブルの残り幅いっぱい”を使う */
#id_address,
textarea[name="address"],
input[name="address"] {
  width: 100% !important;      /* 残り幅をすべて使用 */
  max-width: 100% !important;
  box-sizing: border-box;
}


.container-login-registration-dashboard p button {
    width: fit-content;
    padding: 16px 28px;
    font-size: large;
}

/* Confirm Password の縦ズレ修正 */
.container-login-registration-dashboard #id_password2 {
  margin-bottom: 0 !important;   /* 余計な下マージンを無効化 */
}

/* （必要なら）テーブルの下に全体の余白を付ける */
.container-login-registration-dashboard .table-plain {
  margin-bottom: 1.5rem;
}

/* 送信ボタンを少し下げたい場合（任意） */
.container-login-registration-dashboard form .btn {
  margin-top: .5rem;
}


/* 入力内のガイド（placeholder）を灰色で統一 */
.container-login-registration-dashboard ::placeholder {
  color: #888;          /* お好みで #999 など */
  opacity: 1;           /* Firefoxで薄くならないように */
}

/* 住所はワイドに（前回の調整が未適用なら） */
.container-login-registration-dashboard #id_address,
.container-login-registration-dashboard textarea[name="address"],
.container-login-registration-dashboard input[name="address"] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}



.spec-editions {

    margin-top: 70px;
    margin-bottom: 70px;
    margin-left: auto;
    margin-right: auto;
  
  }

.spec-editions-inner {
    width: 80%;
    margin-left: auto;
    margin-right: auto;

}



#cogitsunemusic-spec,
#cogitsunelive-spec {

    display: flex;
    flex-direction: column;
}

#cogitsunemusic-spec h2,
#cogitsunelive-spec h2 {
    color: #e18d5a;
    font-size: larger;
    font-weight: 400;

}


#cogitsunemusic-spec .card,
#cogitsunelive-spec .card {

    padding: 12px 76px 12px 12px;
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 10px;

}


#cogitsunemusic-spec .card h3,
#cogitsunelive-spec .card h3,
.spec-editions .card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #e18d5a;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 8px;
}

#cogitsunemusic-spec .card h3:first-of-type,
#cogitsunelive-spec .card h3:first-of-type,
.spec-editions .card h3:first-of-type {
    margin-top: 0;
}



#cogitsunemusic-spec .card p,
#cogitsunelive-spec .card p {

    margin-left: 28px;

}



#cogitsunemusic-editions,
#cogitsunelive-editions {

    display: flex;
    flex-direction: column;
    margin-right: auto;
}


#cogitsunemusic-editions h2,
#cogitsunelive-editions h2 {
    color: #e18d5a;
    font-size: larger;
    font-weight: 400;

}


#cogitsunemusic-editions .card h3,
#cogitsunelive-editions .card h3 {

    text-align: unset;

}



#cogitsunemusic-editions small,
#cogitsunelive-editions small {

    margin-top: 4px;
    margin-bottom: 6px;
    margin-left: 6px;

}





/* === Dashboard: Your Products table === */
.card-products .table-plain {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #201c19;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  overflow: hidden; /* 角丸を有効にする */
}

.card-products .table-plain thead th {
  background: linear-gradient(0deg, rgba(255,255,255,.03), rgba(255,255,255,.06));
  color: #f0e3db;
  font-weight: 700;
  letter-spacing: .02rem;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
}

.card-products .table-plain tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--body-textcolor);
  word-wrap: break-word;
}

.card-products .table-plain tbody tr:nth-child(odd) {
  background: rgba(255,255,255,.02);
}

.card-products .table-plain tbody tr:hover {
  background: rgba(237,145,176,.08); /* --button-checkout に近い色でホバー */
}

.card-products .table-plain td:nth-child(2),
.card-products .table-plain th:nth-child(2) {
  width: 160px;
  text-align: center;
  white-space: nowrap;
}

.card-products .table-plain td:nth-child(3),
.card-products .table-plain th:nth-child(3) {
  width: 160px;
  text-align: center;
  white-space: nowrap;
}

/* Download ボタン風リンク */
.card-products a.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--button-checkout);
}
.card-products a.btn:hover {
  background: var(--button-checkout-hover);
  text-decoration: none;
}

/* セクションの余白を少し整える */
.card-products h2 {
  margin-bottom: .75rem;
}

.checkout-legal-check {

    margin-top:8px;
    display:flex;
    gap:10px;
    align-items:center;

}


.checkout-legal-check input {


    width: 40px !important;

}




.cookie-banner {
    position: fixed; inset: auto 0 0 0;
    display: none; /* 初期は非表示、JSで制御 */
    background: #111111d1; 
    color: #fff;
    padding: 16px; z-index: 9999;
    box-shadow: 0 -4px 16px rgba(0,0,0,.25);
}


.cookie-banner__inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; gap: 12px;
}

.cookie-banner__noti {

    font-size: smaller;
}


/* --- Cookie: モバイルでもボタンを横並びにする --- */
.cookie-banner__buttons{
  display: flex;
  flex-direction: row;      /* 横方向 */
  flex-wrap: nowrap;        /* 折り返さない（必要なら wrap に） */
  gap: 22px;
  align-items: center;
  justify-content: flex-start;
}

.cookie-btn{
  display: inline-flex;      /* インラインで横に並ぶ */
  align-items: center;
  white-space: nowrap;       /* 文言が長くても改行しない */
  width: auto !important;    /* グローバルの button 幅を上書き */
  margin: 0;                 /* 余白で縦積みされないように */
}


.cookie-btn--primary { background: #4caf50; color: #fff; font-size: smaller; }
.cookie-btn--secondary { background: #333; color: #fff; font-size: smaller; }
.cookie-banner a { color: #7fd7ff; text-decoration: underline; }



#pw-change-result {

    color: coral;

}






#dashboard-danger {
    font-size: small;
    margin-top: 11.25rem;
    border: 1px solid #b000207a;
    border-radius: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 18px;
    padding-right: 18px;
    background: #771a1a2e;
}



#dashboard-danger button {

    background: #b0002091;
    color: #fff;


}



.checkout-form-field {

    border: 1px dashed #333;
    padding: 30px;
    border-radius: 10px;
    background: #0b0b0c;
    margin-top: 10px;

}

.checkout-address .checkout-form-field input {
  width: 400px;
}




.checkout-form-field small {

    color: coral;
    display: block;
    margin-top: 16px;
    margin-bottom: 16px;

}


/* === Checkout Step1: 行ごとにラベル/入力を水平揃え === */
.checkout-form-field .form-row{
  display: grid;
  
  gap: 12px;
  align-items: center;         /* 縦ズレ防止 */
  margin-top: 12px;
}

/* フォーム内はfloat等を無効化して素直に並べる */
.checkout-form-field .form-row label{
  float: none !important;
  clear: none !important;
  margin: 0;                   /* 余計な上下マージンを除去 */
  white-space: nowrap;

}

.checkout-form-field .form-row .form-control,
.checkout-form-field .form-row input,
.checkout-form-field .form-row select,
.checkout-form-field .form-row textarea{
  width: 280px !important;      /* 一律で列いっぱい */
  max-width: 100%;
  box-sizing: border-box;
  clear: none !important;
}


.checkout-form-field .form-row #u_addr1,
.checkout-form-field .form-row #u_addr2 {

    width: 100% !important;

}


/* 2カラムの塊（first/last, birth/gender, city/state）内でも同じ行スタイルを適用 */
.checkout-form-field .grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}







#proceed {

    width: 400px;

}



#content_checkout_step2 {

    width: 100%;
    display: grid;
    justify-content: center;

}


#content_checkout_step2 h1 {

    padding: 20px 0 20px 0px;
    width: 500px;

}


#checkout-step2-btn {
    
    width: 400px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: larger;

}


/* 送信中の見た目を少しだけ調整 */
.pp-processing { 
    font-weight: 600; 
    color: coral;

}


/* 無効化状態の見た目（JSで消すので実質保険） */
.is-disabled { opacity: 0.6; pointer-events: none; }




.noti-maintenance-purchase {

    text-align: center;
    font-size: 8pt;
    color: coral;
    letter-spacing: 2px;

}



/* 全体を中央寄せ */
.store-button-wrapper {
  text-align: center;
  margin-top: 24px;

  border-bottom: 1px solid #333;
  padding-bottom: 64px;

}

/* メインボタン */
.btn-win-store {
  box-sizing: border-box;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 12px;                     /* ロゴとテキストの間隔 */
  padding: 12px 32px;
  border-radius: 999px;          /* 角丸（カプセル型） */
  background-color: #0078d4;     /* Windows 系ブルー */
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
  border: 1px solid #0090ff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition:
    background-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-win-store:hover {
  background-color: #0062ad;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

.btn-win-store:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* ロゴのスペース（赤丸の部分） */
.btn-win-store__logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 画像を入れた場合のサイズ調整 */
.btn-win-store__logo img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* テキスト部分 */
.btn-win-store__text {
  white-space: normal;
}

/* 寄付ボタン（Donate to support） */
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 10px;                     /* ハートとテキストの間隔 */
  padding: 12px 32px;
  border-radius: 999px;          /* 角丸（カプセル型） */
  background: linear-gradient(135deg, #ff6a8b 0%, #e0245e 100%); /* 温かみのあるピンク〜ローズ */
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
  border: 1px solid #ff8aa3;
  box-shadow: 0 4px 12px rgba(224, 36, 94, 0.4);
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-donate:hover {
  background: linear-gradient(135deg, #ff7d9b 0%, #c81d52 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(224, 36, 94, 0.55);
}

.btn-donate:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(224, 36, 94, 0.4);
}

/* ハートアイコン */
.btn-donate__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

/* ホバー時にハートが脈打つ */
.btn-donate:hover .btn-donate__icon {
  animation: donate-heartbeat 0.9s ease-in-out infinite;
}

@keyframes donate-heartbeat {
  0%, 100% { transform: scale(1); }
  25%      { transform: scale(1.18); }
  50%      { transform: scale(0.96); }
  75%      { transform: scale(1.1); }
}

/* テキスト部分 */
.btn-donate__text {
  white-space: nowrap;
}







/* ---------------------------------------
   Message From Gounbeee セクション
---------------------------------------- */
.website-concept {
  margin: 0 auto 48px;
  padding: 32px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.website-concept__inner {
  max-width: 770px;
  margin: 0 auto;
  padding: 0 16px;
}

/* タイトル＋プロフィール画像の行 */
.website-concept__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.website-concept__title {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  font-weight: 400;
  color: #82af88;
}

/* プロフィール画像 */
.website-concept__profile {
  width: 48px;
  height: 48px;
  border-radius: 50%;     /* 丸くしたくなければ 8px などに変更 */
  object-fit: cover;
  flex-shrink: 0;
}

/* 本文エリア（細いフォント＆読みやすい段落） */
.website-concept__text {
  font-size: 0.85rem;
  line-height: 1.9;
  color: #d7b76d;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.website-concept__text p {
  margin: 0 0 0.9em;
}

.website-concept__text p:last-child {
  margin-bottom: 0;
}




.video-wrapper {
    position: relative;
    width: 80vw;      /* 画面幅の80% */
    max-width: 960px; /* 最大幅 */
    aspect-ratio: 16 / 9; /* アスペクト比維持 */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}



.hero-contents {
    margin-top: 16px;
    padding-top: 10px;
}



.message-highlight {

    border-top: 1px solid #333;
    margin-top: 85px; 
    text-align: center;


}


.message-highlight h4 {

    font-weight: 500;
    margin: 0 auto;
    padding: 48px 53px;
    letter-spacing: 0.14rem;
    width: 800px;
    color: #e18d5a;
}

.message-tutorial {


    text-align: center;


}



.message-tutorial h4 {


    margin: 0 auto;
    padding: 0px 53px 70px;
    letter-spacing: 0.14rem;
    width: 800px;
    color: #e18d5a;
}

html {
    scroll-behavior: smooth;
}

/* ===== FAQ Quick Buttons under Tutorial Banner ===== */
.faq-buttons-container {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    max-width: 960px;
    margin: -35px auto 45px auto;
    padding: 0 20px;
}

.faq-btn {
    box-sizing: border-box;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 30px;
    background: rgba(225, 141, 90, 0.08);
    border: 1px solid rgba(225, 141, 90, 0.4);
    color: #e18d5a;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.faq-btn:hover {
    background: rgba(225, 141, 90, 0.25);
    border-color: #ff9d63;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(225, 141, 90, 0.4);
}

.faq-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.faq-btn i {
    font-size: 1rem;
    color: #e18d5a;
    transition: color 0.25s ease;
}

.faq-btn:hover i {
    color: #ffffff;
}


/* ===== Cogitsune Live : mobile screenshot showcase ===== */
.mobile-showcase {
    margin-top: 72px;
}

.mobile-showcase-head {
    text-align: center;
    margin-top: 64px;
    margin-bottom: 40px;
}

.mobile-showcase-head .title {
    font-size: 1.6rem;
    font-weight: 100;
    color: #e18d5a;
    margin: 0 0 8px;
}

.mobile-showcase-head .title.title-large {
    font-size: 2.4rem;
}

@media (max-width: 720px) {
    .mobile-showcase-head .title.title-large {
        font-size: 1.6rem;
    }
}

.mobile-showcase-head p {
    margin: 0;
    color: #cfcfcf;
}

.mobile-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.mobile-shot {
    width: 220px;
    margin: 0;
    text-align: center;
}

.phone-frame {
    border: 8px solid #1b1b1b;
    border-radius: 30px;
    background: #000;
    padding: 6px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    cursor: pointer;
}

.mobile-shot figcaption {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #b9b9b9;
}

.mobile-shot figcaption strong {
    display: block;
    color: #e18d5a;
    font-weight: 400;
    margin-bottom: 4px;
}

@media (max-width: 640px) {
    .mobile-showcase {
        margin-top: 48px;
    }
    .mobile-gallery {
        gap: 32px 20px;
    }
    .mobile-shot {
        width: 45%;
        min-width: 150px;
    }
}



.plugin-grid-container {

    display:block; 
    margin-left: auto;
    margin-right: auto;
    padding: 48px 64px;
    border-bottom: 1px solid #333;
}


.plugin-grid {

    width: 65%;
    max-width: min(1200px, 92vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 24px 64px;
    align-items: start;
/*    padding: 48px 53px;*/
}


.plugin-grid__label {

    width: 450px;
    color: #e18d5a;
/*    text-indent: 12px;*/
    font-size: small;
    letter-spacing: 0.17rem;
    line-height: 21px;

}



/*.plugin-grid__list ul{

  list-style: disc;
  padding-left: 1.25em;
  margin: 0;

  display: flex;
  flex-wrap: wrap;*/     /* 折り返す */
  /*gap: 24px 76px;*/       /* 行間 / 列間 */

/*}


.plugin-grid__list li{
    font-size: small;
    margin: 0;*/           /* ブラウザデフォの余白対策 */
/*}*/



.plugin-grid__list ul{
  list-style: disc;
  padding-left: 1.25em;
  margin: 0;

  float: none;                 /* グローバル ul{float:left;} の影響を切る */
  display: grid;               /* ← flex から grid に変更 */
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3列固定（必要なら2に） */
  column-gap: 76px;
  row-gap: 14px;
  align-items: start;
}

.plugin-grid__list li{
    font-size: small;
  margin: 0;
  min-width: 0;                /* 長い文字でも列を押し広げない */
  line-height: 1.6;
}







/* === Video直下：7枚サムネ行 === */
.video-gallery{
  width: 80vw;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -60px;   /* 動画の下の余白(100px)を少し詰めて、赤枠位置に寄せる */
  margin-bottom: 60px;

  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.video-thumb{
  all: unset;              /* 既存の button 共通スタイル(幅180px等)を無効化 */
  display: block;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.video-thumb img{
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.video-thumb:hover{
  border-color: rgba(237,145,176,0.55);
}

.video-thumb:focus-visible{
  outline: 2px solid rgba(237,145,176,0.8);
  outline-offset: 3px;
}

/* モーダル表示中は背景スクロール停止 */
.no-scroll{ overflow: hidden; }

/* モバイルは折り返し */
@media (max-width: 64rem){
  .video-gallery{
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    margin-top: -40px;
    gap: 10px;
  }
}











/* --- At-rules preserved as-is (e.g., @media) --- */

@override 
    http://127.0.0.1:8001/static/css/base.css */

@import url(//fonts.googleapis.com/css?family=Roboto:500,300,400);




/* =============================================================== */
/* COLOR 設定*/

:root {
    --main-bg-color: #25211e;
    --main-text-color: #333333;
    --highlight-color: #ff6600;
    --kitsune-color: #e1813a;
    --tab-color: #746c6c;
    --tab-color-hover: #978c8c;
    --tab-textcolor: #e0eba9;
    --tab-textcolor-hover: #f39c2b;
    --title-textcolor: #d79362;
    --body-textcolor: #c3b09c;
    --error-textcolor: #dd5555;
    --success-textcolor: #75dd55;
    --length-width-main-input: 650px;
    --length-width-textinput: 500px;
    --modal-background: #25201e;
    --button-maincolor: #bab18b;
    --button-maincolor-hover: #bac19b;
    --button-checkout: #ed91b0;
    --button-checkout-hover: #c581a4;
}




@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 100% { transform:translateX(100%); } }
@keyframes sk { 
0% { background-position: 0 0; } 
100% { background-position: 200% 0; } 
}
@keyframes modalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}




@media (max-width: 1100px){
  .plugin-grid__list ul{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .plugin-grid__list ul{ grid-template-columns: 1fr; }
}




@media (max-width: 64rem) {

    body {

    }


    #proceed {

        width: 200px;


    }



    /* ==== グリッド：2カラム → 1カラム ==== */
    .about-row,
    .about-row-1,
    .about-row-2,
    .about-row-3 {
      grid-template-columns: 1fr !important;
      gap: 20px;
      margin-bottom: 32px;
    }
    
    .hero-contents { width: 100%; }
    .hero-row,
    .hero-row-1,
    .hero-row-2,
    .hero-row-3 {
      grid-template-columns: 1fr !important;
      gap: 20px;
      width: 100% !important;      /* 860pxの固定幅を解除 */
      margin: 0 auto 24px !important;

    }



    /* hero-row系を1カラムにしつつ、画像→テキストの順に入れ替え */
    .hero-row,
    .hero-row-1,
    .hero-row-2,
    .hero-row-3{
      display: grid;                     /* 既存がGrid想定 */
      grid-template-columns: 1fr;
      grid-template-areas:
        "image"
        "text";                          /* ← 並びを指定（上：image、下：text） */
    }

    /* 子要素をエリアに割り当て */
    .hero-row .hero-card--image{ grid-area: image; }
    .hero-row .hero-card--text { grid-area: text;  }

    /* 他のrowバリエーションも同様に効かせる */
    .hero-row-1 .hero-card--image,
    .hero-row-2 .hero-card--image,
    .hero-row-3 .hero-card--image{ grid-area: image; background: var(--main-bg-color); }

    .hero-row-1 .hero-card--text,
    .hero-row-2 .hero-card--text,
    .hero-row-3 .hero-card--text{ grid-area: text; }


    /* ==== Heroテキスト中央寄せ ==== */
    .hero-row-1 .hero-card--text,
    .hero-row-2 .hero-card--text,
    .hero-row-3 .hero-card--text {
      grid-area: text;
      text-align: center;          /* テキスト中央寄せ */
      display: flex;               /* 要素全体を中央に配置 */
      flex-direction: column;      /* 縦方向に積む */
      align-items: center;         /* 水平方向中央 */
      justify-content: center;     /* 垂直方向中央（高さがある場合） */
      padding: 0 0;
      margin: 0 auto;
    }

    /* タイトルや説明文の調整 */
    .hero-card--text .title {
      text-align: center;
      margin-bottom: 0.5rem;
    }

    .hero-card--text .desc p {
      text-align: center;
      margin: 0.25rem 0;
    }

    /* カード内のテキスト/画像ブロック */
    .about-card,
    .hero-card { aspect-ratio: auto; }
    .about-card--text,
    .hero-card--text { width: 100%; margin-bottom: 12px; }
    
    /* 画像/キャンバスを横幅いっぱいに */
    .about-card img,
    .hero-card canvas,
    .sprite-hero,
    .sprite-purchase {
      width: 50% !important;
      height: auto !important;
      margin-left: auto; margin-right: auto;
    }
    
    /* ==== ヘッダー/タイトル周り（中央寄せ） ==== */
    #header{

      padding: 20px 12px;


    }

    #header .logo-container{
      height: auto;
      margin: 29px auto;
      display: flex;
      flex-direction: column;        /* ロゴ+テキストを縦積み */
      align-items: center;           /* 要素中央 */
      justify-content: center;       /* 要素中央 */
      gap: .25rem;
      width: 100%;
    }

    .logo-container{                  /* 念のため単体指定も中央化 */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .logo-container-layout{
      text-align: center;            /* 複合要素のテキスト中央 */
    }

    .logo-container-layout p{
      letter-spacing: .12rem;
      margin: .25rem 0 0 0;
      text-align: center;
    }
    
    h1 {
      padding: 16px 0 !important; /* 左110pxの余白を解除 */
      text-align: center;
    }
    
    /* ==== 横並びナビの折返し ==== */
    ul { float: none; }


    .contents ul {
        flex-wrap: wrap;
        gap: 8px 16px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.75rem;
    }


    .contents ul li {
        margin: 6px 12px;
        padding: 0;
        max-width: none;
    }
    
    /* ==== 固定幅コンテナを可変に ==== */
    .container-login-registration-dashboard,
    .checkout,
    .cart {
      width: 100% !important;
      max-width: 92vw;
/*      padding: 0 1rem;*/
      margin-left: auto;
      margin-right: auto;
    }
    .paypal-container { width: 100%; }
    
    .registeration,
    .dashboard,
    .login,
    .about {
      margin-left: 0 !important;
      padding-right: 0 !important;
      max-width: 100%;
    }
    
    /* ==== 詳細ページの左右余白を縮小 ==== */
    #content .story-detail {
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 16px !important;
      padding-right: 16px !important;
      width: auto;
    }
    .story-detail h2,
    .story-detail h5,
    .story-detail select,
    .story-detail button,
    .story-detail .button {
      margin-left: 0 !important;
    }
    .story-detail-img-container { width: 100% !important; }
    .story-detail-desc {
      margin-left: 0 !important;
      max-width: 100% !important;
      margin-bottom: 32px;
    }
    .story-detail .product-price {
      margin-left: 0 !important;
      padding-left: 0 !important;
    }
    
    /* ==== リスト/カード類の左右パディング縮小 ==== */
    .story,
    .story-edit {
      padding-left: 16px !important;
      padding-right: 16px !important;
    }
    .story-container { max-width: 100%; }
    
    /* ==== 最小幅指定の解除（はみ出し防止） ==== */
    .story-studying {
      min-width: 0 !important;
      margin-left: 0 !important;
      padding: 16px !important;
    }
    
    /* ==== 入力の固定幅をフル幅に ==== */
    input, select, textarea { width: 100% !important; max-width: 100%; }
    .registeration form input,
    .dashboard form input,
    .checkout-address .form-field input,
    .download-form div input,
    .download-form-btn,
    .story-edit form input,
    .story-edit form textarea,
    .story_edit_btn,
    .story-delete,
    .story-delete form input[type=submit] {
      width: 86% !important;
    }
    




    /* ==== 細かいマージンの調整 ==== */
    .sprite-hero-container { margin-left: 0 !important; }
    .track-order-items ul { min-width: 0 !important; }



    /* 画像・動画・キャンバスが画面幅を超えない */
    img, video, canvas, svg {
      max-width: 100% !important;
      height: auto !important;
      display: block;
    }

    /* よく使うコンテンツ領域では強制的にフル幅スケール */
    .about img,
    .hero img,
    .story img,
    .story-detail img,
    .story-detail .story-detail-img-container img,
    .product img,
    .card img,
    .article img {
      width: 100% !important;
    }

    /* 画像ラッパーやカードに固定幅がある場合の無効化 */
    .img-wrap,
    .story-detail-img-container,
    .product-image,
    .hero-card,
    .about-card {
      width: 100% !important;
      max-width: 100% !important;
    }

    /* 長いURL/コードで横スクロールが出るのを抑止 */
    .contents,
    .story,
    .story-detail,
    .article {
      overflow-wrap: anywhere;
      word-break: break-word;
    }
    pre, code, .code-block {
      white-space: pre-wrap;
      word-break: break-word;
      overflow: auto;  /* 行が長い時のみスクロール */
    }

    /* （最終手段：どうしても横スクロールが消えない場合のみ）
    html, body { overflow-x: hidden; }
    */

    /* ===== about-row を 1カラム & 並び順 指定 ===== */
    .about-row,
    .about-row-2,
    .about-row-3{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "text";
        gap: 20px;
    }

    /* about-row-2 は HTMLで text → image になっているので、CSSで入れ替え */
    .about-row-2 .card--image{ grid-area: image; }
    .about-row-2 .about-card--text{ grid-area: text; }

    /* about-row-3 は image → text だが、明示しておく */
    .about-row-3 .about-card--image{ grid-area: image; }
    .about-row-3 .about-card--text { grid-area: text; }

    /* 画像がはみ出さないように（保険） */
    .about-row img{
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* 固定幅・左余白がある場合のリセット（任意） */
    .about-row .about-card,
    .about-row .card{
        width: 100% !important;
        margin: 0 !important;
    }


    .checkout h1 {

        margin-left: auto;
        margin-right: auto;

    }



    .dashboard .cart-order-checkout-btn { 
        text-align: center; 
    }
    .dashboard .cart-order-checkout-btn a h2 {
        display: inline-block;    /* 改行後に中央寄せ */
        width: 80%;
        margin-top: 12px;         /* 1行分の余白 */
    }



    .dashboard .cart-order-checkout-btn a {


        width: unset;

    }

    .main-nav{
        display: grid;
        padding-top: 20px;
        padding-bottom: 20px;

    }


    .main-nav > ul{
        padding-left: 20px;
        padding-right: 20px;
        display: grid;
        grid-auto-rows: auto;
        gap: 4px;
    }


    .dropdown{
      position: static;
      display: none;
      margin-top: 6px;
    }


    .main-nav > ul > li:hover .dropdown,
    .main-nav > ul > li:focus-within .dropdown{
      display: block;
    }



    .purchase-noti--yellow { color:#ffeb3b; }


    .hero-image img {

        width: 100%;
        display: block;
        text-align: center;
        text-decoration: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        margin-bottom: 30px;
    }



    .spec-editions {

        font-size: smaller;

    }

    .spec-editions-inner {

        display: unset;

    }

    #cogitsunemusic-spec,
    #cogitsunelive-spec {

        margin-right: unset;

    }

    #cogitsunemusic-spec h2,
    #cogitsunelive-spec h2 {

        margin-top: 80px;

    }


    #cogitsunemusic-editions h2,
    #cogitsunelive-editions h2 {

        margin-top: 50px;

    }



    #cogitsunemusic-spec .card,
    #cogitsunelive-spec .card {

        padding: 1.25rem 1rem 0.5rem 0.5rem;
    }



    #cogitsunemusic-spec .card ul li,
    #cogitsunelive-spec .card ul li {

        margin-bottom: 0.5rem;

    }



    #cogitsunemusic-spec .card h3,
    #cogitsunelive-spec .card h3 {

        margin-top: 0;
        margin-left: 0.5rem;


    }


    .container-login-registration-dashboard tr {
    
        display: grid;
        margin-bottom: 18px;

    }



    .container-login-registration-dashboard .table-plain th {
        width: unset;
        padding: unset;
    }


    .card-products .table-plain thead { display: none; }
    .card-products .table-plain,
    .card-products .table-plain tbody,
    .card-products .table-plain tr,
    .card-products .table-plain td {
        display: block;
        width: 100%;
    }


    .card-products .table-plain tbody tr {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }


    .card-products .table-plain tbody td {
        border: none;
        padding: 10px 14px;
        text-align: left !important;
        width: fit-content !important;
    }


    .card-products .table-plain tbody td::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        color: #f0e3db;
        margin-bottom: 4px;
    }

    #flag_id_country {
        width: unset !important;
    }


    .muted-mobile {

        white-space: normal;
        font-size: smaller;
        font-weight: 500;
        color: burlywood;
    }


    

    .checkout-form-field .form-row .form-control, .checkout-form-field .form-row input {

         width: 172px !important;

    }

    .checkout-form-field small {

        width: unset !important;
    }


    .dashboard form input {

          width: unset !important;

    }


    .footer-grid { grid-template-columns: 1fr; gap: 16px 0; }
    .site-footer .footer-list { grid-template-columns: 1fr; }

    .story-detail h1 {

        font-size: 1.35rem;

    }

    .footer-detail-desc {
        margin-left: 0px;
        max-width: unset;
        font-size: small;
    }


    .cookie-banner__buttons {
    
        display: unset;
        margin-top: 6px;
    
    }

    .cookie-banner__buttons button {
        padding: 10px 14px;
        margin-bottom: 10px;
        font-size: x-small;
        margin-right: 10px;
    }

    .cookie-btn{
        padding: 8px 10px;
        font-size: 0.9rem;
    }


    .btn-google{     
        margin-bottom: 8px;
        margin-top: 8px; 

    }
    

    .checkout-form-field .form-row{ grid-template-columns: 1fr; }
    .checkout-form-field .form-row label{ margin-bottom: 6px; }


    .checkout-form-field .grid-2 {

        display: unset;

    }


    .website-concept {
        margin: 0px auto 32px;
        padding: 24px 0;
    }

    .plugin-grid-container {
    
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding: 24px 36px 39px 0px;
    
    }
    


    .plugin-grid {
        
        display:block;
        width: 100%;
        max-width: unset;
    
    }


    .plugin-grid__label {

        width: fit-content;
        list-style: none;
        padding: 20px 14px 20px;
        font-size: 0.75rem;

    }


    .plugin-grid__list ul {

        list-style: none;
        gap: 6px 76px;

    }

    .message-highlight {
    
        margin-top: 25px;
    
    }

    .video-gallery {

        margin-bottom: unset;

    }



    .message-highlight h4 {

        padding: 32px 14px 32px;
        width: unset;

    }



    .message-tutorial h4 {

        padding: 32px 14px 32px;
        width: unset;

    }

    .faq-buttons-container {
        margin: -15px auto 35px auto;
        flex-direction: column;
        width: 100%;
    }

    .faq-btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
        text-align: center;
    }


    .site-footer {
    
        margin-top: 0;
    
    }


}


/* === Normalize Logout button in the main top menu to look like other links === */
.main-nav form {
  display: inline;               /* keep it inline like <a> */
  margin: 0;
  padding: 0;
}

.main-nav form .linklike {
  all: unset;                    /* nuke global <button> styles */
  display: inline-block;
  padding: 8px 10px;             /* same as .main-nav a */
  border-radius: 8px;
  line-height: 1.2;
  cursor: pointer;
  color: var(--tab-textcolor);
  font-weight: 600;
}



.main-nav form .linklike:hover,
.main-nav form .linklike:focus-visible {
  background: rgba(255,255,255,0.08);  /* same hover as .main-nav > ul > li > a:hover */
  outline: none;
  color: var(--tab-textcolor-hover);
}



.main-nav form .linklike:active {
  transform: translateY(0.5px);
}


/* === Social login buttons & divider on Login page === */
.social-login{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:.5rem;
}
.btn-social{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  color:#fff !important;
  min-width: 220px;
  line-height:1.2;
}



.btn-social:hover{ text-decoration:none; filter: brightness(1.05); }
.btn-google{ background:#4285F4; }
.btn-google:hover{ background:#357AE8; }
.btn-github{ background:#24292e; }
.btn-github:hover{ background:#1b1f24; }

.login-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin: 14px 0 24px;
  color: var(--body-textcolor);
}
.login-divider::before,
.login-divider::after{
  content:"";
  height:1px;
  background: rgba(255,255,255,.2);
  flex:1;
}
.login-divider span{
  display:inline-block;
  padding: 0 6px;
  font-weight:700;
  letter-spacing:.08rem;
  color: var(--body-textcolor);
}

/* Responsive: stack social buttons on small screens */
@media (max-width: 640px){
  .btn-social{ width:100%; min-width: unset; }
}


/* === Social button icons === */
.btn-social .icon{
  width: 18px;
  height: 18px;
  margin-right: 8px;
  fill: #fff;
  flex: 0 0 auto;
}



/* 既存の <br> が残っていても崩れないように抑制（任意） */
.checkout-form-field br{ display: none; }


/* === Products list: two-product intro + comparison === */
.product-compare{
  max-width: 1000px;
  margin: 40px auto 64px;
  padding: 0 20px;
}
.product-compare__title{
  text-align: center;
  color: var(--title-textcolor);
  margin-bottom: 8px;
  padding: 0;                 /* override global h1 left-padding so the title stays centered */
}
.product-compare__lead{
  text-align: center;
  color: var(--body-textcolor);
  opacity: .85;
  margin: 0 auto 36px;
  max-width: 640px;
}
.product-compare__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.compare-card{
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 28px 24px;
  background: rgba(255,255,255,.03);
}
.compare-card__name{
  color: var(--title-textcolor);
  margin: 0 0 4px;
}
.compare-card__platform{
  color: var(--kitsune-color);
  font-size: .9rem;
  letter-spacing: .03em;
  margin: 0 0 18px;
}
.compare-card__features{
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  color: var(--body-textcolor);
  flex: 1 1 auto;
  float: none;                /* override global "ul { float: left; }" */
  width: 100%;
}
.compare-card__features li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.45;
}
.compare-card__features li::before{
  content: "♪";
  position: absolute;
  left: 0;
  color: var(--kitsune-color);
}
.compare-card__cta{
  align-self: flex-start;
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--button-maincolor);
  color: #25211e;
  text-decoration: none;
  font-weight: 600;
  transition: background .15s ease;
}
.compare-card__cta:hover{ background: var(--button-maincolor-hover); }

.compare-table-wrap{
  margin-top: 40px;
  overflow-x: auto;
}
.compare-table{
  width: 100%;
  border-collapse: collapse;
  color: var(--body-textcolor);
  border: 1px solid rgba(255,255,255,.22);   /* outer frame */
}
.compare-table th,
.compare-table td{
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.16);   /* full grid lines (rows + columns) */
  text-align: center;
}
.compare-table thead th{
  color: var(--title-textcolor);
  border-bottom: 1px solid rgba(255,255,255,.3);
}
.compare-table tbody td:first-child,
.compare-table thead th:first-child{
  text-align: left;
}

@media (max-width: 720px){
  .product-compare__grid{ grid-template-columns: 1fr; }
}
