#wrap {
  padding: 0;
}

main {
  background-color: #084BA5;
}

section {
  margin: 5% 0;
}

h2,
.large {
  font-size: 2.5rem;
  font-weight: 900;
}

a {
  text-decoration: none;
  color: black;
}

p,
ul,
li,
a {
  font-size: 1.8rem;
  font-weight: 900;
}

.blue {
  color: #084BA5;
}

.yellow {
  color: #ffb426;
}

.red {
  color: #ff0000;
}

.green {
  color: #03A600;
}

.marker {
  background: linear-gradient(transparent 70%, #ffb426 70%);
}

.intern_mv {
  width: 100%;
  position: relative;
  background-image: url(./img/sun.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 5%;
  margin-top: 3.2em;
  overflow: hidden;
}

.intern_mv h1 {
  display: block;
  position: relative;
  top: 10%;
  padding: 4vh 1vw;
  font-size: 6.4vh;
  font-weight: 500;
  font-family: serif;
  color: #ffffff;
  text-shadow: 3px 1px 12px #000;
  writing-mode: vertical-rl;
}

.intern_mv_sakura {
  width: 100%;
  position: absolute;
}

.sec p{
  margin: 0 0 25px;
	line-height: 1.9;
}

.sec1 {
  padding-top: 1px;
}

.sec1 {
  background-color: #4991AA;
  font-weight: 900;
  letter-spacing: 2;
  padding: 0.1px;
}

.sec1 div {
  width: 90%;
  background-color: #fff;
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.4);
  margin: 5% auto;
  padding: 2%;
}

.sec1 h2 {
  text-align: center;
}

.contents {
  text-align: center;
}

.contents_tit { 
	font-size: 2em;
}

.contents h1 {
  font-size: 3.5rem;
  font-weight: 900;
  text-align: center;
}

.contents > ul {
  display: table;
  margin: auto;
}

.contents li {
  font-size: 1.8rem;
  font-weight: 900;
  text-align: left;
}

.contents li > ul {
  padding-left: 1.4em;
}

.contents > ul > li {
	margin-bottom: 0.25em;
}

.tri {
	margin-left: 0.5em;
	padding-bottom: 1px;
	font-size: 0.8rem;
	vertical-align: text-bottom;
	display: inline-block;
}

.contents li > ul li .tri {
	padding-bottom: 3px;
}

.line a {
  position: relative;
}

.line a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #084BA5;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}
  
.line:hover a::after {
  transform: scale(1, 1);
}

.sec2,
.sec3 {
  display: flex;
}

.philo {
	background-color: rgb(180 209 245 / 74%);
	display: block;
	padding: 1px 5px;
}

.sec2 div,
.sec3 div {
  width: 50%;
  min-height: 35vh;
  padding: 0.1px;
}

.sec2 .txt,
.sec3 .txt {
  background-color: #ffffff;
  padding: 5%;
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.4);

}

.sec2 h2,
.sec3 h2 {
  margin: 0 auto;
  text-align: center;
}

