@font-face {
    font-family: 'AglaiaPhoneticSymbol';
    src: url('https://40ffr2la.user.webaccel.jp/common/font/AglaiaPhoneticSymbol.ttf') format('truetype'),  /* パスの修正 */
         url('../font/AglaiaPhoneticSymbol.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    crossorigin: 'anonymous';
}

/* クエスチョンマークアイコンのスタイル */
.question-icon {
    position: fixed;
    z-index: 9999;
    top: 15px;
    right: 10px;
    width: 100px;
    height: 100px;
    background: #da8530;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 閉じるボタンのスタイル */
.close-icon {
    display: flex;
    /* position: fixed; */
    z-index: 9999;
    top: 10px;
    right: 10px;
    width: 100px;
    height: 100px;
    background: #da8530;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@media screen and (max-width: 768px) {
    .question-icon, .close-icon {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media screen and (max-width: 568px) {
    .question-icon, .close-icon {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

/*----------------------------------------
# Reset
------------------------------------------*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-decoration: none;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

html,
body {
  height: 100%;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  transition: .4s;
  color: #313131;
}

button:hover {
  opacity: 0.8;
}

a:hover {
  opacity: 0.8;
}

html {
  font-size: 62.5%;
}

iframe {
  border: none;
  overflow: hidden;
}

/**********************************

全体

***********************************/
body {
  font-size: 2.8rem;
  color: #313131;
  user-select: none;
  font-family: sans-serif;
}

main {
  margin: 135px 0px 0px;
}

.contents_wrap {
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
}

ul.disc_list {
  list-style: disc;
  padding: 0 30px;
  margin-bottom: 80px;
}

ul.disc_list li {
  padding: 5px 0px;
  font-size: 2.8rem;
}

.pad_tb40 {
  padding: 80px 0px;
}

.pad_tb50 {
  padding: 90px 0px;
}

.pad_tb60 {
  padding: 60px 0px;
}

.pad_tb70 {
  padding: 70px 0px;
}

.pad_tb80 {
  padding: 80px 0px;
}

.pad_tb90 {
  padding: 90px 0px;
}

.pad_tb100 {
  padding: 100px 0px;
}

.pad_t40 {
  padding: 80px 0px 0px 0px;
}

.pad_t50 {
  padding: 90px 0px 0px 0px;
}

.pad_t60 {
  padding: 60px 0px 0px 0px;
}

.pad_t70 {
  padding: 70px 0px 0px 0px;
}

.pad_t80 {
  padding: 80px 0px 0px 0px;
}

.pad_t90 {
  padding: 90px 0px 0px 0px;
}

.pad_t100 {
  padding: 100px 0px 0px 0px;
}

.pad_b40 {
  padding: 0px 0px 40px 0px;
}

.pad_b50 {
  padding: 0px 0px 50px 0px;
}

.pad_b60 {
  padding: 0px 0px 60px 0px;
}

.pad_b70 {
  padding: 0px 0px 70px 0px;
}

.pad_b80 {
  padding: 0px 0px 80px 0px;
}

.pad_b90 {
  padding: 0px 0px 90px 0px;
}

.pad_b100 {
  padding: 0px 0px 100px 0px;
}

.mar_tb40 {
  margin: 80px 0px;
}

.mar_tb50 {
  margin: 90px 0px;
}

.mar_tb60 {
  margin: 60px 0px;
}

.mar_tb70 {
  margin: 70px 0px;
}

.mar_tb80 {
  margin: 80px 0px;
}

.mar_tb90 {
  margin: 90px 0px;
}

.mar_tb100 {
  margin: 100px 0px;
}

.mar_t40 {
  margin: 80px 0px 0px 0px;
}

.mar_t50 {
  margin: 90px 0px 0px 0px;
}

.mar_t60 {
  margin: 60px 0px 0px 0px;
}

.mar_t70 {
  margin: 70px 0px 0px 0px;
}

.mar_t80 {
  margin: 80px 0px 0px 0px;
}

.mar_t90 {
  margin: 90px 0px 0px 0px;
}

.mar_t100 {
  margin: 100px 0px 0px 0px;
}

.mar_b40 {
  margin: 0px 0px 40px 0px;
}

.mar_b50 {
  margin: 0px 0px 50px 0px;
}

.mar_b60 {
  margin: 0px 0px 60px 0px;
}

.mar_b70 {
  margin: 0px 0px 70px 0px;
}

.mar_b80 {
  margin: 0px 0px 80px 0px;
}

.mar_b90 {
  margin: 0px 0px 90px 0px;
}

.mar_b100 {
  margin: 0px 0px 100px 0px;
}

.font_min {
  /* font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif; */
  font-family: "Century Gothic", sans-serif;
}

h4.title01 {
  font-size: 3.6rem;
  font-weight: bold;
  margin-bottom: 10px;
}

h5.title02 {
  font-size: 3.6rem;
  font-weight: bold;
}

h2.help_title {
  font-size: 4.2rem;
  font-weight: bold;
  color: #da8530;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #da8530;
  position: relative;
}

h2.help_title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30%;
  height: 3px;
  background-color: #da8530;
}

h3.help_title_sub {
  font-size: 3.0rem;
  font-weight: bold;
  color: #22528b;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

h3.help_title_sub::after {
  content: none;
}

/* 利用規約タイトルのスタイル */
h2.terms_title {
  font-size: 4.2rem;
  font-weight: bold;
  color: #22528b;
  margin-bottom: 30px;
  margin-top: 50px;
  padding-bottom: 15px;
  border-bottom: 3px solid #22528b;
  position: relative;
}

h2.terms_title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30%;
  height: 3px;
  background-color: #22528b;
}

@media screen and (max-width: 768px) {
  h2.terms_title {
    font-size: 2.6rem;
    margin-bottom: 20px;
    margin-top: 30px;
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 568px) {
  h2.terms_title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    margin-top: 25px;
    padding-bottom: 8px;
  }
}

li.help_list {
  margin-bottom: 20px;
}

li.help_list p {
  font-size: 2.4rem;
  line-height: 1.7;
  color: #925a20;
}

img {
  max-width: 100%;
  height: auto;
}

.text {
  font-size: 2.8rem;
  line-height: 1.8;
}

.link_text_wrap {
  padding: 20px 0px;
}

#text .linkbox .link_text_wrap {
  padding: 20px 10px;
}

a.link_text {
  display: inline-block;
  color: #3f53a1;
  font-size: 3.6rem;
  border-bottom: solid 1px;
}

.now_playing {
  color: #c76565; /* 標準のテキスト色 */
  position: relative;
}

/* iOSデバイス向けに特定のスタイルはJavaScriptで追加 */
/* JavaScriptはios-deviceクラスをhtmlタグに追加 */

/* システム共通スタイル（iOS以外） */
html:not(.ios-device) .now_playing {
  display: inline;
  line-height: 2;
}

/* JavaScriptで追加したios-deviceクラスがある場合のスタイルはJSで定義 */

/* 既存のマスクされたコンテンツのスタイル維持 */
.now_playing .overlay_text,
.now_playing .text_background_color_red {
  /* スタイルはそのまま継承 */
}

.text_background_color_red {
  background: #ffcdcd;
}

.overlay_text {
  position: relative;
  color: #c3c3c3;
  background: #c3c3c3;
}

/***カラー***/
.bk_red {
  background: #d62727;
}

.border_red {
  border-color: #d62727;
}

.bk_blue {
  background: #22528b;
}

.border_blue {
  border-color: #d62727;
}

.bk_green {
  background: #42944d;
}

.border_green {
  border-color: #42944d;
}

.bk_yellow_green {
  background: #8DB747;
}

.border_yellow_green {
  border-color: #8DB747;
}

.bk_orange {
  background: #e2af3b;
}

.border_orange {
  border-color: #e2af3b;
}

.bk_pink {
  background: #cd5f5f;
}

.border_pink {
  border-color: #cd5f5f;
}

.bk_purple {
  background: #813999;
}

.border_purple {
  border-color: #813999;
}

.bk_yg {
  background: #8db848;
}

.border_yg {
  border-color: #8db848;
}

/**********************************

Header

***********************************/
#header {
  width: 100%;
  position: fixed;
  z-index: 999;
  top: 0;
  transition: all .3s;
  height: 136px;
  background: #da8530;
  display: flex;
  justify-content: center;
  align-items: center;
}

header h1 a {
  font-size: 5rem;
  color: #ffffff;
}

#header .header_menu {
  border-top: none;
  border-bottom: none;
  padding: 0px 0px;
}

header.fixed_menu {
  height: 80px;
  background: rgb(50, 50, 56, 0.9);
}

nav {
  padding: 0;
}

nav ul {
  display: block;
}

nav li.has-child ul,
nav li.has-child ul ul {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  visibility: visible;
  opacity: 1;
  display: none;
  transition: none;
}

nav ul li a {
  border-bottom: 1px solid #ccc;
}

nav ul li.has-child::before {
  right: 20px;
}

nav ul ul li.has-child::before {
  transform: rotate(135deg);
  right: 20px;
}

nav ul li.has-child.active::before {
  transform: rotate(-45deg);
}

#g-nav {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -120%;
  width: 100%;
  height: 100vh;
  background: rgb(0, 0, 0, 0.68);
  transition: all 0.6s;
}

#g-nav-list {
  transition: none !important;
}

