/* Common */
body {
  font-family: system-ui, "Hiragino Sans", "YuGothic", "Arial", sans-serif !important;
  margin: 0;
  background-color: #ECEEF1;
}

h1 {
  font-size: 24px;
}

a {
  text-decoration: none;
}

button {
  padding: 8px 0;
  font-size: 15px;
  cursor: pointer;
  border-radius: 5px;
}

button.fullsize {
  display: block;
  max-width: 100%;
  width: 700px;
  margin: 0 auto 20px;
}

button.selected {
  color: #0172e0;
  font-weight: bold;
  background-color: #b8dcff;
  border: 1px solid #3a94eb;
}

button.unselect {
  color: #6d6d6d;
  font-weight: bold;
  background-color: #dcdcdc;
  border: 1px solid #b9b9b9;
}

button.primary {
  color: #ffffff;
  background-color: #3a94eb;
  border: none;
}

button.secondary {
  color: #ffffff;
  background-color: #6d6d6d;
  border: none;
}

button.alert {
  color: #ffffff;
  background-color: #c71010;
  border: none;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

div.banner {
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-gap: 20px;
  align-items: center;
  width: calc(100% - 40px);
  margin: 0 auto 20px;
  padding: 15px 20px;
  font-weight: bold;
  line-height: 1.5;
  color: #ffffff;
  background-color: #464646;
  border-radius: 5px;
  cursor: pointer;
}

div.banner.alert {
  background-color: #c71010;
}

div.banner.alert svg {
  width: 30px;
  height: 30px;
}

.main {
  max-width: calc(100vw - 310px);
  margin: 91px 30px 100px 280px;
}

.main .content {
  box-sizing: border-box;
  max-width: 100%;
  width: 700px;
  margin: 0 auto 20px;
}

/* スマホサイズ */
@media screen and (max-width: 768px) {
  .main {
    max-width: 92%;
    margin: 70px auto 100px;
  }

  .pc-only {
    position: relative;
    pointer-events: none;
    opacity: 0.5;
  }

  .pc-only::after {
    position: absolute;
    top: 0;
    right: 0;
    padding: 3px 5px;
    background-color: #686868;
    content: "PC専用";
    font-size: 12px;
    color: #ffffff;
    text-align: right;
    border-radius: 0 0 0 3px;
  }
}

.loader,
.loader:before,
.loader:after {
  background: #ffbc00;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}

.loader {
  color: #ffbc00;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}

.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader:after {
  left: 1.5em;
}

@-webkit-keyframes load1 {

  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }

  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

@keyframes load1 {

  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }

  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

.toast {
  position: fixed;
  bottom: 0;
  left: 250px;
  z-index: 9999;
  width: calc(100vw - 250px);
  height: 30px;
  padding: 5px 0;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.9;
}

@media screen and (max-width: 768px) {
  .toast {
    left: 0;
    width: 100%;
  }
}

.toast.success {
  background-color: #4caf50;
}

.toast.secondary {
  background-color: #6d6d6d;
}

.toast.alert {
  background-color: #c71010;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: grid;
  grid-template-columns: 1fr 150px;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 50px;
  background-color: #ffffff;
  border-bottom: 1px solid #ececec;
}

header .adjust {
  display: none;
}

header #hamburger {
  display: none;
}

@media screen and (max-width: 768px) {
  header {
    grid-template-columns: 50px 1fr 150px;
  }

  header .adjust {
    display: block;
  }

  header #hamburger {
    display: block;
  }

  header #hamburger img {
    display: block;
    max-width: 30px;
    margin: 0 auto;
    filter: opacity(70%);
    cursor: pointer;
  }

  header .paid-plan {
    font-size: 12px !important;
    font-weight: bolder;
  }
}

header #logo {
  height: 36px;
  margin-left: 10px;
  padding: 7px 0;
}

header #logo img {
  height: 36px;
}

header #logo a img {
  height: 36px;
}

header .free-plan {
  margin-right: 20px;
  padding: 3px 5px;
  background-color: #fff8e6;
  color: #b15a00;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  border: 2px solid #fff1cc;
  border-radius: 10px;
}

header .paid-plan {
  margin-right: 20px;
  padding: 3px 5px;
  background-color: #E7FAF0;
  color: #108213;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  border: 2px solid #d0f5e0;
  border-radius: 10px;
}

