@charset "UTF-8";
/* タップ時のハイライトを削除 */
html, body, a, button, input, textarea, label, summary, [role=button] {
  -webkit-tap-highlight-color: transparent;
}

/* ページ全体のスタイル */
body {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background-color: #f9f9f9;
  font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
}

/* ヘッダーのスタイル */
.header {
  background-color: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 50px;
}

.sub-title {
  display: flex;
  justify-content: center;
  font-size: x-large;
}

.logo {
  margin-top: 5%;
  cursor: pointer;
}

.logo:hover {
  opacity: 0.8;
}

.favicon-logo {
  display: none;
}

.user-nav {
  display: flex;
  justify-content: end;
  align-items: center;
}

.calendar-icon {
  color: #f68b1e;
  text-decoration: none;
  cursor: pointer;
  margin-right: 30px;
}

.notifications {
  margin-left: 20px;
  color: #f68b1e;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.unread-badge-small {
  position: absolute;
  right: 1px;
  top: -1px;
  background-color: red;
  border-radius: 9999px;
  padding: 6px;
  display: none;
}

.unread-badge-small--visible {
  display: initial;
}

.dropdown-menu {
  color: #f68b1e;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.header-btn {
  color: #f68b1e;
  background-color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 7px 10px;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
  border: 2px solid #f68b1e;
  width: fit-content;
  font-size: large;
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.header-btn:hover {
  background-color: #f68b1e;
  color: white;
}

.header-btn-deco-none {
  text-decoration: none;
  color: gray;
  margin-right: 20px;
}

.dropdown-content {
  position: absolute;
  right: -100px;
  margin: -10px 20px;
  background-color: #fff;
  padding: 10px;
  border: 1px solid #999;
  border-radius: 10px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
  width: 180px;
  z-index: 1000;
  animation: zoomIn 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.notifications-dropdown {
  position: absolute;
  right: 0;
  margin: -10px 20px;
  background-color: #fff;
  padding: 10px;
  border: 1px solid #999;
  border-radius: 10px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
  width: 250px;
  z-index: 1000;
  animation: zoomIn 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.hidden {
  display: none !important;
}

.dropdown-content a {
  font-size: larger;
  font-weight: bold;
  color: #000000;
  text-decoration: none;
  margin: 9px 0;
  padding: 5px;
}

.dropdown-content a:hover {
  background-color: #f68b1e;
  border-radius: 10px;
}

.logout-btn {
  all: unset;
  color: black;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: larger;
  padding: 5px;
  padding-right: 45px;
  margin-top: 5px;
}

.logout-btn:hover {
  background-color: #f68b1e;
  border-radius: 10px;
}

.center-notice-container {
  margin-top: 70px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.notice-container {
  width: fit-content;
  padding: 10px;
  border: 2px solid #000000;
  border-radius: 10px;
  background-color: white;
  font-weight: bold;
  z-index: 500;
}

.notice-message,
.alert-message {
  position: absolute;
  animation: slideinTop 0.5s forwards, slideoutBottom 0.5s forwards 5s;
}

@keyframes slideinTop {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideoutBottom {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-50px);
    opacity: 0;
  }
}
.icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.icon-label {
  font-size: 10px;
  margin-top: 2px;
  font-weight: normal;
  text-align: center;
  line-height: 1;
}

.calendar-icon a {
  text-decoration-line: none;
}

.google-btn {
  background-color: white;
  border: 2px solid black;
  border-radius: 9999px;
  width: fit-content;
  margin: 0 auto;
}

.google-login-icon {
  width: 40px;
  height: 40px;
}

.google-login-btn {
  all: unset;
  font-size: large;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding-right: 20px;
}

.google-btn:hover {
  background-color: lightgray;
  transition: all 0.2s ease-in-out;
}

/* メインコンテンツのスタイル */
/* メインコンテンツ */
.main-content {
  margin: 5px auto;
  max-width: 1000px;
  justify-content: center;
  align-content: start;
  min-height: 700px;
}

.border-separate-top {
  margin: 50px auto;
  padding: 10px;
  max-width: 100%;
  min-width: 320px;
  background-color: #ffeedd;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.border-separate-top.show {
  opacity: 1;
}

.step-num {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f68b1e;
  border-radius: 9999px;
  color: white;
}

.arrow-forward {
  display: flex;
  font-size: xxx-large;
}

.arrow-downward {
  display: none;
}

/* 新規登録フォームのスタイル */
.form-wrap {
  background-color: #ffeedd;
  margin: 5px auto;
  padding: 20px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  min-width: 300px;
  height: 100%;
  word-break: break-all;
}

.schedule-form-wrap {
  background-color: #ffeedd;
  margin: 5px auto;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  min-width: 300px;
  height: 100%;
  word-break: break-all;
}

.form-header {
  text-align: center;
}

.form-header-text {
  font-size: x-large;
  margin: 10px auto;
  display: flex;
  justify-content: center;
}

.form-group {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.border-separate {
  margin: 10px;
  padding: 10px;
  min-width: 320px;
  max-width: 500px;
  border-radius: 10px;
  background-color: #ffeedd;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.border-separate-white {
  margin: 10px auto;
  padding: 10px;
  max-width: 500px;
  min-width: 290px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  word-break: break-all;
}

.border-separate-white-top {
  margin: 10px;
  padding: 10px;
  max-width: 400px;
  min-width: 290px;
  min-height: 300px;
  border-radius: 30px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  word-break: break-all;
}

.border-separate-white-functions {
  margin: 10px auto;
  padding: 10px;
  max-width: 800px;
  min-height: 300px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  word-break: break-all;
}

.border-separate-white-step {
  margin: 10px;
  padding: 10px;
  width: 250px;
  min-height: 270px;
  border-radius: 30px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  word-break: break-all;
}

.content-flex {
  display: flex;
  justify-content: space-around;
  align-items: start;
  flex-wrap: wrap;
  gap: 5px;
}

.chat-wrap {
  margin-bottom: 15px;
  max-width: 500px;
  width: 100%;
  margin: auto;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: block;
  justify-content: center;
}

.right-container {
  display: flex;
  justify-content: end;
}

.left-container {
  display: flex;
  justify-content: start;
}

.chat-flex {
  margin: 10px 0;
  display: block;
}

.chat-info {
  font-size: smaller;
}

.right-message-frame {
  padding: 10px;
  min-width: 150px;
  width: fit-content;
  max-width: 300px;
  background-color: #ffcc99;
  border-radius: 15px 0 15px 15px;
  word-break: break-all;
}

.left-message-frame {
  padding: 10px;
  min-width: 150px;
  width: fit-content;
  max-width: 300px;
  background-color: #ffeedd;
  border-radius: 0 15px 15px 15px;
  word-break: break-all;
}

.chat-form {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.chat-input-form {
  font-size: large;
  width: 400px;
  padding: 10px;
  height: 50px;
  border-radius: 10px;
}

.form-text-wrap {
  display: flex;
  justify-content: start;
  align-items: end;
  margin-top: 20px;
}

.class-flex {
  display: flex;
  margin: 10px 0;
  align-items: center;
  justify-content: space-between;
}

.action-btn {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.action-btn a {
  margin: 0 3px;
  font-size: medium;
  background-color: buttonface;
  padding: 0 5px;
  border: 1px solid #000000;
  border-radius: 5px;
  text-decoration: none;
}

.main-action-btn {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.main-action-btn a {
  position: relative;
  font-size: medium;
  background-color: white;
  color: #f68b1e;
  border: 2px solid #f68b1e;
  border-radius: 10px;
  text-decoration: none;
}

.main-action-btn a:hover {
  background-color: #f68b1e;
  color: white;
}

.unread-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  background-color: red;
  border-radius: 9999px;
  padding: 8px;
}

.delete-btn {
  all: unset;
  font-size: medium;
  background-color: rgb(220, 38, 38);
  color: white;
  padding: 0 5px;
  cursor: pointer;
  border: 1px solid rgb(220, 38, 38);
  border-radius: 5px;
  text-decoration: none;
}

.all-select-btn {
  all: unset;
  font-size: medium;
  background-color: buttonface;
  padding: 0 5px;
  cursor: pointer;
  border: 1px solid #000000;
  border-radius: 5px;
  text-decoration: none;
}

.download-btn {
  font-size: x-small;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.link-btn-medium {
  all: unset;
  font-size: medium;
  background-color: white;
  padding: 1px 5px;
  cursor: pointer;
  border: 2px solid #f68b1e;
  color: #f68b1e;
  border-radius: 5px;
  text-decoration: none;
  position: relative;
}

.link-btn-medium-z {
  font-size: medium;
  font-weight: bold;
  background-color: white;
  padding: 0px 5px;
  cursor: pointer;
  border: 2px solid #f68b1e;
  color: #f68b1e;
  border-radius: 10px;
  text-decoration: none;
}

.select-box {
  min-width: 70px;
  width: fit-content;
  font-size: large;
  background-color: white;
  border-radius: 5px;
}

.contacts-date-select {
  width: fit-content;
  font-size: large;
  background-color: white;
  cursor: pointer;
  border-radius: 10px;
}

.group-calendar-search-func {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-func {
  display: flex;
  align-items: center;
}

.day-search-func {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 500px;
  width: 100%;
  margin: 10px auto;
}

.search-btn {
  font-size: large;
  cursor: pointer;
  padding: 2px;
  border-radius: 10px;
}

.display-text {
  font-size: large;
  font-weight: bold;
  padding: 10px;
}

.input-name,
.input-default,
.input-telephone {
  padding: 10px;
  border-radius: 10px;
  background-color: white;
  font-size: large;
  width: 90%;
}

/* 連絡帳作成ボタン */
.class-link-btn {
  display: grid;
  justify-content: start;
}

.class-link-btn a {
  padding: 4px 8px;
  background-color: #fff;
  color: #f68b1e;
  font-size: large;
  border: 2px solid #f68b1e;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.class-link-btn a:hover {
  background-color: #f68b1e;
  color: #fff;
}

.google-icon {
  display: flex;
  align-items: center;
  font-size: large;
}

.google-icon-btn {
  display: grid;
  justify-items: center;
  min-width: 70px;
}

.rotated-icon {
  transform: rotate(180deg);
}

.child-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

/* コンテンツ行 */
/* 連絡日 */
.contact_date {
  margin-bottom: 10px;
  padding: 5px 10px;
  background-color: #f2f2f2;
  color: #333333;
  font-size: 21px;
  border-radius: 10px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.contact_date a {
  color: #333333;
  text-decoration: none;
}

.contact_date a:hover {
  text-decoration: underline;
}

.dropdown-calender-list {
  display: block;
}

.dropdown-calender-btn {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.dropdown-calender-action {
  position: absolute;
  margin: 0px 20px;
  background-color: #fff;
  padding: 5px;
  border: 1px solid #999;
  border-radius: 10px;
  width: 60px;
  animation: zoomIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  top: -10px;
  right: 0;
  z-index: 1000;
}

.dropdown-calender-action a {
  text-decoration: none;
  color: black;
  white-space: nowrap;
  width: 100%;
  padding: 5px;
  font-size: large;
}

.dropdown-calender-action a:hover {
  background-color: #f68b1e;
  border-radius: 10px;
}

.dropdown-child-list {
  display: block;
  margin-left: 20px;
}

.dropdown-child-btn {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.dropdown-child-action {
  position: absolute;
  margin: 0px 20px;
  background-color: #fff;
  padding: 5px;
  border: 1px solid #999;
  border-radius: 10px;
  width: fit-content;
  animation: zoomIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  top: -10px;
  right: 0;
  z-index: 1000;
}

.dropdown-child-action hover {
  background-color: #f68b1e;
  border-radius: 10px;
}

.dropdown-child-action a {
  text-decoration: none;
  color: black;
  white-space: nowrap;
  width: 100%;
  padding: 5px;
  font-size: large;
}

.dropdown-child-action a:hover {
  background-color: #f68b1e;
  border-radius: 10px;
}

.delete-child-btn {
  all: unset;
  color: black;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: large;
  padding: 2px 5px;
  margin-top: 5px;
}

.delete-child-btn:hover {
  background-color: #f68b1e;
  border-radius: 10px;
}

/* フッターのスタイル */
.footer {
  background-color: #fff;
  border-top: 1px solid #ddd;
  padding: 20px 0 10px 0;
  text-align: center;
  font-size: 14px;
  color: #999;
  display: grid;
  justify-content: center;
}

.footer p {
  margin: 0;
  justify-content: center;
}

/* 追加スタイル */
.user-nav::after {
  margin-top: 10px;
  content: "";
  display: block;
  clear: both;
}

/* 子ども一覧スタイル */
.children-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.user-childname {
  width: 100%;
  height: auto;
  display: flex;
  padding: 5px 10px;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid #f68b1e;
  text-decoration: none;
  color: #f68b1e;
  align-items: center;
  align-content: center;
  font-weight: bold;
  font-size: x-large;
  justify-content: center;
}

.user-childname:hover {
  background-color: #f68b1e;
  color: #fff;
}

/* 連絡帳スタイル */
/* タブスタイル - 下線デザイン */
.toggle-buttons {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.toggle-button.active {
  color: #f68b1e;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  padding: 15px 20px;
  border: none;
  border-bottom: 3px solid #f68b1e;
  border-radius: 0;
  transition: all 0.2s ease-in-out;
  width: auto;
  font-size: large;
  position: relative;
}

.toggle-button {
  color: #666;
  background-color: transparent;
  text-decoration: none;
  font-weight: normal;
  padding: 15px 20px;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  transition: all 0.2s ease-in-out;
  width: auto;
  font-size: large;
  position: relative;
}

.toggle-button:hover {
  color: #f68b1e;
  background-color: #f9f9f9;
}

.contents_detail {
  margin-top: 30px;
}

.contacts-telephone {
  font-size: 20px;
  font-weight: 100;
  margin-top: 1px;
  margin-bottom: 30px;
  text-align: center;
}

.weight-bold-text {
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 10px;
  display: block;
  justify-content: start;
  align-items: center;
  background-color: #ffcc99;
  border-radius: 10px;
}

.weight-text {
  font-weight: bold;
  font-size: large;
  margin-bottom: 10px;
  display: flex;
  justify-content: start;
  align-items: center;
}

.indispensable {
  font-size: 16px;
  color: red;
  margin-left: 5px;
}

.new-contacts-date,
.contacts-field {
  margin-bottom: 40px;
}

.contacts-number {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  color: #333;
  width: 15%;
}

.contacts-content-text {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  color: #333;
  width: 95%;
}

.contacts-contact-text {
  display: flex;
  margin: 0 auto;
  padding: 10px;
  border-radius: 10px;
  font-size: 16px;
  color: #333;
  width: 90%;
  min-height: 100px;
}

.delete-btn-contents {
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 20px 0;
}

.link-btn-contents {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.link-btn {
  all: unset;
  background-color: white;
  color: #f68b1e;
  padding: 5px 10px;
  text-decoration: none;
  font-size: large;
  cursor: pointer;
  border: 2px solid #f68b1e;
  border-radius: 15px;
  transition: all 0.3s ease;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
}

.create-link-btn {
  all: unset;
  background-color: white;
  color: #f68b1e;
  padding: 20px;
  text-decoration: none;
  font-size: large;
  cursor: pointer;
  border: 2px solid #f68b1e;
  border-radius: 15px;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.link-btn:hover,
.create-link-btn:hover {
  background-color: #f68b1e;
  color: #fff;
}

.group-action-btn {
  all: unset;
  background-color: white;
  color: #f68b1e;
  padding: 20px;
  text-decoration: none;
  font-size: large;
  cursor: pointer;
  border: 2px solid #f68b1e;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.group-action-btn:hover {
  background-color: #f68b1e;
  color: #fff;
}

.dummy-link-btn {
  all: unset;
  background-color: white;
  color: gray;
  padding: 5px 10px;
  text-decoration: none;
  font-size: large;
  border: 2px solid gray;
  border-radius: 15px;
  transition: all 0.3s ease;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
}

.link-btns {
  display: flex;
  justify-content: space-around;
}

.message-form {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  color: #333;
  width: 95%;
  height: 150px;
}

.submit-btn {
  background-color: #f68b1e;
  color: #fff;
  padding: 10px 30px;
  text-decoration: none;
  font-size: x-large;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 9999px;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
}

.agreement-btn {
  all: unset;
  display: none;
  background-color: #f68b1e;
  color: #fff;
  padding: 10px 30px;
  text-decoration: none;
  font-size: large;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 9999px;
  width: fit-content;
}

.dummy-btn {
  background-color: lightgray;
  color: #fff;
  padding: 10px 30px;
  text-decoration: none;
  font-size: large;
  font-weight: bold;
  border: none;
  border-radius: 9999px;
  width: fit-content;
}

.agreement-checkbox {
  cursor: pointer;
  margin-right: 5px;
  width: 20px;
  height: 20px;
}

.setting-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10%;
}

.class-setting-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.add-exp {
  margin-bottom: 20px;
  color: gray;
  font-size: smaller;
}

.setting-text {
  font-size: large;
}

.switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 36px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: lightgray;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 10px;
  bottom: 6px;
  background-color: white;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: #f68b1e;
}

input:focus + .slider {
  box-shadow: 0 0 1px #f68b1e;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 36px;
}

.slider.round:before {
  border-radius: 50%;
}

.teacher-list {
  display: flex;
}

.teacher-name {
  margin-right: 10px;
}

.today-btn {
  background-color: white;
  color: #f68b1e;
  text-decoration: none;
  padding: 0 5px;
  font-size: large;
  cursor: pointer;
  border: 2px solid #f68b1e;
  border-radius: 10px;
  transition: all 0.3s ease;
  width: fit-content;
  margin-left: 10px;
}

.today-btn:hover {
  background-color: #f68b1e;
  color: #fff;
}

div.event-calendar {
  margin: 0 auto;
}
div.event-calendar table {
  width: 100%;
}
div.event-calendar table caption {
  margin-top: 5px;
  font-size: x-large;
  color: #f68b1e;
  border-bottom: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
div.event-calendar table tbody {
  display: table-row-group;
  vertical-align: initial;
  border-color: inherit;
}
div.event-calendar table tbody tr {
  display: table-row-group;
  vertical-align: inherit;
  border-color: inherit;
}
div.event-calendar table tbody tr th {
  text-align: center;
  vertical-align: top;
  color: #f68b1e;
  font-size: large;
  font-weight: normal;
}
div.event-calendar table tbody tr td {
  text-align: center;
  border: 1px solid gray;
  border-radius: 5px;
  font-size: medium;
  width: 50px;
  height: 40px;
  background-color: white;
  cursor: pointer;
}
div.event-calendar table tbody tr td selected-day {
  background-color: #ffcc99;
}
div.event-calendar table tbody tr td i {
  font-size: medium;
}
div.event-calendar table tbody tr td:hover {
  background-color: #ffcc99;
}

.today-color {
  background-color: #f68b1e;
  border-radius: 9999px;
  width: 25px;
  margin: 0 auto;
}

.weekdays {
  color: black;
  text-decoration: none;
}

.holiday {
  color: red;
  text-decoration: none;
}

.saturday {
  color: blue;
  text-decoration: none;
}

.gray-color {
  color: lightgray;
  text-decoration: none;
}

.decoration-none {
  color: #f68b1e;
  text-decoration: none;
}

.text-shadow-white-day {
  text-shadow: 1px 1px white, -1px -1px white, 1px -1px white, -1px 1px white;
  margin-bottom: 5px;
}

.text-shadow-white {
  height: 10px;
  font-weight: bold;
  text-shadow: 1px 1px white, -1px -1px white, 1px -1px white, -1px 1px white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.day-decoration-none {
  font-size: large;
  color: black;
  text-decoration: none;
}

.decoration-none-group {
  text-shadow: 0.5px 0 0 #f68b1e, -0.5px 0 0 #f68b1e, 0 0.5px 0 #f68b1e, 0 -0.5px 0 #f68b1e;
  font-weight: bold;
  color: #f68b1e;
  text-decoration: none;
}

.pdf-custom-size {
  max-width: 350px;
  max-height: 450px;
  border: 0.5px solid black;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* デフォルトは3列 */
  gap: 20px;
  margin-top: 30px;
  max-width: 550px; /* PC表示時の最大幅 */
  margin-left: auto;
  margin-right: auto;
}

.feature-item {
  background-color: #ffeedd;
  border: 1px solid #e7d8c7;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1/1; /* 正方形を維持 */
  display: block;
  align-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease-in-out;
  opacity: 0;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5em !important;
  margin-bottom: 10px;
  color: #f68b1e;
}

.feature-name {
  margin-top: 0;
  color: #333;
  font-size: 1em; /* ベースのフォントサイズ */
  line-height: 1.2; /* 行間を調整（必要に応じて） */
  word-break: break-word; /* 長い単語がはみ出ないように（念のため） */
}

.law-text-style {
  font-size: smaller;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.features-grid.animate-items .feature-item {
  animation-name: fadeInUp;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.features-grid.animate-items .feature-item:nth-child(1) {
  animation-delay: 0s;
}

.features-grid.animate-items .feature-item:nth-child(2) {
  animation-delay: 0.1s;
}

.features-grid.animate-items .feature-item:nth-child(3) {
  animation-delay: 0.2s;
}

.features-grid.animate-items .feature-item:nth-child(4) {
  animation-delay: 0.3s;
}

.features-grid.animate-items .feature-item:nth-child(5) {
  animation-delay: 0.4s;
}

.features-grid.animate-items .feature-item:nth-child(6) {
  animation-delay: 0.5s;
}

.features-grid.animate-items .feature-item:nth-child(7) {
  animation-delay: 0.6s;
}

.features-grid.animate-items .feature-item:nth-child(8) {
  animation-delay: 0.7s;
}

.features-grid.animate-items .feature-item:nth-child(9) {
  animation-delay: 0.8s;
}

.main-catchphrase {
  font-family: "Helvetica Neue", "Arial", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "MS PGothic", sans-serif;
  color: white;
  font-size: xxx-large; /* デフォルトのフォントサイズ */
  /* 他の共通スタイルがあればここに追加 */
}

.sub-catchphrase {
  font-size: 1.2em; /* デフォルトのフォントサイズ */
  color: white;
  line-height: 1.6; /* 行間を少し広げて読みやすくする（任意） */
  padding: 0 15px; /* 左右に少しパディングを追加して、画面端にテキストがくっつかないようにする */
  margin: 0 auto;
}

.background-illustrations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 親要素の高さに依存。必要に応じて調整。 */
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.background-illustrations img {
  position: absolute;
  border-radius: 25px;
  box-shadow: 0 0 25px 12px rgba(0, 0, 0, 0.12);
}

.vertical-separator {
  border-radius: 9999px;
  margin: 0 10px;
}

.bordered-table {
  width: 100%;
  border: 2px solid lightgray;
  border-collapse: collapse;
}

.bordered-table th,
.bordered-table td {
  border: 2px solid lightgray;
}

.sp-br {
  display: none;
}

.or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid gray;
}

.or-divider:not(:empty)::before {
  margin-right: 0.5em;
}

.or-divider:not(:empty)::after {
  margin-left: 0.5em;
}

.or-divider span {
  white-space: nowrap;
  color: gray;
  font-size: 14px;
}

.faq-accordion {
  margin-top: 2em;
}

.faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 1em;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  padding: 1em;
  background: white;
  border-radius: 5px;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #ffcc99;
}

.faq-answer {
  display: none;
  padding: 1em;
  background: white;
  border-radius: 0 0 5px 5px;
  margin-top: -0.5em;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  font-size: 1.5em;
  transition: transform 0.2s;
}

/* 新しいトップページスタイル */
.top-hero {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 40px 10px;
  background: linear-gradient(135deg, #ff9a44, #ff6b6b);
  color: white;
  overflow: hidden;
}

.top-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  animation: pulse 5s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.pop-submit-btn {
  background: linear-gradient(135deg, #f89b29, #ff5f6d);
  color: white;
  padding: 12px 35px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  border: 1px solid white;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: inline-block;
  margin-top: 20px;
}

.pop-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* タブレット対応 */
@media (max-width: 1024px) {
  .inner {
    width: 90%;
    margin: 0 auto;
  }
  .page-heading {
    font-size: 24px;
  }
}
/* レスポンシブデザイン */
@media (max-width: 768px) {
  .header {
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
    bottom: 0;
    top: unset;
  }
  .footer {
    padding: 20px 0 60px 0;
  }
  .logo {
    display: none;
  }
  .favicon-logo {
    display: initial;
    margin-top: 5%;
    cursor: pointer;
  }
  .favicon-logo:hover {
    opacity: 0.8;
  }
  .dropdown-content {
    right: -70px;
    bottom: 40px;
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.3);
  }
  .notifications-dropdown {
    bottom: 60px;
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.3);
  }
  .header__bar {
    padding: 0 10px;
    height: 70px;
  }
  .arrow-forward {
    display: none;
  }
  .arrow-downward {
    display: flex;
    justify-content: center;
    font-size: xxx-large;
  }
  .inner {
    width: 95%;
    /* 必要に応じて調整 */
  }
  .center-notice-container {
    margin-top: 0px;
  }
  .dropdown-btn,
  .header-btn {
    font-size: medium;
    width: 90px;
  }
  .class-link-btn a {
    font-size: calc(20px + 1vw);
  }
  .weight-text {
    font-size: calc(16px + 0.5vw);
  }
  .contacts-number {
    width: 30%;
  }
  .logo {
    width: 70%;
    height: auto;
  }
  .border-separate-top {
    min-width: 300px;
  }
  .border-separate-white {
    min-width: 280px;
  }
  .border-separate-white-top,
  .border-separate-white-functions,
  .border-separate-white-step {
    margin: 10px auto;
    width: 90%;
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr); /* 3列を維持 */
    max-width: 450px; /* グリッド全体の最大幅を小さくする */
    gap: 10px; /* アイテム間の隙間を狭くする */
  }
  .feature-name {
    font-size: 0.8em; /* フォントサイズを小さくする */
  }
  .main-catchphrase {
    font-size: xx-large; /* 768px以下でフォントサイズを変更 */
    font-weight: 700;
  }
  .sub-catchphrase {
    font-size: 1em; /* フォントサイズを小さくする */
    padding: 0 10px; /* 左右のパディングも少し調整 */
  }
  .background-illustrations {
    display: none; /* 768px以下で背景イラストを非表示にする */
  }
  .sp-br {
    display: block;
  }
}
/* スマホ画面用 */
@media (max-width: 480px) {
  .header__bar {
    height: 50px;
  }
  .user-nav {
    padding-top: 5px;
  }
  .inner {
    width: 100%;
    /* 必要に応じて調整 */
  }
  .dropdown-btn,
  .header-btn {
    font-size: medium;
    padding: 6px;
  }
  .class-link-btn a {
    font-size: calc(18px + 1vw);
  }
  .indispensable {
    font-size: 70%;
  }
  .back-btn {
    font-size: 90%;
    padding: 5px;
  }
  .chat-input-form {
    width: 300px;
  }
  .features-grid {
    /* 例: スマートフォンでも3列を維持する場合 (かなり小さくなります) */
    grid-template-columns: repeat(3, 1fr);
    max-width: 320px; /* さらに小さく */
    gap: 8px;
  }
  .sub-catchphrase {
    font-size: 0.9em; /* さらにフォントサイズを小さくする */
    padding: 0 5px;
    line-height: 1.5; /* 行間も少し詰める（任意） */
  }
  .form-wrap {
    min-width: 280px;
    padding: 15px;
  }
  .message-form {
    width: 90%;
  }
  .submit-btn {
    font-size: large;
    padding: 8px 20px;
  }
}
.overlapping-images-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-top: 30px;
}

.overlapping-images-container img {
  width: 50%;
  max-width: 300px;
  border-radius: 15px;
}

@media (max-width: 768px) {
  .overlapping-images-container {
    position: relative;
    height: 350px; /* Adjust height as needed */
    margin-top: 0px;
  }
  .overlapping-images-container img {
    position: absolute;
    max-width: 200px; /* Adjust size as needed */
    height: auto;
    border-radius: 25px;
    transition: transform 0.4s ease, z-index 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  /* Default state (same as selects-1) */
  .overlapping-images-container:not([class*=selects-]) img:nth-child(1),
  .overlapping-images-container.selects-1 img:nth-child(1) {
    transform: translateX(-60%) rotate(-15deg);
    z-index: 1;
  }
  .overlapping-images-container:not([class*=selects-]) img:nth-child(2),
  .overlapping-images-container.selects-1 img:nth-child(2) {
    transform: scale(1.1);
    z-index: 10;
  }
  .overlapping-images-container:not([class*=selects-]) img:nth-child(3),
  .overlapping-images-container.selects-1 img:nth-child(3) {
    transform: translateX(60%) rotate(15deg);
    z-index: 1;
  }
  /* State when left image is selected */
  .overlapping-images-container.selects-0 img:nth-child(1) {
    transform: scale(1.1);
    z-index: 10;
  }
  .overlapping-images-container.selects-0 img:nth-child(2) {
    transform: translateX(60%) rotate(15deg);
    z-index: 1;
  }
  .overlapping-images-container.selects-0 img:nth-child(3) {
    transform: translateX(120%) rotate(30deg);
    z-index: 0;
  }
  /* State when right image is selected */
  .overlapping-images-container.selects-2 img:nth-child(1) {
    transform: translateX(-120%) rotate(-30deg);
    z-index: 0;
  }
  .overlapping-images-container.selects-2 img:nth-child(2) {
    transform: translateX(-60%) rotate(-15deg);
    z-index: 1;
  }
  .overlapping-images-container.selects-2 img:nth-child(3) {
    transform: scale(1.1);
    z-index: 10;
  }
}
.btn-danger {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: rgb(220, 38, 38);
  border: 1px solid rgb(220, 38, 38);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-danger:hover {
  color: #fff;
  background-color: rgb(185, 28, 28);
  border-color: rgb(185, 28, 28);
}

.btn-back-home {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: gray;
  border: 1px solid gray;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.5rem;
  text-decoration: none;
}

.selected-day {
  background-color: #ffcc99;
}

/* 予定パネルのアニメーション効果 - CSSのみで実装 */
turbo-frame[id=events_panel] > div,
turbo-frame[id=group_events_panel] > div {
  animation: fadeInUp 0.3s ease-out forwards; /* 0.5s → 0.3s に短縮 */
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98); /* 移動距離とスケールを軽減 */
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* ローディング状態のスタイル */
turbo-frame[id=events_panel][loading] {
  opacity: 0.7;
  transition: opacity 0.2s ease-in-out;
}

.contact-list {
  overflow-y: auto;
  /* 記入ボタン高さ(--bottom-action-height)と上部余白(見出し等の高さの概算)を差し引く */
  height: calc(100dvh - var(--bottom-action-height, 80px) - 220px);
}

.validate-button input[type=radio],
.validate-button input[type=checkbox] {
  display: none;
}

.validate-button label {
  background-color: #f4f4f4;
  padding: 5px 10px;
  border-radius: 5px;
  border: 2px solid transparent;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.125);
  cursor: pointer;
}

.validate-button input[type=radio]:checked + label,
.validate-button input[type=checkbox]:checked + label {
  background-color: #e6f4ff;
  border-color: #3b82f6;
}

.fixed-bottom-50 {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 50px;
  z-index: 500;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}

.fixed-bottom-100 .create-link-btn {
  width: 100%;
}

.d-none {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
}

.js-auto-resize {
  overflow: hidden;
  box-sizing: border-box;
}

.green-word {
  background-color: green;
  color: white;
  padding: 0 5px;
  border: 1px solid green;
  border-radius: 3px;
  text-decoration: none;
}

.purple-word {
  background-color: purple;
  color: white;
  padding: 0 5px;
  border: 1px solid purple;
  border-radius: 3px;
  text-decoration: none;
}

.blue-word {
  background-color: blue;
  color: white;
  padding: 0 5px;
  border: 1px solid blue;
  border-radius: 3px;
  text-decoration: none;
}

.red-word {
  background-color: rgb(220, 38, 38);
  color: white;
  padding: 0 5px;
  border: 1px solid rgb(220, 38, 38);
  border-radius: 3px;
  text-decoration: none;
}

.gray-word {
  background-color: gray;
  color: white;
  padding: 0 5px;
  border: 1px solid gray;
  border-radius: 3px;
  text-decoration: none;
}

/* --- ターゲットセクション全体 --- */
.target-section {
  margin: 0 auto;
  width: fit-content;
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

/* --- グリッドコンテナのスタイル (NEW) --- */
.target-grid {
  display: grid;
  /* PCでは4列で表示 */
  grid-template-columns: repeat(4, auto);
  justify-content: center; /* グリッド全体を中央揃え */
  gap: 20px; /* カード間の余白 */
  max-width: 1000px;
  margin: 0 auto;
}

/* --- 各カードのスタイル --- */
.target-card {
  background-color: #f68b1e;
  padding: 15px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 200px;
}

/* --- マウスを乗せた時の動き --- */
.target-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* --- ターゲット名のスタイル --- */
.target-name {
  font-size: 1.6em;
  color: white;
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}

/* --- レスポンシブ対応 (画面幅が768px以下の場合) --- */
@media (max-width: 768px) {
  .section-title {
    font-size: 2em;
  }
  /* グリッドの列数を2列に変更 */
  .target-grid {
    /* スマホでは2列で表示 */
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .target-name {
    font-size: smaller; /* スマホではもう少し文字を小さく調整 */
  }
  .target-card {
    padding: 12px 20px;
    width: 110px;
  }
}
.input-group {
  display: flex;
  align-items: center;
}

.toggle-password {
  margin-left: 5px;
  cursor: pointer;
  user-select: none;
}