#g-nav.panelactive {
  right: 0;
}

/*****
#g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 30%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    right: 0;
    background: #ffffff;
}
#g-nav ul.menu_list {
    position: absolute;
    z-index: 999;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}
*****/
#g-nav.panelactive #g-nav-list {
  position: fixed;
  z-index: 999;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  right: 0;
  background: #ffffff;
  padding: 15px 20px 40px 25px;
  width: 60%;
}

#g-nav li {
  list-style: none;
  text-align: center;
  position: relative;
  padding: 10px 0px;
}

#g-nav li a {
  text-decoration: none;
  padding: 15px 55px 15px 0;
  display: flex;
  letter-spacing: 0.1em;
  font-weight: 600;
  border-bottom: none;
  z-index: 99;
  position: relative;
  text-align: right;
  align-items: center;
  justify-content: end;
  font-size: 3.2rem;
  color: #212121;
}

#g-nav li a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  border: 12px solid transparent;
  border-left: 18px solid #a12e2b;
}

#g-nav li a .jp_text {
  font-size: 1.8rem;
  margin-right: 10px;
}

#g-nav li a .en_text {
  font-size: 1.4rem;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}

nav ul li.has-child::before {
  content: '';
  position: absolute;
  right: 10px;
  top: 30px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(135deg);
}