.philosophy {
  background-image: url(./img/philosophy.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 560px;
  height: 405px;
  margin: 10px auto 25px;
}

.success {
  background-image: url(./img/success.png);
  background-size: cover;
  width: 560px;
  height: 405px;
  margin: 10px auto 25px;
}

.sky {
  background-image: url(./img/first_sky.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100%;
  background-position: bottom;
  width: 560px;
  height: 405px;
  margin: 10px auto 25px;
}

.sec,.contents {
  background-color: #ffffff;
  max-width: 930px;
  padding: 1%;
  margin: 5% auto;
}

.sec > h2 {
  text-align: center;
  margin-bottom: 3%;
}

.day {
	background-color: #fff;
	max-width: 930px;
	position: relative;
	margin: 10px auto 25px;
  padding: 10px;
}

.day div {
  width: 100%;
  z-index: 1;
}

.day h2 {
  display: block;
  text-align: center;
  width: 100%;
  margin-bottom: 1em;
}

.day .txt p {
  margin-bottom: 40px;
}

.txt:last-of-type p:last-of-type {
	margin-bottom: 0;
}

.frame .txt {
	margin-left: 1.9em;
	width: 85%;
}

.margin_bottom {
  margin-bottom: calc(6% + 2rem);
}

.day img {
  z-index: 0;
  filter: opacity(15%);
  max-width: 100%;
  position: absolute;
}

.day > .txt:nth-child(2n) {
  text-align: right;
}

.day.responsible > .txt:nth-child(2n) {
  text-align: left;
}

.suits {
  top: 2%;
  left: 20%;
  width: 70%;

}

.waiting {
  top: 41%;
  left: 4%;
  width: 70%;
}

.train {
  top: 25.5%;
  left: 44%;
  width: 54%;
}

.start {
  top: 56%;
  left: 5%;
  width: 73%;
}

.thinker {
  top: 69.2%;
  left: 43%;
  width: 52%;
}


.food {
  top: 80%;
  left: 12%;
  width: 71%;
}

.idea {
  bottom: 1%;
  left: 4%;
  width: 91%;
}

.sleepy {
  top: 17%;
  left: 34%;
  width: 63%;
}

.Idea {
  top: 49%;
  left: 51%;
  width: 44%;
}

.corn {
  bottom: 4%;
  left: 21%;
  width: 72%;
}

.panic {
  top: 8%;
  right: 6%;
  width: 70%;
}

.desert {
  top: 38%;
  left: 3%;
  width: 70%;
}


.last_sky {
  bottom: 8%;
  left: 43%;
  width: 53%;
}

.wakeup {
  top: 6%;
  left: 4%;
  width: 84%;
}

.step {
  top: 68%;
  left: 3%;
  width: 61%;
}

.responsible_tit_2 {
	margin-left: 4.5em;
	margin-top: 1em;
	margin-bottom: 0.85em;
	font-size: 0.9em;
	font-weight: 800;
	padding-left: 5px;
	border-left: 5px #084ba58c solid;
}

.responsible_tit_3 {
  font-size: 1.35em;
  border-bottom: 3px solid #bcc2f1;
  display: inline-block;
  text-align: center;
  padding: 0 1em;
  text-align: center;
  font-weight: 500;
  font-size: 0.95em;
  margin-top: 1em;
  margin-bottom:1em;
}

.day p.responsible_tit_4 {
	text-align: center;
	margin-bottom: 10px;
}

dl.tbox1 {
  padding: 10px;
  margin-bottom: 15px;
}

dl.tbox1 dt {
  font-size: 0.9em;
  font-weight: 600;
}

dl.tbox1 dd {
  font-size: 0.85em;
  font-weight: 500;
  text-indent: -1em;
  padding-left: 1em;
}

span.li_tit {
  font-size: 1.15em;
}

section.white {
  background: #fff;
  margin-top: 5em;
  padding-top: 1em;
	padding-bottom: 8em;
}

section.day.responsible::before {
	content: "";
	background-image: url(/d_i/diary/1/img/frame_top.png);
	background-size: contain;
	width: 100%;
	display: block;
	height: 12vw;
	margin-bottom: -20px;
}

section.day.responsible .frame {
	background-image: url(/d_i/diary/1/img/frame.png);
  background-size: contain;
}

section.day.responsible::after {
  content: "";
  background-image: url(/d_i/diary/1/img/frame_bottom.png);
  background-size: contain;
  width: 100%;
	height: 12.2vw;
  display: block;
	margin-top: -15px;
}

section.day.responsible {
	padding: 1px 0;
}

.tit_ep {
  margin: auto;
	text-align: center;
}

h2.responsible_tit {
	position: relative;
	display: inline-block;
	padding: 0 69px;
	width: fit-content;

  &::before,
  &::after{
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 45px;
    height: 1px;
    background-color: black;
  }

  &::before{
    left:0;
  }

  &::after{
    right: 0;
  }
}

h2.responsible_tit.blue.none_border {
	padding: 0;
}

h2.responsible_tit.blue.none_border::before,
h2.responsible_tit.blue.none_border::after {
	content: none;
}

.st_block {
	display: block;
	background: #5e96e1ba;
	width: fit-content;
	margin: 0 auto 40px;
	padding: 0.5em 1em;
	font-weight: 500;
	color: #fff;

  & span {
    font-weight: 400;
  }
}

.day div.frame_1 {
	border: solid 3px #154799;
	padding: 1%;
	width: 98%;

  .frame_1_in{
		border: solid 1px #154799;
		padding: 1%;
		width: 97.8%;
		display: block;
  }
}

@media (max-width: 767px) {
  .responsible_tit_2 {
		margin-left: 2.1em;
  }

  .day div.frame_1 .frame_1_in{
    .responsible_tit_2{
      margin-left: 0;
      margin-top: 0;
    }

    p{
      margin-bottom:10px;
    }
  }

  h2,.large {
		font-size: 1.1em;
  }

  p,ul,li,a {
    font-size: 1.3rem;
  }

  .intern_mv {
    height: 56vh;
  }

  .intern_mv h1 {
    font-size: 2rem;
  }

  .sec,.day {
    display: block;
		margin: 10px 10px 25px;
		padding: 10px;
  }

  .sec p{
		margin: 10px 0;
		line-height: 2.3;
  }

  .sec2 .txt,
  .sec3 .txt {
    margin: auto;
    padding: 0;
  }

  .contents {
		text-align: center;
		padding: 5px 5px 20px;
		margin: 10px 10px 25px;
		margin-bottom: 30px;
  }

  .contents li ul {
    line-height: 1.5;
  }

  .philosophy {
    background-size: cover;
    background-position: 35%;
    background-repeat: no-repeat;
    width: 100%;
		height: 235px;
		margin-bottom: 1em;
  }

  .sky,.success {
    width: 100%;
		height: 235px;
  }

  .none {
    display: none;
  }

  .day .txt,
  .day .txt:nth-child(2n) {
    text-align: left;
		line-height: 2.3;
  }

  .frame .day .txt{
		margin-left: 4.5em;
  }

  .waiting {
    top: 42%;
    left: 4%;
    width: 70%;
  }

  .food {
    top: 81%;
    left: 12%;
    width: 71%;
  }

  .responsible_top{
    margin-top:5em;
  }

  .brs{
    display: block;
  }

  h2.responsible_tit{
    position: relative;
    display: inline-block;
    padding: 0 45px 0 45px;
    margin-right: 0.7em;
    width: fit-content;

    &::before, &::after {
      width: 34px;
    }
  }
}

@media (min-width: 768px) {
  .responsible_tit_2 {
		margin-left: 2.1em;
  }
  
  .frame_1 .responsible_tit_2 {
		margin-left: 0;
  }

  #wrap{
    max-width: unset;
  }

  section.intern_mv {
    max-width: 1200px;
    margin: 25px auto;
  }

  section.day.responsible::before {
    height: 90px;
  }

  section.day.responsible::after {
		height: 120px;
  }

  .responsible_tit_2 {
    font-size: 1.2em;
  }

  .responsible_tit_3 {
    font-size: 1.35em;
  }

  .frame .txt {
		margin-left: 6em;
		width: 81%;
  }

  .responsible_top{
    margin-top:10em;
  }

  .res_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

    p.responsible_tit_4{
      flex-basis: 100%;
      margin-bottom: 10px;
    }

    dl.tbox1 {
      flex-basis: 45%;
      font-size: 1.05em;
    }
  }

  section.day.responsible .frame {
    min-height: 300px;
  }

  .brs{
    display:none;
  }
}