﻿@charset "utf-8";
/*---------------------------------------
1. 基本設定
---------------------------------------*/

/*
リセットcss↓↓↓↓
*/
* {
  box-sizing: border-box;
}

html {
  font-style: normal;
  font-weight: normal;
  line-height: 1.8em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 1rem;
}

body.no-scroll {
  overflow: hidden;
  touch-action: none;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
label,
fieldset,
legend,
input,
textarea,
p,
blockquote,
table,
caption,
tr,
th,
td,
span,
object,
iframe,
a,
address,
em,
strong,
img {
  margin: 0;
  padding: 0;
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  width: 100%;
  height: auto;
  border: 0;
  display: block;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  user-select: none;
}

ul,
ol,
li {
  list-style: none;
}

object,
embed {
  vertical-align: top;
}

label {
  cursor: pointer;
}

legend {
  padding: 0;
}

button,
input,
select,
textarea {
  font-size: 1rem;
  margin: 0;
  vertical-align: baseline;
  border: 1px solid #aaa;
}

td,
textarea {
  vertical-align: top;
}

button,
input {
  line-height: normal;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  resize: vertical;
}


/*↓HTML5新要素をブロック化する↓*/
header,
section,
footer,
aside,
nav,
article,
hgroup,
figcaption,
figure,
canvas,
audio,
video,
main,
picture {
  margin: 0;
  padding: 0;
  display: block;
}

/*↓float解除用「clearfix」↓*/
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;
  /*for IE 5.5-7*/
}

/*
リセットcss↑↑↑↑↑↑↑↑
*/


/*↓リンクに対する共通設定↓*/
a {
  /*
  text-decoration: none;*/
  color: red;
  /*background-color:#aaa;*/
}

a:hover {
  opacity: 0.6;
}

a:hover img {
  /*opacity: 0.6;
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;*/
}

a:focus {
  outline: none;
}

a:visited {
  /*color:#FFB900;*/
}

.border1sC {
  border: 1px solid #ccc;
}

.borderBox {
  box-sizing: border-box;
}

/*↓共通クラス名↓*/
.fL {
  float: left;
}

.fR {
  float: right;
}

.wrapper {
  width: 90%;
  margin: 0 auto;
}

.textAC {
  text-align: center;
}

.lineH1 {
  line-height: 1em;
}

.lineH12 {
  line-height: 1.2em;
}

.lineH2 {
  line-height: 2em;
}

.lineH25 {
  line-height: 2.5em;
}

.lineH3 {
  line-height: 3em;
}

.mB20 {
  margin-bottom: 20px;
}

.mB30 {
  margin-bottom: 30px;
}

.mB40 {
  margin-bottom: 40px;
}

.mB50 {
  margin-bottom: 50px;
}



.portrait,
.landscape {
  display: none;
}

@media (orientation: portrait) {
  .portrait {
    display: block;
  }
}

@media (orientation: landscape) {
  .landscape {
    display: block;
  }
}




/*================================================================================
==================================================================================
==================================================================================
Dmark HP用 カスタマイズ
==================================================================================
==================================================================================
==================================================================================*/


/* 基本レイアウト */
header {
  position: relative;
  background-color: #e50019;
}

header section {
  width: 90%;
  margin: 0 auto;
  padding: 20px 0;
}

@media (min-width: 1025px) {}

/*==================================================*/
/*=================  ロゴ部分  ====================*/
/*==================================================*/
header h1.logo-h1 {
  background-image: url("../images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 50vw;
  height: auto;
  aspect-ratio: 369 / 144;
  display: block;
  position: relative;
}

header h1.logo-h1 a.logo-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

header h1.logo-h1:hover {
  opacity: 0.5;
}

@media (min-width: 768px) {
  header h1.logo-h1 {
    width: 30vw;
    margin: 0 auto;
  }
}

@media (min-width: 1025px) {
  header h1.logo-h1 {
    width: 15vw;
  }
}


/* アクセシビリティ対応でテキストを非表示にする */
header h1 span.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/*---------------メニュートグル部分---------------
.menu-toggle {
  position: fixed;
  top: 7px;
  right: 7px;
  z-index: 1001;
  cursor: pointer;
  padding: 10px;
	border-radius:20px;
  background-color: rgba(255, 255, 255, 0.5);
}
.menu-toggle:hover {
  background-color: pink;
}
.menu-toggle img {
  width: 110px;
  height:auto;
}
*/
/* PCサイズでは60pxに切り替え 
@media (min-width: 769px) {
	.menu-toggle {
		top: 20px;
		right: 20px;
	}
  .menu-toggle img {
    width: 160px;
    height:auto;
  }
}
*/

/*==================================================*/
/*=================  メニュートグル部分  ====================*/
/*==================================================*/
.menu-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1001;
  cursor: pointer;
  /*border: 1px solid #ccc;*/
  /*このへん修正箇所*/
  /*border-radius: 10px;*/
  /*padding: 10px;
  background-color: rgba(255, 255, 255, 0.5);*/
  opacity: 1;
}