.openbtn1 {
  position: fixed;
  z-index: 9999;
  top: 0px;
  right: 0px;
  cursor: pointer;
  width: 111px;
  height: 111px;
  margin-top: 25px;
}

.openbtn1.active {
  margin-right: 48%;
}

.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  height: 4px;
  background: #ffffff;
  width: 76px;
  margin-top: 5px;
  border-radius: 5px;
}

.openbtn1.active span {
  background: #b0b0b0;
}

.openbtn1 span:nth-of-type(1) {
  top: 10px;
}

.openbtn1 span:nth-of-type(2) {
  top: 35px;
}

.openbtn1 span:nth-of-type(3) {
  top: 60px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 0px;
  right: 20px;
  transform: translateY(6px) rotate(-45deg);
  width: 50px;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  right: 20px;
  transform: translateY(-6px) rotate(45deg);
  width: 50px;
  left: 0;
}

#g-nav.panelactive .header_contact_btn {
  display: none !important;
}

.header_rightbox .header_menu .telbox {
  display: none;
}

.header_rightbox .header_contact_btn {
  display: none;
}

nav ul li.has-child::before {
  content: '';
  position: absolute;
  right: 15px;
  top: 32px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #000000;
  border-right: 2px solid #000000;
  transform: rotate(135deg);
}

#g-nav li.has-child a {
  cursor: pointer;
}

#g-nav li.active a {
  border-bottom: none;
}

/**********************************

書籍一覧

***********************************/
.button_wrap {
  margin-top: 40px;
}

.button_wrap .button01 {
  width: 164px;
  color: #ffffff;
  font-size: 3rem;
  background: #d40c0c;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
}

.book_item_list_area .item {
  display: flex;
  border-bottom: solid 2px #c8c8c8;
  padding: 40px 0px;
}

.book_item_list_area .item .leftbox {
  width: 200px;
}

.book_item_list_area .item .rightbox {
  width: calc(100% - 200px);
  padding-left: 40px;
}

ul.book_item_list_area li:last-child {
  border-bottom: none;
}

/**********************************

page_contentsページ

***********************************/
#page_contents {
  margin: 0px 0px 0px;
}

#page_contents .page_header {
  height: 70px;
  z-index: 999;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0px 40px;
}

#page_contents .page_header h2 {
  display: flex;
  align-items: center;
  padding-left: 40px;
}

#page_contents .page_header h2 .inner_box {
  display: flex;
}

#page_contents .page_header h2 .text01 {
  font-size: 2.8rem;
  color: #ffffff;
  font-weight: bold;
  border-right: solid 1px;
  padding-right: 20px;
}

#page_contents .page_header h2 .text02 {
  font-size: 2.8rem;
  color: #ffffff;
  font-weight: bold;
  padding: 0 20px;
}

#page_contents .page_header h2 .text03 {
  font-size: 2.4rem;
  color: #ffffff;
}

#page_contents .page_header .page_menu {
  display: flex;
  align-items: center;
}

#page_contents .page_header .page_menu:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 30px;
  background-image: url(../images/right_arrow_icon.png);
  background-size: contain;
  vertical-align: middle;
  margin-right: 30px;
  background-repeat: no-repeat;
  position: absolute;
}

#page_contents .page_inner_wrap h3.title {
  font-size: 5.2rem;
  font-weight: bold;
  margin-bottom: 60px;
}

#page_contents .page_inner_wrap h4 {
  font-size: 4.2rem;
  font-weight: bold;
}

#page_contents .page_inner_wrap h4.line_title {
  border-bottom: solid 1px;
  padding-bottom: 20px;
  /* margin-bottom: 40px; */
}

#page_contents .speed_item_area {
  text-align: center;
}

#page_contents .play_icon_wrap {
  text-align: center;
  margin-bottom: 40px;
}

#page_contents .page_inner_wrap {
  margin: 80px 0px;
}

#page_contents .page_inner_wrap .item_list .item {
  margin-bottom: 120px;
}