/* SideMenu */
#menu {
  position: fixed;
  top: 51px;
  left: 0;
  width: 250px;
  height: calc(100vh - 51px);
  background-color: #2D3A4B;
  z-index: 1;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#menu::-webkit-scrollbar {
  display: none;
}

/* メニューコンテナ - Flexboxで上下分離 */
#menu .menu-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 上部メニュー - 残りスペースを占有 */
#menu .menu-main {
  flex: 1;
  overflow-y: auto;
}

/* 下部メニュー - 下部に固定 */
#menu .menu-bottom {
  border-top: 1px solid #3d4a5c;
  padding-top: 10px;
  margin-bottom: 20px;
}

#menu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#menu ul div:hover {
  background-color: #001528;
}

#menu ul div a {
  text-decoration: none;
}

#menu ul div li {
  padding: 14px 0 14px 20px;
  line-height: 1.6;
  font-size: 16px;
  color: #bfcbd9;
}

#menu ul div:first-child {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  #menu {
    display: none;
  }
}

/* SubMenu */
#sub-menu {
  position: fixed;
  top: 51px;
  left: 0;
  width: 250px;
  height: calc(100vh - 51px);
  background-color: #2D3A4B;
  z-index: 2;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#sub-menu::-webkit-scrollbar {
  display: none;
}

#sub-menu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#sub-menu ul div:hover {
  background-color: #001528;
}

#sub-menu ul div:first-child {
  margin-top: 20px;
}

#sub-menu ul div a {
  text-decoration: none;
}

#sub-menu ul div li {
  padding: 14px 0 14px 20px;
  line-height: 2;
  font-size: 16px;
  color: #bfcbd9;
}

/* Top */
#top .main .login {
  width: 260px;
  margin: 0 auto;
  padding: 10px 20px;
  background-color: #ffffff;
  border-radius: 5px;
}

#top .main a.upgrade-btn {
  display: block;
  max-width: 100%;
  width: 500px;
  margin: 0 auto;
}

#top .main a.upgrade-btn img {
  width: 100%;
  margin: 0 auto;
}

#top .main .cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, 160px);
  grid-gap: 20px;
  justify-content: center;
  text-align: center;
  max-width: 100%;
  width: 800px;
  margin: 0 auto;
  font-weight: bold;
}

#top .main .cards a {
  min-height: 148px;
  padding: 20px 20px 0 20px;
  background-color: #ffffff;
  color: #555555;
  text-decoration: none;
  box-shadow: 4px 4px 40px rgb(0 0 0 / 5%);
}

#top .main .cards a:hover {
  opacity: 0.8;
}

#top .main .cards a .svg-filter {
  display: inline;
  filter: invert(33%) sepia(0%) saturate(2464%) hue-rotate(277deg) brightness(95%) contrast(86%);
}

#top .main .cards a .svg-filter .svg-icon {
  width: 70px;
  height: 70px;
  color: #555555;
}

#top .main .cards a {
  white-space: pre-line;
}

#top .fix-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
  grid-gap: 20px;
  width: calc(100vw - 40px);
  height: 60px;
  padding: 0 20px;
  background-color: #ffffff;
  border-top: 1px solid #ececec;
}

#top .fix-bottom-paid {
  position: fixed;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 200px;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 60px;
  background-color: #ffffff;
  border-top: 1px solid #ececec;
}

#top .fix-bottom button {
  width: 100%;
  margin: 0;
}

#top .fix-bottom-paid button {
  width: 100%;
  margin: 0;
}

/* Slideshow */


/* Setup */
#setup .main {
  max-width: calc(96% - 40px);
  width: calc(700px - 40px);
  margin: 70px auto 20px;
  padding: 10px 20px 20px;
  background-color: #ffffff;
}

#setup .main h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: bolder;
  color: #292929;
}

#setup .main .form-row {
  margin-bottom: 25px;
}

#setup .main .form-row select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #c5c5c5;
  border-radius: 5px;
}

#setup .main .form-row select.date {
  width: inherit;
  margin: 0 10px;
}

#setup .main .form-row select.date:first-child {
  margin: 0 10px 0 0;
}

#setup .main .form-row select:focus {
  border: 1px solid #3a94eb;
  outline: 0;
}

#setup .main input {
  width: calc(100% - 20px);
  padding: 10px;
  font-size: 16px;
  border: 1px solid #c5c5c5;
  border-radius: 5px;
}

/* Print */
#print .print-type {
  display: grid;
  grid-template-columns: repeat(auto-fit, 300px);
  justify-content: center;
  grid-gap: 30px;
  max-width: 100%;
}

