@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2? family= Yuji+Mai & display=swap');

@font-face {
  /* ① ここにfont-familyで指定したい名前を書く*/
  font-family: "myfont";

  /* フォントが置かれているパスを書く */
  src: url("font/YujiMai-Regular.ttf") format("truetype") }
}

/* ①で作成した名前を使うと、普通にfont-familyを使う感じで、アップロードしたフォントを利用できる */
h1{
  font-family: "myfont";
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.sec {
  margin: 0 auto 50px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 50px;
  font-weight: 500;
}

.sec.last_sec {
  border-bottom: none;
  margin: 0 auto;
}

.sec li {
  list-style: decimal;
  margin-left: 30px;
}



/* table_of_contents ================================== */
#table_of_contents {
  margin: 0 auto 70px;
  border: 1px solid #90058d;
  border-left: 30px solid #90058d;
  padding: 15px 10px;
  width: 560px;
  box-sizing: border-box;
}

#table_of_contents ul li ul li {
  list-style: disc;
  margin-left: 50px;
  margin-bottom: 0;
}

#table_of_contents .list_ttl {
  border-bottom: 1px solid #90058d;
}

#table_of_contents ul li a {
  color: #90058d;
}

#table_of_contents .material-icons {
  color: #90058d;
}



/* primary ================================== */
#primary {
  margin: 0 auto;
}

.primary_bg {
  margin: 0 auto;
}

.sp_primary_bg {
  display: none;
}

/* viscera ================================== */
.title {
  font-size: 3rem;
  font-family: serif;
  font-weight: bold;
  margin-bottom: 30px;
  border-left: 10px solid #90058d;
  padding-left: 10px;
}

.title span {
  color: #90058d;
}

.viscera_box {
  margin: 0 auto;
  text-align: center;
}

.viscera_box .box_txt1{
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: left;
}

.viscera_box .box_txt2{
  margin-bottom: 50px;
  font-size: 2.4rem;
  font-weight: 500;
  text-align: center;
  background: #90058d;
  color: #fff;
  padding: 15px 20px;
  font-family: serif;
  line-height: 1.3;
  font-weight: bold;
}

.viscera_box .box_txt3{
  display: flex;
  align-content: center;
  align-items: flex-start;
  justify-content: center;
}

.box_txt3 p{
  width: 50%;
  margin-right: 50px;
  text-align: left;
  font-size: 1.8rem;
  font-weight: 500;
}

.box_txt3 img{
  width: calc((100% - 50%) - 50px);
  height: 100%;
}

.txt3_1 span {
  border: 2px solid #f50112;
  padding: 20px;
  display: block;
  font-weight: bold;
}

.txt3_1 .r {
  color: #f50112;
  border: none;
  padding: 0;
  display: inline;
}

/* role--------------------------------------- */
.role_txt {
  margin-bottom: 50px;
  font-size: 1.8rem;
}

.role_subttl {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  line-height: 45px;
  color: #fff;
}

.kan {
  background: #26b597;
}

.shin {
  background: #e9536c;
}

.hi {
  background: #f7ac1d;
}

.hai {
  background: #a4c3c6;
}

.jin {
  background: #72696c;
}

.role_box {
  padding: 10px;
  margin-bottom: 20px;
}

.role_box span{
  font-size: 1.6rem;
  font-weight: bold;
}

.role_box span.role_span{
  font-weight: bold;
  font-size: 1.8rem;
}


.role_box li {
  margin-bottom: 10px;
  list-style: decimal;
  padding-left: 20px;
  line-height: 1.4;
  font-size: 1.8rem;
}

.role_img {
  width: 80%;
  margin: 0 auto 50px;
  text-align: center;
}

/* summary--------------------------------------- */
.summary_txt {
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: 500;
}

.txt2 span {
  font-weight: bold;
}

.txt3 {
  margin-bottom: 80px;
}

.txt3 span {
  color: #f50112;
  font-weight: bold;
}

.txt4 {
  font-size: 2.5rem;
  font-family: serif;
  text-align: right;
  font-weight: bold;
  margin-bottom: 0;
}

.tsumugu_name {
  font-size: 3rem;
  font-family: "myfont";
  font-weight: bold;
}

.last_sec {
  border: none;
}


/* ---------------------------------------------------------
@media (max-width: 1200px)
----------------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    width: 94%;
  }

  .viscera_box .box_txt2{
    text-align: left;
  }
}

/* ---------------------------------------------------------
@media (max-width: 1024px)
----------------------------------------------------------- */
@media (max-width: 1024px) {
  .viscera_box .box_txt3 {
    flex-direction: column-reverse;
  }

  .box_txt3 p {
    width: 100%;
    margin-right: 0;
  }

  .box_txt3 img {
    margin: 0 auto 50px;
    width: 80%;
  }
}

/* ---------------------------------------------------------
@media (max-width: 768px)
----------------------------------------------------------- */
@media (max-width: 768px) {
  .primary_bg {
    display: none;
  }

  .sp_primary_bg {
    display: block;
  }

  .sec.sec_last {
    padding-bottom: 0;
  }
}

/* ---------------------------------------------------------
@media (max-width: 600px)
----------------------------------------------------------- */
@media (max-width: 600px) {
  #table_of_contents {
    margin: 0 auto 50px;
    padding: 15px 0 10px 10px;
    width: 100%;
  }

  #table_of_contents ul {
    width: 95%;
  }

  .title {
    font-size: 2.5rem;
  }

  .viscera_box .box_txt2 {
    margin-bottom: 30px;
    font-size: 2rem;
    line-height: 1.3;
  }

  .role_txt {
    margin-bottom: 30px;
  }

  .role_subttl {
    font-size: 2.5rem;
  }

  .role_img {
    width: 100%;
  }

  .txt4 {
    font-size: 2rem;
  }

  .tsumugu_name {
    font-size: 2.5rem;
  }

  #button {
    width: 92%;
    margin: 0 auto;
  }
}

/* ---------------------------------------------------------
@media (max-width: 428px)
----------------------------------------------------------- */
@media (max-width: 428px) {
  #table_of_contents {
    border-left: 10px solid #90058d;
  }

  .sec {
    margin: 0 auto 30px;
    padding-bottom: 50px;
  }

  .title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .sub {
    font-size: 2rem;
  }

  .viscera_box .box_txt2 {
    padding: 10px;
    line-height: 1.5;
  }

  .txt3_1 span {
    padding: 10px;
  }

  .box_txt3 img {
    width: 100%;
  }

  .role_box li {
    padding-left: 0;
  }

  .role_img {
    margin: 0 auto 30px;
  }

  .role_subttl {
    font-size: 2.8rem;
  }

  .txt4 {
    font-size: 1.4rem;
  }

  .tsumugu_name {
    font-size: 2rem;
  }

  .txt3 {
    margin-bottom: 70px;
  }
}