#page_contents .page_inner_wrap .item_list .item video {
  margin-bottom: 30px;
}

#page_contents .page_inner_wrap .item_list .item h4 {
  margin-bottom: 30px;
}

/***フラッシュカード***/
.play_box {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

#flashcards #page_contents .page_inner_wrap {
  margin: 0 0 80px 0px;
  padding-top: 0;
}

/* #flashcards .flashcards_cont .reality_text{
aspect-ratio: 1000 / 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7.2rem;
    font-weight: bold;
    margin-bottom: 1px;
    z-index: 99;
    position: relative;
} */
#flashcards .flashcards_cont {
  display: flex;
  align-items: center;
  justify-content: center;
  /* 横方向の中央揃え（必要なら追加） */
  height: 100vh;
  /* 画面の高さいっぱいに配置 */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 15px;
}

#flashcards .flashcards_cont .reality_text {
  /* aspect-ratio: 1000 / 900; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7.2rem;
  font-weight: bold;
  margin-bottom: 1px;
  z-index: 99;
  position: relative;
  width: 100%;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

#flashcards .flashcards_cont .reality_text_en {
  text-align: center;
  font-family: 'AglaiaPhoneticSymbol';
  font-size: 40px;
  width: 100%;
}

.speed_text_wrap {
  display: flex;
  justify-content: center;
}

.speed_text_wrap .speed_text {
  display: flex;
  border: solid 2px #545454;
  border-radius: 5px;
  padding: 5px 5px 5px 10px;
  justify-content: center;
  height: 36px;
  margin: 0 15px 0 10px;
  /* width: 150px; */
}

.speed_text_wrap .speed_text .text01 {
  color: #545454;
  font-size: 1.6rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.speed_text_wrap .speed_text .text02 {
  font-size: 2rem;
  font-weight: bold;
  color: #4479d1;
  margin-left: 10px;
  border: none;
  background: none;
  padding: 0 0px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

::-ms-expand {
  display: none;
}

/***本文***/
.main_text_area {
  position: relative;
  padding-bottom: 195px;
}

.main_text_area p {
  line-height: 2;
}

.honbun_text span {
  line-height: 2;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

/***単語***/
#onsei_tango #page_contents .page_inner_wrap h4 {
  border-bottom: solid;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

#onsei_tango .word_item_box {
  margin-bottom: 70px;
}

#onsei_tango .word_item_box .word_flex {
  display: flex;
  justify-content: space-between;
  padding: 10px 40px;
}

#onsei_tango .word_item_box table {
  width: calc(100% - 60px);
  margin: 0 0 0 60px;
}

#onsei_tango .word_item_box table td {
  /* width: calc(100% / 3); */
  /* padding: 15px 0px; */
  margin-right: 10px;
}

.important_word {
  position: relative;
}

.important_word:before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 35px;
  background-image: url(../images/flag_icon.png);
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
  position: absolute;
  margin-left: -55px;
  margin-right: 10px;
  margin-top: 5px;
}

.word_item_box .overlay_text {
  display: inline-block;
  /* padding: 0 10px; */
}

.fon_italic {
  font-style: italic;
}

/***目次***/
#mokuji .book_info_area .image {
  text-align: center;
  margin-bottom: 30px;
}

#mokuji .book_info_area {
  margin-bottom: 80px;
}

.accordion_menu .menu_item_wrap {
  margin-bottom: 40px;
}

.accordion_menu {
  text-align: center;
}

.accordion_menu .inner {
  display: none;
}

.accordion_menu .inner li ul {
  display: none;
}

.accordion_menu p {
  cursor: pointer;
  padding: 10px;
}

.accordion_menu .inner li ul li {
  padding: 10px 0;
}

.accordion_menu .inner li>p {
  cursor: pointer;
}

.accordion_menu .inner li ul li {
  color: #212121;
  border-bottom: solid 2px;
  text-align: left;
  padding: 0;
  margin-left: 40px;
  position: relative;
}

.accordion_menu .inner li ul li a {
  width: 100%;
  display: block;
  padding: 20px 20px;
}

.accordion_menu .inner li ul li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  border: 12px solid transparent;
  border-left: 18px solid #a12e2b;
}

.accordion_menu p {
  position: relative;
  padding-right: 40px;
  cursor: pointer;
  padding: 20px 30px;
  color: #ffffff;
  margin-bottom: 10px;
  border-radius: 10px;
}

.accordion_menu p .text01 {
  font-size: 3rem;
  display: block;
  text-align: left;
}

.accordion_menu p .text02 {
  font-size: 3.6rem;
  font-weight: bold;
  text-align: left;
  display: block;
  padding-right: 20px;
}

.accordion_menu p .text02.left_border {
  padding-left: 20px;
  border-style: solid;
  border-width: 0 0 0 10px;
}

.accordion_menu p.menu02 {
  color: #212121;
  border-bottom: solid 2px;
  border-radius: 0;
}

