@charset "UTF-8";
.hero {
  padding: 470px 0 60px;
  background: url(/rws/img/title_bg.png), -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#F8F8F8));
  background: url(/rws/img/title_bg.png), linear-gradient(to bottom, #FFFFFF, #F8F8F8);
  background-repeat: no-repeat;
  background-position: top center;
  text-align: center;
}
@media (max-width: 767px) {
  .hero {
    padding-top: 85vw;
    background-size: 300vw;
  }
}
.hero h1 {
  padding-bottom: 40px;
  font-size: 28px;
  line-height: 1.7;
}
.hero h1 span {
  font-size: 18px;
}
@media (max-width: 767px) {
  .hero h1 span {
    display: inline-block;
    padding-top: 5px;
  }
}
.hero .btn {
  padding-left: 60px;
  padding-right: 60px;
  -webkit-transition: 0.15s;
  transition: 0.15s;
}
.hero + .nav {
  background-color: #F8F8F8;
}
.hero + .nav nav ul li a {
  border-bottom-color: #F8F8F8;
}
@media (max-width: 767px) {
  .hero + .nav nav ul li a {
    border-bottom-color: #FFFFFF;
  }
}

#home section {
  padding: 60px 0;
  background-repeat: no-repeat;
  background-position: top center;
}
@media (max-width: 767px) {
  #home section {
    padding: 30px 0 40px;
    background-size: 360vw;
  }
}
#home section h2 {
  font-size: 50px;
  text-align: center;
  padding-bottom: 20px;
}
#home section .list {
  padding: 0;
  margin-left: -12.5px;
  margin-right: -12.5px;
  list-style-type: none;
}
@media (max-width: 767px) {
  #home section .list {
    margin-left: 0;
    margin-right: 0;
  }
}
#home .comment {
  padding: 80px 0 60px;
  border-top: 1px solid #181878;
}
@media (max-width: 767px) {
  #home .comment {
    padding: 30px 0 30px;
  }
}
#home .comment p {
  font-size: 20px;
  line-height: 1.7;
  text-align: center;
}
@media (max-width: 767px) {
  #home .comment p {
    font-size: 16px;
    -webkit-font-feature-settings: "palt";
            font-feature-settings: "palt";
  }
}
#home .news {
  background-image: url(/rws/img/news_bg.png);
}
@media (max-width: 767px) {
  #home .news {
    background-position: top left;
  }
}
#home .events {
  background-image: url(/rws/img/events_bg.png);
}
@media (max-width: 767px) {
  #home .events {
    background-position: top right;
  }
}
#home .contents {
  background-color: #F6F6F6;
}
#home .contents nav {
  padding-bottom: 40px;
}
@media (max-width: 767px) {
  #home .contents nav {
    padding-bottom: 0;
  }
}
#home .contents nav ul {
  list-style-type: none;
  padding: 0;
}
#home .contents nav ul li {
  width: 240px;
  background-image: url(/rws/img/contents_bg.png);
  background-repeat: no-repeat;
  background-position: center center;
}
@media (max-width: 767px) {
  #home .contents nav ul li {
    width: 100%;
    margin: 0 0 15px !important;
    background: none;
  }
}
#home .contents nav ul li:nth-of-type(2) {
  margin: 0 calc((100% - 720px) / 2);
}
#home .contents nav ul li:nth-of-type(4) {
  margin-top: calc(-95px + (160px - (100% - 720px) / 2) / 1.4);
  margin-right: calc((100% - 720px) / 2);
}
#home .contents nav ul li:nth-of-type(5) {
  margin-top: calc(-95px + (160px - (100% - 720px) / 2) / 1.4);
}
#home .contents nav ul li a {
  position: relative;
  display: block;
  width: 121px;
  height: 209px;
  -webkit-transform: translateX(50%);
          transform: translateX(50%);
  font-size: 16px;
}
@media (max-width: 767px) {
  #home .contents nav ul li a {
    width: 100%;
    height: auto;
    -webkit-transform: translateX(0);
            transform: translateX(0);
    border: 1px solid transparent;
    padding: 1rem 0.75rem;
    border-radius: 0.25rem;
    -webkit-transition: 0.15s ease-in-out;
    transition: 0.15s ease-in-out;
    color: #CA1616;
    border-color: #CA1616;
    background-color: #FFFFFF;
    font-size: 15px;
  }
}
#home .contents nav ul li a::before, #home .contents nav ul li a::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 5px;
  z-index: 0;
}
@media (max-width: 767px) {
  #home .contents nav ul li a::before, #home .contents nav ul li a::after {
    display: none;
  }
}
#home .contents nav ul li a::before {
  -webkit-transform: rotate(60deg);
          transform: rotate(60deg);
}
#home .contents nav ul li a::after {
  -webkit-transform: rotate(-60deg);
          transform: rotate(-60deg);
}
#home .contents nav ul li a:hover {
  opacity: 1;
}
@media (max-width: 767px) {
  #home .contents nav ul li a:hover {
    background-color: #CA1616;
    border-color: #CA1616;
  }
}
#home .contents nav ul li a:hover .i-btn i {
  color: #CA1616;
}
@media (max-width: 767px) {
  #home .contents nav ul li a:hover .i-btn i {
    color: #FFFFFF;
  }
}
#home .contents nav ul li a:hover .i-btn span {
  color: #9A0000;
}
@media (max-width: 767px) {
  #home .contents nav ul li a:hover .i-btn span {
    color: #FFFFFF;
  }
}
#home .contents nav ul li a .i-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  text-align: center;
  z-index: 1;
}
@media (max-width: 767px) {
  #home .contents nav ul li a .i-btn {
    position: relative;
    top: 0;
    left: 0;
    -webkit-transform: translateX(0) translateY(0);
            transform: translateX(0) translateY(0);
    margin-bottom: 0;
  }
}
#home .contents nav ul li a .i-btn i {
  font-size: 72px;
  color: #9A0000;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: 0.15s;
  transition: 0.15s;
}
@media (max-width: 767px) {
  #home .contents nav ul li a .i-btn i {
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    margin-left: 0;
    text-align: center;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    font-size: 20px;
    color: #CA1616;
  }
}
#home .contents nav ul li a .i-btn span {
  display: block;
  padding-top: 20px;
  font-weight: bold;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  -webkit-transition: 0.15s;
  transition: 0.15s;
}
@media (max-width: 767px) {
  #home .contents nav ul li a .i-btn span {
    display: inline;
    padding-left: 37px;
  }
}