#print .print-type .type-image {
  margin-bottom: 10px;
  text-align: center;
}

#print .print-type .type-image img {
  max-width: 100%;
  width: 300px;
}

#print .print-type a {
  display: block;
  max-width: 100%;
  width: 300px;
  margin: 0 auto;
  padding: 10px 0;
  background-color: #ffa500;
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 5px;
}

/* PrintA4 */
@font-face {
	font-family: 'NotoSansJP-Medium';
	src: url('./font/Noto_Sans_JP/NotoSansJP-Medium.otf') ;
}

#print-card #print-target {
  position: relative;
  width: 210mm;
  height: 297mm;
  margin: 30px auto;
  background-image: url('./img/01_A4_02.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#print-card #print-target img#qr {
  display: block;
  position: absolute;
  top: 59mm;
  left: calc(50% - 100px);
  width: 200px;
  height: 200px;
}

#print-card #print-target #text {
  display: block;
  position: absolute;
  top: 141mm;
  left: 0;
  width: 210mm;
  text-align: center;
}

#print-card #print-target #text p {
  display: inline-block;
  margin: 0 auto;
  line-height: 1.5;
  text-align: left;
}

#print-card #print-target #text p #url {
  font-size: 17px;
  font-weight: bold;
  color: #4b4b4b;
}

#print-card #print-target #text p #expire {
  font-size: 14px;
  color: #4b4b4b;
  font-family: 'NotoSansJP-Medium';
}

#print-card .print-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 150px;
  margin: 0 auto;
  padding: 10px 0;
  background-color: #ffa500;
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  border: none;
  border-radius: 5px;
}

@media print {
  .no-print {
    display: none !important;
  }

  .main {
    max-width: 100%;
    margin: 0;
  }

  #print-card #print-target {
    margin: 0;
  }
}

/* PrintCard */
#print-a4 #print-target {
  position: relative;
  width: 210mm;
  height: 297mm;
  margin: 30px auto;
  background-color: #ffffff;
}

#print-a4 #print-target table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
}

#print-a4 #print-target table tr {
  width: 100%;
  height: calc(59.4mm - 3.5mm);
}

#print-a4 #print-target table tr td {
  width: 105mm;
  height: auto;
  padding: 0;
  border-bottom: 3.5mm solid #dcc234;
}

#print-a4 #print-target table tr td {
  position: relative;
  background-image: url('./img/logo.png');
  background-position: bottom 4mm right 5mm;
  background-size: 20mm;
  background-repeat: no-repeat;
}

#print-a4 #print-target table tr td.card-odd {
  border-right: 1mm solid #f0f0ef;
}

#print-a4 #print-target table tr td img.qr {
  position: absolute;
  top: 7mm;
  left: 7mm;
  width: 23mm;
  height: 23mm;
}

#print-a4 #print-target table tr td img.scan-me {
  position: absolute;
  top: 5mm;
  left: 34mm;
  width: 65mm;
  height: auto;
}

#print-a4 #print-target table tr td p.description {
  position: absolute;
  top: 34mm;
  left: 7mm;
  margin: 0;
  line-height: 1.4;
  font-size: 14px;
  color: #515152;
  font-family: 'NotoSansJP-Medium';
}

#print-a4 #print-target table tr td p.expire {
  position: absolute;
  bottom: 5mm;
  left: 7mm;
  margin: 0;
  font-size: 12px;
  color: #515152;
  font-family: 'NotoSansJP-Medium';
}

#print-a4 #print-target table tr td.card-even {
  border-left: 1mm solid #f0f0ef;
}

/* #print-a4 #print-target #print-target-inner {
  display: grid;
  grid-template-columns: 105mm 105mm;
  grid-template-rows: 59.4mm 59.4mm 59.4mm 59.4mm 59.4mm;
} */

#print-a4 #print-target .card-template {
  border-bottom: 3mm solid #dcc234;
}

#print-a4 .print-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 150px;
  margin: 0 auto;
  padding: 10px 0;
  background-color: #ffa500;
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  border: none;
  border-radius: 5px;
}

@media print {
  .no-print {
    display: none !important;
  }

  .main {
    max-width: 100%;
    margin: 0;
  }

  #print-card #print-target {
    margin: 0;
  }

  #print-a4 #print-target {
    margin: 0;
  }
}

/* BackgroundSetting */
#background-setting .main .grid-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, min(160px, 100%));
  justify-content: center;
  align-items: center;
  grid-gap: 10px 20px;
}

