@charset "utf-8";
/* CSS Document */

/* body ----------------------------------------------------------- */

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  font-size: 1.6rem;
  font-family: system-ui, sans-serif;
  line-height: 2;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
}

html{ scroll-behavior: smooth;}

p, h1, h2, h3, h4, h5, h6 { margin-top: 0;}

img { vertical-align: middle;}

a {
  text-decoration: underline;
  color: #3987c8;
}

a:hover { color: #e60012;}

a img:hover {
  -webkit-filter: drop-shadow(0 0 5px #fff);
  filter: drop-shadow(0 0 5px #fff) contrast(120%);
}

.bold { font-weight:bold;}
.center{ text-align: center;}
.right{ text-align: right;}
.under{ text-decoration: underline;}
.red{ color: #DC0509;}

.pc { display: initial;}
.sp { display: none;}

/* body end ----------------------------------------------------------- */

/* header ----------------------------------------------------------- */

.wrapper{
  min-height: 100vh;
  position: relative;/*←相対位置*/
  padding-bottom: 70px;/*←footerの高さ*/
  box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
  overflow: hidden;
}

header { margin: 20px auto 0;}

h1 {
  font-size: 3.6rem;
  line-height: 1.2;
  text-align: center;
}

h1 span{ font-size: 2.5rem;}

.logo { text-align: center;}

.logo img{
  max-width: 1000px;
  width: 100%;
}

.home-image {
  text-align: center;
  position: relative;
	max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.home-image img{
	max-width: 1000px;
  width: 100%;
}

/*header end ----------------------------------------------------------- */

/* base ----------------------------------------------------------- */

#wrap {
  padding: 0;
  margin: 0;
}

.content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/* base end ----------------------------------------------------------- */

/* main ----------------------------------------------------------- */

.main {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.zero{ margin: 20px auto;}
section{ padding: 0 20px;}

/* main ----------------------------------------------------------- */

/* subtitle ----------------------------------------------------------- */

section h2 {
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding: 0 20px;
  position: relative;
  text-align: center;
  color: #333;
}

section h3 {
  font-size: 2.0rem;
  letter-spacing: 1px;
  padding-left: 12px;
  margin: 10px 0;
  border-bottom: 1px solid #999;
}

section h4 {
	letter-spacing: 1px;
	padding-left: 12px;
	margin-bottom: 3px;
}

section p { padding: 0 20px;}

/* subtitle end ----------------------------------------------------------- */

/* box ----------------------------------------------------------- */

.note{
  max-width: 700px;
  width: 100%;
  border: 4px solid #e9546b;
  margin: 10px auto;
  padding: 10px 20px;
}

.note p{ padding: 0 40px;}

/* box end ----------------------------------------------------------- */

/* icon ----------------------------------------------------------- */

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  vertical-align: middle;
}

/* アイコン装飾用css */
.icon{
  margin: 0 5px;
  padding: 0 0 3px;
  text-decoration: none;
  text-shadow: none;
  text-indent: 0;
}

.icon.i-c{
  padding: 5px;
  border-radius: 50%;
  background: #4b2d16;
  color: #fffbd9;
}

a .icon.i-c:hover{
  background: #e9546b;
  color: #fdeef0;
}

/* アイコン横並び */

.icon-box{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0 auto 20px;
  padding: 0 30px;
}

/* 特定の拡張子の場合自動で表示 */
.btn-box a[href$=".docx"]::after,
.btn-box a[href$=".doc"]::after {
  padding-left: 10px;
  display: inline-block;
  content: url("img/icon/word_icon.png");
  vertical-align: middle;
}

.btn-box a[href$=".pdf"]::after {
  padding-left: 10px;
  display: inline-block;
  content: url("img/icon/pdf_icon.png");
  vertical-align: middle;
}

.btn-box a[href$=".xlsx"]::after {
  padding-left: 10px;
  display: inline-block;
  content: url("img/icon/excel_icon.png");
  vertical-align: middle;
}

.btn-box a[href$=".pptx"]::after,
.btn-box a[href$=".ppt"]::after {
  padding-left: 10px;
  display: inline-block;
  content: url("img/icon/pptx_icon.png");
  vertical-align: middle;
}

.btn-box a.noicon::after{ content: "";}

/* icon end ----------------------------------------------------------- */

/* button ----------------------------------------------------------- */

/*ボタン設定--まずはお決まりのボックスサイズ算出をborer-boxに */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;/*rem算出をしやすくするために*/
}

.btn,a.btn {
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  justify-content: space-around;
  border-radius: 0;
  border: 4px double #fff;
  outline: 1px solid #fff;
  color: #fff;
}

.btn:hover,a.btn:hover{ filter: brightness(120%);}

.btn-box,.poster-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 20px auto;
}

.btn-box .btn-w{ width: 260px;}
.btn-box a{ margin-bottom: 10px;}

.btn-box img{
  max-width: 250px;
  width: 100%;
  margin-bottom: 10px;
}

.poster-box img{
  max-width: 700px;
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #fff;
}

/* button個別 */

.btn-1,a.btn-1 { background: #e60012;}
.btn-2,a.btn-2 { background: #e9546b;}
.btn-3,a.btn-3 { background: #4b2d16;}

/* button end ----------------------------------------------------------- */

/* arrow ----------------------------------------------------------- */

/*リンクを右下に固定*/
#arrow {
  position: fixed;
  bottom: 8%;
  right: 1%;
  z-index: 2;
   /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

#arrow a {
  /*天地中央にテキストを配置*/
  display: flex;
  align-items: center;
  justify-content: center;
  /*円の形状（spは45px）*/
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  padding: 0 20px;
  line-height: 80px;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border-radius: 50%;
  outline: 1px solid #fff;
  background: #4b2d16;
  color: #fff;
}

#arrow a:hover {
  outline: 1px solid #e9546b;
  background: #fdeef0;
  color: #e9546b;
}

/*　上に上がる動き　*/

#arrow.upmove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#arrow.downmove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 1;
  transform: translateY(100px);
  }
}

/* arrow end ----------------------------------------------------------- */

/* footer ----------------------------------------------------------- */

footer {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  position: absolute;
  bottom: 0;
}

footer small { font-size: 15px;}

/* footer end ----------------------------------------------------------- */

/* android・iPhone ----------------------------------------------------------- */

@media screen and (max-width: 768px) {

  /* header */
  h1 { font-size: 2.5rem;}
  h1 span{ font-size: 1.8rem;}

  /* button */
  .btn,a.btn { font-size: 1.6rem;}

  /* arrow */
  #arrow a {
    width: 50px;
    height: 50px;
  }
}
/* android・iPhone end ----------------------------------------------------------- */