#about .head {
  background-image: url(/rws/about/img/head_bg.jpg);
}
@media (max-width: 960px) {
  #about .section .table {
    width: calc(95px + 200px + 80vw + 120px + 200px);
  }
}
#about .section .table th,
#about .section .table td {
  font-size: 13px;
}
@media (max-width: 767px) {
  #about .section .table th,
  #about .section .table td {
    font-size: 12px;
  }
}
#about .section .table tr th:nth-of-type(1), #about .section .table tr td:nth-of-type(1) {
  width: 95px;
}
#about .section .table tr th:nth-of-type(2), #about .section .table tr td:nth-of-type(2) {
  width: 200px;
}
#about .section .table tr th:nth-of-type(3), #about .section .table tr td:nth-of-type(3) {
  width: calc(100% - 95px - 200px - 120px - 200px);
}
@media (max-width: 960px) {
  #about .section .table tr th:nth-of-type(3), #about .section .table tr td:nth-of-type(3) {
    max-width: 300px;
    width: 80vw;
  }
}
#about .section .table tr th:nth-of-type(4), #about .section .table tr td:nth-of-type(4) {
  width: 120px;
}
#about .section .table tr th:nth-of-type(5), #about .section .table tr td:nth-of-type(5) {
  width: 200px;
}
@media (max-width: 960px) {
  #about .section .note.smp {
    display: block;
  }
}

#guide .head {
  background-image: url(/rws/guide/img/head_bg.jpg);
}
#guide .section .txt {
  width: calc(100% - 442px - 30px);
}
@media (max-width: 767px) {
  #guide .section .txt {
    width: 100%;
    padding-bottom: 40px;
  }
}
#guide .section .img {
  width: 442px;
}
@media (max-width: 767px) {
  #guide .section .img {
    width: 100%;
  }
}
@media (max-width: 767px) {
  #guide .section .img img {
    width: 100%;
  }
}