#background-setting .main .content img {
  width: 100%;
}

#background-setting .main .grid-crop-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, min(340px, 100%));
  justify-content: center;
  align-items: center;
  grid-gap: 10px 20px;
}

#background-setting .main .grid-actions .upload-button {
  cursor: pointer;
  padding: 9px 0;
  font-size: 15px;
  font-weight: bold;
  border-radius: 5px;
  color: #606060;
  text-align: center;
  background-color: #dcdcdc;
  border: 1px solid #b9b9b9;
}

#background-setting .main .grid-actions .upload-button:hover {
  opacity: 0.7;
}

/* Images */
#images .main .content .download {
  width: 250px;
}

#images .main .content p a.upgrade-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 5px;
  color: #ffffff;
  background-color: #f4810f;
  font-size: 13px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  #images .main .content .download {
    display: none;
  }
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, min(160px, calc(50% - 5px)));
  justify-content: center;
  align-items: center;
  grid-gap: 10px;
}

.image-grid img.thumbnail {
  width: 100%;
  height: 160px;
  object-fit: cover;
  cursor: pointer;
  background-color: #a9a9a9;
}

.modal-back {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #555555;
  opacity: 0.5;
  z-index: 3;
}

.modal {
  position: fixed;
  top: 15%;
  left: calc(50% - 150px + 125px);
  width: 300px;
  background-color: #ffffff;
  padding: 10px;
  z-index: 4;
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  .modal {
    position: fixed;
    top: 10%;
    left: calc(50vw - 160px);
    width: 300px;
    background-color: #ffffff;
    padding: 10px;
    z-index: 4;
  }
}

.modal img {
  display: block;
  width: 300px;
  height: 200px;
  max-height: 40vh;
  margin: 0 auto 15px;
  object-fit: contain;
  background-color: #ececec;
  border-radius: 3px;
}

.modal p {
  margin: 0 0 20px;
  line-height: 1.5;
}

.modal .modal-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, 145px);
  justify-content: center;
  align-items: center;
  grid-gap: 10px;
}

/* ContestRegist */
#contest-regist .main .content .form-action {
  display: grid;
  grid-template-columns: 1fr 80px;
  grid-gap: 10px;
  margin-bottom: 20px;
}

#contest-regist .main .content .form-action input[type="text"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #c5c5c5;
  border-radius: 5px;
}

input[type="text"]:focus {
  border: 1px solid #3a94eb;
  outline: 0;
}

#contest-regist .main .content .post-caution {
  font-size: 16px;
  color: red;
  margin: 0 0 20px;
}

#contest-regist .main .content ol.contests-list {
  margin: 0 auto 20px;
  padding: 0;
  list-style-type: none;
}

#contest-regist .main .content ol.contests-list li {
  display: grid;
  grid-template-columns: 30px 1fr 40px 40px 50px;
  align-items: center;
  margin-bottom: 10px;
  padding: 15px;
  font-size: 18px;
  background-color: #ffffff;
}

#contest-regist .main .content ol.contests-list li .delete {
  padding: 5px;
  color: #c71010;
  text-align: center;
  font-size: 14px;
  border: 1px solid #c71010;
  border-radius: 5px;
  cursor: pointer;
}

#contest-regist .main .content ol.contests-list li .title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#contest-regist .main .content ol.contests-list li .up-down {
  color: #3a94eb;
  cursor: pointer;
}

#contest-regist .main .content ol.contests-list li .disabled {
  color: #ececec !important;
  cursor: not-allowed !important;
}

/* ContestSelect */
#contest-select .main .content .contests-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 220px);
  grid-gap: 20px;
  justify-content: center;
}

#contest-select .main .content .contests-list .contest {
  padding: 15px;
  background-color: #ffffff;
  border-radius: 5px;
}

#contest-select .main .content .contests-list .contest .title {
  padding-bottom: 5px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #ececec;
}

#contest-select .main .content .contests-list .contest .image {
  max-width: 190px;
  height: 190px;
  margin-bottom: 10px;
  border: 1px solid #f1f1f1;
  cursor: pointer;
}

#contest-select .main .content .contests-list .contest .image .select-image {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  color: #909090;
  background-color: #f1f1f1;
}

#contest-select .main .content .contests-list .contest .image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 190px;
  margin: 0 auto;
}

