@charset "utf-8";

/* 更新した場合は top.css second.css の@import urlにある?以降の数値を更新する（バージョン管理） */

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

* {
	margin: 0;
	padding: 0;
}

@media screen and (min-width: 801px) , print{
 html {
	color: #333;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic",Arial, Helvetica, sans-serif;
	/* font-size: 0.75em; */
	font-size: 0.8em;
	line-height: 1.65em;
 }
}
@media screen and (max-width: 800px) {
 html {
	color: #333;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic",Arial, Helvetica, sans-serif;
	font-size: 1.3em;
	line-height: 1.5em;
 }
}

img {
	border: none;
	vertical-align: bottom;
}

br {
	letter-spacing: 0;
}

em {
	font-style: normal;
	font-weight: bolder;
}

a:link {
	color: #0066D2;
	text-decoration: none;
	outline: none;
}

a:hover {
	/*color: #1E1E4B !important;*/
	text-decoration: underline;
}

a:visited {
	color: #0066D2;
	text-decoration: none;
}

.clearfix:after {
  content: ".";  /* Vvf */
  display: block;  /* ubNxvf */
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*\*//*/
  height: auto;
  overflow: hidden;
  /**/
}

h2.news2 {
	background-image: url(../images/common/bg_a_h2.gif?20240225);
	background-repeat: no-repeat;
	background-position: left bottom;
	border-bottom: 2px solid #b2b6b9;
	font-size: 130%;
	padding-left: 15px;
	padding-bottom: 6px;
	margin-bottom: 10px;
	padding-top: 10px;
	clear: both;
}

h3.news2 {
	background-image: url(../images/common/bg_a_h4.gif);
	background-repeat: no-repeat;
	background-position: left 2px;
	border-bottom: 2px solid #E8EEF2;
	padding-left: 10px;
	font-size: 120%;
	padding-bottom: 5px;
	line-height: 16px;
	margin-bottom: 10px;
	margin-top: 10px;
	clear: both;
}

/* コマバのユータス人形の手引きについて */

#utas_make2 {
	background-image: url(https://www.c.u-tokyo.ac.jp/info/utas/utas_2024.jpg);
	background-repeat: no-repeat;
	float: right;
	height: 131px;
	width: 165px;
	display: inline;
	padding-top: 50px;
	padding-left: 20px;
	padding-right: 215px;
	clear: none;
}


/* ハンバーガーボタンのスタイリング */

#menu-btn-check {
    display: none;
}

@media screen and (min-width: 801px), print {
.menu-btn {
  display: none;
}
.hamnav {
  display: none;
}
}

@media screen and (max-width: 800px) {
.menu-btn {
    position: fixed;
    top: 25px;
    right: 20px;
    display: flex;
    height: 70px;
    width: 70px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #003366;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

.hamnav {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #003366;
    transition: all 0.5s;/*アニメーション設定*/
    overflow-y: scroll;
    padding: 20px 0 20px 0;
}

.hamnav ul {
    padding: 0px 120px 0 20px;
}
.hamnav ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.hamnav ul li a {
    display: block;
    width: 100%;
    font-size: 22px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 10px 15px 10px 0;
    position: relative;
}
.hamnav ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

.hamnav ul li ul {
    padding: 0px 20px 0 20px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
.hamnav ul li ul li {
    border-bottom: solid 0px #ffffff;
    list-style: none;
}
.hamnav ul li ul li a {
    display: block;
    width: 100%;
    font-size: 20px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 8px 30px 30px 0;
    position: relative;
}


#menu-btn-check:checked ~ .hamnav {
    left: 0;/*メニューを画面内へ*/
}

}
/* ハンバーガーボタンのスタイリングおわり */


/* 吹き出し */

.arrow_box_a{
    position:relative;
    background:#FFF8C5;
    padding:10px;
    color:#191919;
    border-radius:21px;
    -webkit-border-radius:21px;
    -moz-border-radius:21px;
}
.arrow_box_a:after,.arrow_box:before{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    right:100%;
    top:42%;
}
.arrow_box_a:after{
    border-color: rgba(255, 248, 197, 0);
    border-top-width:11px;
    border-bottom-width:11px;
    border-left-width:48px;
    border-right-width:48px;
    margin-top: -11px;
    border-right-color:#FFF8C5;
}
.arrow_box_a:before{
    border-color: rgba(255, 233, 12, 0);
    border-top-width:13px;
    border-bottom-width:13px;
    border-left-width:56px;
    border-right-width:56px;
    margin-top: -13px;
    margin-right: 2px;
}

.arrow_box_b{
    position:relative;
    background:#FFF8C5;
    padding:10px;
    color:#191919;
    border-radius:21px;
    -webkit-border-radius:21px;
    -moz-border-radius:21px;
}
.arrow_box_b:after,.arrow_box:before{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    left:100%;
    top:42%;
}
.arrow_box_b:after{
    border-color: rgba(255, 248, 197, 0);
    border-top-width:11px;
    border-bottom-width:11px;
    border-left-width:48px;
    border-right-width:48px;
    margin-top: -11px;
    border-left-color:#FFF8C5;
}
.arrow_box_b:before{
    border-color: rgba(255, 233, 12, 0);
    border-top-width:13px;
    border-bottom-width:13px;
    border-left-width:56px;
    border-right-width:56px;
    margin-top: -13px;
    margin-left: 2px;
}