#consult .head {
  background-image: url(/rws/consult/img/head_bg.jpg);
}
#consult .section .table.table1 {
  margin-bottom: 2rem;
}
#consult .section .table.table1 tr th {
  font-weight: normal;
  white-space: nowrap;
  width: 1px;
}
#consult .section .table.table1 tr th::after {
  content: "：";
}
#consult .section .table.table2 tr td {
  text-align: center;
}
@media (max-width: 767px) {
  #consult .section .table.table2 tr td {
    display: block;
    border-bottom: 1px solid #dee2e6;
  }
  #consult .section .table.table2 tr td:last-of-type {
    border-bottom: none;
  }
}
#consult .section iframe {
  width: 100%;
  height: 1100px;
}
@media (max-width: 767px) {
  #consult .section iframe {
    height: 75vh;
  }
}

#documents .head {
  background-image: url(/rws/documents/img/head_bg.jpg);
}

#tutor {
  overflow: hidden;
}
#tutor .head {
  background-image: url(/rws/tutor/img/head_bg.jpg);
}
#tutor .section .table.table1 {
  margin-bottom: 2rem;
}
#tutor .section .table.table1 tr th {
  font-weight: normal;
  white-space: nowrap;
  width: 1px;
}
#tutor .section .table.table1 tr th::after {
  content: "：";
}
#tutor .section .rubric {
  margin: 3rem 0 2rem;
}
@media (max-width: 767px) {
  #tutor .section .rubric {
    margin: 1rem 0 1rem;
    overflow: scroll;
  }
}
#tutor .section .rubric img {
  width: 100%;
}
@media (max-width: 767px) {
  #tutor .section .rubric img {
    max-width: 1355px;
    width: 200vw;
  }
}
#tutor .section .list {
  padding: 0;
  margin-left: -12.5px;
  margin-right: -12.5px;
  list-style-type: none;
}
@media (max-width: 767px) {
  #tutor .section .list {
    margin-left: 0;
    margin-right: 0;
  }
}
#tutor .section .list .card {
  overflow: hidden;
  position: relative;
}
#tutor .section .list .card::before {
  content: url(/rws/tutor/img/list_before.png);
  position: absolute;
  top: 160px;
  left: -30px;
}
#tutor .section .list .card::after {
  content: url(/rws/tutor/img/list_after.png);
  position: absolute;
  bottom: -30px;
  right: -20px;
}
#tutor .section .list .card .card-link {
  position: relative;
  padding: 0 20px 20px;
  z-index: 2;
}
@media (max-width: 767px) {
  #tutor .section .list .card .card-link {
    padding-bottom: 20px;
  }
}
#tutor .section .list .card .card-link::before {
  display: none;
}
#tutor .section .list .card .card-img {
  width: calc(100% + 40px);
  margin: 0 -20px 20px;
}
#tutor .section .list .card .card-img img {
  width: 100%;
}
#tutor .section .list .card .card-title {
  padding: 0 10px;
  color: #181878;
}
#tutor .section .list .card .card-name {
  margin: 0;
  padding: 0 10px;
}
#tutor .section .list .card .card-dept {
  margin: 0;
  padding: 0 10px;
}
@media (max-width: 767px) {
  #tutor .section .list .card .card-dept {
    font-size: 14px;
  }
}
#tutor .intro {
  padding-top: 60px;
}
@media (max-width: 767px) {
  #tutor .intro {
    padding-top: 40px;
  }
}
#tutor .intro .wrap {
  position: relative;
}
@media (max-width: 767px) {
  #tutor .intro .img {
    position: relative;
    z-index: 2;
  }
}
#tutor .intro .img img {
  width: 100%;
}
#tutor .intro .txt {
  position: absolute;
  top: 50%;
  left: 30px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media (max-width: 767px) {
  #tutor .intro .txt {
    position: relative;
    top: 0;
    left: 0;
    -webkit-transform: translateY(0);
            transform: translateY(0);
    padding: 0 15px 30px 15px;
  }
  #tutor .intro .txt::before {
    content: url(/rws/tutor/img/list_before.png);
    position: absolute;
    top: -40px;
    left: -50px;
    z-index: 1;
  }
  #tutor .intro .txt::after {
    content: url(/rws/tutor/img/list_after.png);
    position: absolute;
    bottom: 0;
    right: -30px;
    z-index: 1;
  }
}
#tutor .intro .txt h2 {
  font-size: 28px;
  color: #181878;
  line-height: 1.5;
}
@media (max-width: 767px) {
  #tutor .intro .txt h2 {
    position: relative;
    padding: 25px 0 10px;
    font-size: 20px;
    z-index: 2;
  }
}
#tutor .intro .txt .name {
  padding: 20px 0 0 0;
  font-size: 20px;
}
@media (max-width: 767px) {
  #tutor .intro .txt .name {
    position: relative;
    padding: 0;
    font-size: 18px;
    z-index: 2;
  }
}
#tutor .intro .txt .name span {
  display: inline-block;
  padding-left: 3px;
  font-size: 15px;
}
#tutor .intro .txt .dept {
  padding: 0;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  #tutor .intro .txt .dept {
    position: relative;
    z-index: 2;
  }
}
#tutor .interview {
  margin-top: -20px;
  padding-top: 20px;
}
#tutor .interview:first-of-type {
  padding-top: 0;
}
@media (max-width: 767px) {
  #tutor .interview:first-of-type {
    margin-top: -40px;
  }
}
#tutor .interview .txt {
  position: relative;
  width: 500px;
  z-index: 2;
}
@media (max-width: 767px) {
  #tutor .interview .txt {
    width: 100%;
  }
}
#tutor .interview .txt h3 {
  position: relative;
  padding: 20px 0 15px 35px;
  font-size: 20px;
  line-height: 1.6;
  color: #181878;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  letter-spacing: 1px;
}
@media (max-width: 767px) {
  #tutor .interview .txt h3 {
    padding: 15px 0 10px 35px;
    font-size: 18px;
    line-height: 1.5;
  }
}
#tutor .interview .txt h3::before {
  content: url(/rws/common/img/h2_bg.png);
  position: absolute;
  top: 18px;
  left: -5px;
  -webkit-transform: scale(0.7);
          transform: scale(0.7);
}
@media (max-width: 767px) {
  #tutor .interview .txt h3::before {
    top: 10px;
  }
}
#tutor .interview .txt #s01 h3, #tutor .interview .txt #s03 h3, #tutor .interview .txt #s05 h3, #tutor .interview .txt #s07 h3, #tutor .interview .txt #s09 h3, #tutor .interview .txt #s11 h3, #tutor .interview .txt #s13 h3, #tutor .interview .txt #s15 h3 {
  color: #BD474C;
}
#tutor .interview .txt #s01 h3::before, #tutor .interview .txt #s03 h3::before, #tutor .interview .txt #s05 h3::before, #tutor .interview .txt #s07 h3::before, #tutor .interview .txt #s09 h3::before, #tutor .interview .txt #s11 h3::before, #tutor .interview .txt #s13 h3::before, #tutor .interview .txt #s15 h3::before {
  content: url(/rws/common/img/h2_bg02.png);
}
#tutor .interview .txt p {
  text-indent: 1em;
  line-height: 1.8;
}
#tutor .interview .img {
  position: relative;
  width: 450px;
  z-index: 1;
}
@media (max-width: 767px) {
  #tutor .interview .img {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 20px;
  }
}
#tutor .interview .img::before {
  content: "";
  position: absolute;
  top: -80px;
  right: calc((-100vw + 1040px) / 2);
  width: 50vw;
  background: -webkit-gradient(linear, left top, right top, from(#fff), color-stop(60%, #ECEEF5));
  background: linear-gradient(90deg, #fff, #ECEEF5 60%);
  height: calc(100% + 160px);
  background-color: #ECEEF5;
  z-index: 1;
}
@media (max-width: 767px) {
  #tutor .interview .img::before {
    top: 35px;
    right: -15px;
    width: 100vw;
    height: calc(100% - 80px);
  }
}
#tutor .interview .img img {
  position: relative;
  width: 100%;
  z-index: 2;
}
#tutor .interview.flex-row-reverse .img::before {
  right: auto;
  left: calc((-100vw + 1040px) / 2);
  background: -webkit-gradient(linear, left top, right top, color-stop(60%, #ECEEF5), to(#fff));
  background: linear-gradient(90deg, #ECEEF5 60%, #fff);
}
@media (max-width: 767px) {
  #tutor .interview.flex-row-reverse .img::before {
    left: -15px;
    width: 100vw;
    background: none;
    background-color: #ECEEF5;
  }
}
#tutor .message {
  position: relative;
  margin: 80px 0 30px;
  padding: 50px 50px 25px;
  border: 2px solid #181878;
  border-radius: 5px;
}
@media (max-width: 767px) {
  #tutor .message {
    margin: 40px 0 0;
    padding: 40px 20px 10px;
  }
}
#tutor .message::before {
  content: url(/rws/tutor/img/message.png);
  position: absolute;
  top: -40px;
  left: -10px;
  z-index: 1;
}
@media (max-width: 767px) {
  #tutor .message::before {
    -webkit-transform-origin: top left;
            transform-origin: top left;
    -webkit-transform: scale(60%);
            transform: scale(60%);
    top: -20px;
  }
}
#tutor .message > * {
  position: relative;
  z-index: 2;
}
#tutor .message h3 {
  margin-bottom: 20px;
  font-family: Zen Old Mincho, serif;
  color: #181878;
  text-align: center;
}
@media (max-width: 767px) {
  #tutor .message h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.4;
  }
}
#tutor .link-btn {
  padding-top: 60px;
  text-align: center;
}