#image-list-modal {
  position: fixed;
  top: 10vh;
  left: 10vw;
  width: calc(80vw - 40px);
  height: calc(80vh - 40px);
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 4px 4px 40px rgb(0 0 0 / 5%);
  border-radius: 5px;
  z-index: 5;
  overflow: scroll;
}

/* ContestShow */
#contest-show .main .content h2 {
  margin: 0 0 20px;
  font-size: 20px;
}

#contest-show .main .content h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

#contest-show .main .content p {
  margin: 0 0 20px;
  line-height: 1.5;
  font-size: 16px;
}

#contest-show .main .content #fullscreen-area #fullscreen {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-content: center;
  align-items: center;
  width: 700px;
  height: 394px;
  text-align: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 2.5em;
  text-shadow: 5px 2px 2px #424242;
  background-image: url('/img/contest_back.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border: 1px solid #d4d4d4;
}

#contest-show .main .content #fullscreen-area #fullscreen.full {
  width: 100vw;
  height: 100vh;
  font-size: 4em;
}

#contest-show .main .content #fullscreen-area #fullscreen img {
  display: block;
  width: 50%;
  height: 250px;
  margin: 0 auto 20px;
  background-color: rgb(237 237 237 / 80%);
  object-fit: contain;
  border: 5px solid rgb(255 255 255 / 80%);
}

#contest-show .main .content #fullscreen-area #fullscreen.full img {
  width: 30vw;
  height: calc(30vw/3*4);
  grid-auto-columns: 768px;
  margin: 0 auto 20px;
  background-color: rgb(237 237 237 / 80%);
  object-fit: contain;
  border: 10px solid rgb(255 255 255 / 80%);
}

#contest-show .main .content #control {
  width: 1px;
  height: 1px;
  border: none;
  color: #ECEEF1;
  caret-color: #ECEEF1;
}

#contest-show .main .content #control:focus {
  outline: none;
}

/* Plan */
#plan .main .plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 320px);
  justify-content: center;
  grid-gap: 30px;
  max-width: 100%;
  margin-top: 30px;
  padding: 100px 20px;
  background-color: #ffffff;
}

@media screen and (max-width: 768px) {
  #plan .main .plan-grid {
    margin-top: 0;
    padding: 30px 20px;
    background-color: inherit;
  }

  #plan .main .plan-grid .plan-item {
    border: none !important;
  }
}

#plan .main .plan-grid .plan-item {
  padding: 50px 30px;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  background-color: #ffffff;
}

#plan .main .plan-grid .plan-item h2 {
  font-size: 17px;
  margin: 0 0 10px;
}

#plan .main .plan-grid .plan-item h2.plan-recommended::after {
  content: "＼1番人気！／";
  padding: 3px 5px;
  font-size: 12px;
  color: #0066ff;
  background-color: #dce7ff;
  border-radius: 5px;
  margin: 0 0 0 16px;
}

#plan .main .plan-grid .plan-item .price {
  margin: 0 0 30px;
}

#plan .main .plan-grid .plan-item .price span.lerge {
  font-size: 42px;
  font-weight: bold;
  color: #181818;
}

#plan .main .plan-grid .plan-item .price span.small {
  font-size: 14px;
  font-weight: bold;
  color: #606060;
}

#plan .main .plan-grid .plan-item ul.check {
  margin: 0 0 48px;
  padding: 0;
  line-height: 1.8;
  list-style-type: none;
}

#plan .main .plan-grid .plan-item ul.check li {
  padding-left: 24px;
  background-image: url('./img/check.png');
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: left center;
}

/* Post */
#post .description {
  width: calc(90% - 40px);
  max-width: 375px !important;
  margin: 80px auto 0;
  padding: 20px 20px 10px;
  background-color: #ffffff;
  border-radius: 5px;
}

#post .description h1 {
  font-size: 22px;
  margin: 0 0 20px;
}

#post .description ol {
  position: relative;
  margin: 0 0 20px;
  padding: 0;
}

#post .description ol li {
  list-style: none;
  list-style-position: outside;
  margin: 0 0 10px;
  padding-left: 30px;
  line-height: 1.6;
  font-size: 17px;
}

#post .description ol li span {
  position: absolute;
  left: 0;
  margin: 0;
}

#post .description ol li img {
  height: 260px;
  margin-top: 10px;
}

#post .attention {
  width: calc(90% - 40px);
  max-width: 375px !important;
  margin: 0 auto 90px;
  padding: 20px;
}

#post .modal {
  left: calc(50% - 160px) !important;
}