.accordion_menu .plus_icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.6rem;
  font-weight: bold;
}

.accordion_menu .menu02:has(a) .plus_icon {
  opacity: 0;
  pointer-events: none;
}

.accordion_menu .menu02:has(a)::before {
  position: absolute;
  content: "";
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  border: 12px solid transparent;
  border-left: 18px solid #a12e2b;
  font-size: 1em;
}



.accordion_menu p.border_box {
  padding: 40px 30px;
  background: none;
  color: #212121;
  border-style: solid;
  border-width: 5px;
}

.accordion_menu p.movie_list_link {
  padding: 0 !important;
}

.accordion_menu .movie_list_link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  border: 12px solid transparent;
  border-left: 18px solid #a12e2b;
}

.accordion_menu .movie_list_link a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 40px 30px;
}

.orange_btn_wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 20px;
}

.orange_btn_wrap .orange_btn {
  width: 350px;
  color: #ffffff;
  font-size: 3rem;
  background: #da8530;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}

/**********************************

音声コントローラー

***********************************/
.bottom_setting_area {
  background: #f3f3f3;
  padding: 23px 20px 20px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
}

.display_setting_panel {
  width: 440px;
  position: absolute;
  background: #ffffff;
  bottom: 0;
  right: 0;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  z-index: 99;
}

.display_setting_panel h3 {
  background: #e69e9e;
  color: #ffffff;
  text-align: center;
  padding: 10px;
  font-size: 2.6rem;
}

.display_setting_panel .setting_area {
  background: #f5f3ec;
  padding: 10px 25px;
}

.display_setting_panel .setting_area .radio_box {
  display: flex;
  align-items: center;
  border-bottom: dotted 2px;
  padding: 20px 0px;
}

.display_setting_panel .setting_area .check_box {
  display: flex;
  align-items: center;
  padding: 20px 0px;
}

.display_setting_panel .setting_area .check_box02 {
  display: block;
  align-items: center;
  padding: 40px 0px;
}

.display_setting_panel .setting_area label {
  color: #4a4a4a;
  font-size: 2.1rem;
}

.display_setting_panel .setting_area input {
  width: 20px;
  height: 20px;
  margin: 7px 10px 0px 0px;
}

.display_setting_panel .setting_area .box01 {
  margin-right: 50px;
  display: flex;
  align-items: center;
}

.display_setting_panel .setting_area .box02 {
  display: flex;
  align-items: center;
}

.bottom_setting_area .btn_flex {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bottom_setting_area .btn_flex a {
  display: flex;
  align-items: center;
}

.bottom_setting_area .btn_flex a img {
  height: 22px;
}

.bottom_setting_area .btn_flex .play.btn {
  margin: 0 50px;
}

.bottom_setting_area .bottom_icon_area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom_setting_area .bottom_icon_area .switch_btn {
  display: flex;
  align-items: center;
  border: solid 3px #545454;
  border-radius: 5px;
  padding: 5px 10px;
  justify-content: center;
  width: 270px;
}

.bottom_setting_area .bottom_icon_area .switch_btn .text01 {
  color: #545454;
  font-size: 4rem;
  font-weight: bold;
  padding: 2px 15px;
  width: 50%;
}

.bottom_setting_area .bottom_icon_area .switch_btn .text02 {
  background: #e69e9e;
  color: #ffffff;
  font-size: 4rem;
  border-radius: 5px;
  padding: 2px 15px;
  width: 50%;
  text-align: center;
}

.c-btn-switch {
  display: flex;
  box-sizing: border-box;
  padding: 4px;
  width: 150px;
  height: 36px;
  border: solid 2px #545454;
  border-radius: 5px;
  margin: 0 0px 0 15px;
}

.c-btn-switch__item {
  width: 50%;
}

.c-btn-switch__radio {
  display: none;
}

.c-btn-switch__radio:checked+.c-btn-switch__label span {
  color: #fff;
}

.c-btn-switch__radio:checked+.c-btn-switch__label::before {
  transform: translateX(0);
}

.c-btn-switch__label {
  position: relative;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.c-btn-switch__item--a .c-btn-switch__label::before {
  transform: translateX(100%);
}

.c-btn-switch__item--b .c-btn-switch__label::before {
  transform: translateX(-100%);
}

.c-btn-switch__label span {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #545454;
  font-size: 1.6rem;
  transition: color .5s;
  transform: translate(-50%, -50%);
  font-weight: bold;
}

.c-btn-switch__label::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background-color: #d62727;
  content: "";
  transition: transform .5s;
}

#play_pause_btn {
  margin: 0 50px;
}

#flashcard_play_pause_btn {
  margin: 0 30px;
}

#from_start_btn {
  margin: 0 30px;
}

#switch {
  width: 50px;
  height: 50px;
  background: url(../images/play_icon.png?v=2) no-repeat;
  background-size: contain;
  background-repeat: no-repeat;
}