.menu-toggle:hover {
  /*background-color: #dcffd1;*/
  opacity: 0.5;
}

.menu-toggle img {
  width: 70px;
  height: 70px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .menu-toggle img {
    width: 100px;
    height: 100px;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    top: 20px;
    right: 20px;
  }
}

/* PCサイズでは60pxに切り替え */
@media (min-width: 1024px) {
  .menu-toggle {
    top: 30px;
    right: 50px;
  }
}

@media (min-width: 1367px) {
  .menu-toggle img {
    width: 120px;
    height: 120px;
  }
}

/*==================================================*/
/*=================  メニュー全体  ====================*/
/*==================================================*/
#menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#menu.active {
  transform: translateX(0);
}

#menu ul {
  list-style: none;
  padding: 60px 20px;
}

#menu li {
  /*margin: 20px 0;*/
}

#menu a {
  text-decoration: none;
  font-size: 1rem;
  color: #333;
  display: block;
  padding: 1em 0;
}

#menu a:hover {
  background-color: yellow;
  opacity: 1;
}

#menu a.current {
  color: red;
}

/*==================================================*/
/*=================  アニメーション部分  ====================*/
/*==================================================*/
/* movie-main 初期非表示 */
/*チラつき防止*/
/*#movie-main {
  visibility: hidden;
}*/
#movie-main.top-video {
  background: url('../media/top-fallback.jpg') center center / cover no-repeat;
  visibility: hidden; /* JSで表示制御 */
}
#movie-main.company-video {
  background: url('../media/company-fallback.jpg') center center / cover no-repeat;
  visibility: hidden; /* JSで表示制御 */
}
#movie-main.works-video {
  background: url('../media/work-fallback.jpg') center center / cover no-repeat;
  visibility: hidden; /* JSで表示制御 */
}


#movie-main {
  width: 100%;
}

#movie-main {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#movie-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*move*/
#video-move {
  width: 100%;
}

#video-move video {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: auto;
}

@media (min-width: 1280px) {
  #video-move video {
    width: 70%;
  }
}

/*==================================================*/
/*=================  お知らせ  ====================*/
/*==================================================*/
.news-text{
  /*padding: 20px 20px;*/
  margin: 20px;
  min-height: 150px;
  max-height: 300px;  /* 高さ上限 */
  overflow-y: auto;   /* 縦スクロール表示 */
  position: relative;
}
.news-text::after {
  content: "";
  position: sticky;
  bottom: 0;
  display: block;
  height: 40px;
  background: linear-gradient(to bottom, transparent, white);
}
.news-text p{
  padding:0;
  font-size: 1rem;
  line-height: 1.8em;
  border-bottom:1px dotted #ddd;
  margin-bottom:1em;
}
@media (min-width: 768px) {
  .news-text{
    /*padding: 20px 50px;*/
    margin: 20px 50px;
  }

}
@media (min-width: 1025px) {
  .news-text{
    /*padding: 20px 70px;*/
    margin: 20px 70px;
  }
}

/*==================================================*/
/*=================  メイン部分  ====================*/
/*==================================================*/
main {
  width: 100%;
}

main h2 {
  text-align: center;
  line-height: 1.2em;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
}

@media (min-width: 768px) {
  main h2 {
    /*font-size: 3rem;*/
  }
}

/*==================================================*/
/*=================  各h2タイトル部分  ====================*/
/*==================================================*/
h2.greenTitle {
  background-color: green;
  color: white;
  font-weight: 600;
}

h2.blueTitle {
  background-color: blue;
  color: white;
  font-weight: 600;
}

h2.yellowTitle {
  background-color: yellow;
  color: black;
  font-weight: 600;
}

h2.lightblueTitle {
  background-color: #5baece;
  color: white;
  font-weight: 600;
}

h2.whiteTitle {
  background-color: white;
  color: black;
  font-weight: 600;
}

h2.whiteGbTitle {
  background-color: white;
  color: black;
  font-weight: 600;
  background: #f1f1f1;
}