#post .modal input {
  width: calc(100% - 20px);
  padding: 10px;
  font-size: 16px;
  border: 1px solid #cacaca;
  border-radius: 5px;
}

#post .modal input[type="text"]:focus {
  border: 1px solid #3a94eb;
  outline: 0;
}

#post .modal textarea {
  width: calc(100% - 20px);
  height: 120px;
  padding: 10px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #cacaca;
  border-radius: 5px;
  resize: none;
}

#post .modal textarea:focus {
  border: 1px solid #3a94eb;
  outline: 0;
}

#post .modal .counter {
  display: block;
  text-align: right;
  font-size: 14px;
  color: #878787;
}

#post .modal .counter.error {
  color: red;
}

#post .modal .post-caution {
  font-size: 16px;
  color: red;
  margin: 10px 0 0;
}

@media screen and (max-width: 768px) {
  #post .modal {
    position: fixed;
    top: 10vh;
    left: calc(50% - 160px) !important;
    width: 300px;
    max-height: 70vh;
    min-height: 380px;
    background-color: #ffffff;
    padding: 10px;
    z-index: 4;
    border-radius: 5px;
  }

  #post .modal img {
    display: block;
    width: 300px;
    height: 20vh;
    margin: 0 auto 15px;
    object-fit: contain;
    background-color: #ececec;
    border-radius: 3px;
  }

  #post .modal input {
    width: calc(100% - 20px);
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cacaca;
    border-radius: 5px;
  }

  #post .modal input[type="text"]:focus {
    border: 1px solid #3a94eb;
    outline: 0;
  }

  #post .modal textarea {
    width: calc(100% - 20px);
    height: 90px;
    max-height: 16vh;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cacaca;
    border-radius: 5px;
    resize: none;
  }

  #post .modal textarea:focus {
    border: 1px solid #3a94eb;
    outline: 0;
  }

  #post .modal .counter {
    display: block;
    text-align: right;
    font-size: 14px;
    color: #878787;
  }

  #post .modal .counter.error {
    color: red;
  }

  #post .modal .post-caution {
    font-size: 16px;
    color: red;
    margin: 10px 0 0;
  }
}

#post .overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 180px;
  grid-template-rows: 1fr;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 50px;
  padding: 10px 0;
  background-color: #ffffff;
  text-align: center;
}

#post .overlay .post-button {
  max-width: 100%;
  width: 700px;
  margin: 0;
  padding: 8px 0;
  font-size: 15px;
  cursor: pointer;
  border-radius: 5px;
  color: #ffffff;
  background-color: #3a94eb;
  border: none;
}

/* AccountSettings */
#account-settings .main .account-info {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 5px;
  margin-bottom: 30px;
}

#account-settings .main .account-info .info-label {
  font-size: 14px;
  color: #666666;
  margin-bottom: 8px;
}

#account-settings .main .account-info .info-value {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  word-break: break-all;
}

#account-settings .main .account-info .pending-email {
  margin-top: 12px;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: bold;
  color: #3a94eb;
  background-color: #e6f4ff;
  border-left: 3px solid #3a94eb;
  border-radius: 3px;
}

#account-settings .main .actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#account-settings .main .actions button {
  margin-bottom: 0;
}

/* メールアドレス変更モーダル */
#account-settings .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#account-settings .modal-content {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#account-settings .modal-content h2 {
  margin: 0 0 24px;
  font-size: 20px;
  color: #333333;
  text-align: center;
}

#account-settings .modal-content .form-group {
  margin-bottom: 20px;
}

#account-settings .modal-content .form-group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #555555;
  margin-bottom: 8px;
}

#account-settings .modal-content .form-group input {
  width: calc(100% - 24px);
  padding: 12px;
  font-size: 16px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  transition: border-color 0.2s;
}

#account-settings .modal-content .form-group input:focus {
  border-color: #3a94eb;
  outline: none;
}

#account-settings .modal-content .form-group input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

#account-settings .modal-content .form-group .error-message {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #c71010;
}

#account-settings .modal-content .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

#account-settings .modal-content .modal-actions button {
  padding: 10px 24px;
  font-size: 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.2s;
}

#account-settings .modal-content .modal-actions button:hover:not(:disabled) {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  #account-settings .modal-content {
    padding: 20px;
    margin: 0 15px;
  }

  #account-settings .modal-content .modal-actions {
    flex-direction: column-reverse;
  }

  #account-settings .modal-content .modal-actions button {
    width: 100%;
  }
}