#events .head {
  background-image: url(/rws/events/img/head_bg.jpg);
}

#news .head {
  background-image: url(/rws/news/img/head_bg.jpg);
}

#article .section h1 {
  font-size: 38px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  #article .section h1 {
    font-size: 25px;
    -webkit-font-feature-settings: "palt";
            font-feature-settings: "palt";
  }
}
#article .section h2 {
  margin-top: 40px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  #article .section h2 {
    margin-top: 30px;
  }
}
#article .section h3 {
  margin-bottom: 30px;
  font-size: 24px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  #article .section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    -webkit-font-feature-settings: "palt";
            font-feature-settings: "palt";
  }
}
#article .section p {
  margin-bottom: 30px;
}
@media (max-width: 767px) {
  #article .section p {
    margin-bottom: 20px;
  }
}
#article .section .link-box:last-of-type {
  margin-top: 70px;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  #article .section .link-box:last-of-type {
    margin-top: 50px;
  }
}/*# sourceMappingURL=page.css.map */

/* --- RWS consult: Accordion visual improvements --- */
#consult .accordion-header {
  background: #fffdfa;
  border: 2px solid #800000;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 12px;
  box-shadow: 0 2px 0 rgba(0,0,0,.04);
  transition: background .2s ease, box-shadow .2s ease, transform .02s ease;
}

#consult .accordion-header:hover {
  background: #fff3e0;
  box-shadow: 0 3px 0 rgba(0,0,0,.06);
}

#consult .accordion-header:focus-visible {
  outline: 3px solid rgba(128,0,0,.35);
  outline-offset: 3px;
}

#consult .accordion-header:active {
  transform: translateY(1px);
}

#consult .accordion-section.active > .accordion-header {
  background: #800000;
  color: #fff !important; /* common.css の文字色を確実に上書き */
  box-shadow: 0 3px 0 rgba(0,0,0,.08);
}

/* 見出し内のすべての子要素も白に（継承上書き対策） */
#consult .accordion-section.active > .accordion-header * {
  color: #fff !important;
}

#consult .accordion-body {
  border: 2px solid #800000;
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #fff;
}

@media (max-width: 767px) {
  #consult .accordion-header { padding: 16px 18px; }
}