#switch.on_switch {
  width: 50px;
  height: 50px;
  background: url(../images/stop_icon.png?v=2) no-repeat;
  background-size: 100% 100%;
}

#flashcards .bottom_setting_area .play_btn {
  display: flex;
  justify-content: center;
  /* margin-bottom: 40px; */
}

.image-checkbox {
  display: flex;
  position: relative;
  cursor: pointer;
  /* margin: 10px; */
  align-items: center;
}

.image-checkbox input[type="checkbox"] {
  display: none;
}

.image-checkbox img {
  filter: brightness(0.5);
  border: 2px solid transparent;
  transition: filter 0.3s, border-color 0.3s;
  width: 40px;
}

.image-checkbox input[type="checkbox"]:checked+img {
  filter: none;
}

.modalArea {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modalBg {
  width: 100%;
  height: 100%;
}

.modalWrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  max-width: 500px;
  background-color: #fff;
}

/**
.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}
**/
button.fast_forward.btn {
  cursor: pointer;
  border: none;
  background: none;
}

button.fast_forward.btn img {
  height: 25px;
}

#closeModal {
  display: none;
}

/**********************************

Footer

***********************************/
footer {
  padding: 0px 3% 210px;
  text-align: center;
}

footer .footer_link {
  color: #3f53a1;
  border-bottom: solid 1px;
  margin-bottom: 20px;
  font-size: 3.2rem;
}

.copyright {
  margin-top: 20px;
}

.copyright .copyright_text {
  font-size: 2.4rem;
}

/**********************************

レスポンシブ

***********************************/
@media screen and (max-width:986px) {
  .contents_wrap {
    width: 94%;
  }

  h4.title01 {
    font-size: 2.8rem;
  }

  h5.title02 {
    font-size: 2.8rem;
  }

  h2.help_title {
    font-size: 3.6rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
  }

  h3.help_title_sub {
    font-size: 2.6rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }

  #page_contents .page_header {
    height: auto;
    padding: 10px 10px;
    min-height: 135px;
  }

  #page_contents .page_header h2 {
    padding-left: 25px;
    flex-wrap: wrap;
  }

  #page_contents .page_header h2 .inner_box {
    display: flex;
  }

  #page_contents .page_inner_wrap h3.title {
    margin-top: 40px;
  }

  #page_contents .page_header .page_menu:before {
    width: 14px;
    height: 24px;
    margin-right: 10px;
  }

  .bottom_setting_area .bottom_icon_area .btn {
    margin: 0 10px;
  }

  .bottom_setting_area .bottom_icon_area .switch_btn .text01 {
    font-size: 3rem;
    padding: 0px 15px;
  }

  .bottom_setting_area .bottom_icon_area .switch_btn .text02 {
    font-size: 3rem;
    padding: 0px 15px;
  }

  .speed_text_wrap .speed_text .text02 {
    margin-left: 10px;
  }

  #flashcards .flashcards_cont .reality_text_en {
    text-align: center;
    font-family: 'AglaiaPhoneticSymbol';
    font-size: 25px;
  }  
}