@media (min-width: 768px) {

  h2.greenTitle,
  h2.blueTitle,
  h2.yellowTitle,
  h2.lightblueTitle,
  h2.whiteTitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {

  h2.greenTitle,
  h2.blueTitle,
  h2.yellowTitle,
  h2.lightblueTitle,
  h2.whiteTitle {
    font-size: 1.8rem;
    /*padding:50px;*/
  }
}

@media (min-width: 1280px) {
  h2.noBottomTitle {
    padding-bottom: 0px;
  }
}

/*==================================================*/
/*=================  コンテナ部分  ====================*/
/*==================================================*/
/* コンテナ共通設定 */
.container {
  overflow: hidden;
  /* float解除用 */
}

.box_left,
.box_right {
  /*box-sizing: border-box;*/
  overflow: hidden;
  float: none;
  width: 100%;
  height: 50vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /*padding-top: 50px;*/
}

@media (min-width: 768px) {

  .box_left,
  .box_right {
    height: 45vh;
  }
}

@media (max-height: 500px) {

  .box_left,
  .box_right {
    height: 55vh;
  }
}

/* h2と画像の共通設定 */
.box_left h2,
.box_right h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.6em;
}

.box_left h2 span.descript,
.box_right h2 span.descript {
  font-size: 0.7rem;
}

/* h3と画像の共通設定 */
.box_left h3,
.box_right h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 400;
  font-style: normal;
  font-size: 17px;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  text-align: left;
  line-height: 1.6em;
}

.box_left img,
.box_right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 769px以上：横並び、左右にfloatさせて各50% */
@media (min-width: 768px) {
  .box_left {
    float: left;
    width: 50%;
    aspect-ratio: 16 / 9;
  }

  .box_right {
    float: right;
    width: 50%;
    aspect-ratio: 16 / 9;
  }

  .box_left h2,
  .box_right h2 {
    font-size: 1.2rem;
    padding: 50px;
    line-height: 1.8em;
  }

  .box_left h3,
  .box_right h3 {
    padding: 50px;
    line-height: 1.8em;
  }
}

@media (min-width: 1024px) {}

/*==================================================*/
/*=================  cont-box 部分 ====================*/
/*==================================================*/
/*dl-wrapperレイアウト部分*/
/*p-wrapperレイアウト部分*/
.cont-box {
  visibility: hidden;/*チラつき防止*/
}
.cont-box {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cont-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dl-wrapper,
.p-wrapper {
  max-width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  padding-top: 1em;
  padding-bottom: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dl-wrapper dt {
  color: gray;
}

.dl-wrapper dt::before {
  content: "［";
  margin-right: 4px;
  margin-left: -0.5em;
}

.dl-wrapper dt::after {
  content: "］";
  margin-left: 4px;
}

.dl-wrapper dd {
  margin-bottom: 1em;
}

/*p-wrapper*/
.p-wrapper {
  /*font-size:16px;*/
}

/* スマホ縦（例：768px以下）画像は正方形で */
.img-box {
  overflow: hidden;
}
.img-box img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 768px) {
  .img-box {
    aspect-ratio: 1 / 1;
  }
  .img-box img {
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 768px) {
  .cont-box {
    /*width: 50%;*/
    width: 45%;
    margin-left: 2.5%;
    margin-right: 2.5%;
    margin-bottom: 50px;
  }

  .cont-box.column-left {
    float: left;
  }

  .cont-box.column-right {
    float: right;
  }
  
  .dl-wrapper,
  .p-wrapper {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
}

/*==================================================*/
/*=================  テキストボックス部分  ====================*/
/*==================================================*/
/*テキストボックス中央配置文字・左揃え*/
.textCtr {
  width: fit-content;
  padding: 1em;
  margin: 30px auto;
}

.textCtr ul li {
  list-style-type: disc;
  margin-left: 1em;
}

.kakko::before {
  content: "［";
  margin-right: 4px;
  margin-left: -0.5em;
}

.kakko::after {
  content: "］";
  margin-left: 4px;
}

/*google maps*/
iframe.googlemaps {
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  height: 50vh;
  border: 0;
}

/*==================================================*/
/*=================  オンエア部分  ====================*/
/*==================================================*/
/*-----スライドショー部分------*/
.slider-wrapper {
  overflow: hidden;
  width: 100%;
  background-color: blue;
  padding-bottom: 50px;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scroll-left linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.slide {
  flex: 0 0 auto;
  margin-right: 10px;
}

/* レスポンシブ対応 
@media (max-width: 768px) {
  .slide {
    width: 100vw !important;
  }
}*/
@media (min-width: 500px) {
  .slide {
    width: 40vw;
  }
}

@media (min-width: 768px) {
  .slide {
    width: 30vw;
  }
}

@media (min-width: 1025px) {
  .slide {
    width: 25vw;
  }
}

@media (min-width: 1280px) {
  .slide {
    width: 20vw;
  }
}

@media (min-width: 1500px) {
  .slide {
    width: 16vw;
  }
}

/*
.slider-track .slide img {
  height: 25vh;
	width:auto;
}
@media (min-width: 500px) {
  .slider-track .slide img {
    height: 20vh;
  }
}
@media (min-width: 769px) {
  .slider-track .slide img {
    height: 20vh;
  }
}
*/

.slider-track .slide img {
  height: auto;
  width: 70vw;
}

@media (min-width: 500px) {
  .slider-track .slide img {
    width: 40vw;
  }
}

@media (min-width: 768px) {
  .slider-track .slide img {
    width: 30vw;
  }
}

@media (min-width: 1024px) {
  .slider-track .slide img {
    width: 25vw;
  }
}

@media (min-width: 1280px) {
  .slider-track .slide img {
    width: 20vw;
  }
}

@media (min-width: 1500px) {
  .slider-track .slide img {
    width: 16vw;
  }
}

/*==================================================*/
/*=================  アルバム部分  ====================*/
/*==================================================*/
main #works section .contents_area .tv .tv-box {
  box-sizing: border-box;
  padding: 5% 20%;
  width: 100%;
  height: auto;
  float: left;
}

@media (min-width: 500px) {
  main #works section .contents_area .tv .tv-box {
    padding: 5% 25%;
  }
}

@media (min-width: 768px) {
  main #works section .contents_area .tv .tv-box {
    padding: 2%;
    width: 33.3333%;
  }
}

@media (min-width: 1280px) {
  main #works section .contents_area .tv .tv-box {
    padding: 3.5%;
    width: 25%;
  }
}