@media screen and (max-width:768px) {
  body {
    font-size: 1.6rem;
  }

  main {
    margin: 60px 0px 0;
  }

  .text {
    font-size: 1.6rem;
    line-height: 1.6;
  }

  ul.disc_list li {
    font-size: 1.6rem;
  }

  .pad_tb100 {
    padding: 50px 0px;
  }

  .mar_t80 {
    margin: 40px 0px 0px 0px;
  }

  .pad_tb80 {
    padding: 40px 0px;
  }

  .link_text_wrap {
    padding: 10px 0px;
  }

  a.link_text {
    font-size: 1.8rem;
  }

  #header {
    height: 60px;
  }

  #page_contents .page_header {
    min-height: 60px;
  }

  #g-nav li {
    padding: 5px 0px;
  }

  #g-nav li a {
    padding: 5px 40px 5px 0;
    font-size: 1.8rem;
  }

  #g-nav li a::after {
    border: 8px solid transparent;
    border-left: 16px solid #a12e2b;
  }

  #g-nav.panelactive #g-nav-list {
    padding: 15px 10px 30px 15px;
    width: 76%;
  }

  nav ul {
    margin-top: 15px;
  }

  ul.disc_list {
    padding: 0 0px 0 25px;
    margin: 20px 0px 60px;
  }

  .openbtn1 {
    width: 40px;
    height: 45px;
    margin-top: 15px;
    margin-right: 15px;
  }

  .openbtn1.active {
    margin-top: 0px;
    margin-right: 62%;
  }

  .openbtn1 span {
    width: 40px;
    height: 2px;
  }

  .openbtn1 span:nth-of-type(1) {
    top: 0px;
  }

  .openbtn1 span:nth-of-type(2) {
    top: 10px;
  }

  .openbtn1 span:nth-of-type(3) {
    top: 20px;
  }

  .openbtn1.active span:nth-of-type(1) {
    width: 40px;
  }

  .openbtn1.active span:nth-of-type(3) {
    width: 40px;
  }

  header h1 a {
    font-size: 2.4rem;
  }

  h4.title01 {
    font-size: 2.1rem;
  }

  h5.title02 {
    font-size: 2.1rem;
  }

  .button_wrap {
    margin-top: 20px;
  }

  .button_wrap .button01 {
    font-size: 2.1rem;
  }

  .book_item_list_area .item {
    padding: 30px 0px;
  }

  .book_item_list_area .item .leftbox {
    width: 120px;
  }

  .book_item_list_area .item .rightbox {
    padding-left: 20px;
    width: calc(100% - 120px);
  }

  footer .footer_link {
    font-size: 1.8rem;
  }

  .copyright .copyright_text {
    font-size: 1.4rem;
  }

  #page_contents .page_inner_wrap {
    /* margin: 60px 0px; */
    padding-top: 10px;
  }

  #page_contents .page_inner_wrap h3.title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  #page_contents .page_inner_wrap h4.line_title {
    font-size: 2.1rem;
  }

  #page_contents .page_header h2 .text01 {
    font-size: 2.1rem;
    padding-right: 10px;
  }

  #page_contents .page_header h2 .text02 {
    font-size: 2.1rem;
    padding: 0 10px;
  }

  #page_contents .page_header h2 .text03 {
    font-size: 1.8rem;
  }

  #page_contents .page_inner_wrap .item_list .item {
    margin-bottom: 60px;
  }

  #page_contents .page_inner_wrap .item_list .item img {
    margin-bottom: 15px;
  }

  #page_contents .page_inner_wrap .item_list .item h4 {
    margin-bottom: 10px;
  }

  #page_contents .page_inner_wrap h4 {
    font-size: 2.1rem;
  }

  #flashcards .flashcards_cont .reality_text {
    font-size: 3.2rem;
  }

  #page_contents .play_icon_wrap img {
    width: 40px;
  }

  .display_setting_panel {
    width: 60%;
  }

  .display_setting_panel .setting_area label {
    font-size: 2.1rem;
  }

  .display_setting_panel .setting_area {
    padding: 10px 20px;
  }

  .display_setting_panel .setting_area .radio_box {
    padding: 15px 0px;
  }

  .display_setting_panel .setting_area .check_box {
    padding: 15px 0px;
  }

  .display_setting_panel h3 {
    font-size: 2.1rem;
  }

  .display_setting_panel .setting_area .box01 {
    margin-right: 50px;
    display: flex;
    align-items: center;
  }

  .display_setting_panel .setting_area input {
    width: 20px;
    height: 20px;
    margin-top: 5px;
  }

  #page_contents .play_icon_wrap {
    text-align: center;
    margin-bottom: 20px;
  }

  .speed_text_wrap .speed_text .text02 {
    font-size: 1.8rem;
    padding: 0 5px;
    margin-left: 0;
  }

  .bottom_setting_area .bottom_icon_area .switch_btn {
    width: auto;
  }

  .bottom_setting_area .btn_flex {
    margin-bottom: 30px;
  }

  .main_text_area {
    padding-bottom: 50px;
  }

  .bottom_setting_area .bottom_icon_area .btn {
    margin: 0 0px;
    padding: 0;
    width: 40px;
  }

  .bottom_setting_area .btn_flex {
    margin-bottom: 15px;
  }

  .modalWrapper {
    width: 80%;
  }

  .display_setting_panel {
    width: 100%;
  }

  .important_word:before {
    width: 19px;
    height: 19px;
    margin-left: -26px;
  }

  #onsei_tango .word_item_box table td {
    padding: 10px 0px;
  }

  #onsei_tango .word_item_box table {
    width: calc(100% - 30px);
    margin: 0 0 0 30px;
  }

  .accordion_menu p .text01 {
    font-size: 1.6rem;
  }

  .accordion_menu p .text02 {
    font-size: 1.8rem;
  }

  .accordion_menu .plus_icon {
    font-size: 1.8rem;
    right: 5px;
  }

  .accordion_menu .menu_item_wrap {
    margin-bottom: 15px;
  }

  .accordion_menu p {
    padding: 15px 15px;
    margin-bottom: 0px;
    border-radius: 5px;
  }

  .accordion_menu p .text02.left_border {
    padding-left: 10px;
    border-width: 0 0 0 5px;
  }

  .accordion_menu .inner li ul li::after,
  .accordion_menu .movie_list_link::after {
    border: 6px solid transparent;
    border-left: 12px solid #a12e2b;
  }

  .accordion_menu .menu02:has(a)::before {
    border: 6px solid transparent;
    border-left: 12px solid #a12e2b;
  }

  #mokuji .book_info_area {
    margin-bottom: 40px;
  }

  .accordion_menu p.border_box {
    padding: 25px 10px;
    border-width: 3px;
  }

  .accordion_menu .movie_list_link a {
    padding: 25px 10px;
  }

  h2.help_title {
    font-size: 2.6rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  h3.help_title_sub {
    font-size: 2.0rem;
    margin-bottom: 10px;
    padding-bottom: 6px;
  }

  li.help_list {
    margin-bottom: 15px;
  }

  li.help_list p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #925a20;
  }
}

@media screen and (max-width:568px) {
  body {
    font-size: 1.5rem;
  }

  h4.title01 {
    font-size: 1.8rem;
  }

  h5.title02 {
    font-size: 1.8rem;
  }

  h2.help_title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
  }

  h3.help_title_sub {
    font-size: 1.8rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
  }

  .button_wrap .button01 {
    font-size: 1.6rem;
    padding: 5px 10px;
    width: 120px;
    height: 42px;
  }

  .bottom_setting_area .bottom_icon_area .switch_btn .text01 {
    font-size: 1.6rem;
    width: auto;
    padding: 0 10px;
  }

  .bottom_setting_area .bottom_icon_area .switch_btn .text02 {
    font-size: 1.6rem;
    width: auto;
    padding: 0px 5px;
  }

  .speed_text_wrap .speed_text {
    padding: 5px 5px;
  }

  .display_setting_panel .setting_area label {
    font-size: 1.8rem;
  }

  .display_setting_panel h3 {
    font-size: 1.8rem;
  }

  .speed_text_wrap .speed_text .text01 {
    font-size: 1.4rem;
    white-space: nowrap;
  }

  .c-btn-switch__label span {
    font-size: 1.4rem;
    white-space: nowrap;
  }

  .bottom_setting_area {
    padding: 18px 10px 15px;
    /* height: 160px; */
  }

  .bottom_setting_area .btn_flex a img {
    height: 20px;
  }

  .c-btn-switch {
    width: 120px;
    height: 36px;
  }

  .speed_text_wrap .speed_text {
    /* width: 120px; */
    height: 36px;
  }

  .display_setting_panel .setting_area {
    padding: 10px 15px;
  }

  .speed_text_wrap .speed_text .text02 {
    font-size: 1.6rem;
  }

  li.help_list {
    margin-bottom: 12px;
  }

  li.help_list p {
    font-size: 1.4rem;
    line-height: 1.5;
    color: #925a20;
  }
}

.playing span {
  color: #c76565;
}

tr.playing .en_text .overlay_text {
  color: transparent;
}

tr.playing .pronunciation_text .overlay_text {
  color: transparent;
}

tr.playing .jp_text .overlay_text {
  color: transparent;
}

.pronunciation_text{
    font-family: 'AglaiaPhoneticSymbol';
}

/* 動作環境テーブルのスタイル */
.environment_table_wrap {
  margin: 30px 0 40px;
}

.environment_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 2.4rem;
  border: 3px solid #da8530;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.environment_table th {
  background-color: #da8530;
  color: #ffffff;
  padding: 15px 20px;
  text-align: center;
  font-weight: bold;
  border-right: 2px solid #ffffff;
}

.environment_table th:last-child {
  border-right: none;
}

.environment_table td {
  padding: 15px 20px;
  border: 1px solid #bbb;
  line-height: 1.6;
}

.environment_table tr {
  border-bottom: 2px solid #bbb;
}

.environment_table tr:last-child {
  border-bottom: none;
}

.environment_table tr:nth-child(odd) {
  background-color: #f8f8f8;
}

.environment_table tr:hover {
  background-color: #f0f0f0;
}

p.environment_note {
  font-size: 2.0rem;
  color: #666;
  margin-bottom: 30px;
}

/* お問い合わせリンクのスタイル */
.contact_link_container {
  text-align: center;
  margin: 40px 0;
}

.contact_link {
  display: inline-block;
  color: #3f53a1;
  font-size: 2.8rem;
  text-decoration: underline;
  font-weight: bold;
  padding: 10px 30px;
  transition: all 0.3s ease;
}

.contact_link:hover {
  color: #22528b;
  text-decoration: none;
}

@media screen and (max-width:768px) {
  .environment_table {
    font-size: 1.5rem;
    border-width: 3px;
  }
  
  .environment_table th,
  .environment_table td {
    padding: 10px 15px;
    border-width: 1px;
  }
  
  p.environment_note {
    font-size: 1.4rem;
  }
  
  .contact_link {
    font-size: 2.0rem;
    padding: 8px 20px;
  }
}

@media screen and (max-width:568px) {
  .environment_table {
    font-size: 1.4rem;
    border-width: 2px;
  }
  
  .environment_table th,
  .environment_table td {
    padding: 8px 10px;
    border-width: 1px;
  }
  
  .environment_table tr {
    border-width: 1px;
  }
  
  p.environment_note {
    font-size: 1.3rem;
  }
  
  .contact_link {
    font-size: 1.8rem;
    padding: 6px 15px;
  }
}