main #works section .contents_area .tv .tv-box p {
  text-align: center;
  font-size: 16px;
}

/*==================================================*/
/*=================  サイトマップ メニュー部分 ====================*/
/*==================================================*/
#responsive-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0px;
  background-color: #5baece;
}

.menu-item {
  height: 70px;
  background-color: #5baece;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.menu-item h3 {
  font-size: 1rem;
  font-weight: normal;
  padding-bottom: 0.5em;
}

.menu-item h3 a {
  color: black;
  text-decoration: underline;
  text-decoration-color: #70D5FF;
  text-underline-offset: 4px;
}

.menu-item h3 a:hover {
  color: white;
}

.menu-item p {
  color: #305763;
  line-height: 1.4em;
}

/* タブレット（768px?1279px）で4カラム */
@media (min-width: 768px) {
  #responsive-menu {
    grid-template-columns: repeat(4, 1fr);
  }

  .menu-item {
    height: 120px;
  }
}

/* PC（1280px?）で7カラム */
@media (min-width: 1280px) {
  #responsive-menu {
    grid-template-columns: repeat(7, 1fr);
  }

  .menu-item {
    height: 150px;
  }
}

/*==================================================*/
/*=================  フッター部分  ====================*/
/*==================================================*/

footer {
  background-color: #e50019;
  padding-top: 30px;
}


/*----------*/

footer .logo_dmark {
  width: 50vw;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  footer .logo_dmark {
    width: 30vw;
  }
}

@media (min-width: 1025px) {
  footer .logo_dmark {
    width: 15vw;
  }
}

footer a.logo-link {
  display: inline-block;
  line-height: 0;
}


footer .address {
  text-align: center;
  color: white;
  padding-bottom: 50px;
  font-weight: lighter;
}

footer .company a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
}


footer .copyRight {
  text-align: center;
  color: white;
  padding-bottom: 30px;
}

/*==================================================*/
/*=================  トップへ戻るボタン部分  ====================*/
/*==================================================*/
#backToTop {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
}

#backToTop img {
  width: 60px;
  height: auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
  opacity: 0.7;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  #backToTop img {
    width: 80px;
  }
}

@media (min-width: 1024px) {
  #backToTop {
    bottom: 30px;
    right: 50px;
  }

  #backToTop img {
    width: 80px;
  }
}

#backToTop img:hover {
  opacity: 0.5;
}
